- Aug 08, 2020
-
-
Tim Gover authored
The HDMI DVP should be disabled by default as is the case for other display related drivers. This changes resolves an issue when using the legacy firmware display driver where the DVP caused the 108 MHz clock in HDMI TX to be gated off when Linux started. This effectively stopped the firmware from being able to change the HDMI analog PHY registers. Add a fragment to re-enable this in vc4-kms-v3d-pi4-overlay
-
- Aug 03, 2020
-
-
Annaliese McDermond authored
The Linux kernel maintainers removed the hwmon driver for the ads1015 used on this board. They deprecated it in favor of using the IIO version of the driver with the iio_hwmon bridge. This patch updates the DRAWS dtoverlay to support that usage. Signed-off-by: Annaliese McDermond <nh6z@nh6z.net>
-
Annaliese McDermond authored
The hwmon module for the ads1015 was removed from the kernel in favor of the IIO version. This patch adds the bridge driver so that userland consumers of the hwmon data can continue to do so via that interface. Signed-off-by: Annaliese McDermond <nh6z@nh6z.net>
-
- Jul 31, 2020
-
-
Dougie Lawson authored
Add an overlay - maxtherm - to support the MAX6675 and MAX31855 family of thermocouples. Developed from an original set of overlays by Dougie Lawson. See: https://github.com/raspberrypi/linux/pull/3763 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
Bartosz Golaszewski authored
commit 706dc681 upstream. The GPIO backlight driver currently requests the line 'as is', without acively setting its direction. This can lead to problems: if the line is in input mode by default, we won't be able to drive it later when updating the status and also reading its initial value doesn't make sense for backlight setting. Request the line 'as is' initially, so that we can read its value without affecting it but then change the direction to output explicitly when setting the initial brightness. Also: check the current direction and only read the value if it's output. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
-
Phil Elwell authored
The spi0-hw-cs overlay is unnecessary (and actually harmful) with the current kernels. Delete it, leaving a note in the README and a deprecation message from the firmware: dterror: overlay 'spi0-hw-cs' is deprecated: no longer necessary Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
- Jul 30, 2020
-
-
Phil Elwell authored
Enabling serdev support in rpi-5.4.y had the unintended consequence of making any UART device node with a subnode look like a "serdev" node, which prevents it from having the usual /dev/ttyXXX character device. Solve the problem by moving the subnode (a static clock declaration) into the root node. At the same time, regularise (and sometimes correct) the overlays. See: https://github.com/raspberrypi/linux/issues/3765 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
Phil Elwell authored
In an attempt to prevent the problem of CPUn not starting, explicitly misalign the scratch space used to save registers acros the cache invalidation. Notes: At this stage in the boot process the core is running with its cache disabled. Before enabling the cache its contents must be explicitly invalidated, a process that requires quite a few registers that the caller must preserve. Evidence suggests that something is writing a block of zeroes over that space at a time when all other cores should be idle, possibly some kind of write-combiner, and the misalignment is designed to disrupt any write-coalescing. In truth, I don't understand why this patch works, and when the failure is so random it is hard to be certain that this isn't just rolling the dice again. One interesting test would be to change the "addeq r12, #4"s to "addeq r12, #0"s determine see if the offset itself is significant or just the additional code. See: https://github.com/Hexxeh/rpi-firmware/issues/232 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
- Jul 28, 2020
-
-
Dave Stevenson authored
FKMS was listing UIF in the supported modifiers from format_mod_supported when actually the pipeline doesn't support it. X was then choosing to use it, and that then failed to render. Remove references to UIF. https://github.com/raspberrypi/linux/issues/3665 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
-
Phil Elwell authored
U-boot can get stuck trying to initialise UARTs that aren't mapped to the pin header. There is no reason for U-boot not to rely on the initialisation by the firmware, so tag both UARTs with the u-boot magic boolean property "skip-init". See: https://github.com/raspberrypi/linux/pull/3731 https://lists.denx.de/pipermail/u-boot/2017-April/285606.html Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
- Jul 27, 2020
-
-
Phil Elwell authored
See: https://github.com/raspberrypi/linux/issues/3644 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
Phil Elwell authored
Now that CONFIG_CRYPTO_USER_API_HASH=m is enabled, adding CONFIG_CRYPTO_USER_API_RNG=m and CONFIG_CRYPTO_USER_API_AEAD=m should allow various applications such as Bluetooth mesh support. See: https://github.com/raspberrypi/linux/issues/3628 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
- Jul 24, 2020
-
-
iamdavidcz authored
-
- Jul 23, 2020
-
-
Greg Kroah-Hartman authored
This reverts commit b5c8896b which is commit 2bbcaaee upstream. It is being reverted upstream, just hasn't made it there yet and is causing lots of problems. Reported-by: Hans de Goede <hdegoede@redhat.com> Cc: Qiujun Huang <hqjagain@gmail.com> Cc: Kalle Valo <kvalo@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Dom Cobley authored
This reverts commit 9ffad926.
-
Phil Elwell authored
Unless the DMA mask is set wider than 32 bits, DMA mapping will use a bounce buffer. Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
Phil Elwell authored
Kernels prior to 5.7 only see the first entry in dma-ranges, so make it cover the full addressable range. Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
- Jul 22, 2020
-
-
Phil Elwell authored
Although it is no longer necessary for vchiq's children to have a different DMA configuration to the parent, they do still need to explicitly to have their DMA configuration set - to be that of the parent. Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
- Jul 21, 2020
-
-
Phil Elwell authored
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
popcornmix authored
This follows logic in hdmi-codec.c to use speaker layout from ELD to choose a suitable speaker mapping based on number of channels requested and signal that in audio infoframe and report this back to userspace. This allows apps like speaker-test and kodi to get the output to the right speakers. Signed-off-by: Dom Cobley <popcornmix@gmail.com>
-
- Jul 18, 2020
-
-
Phil Elwell authored
See: https://github.com/raspberrypi/linux/issues/3732 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
- Jul 17, 2020
-
-
Matt Flax authored
-
Dave Stevenson authored
This removes the need for the client to use vcsm at all. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
-
Phil Elwell authored
The new "actpwr" LED trigger guarantees that the combined PWR and ACT LED is on for at least half of every second. Under heavy SD card load it emits a steady 1Hz square wave. Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
Phil Elwell authored
Make the combined mmc0 activity & power trigger available to use. Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
Phil Elwell authored
The actpwr trigger is a meta trigger that cycles between an inverted mmc0 and default-on. It is written in a way that could fairly easily be generalised to support alternative sets of source triggers. Signed-off-by: Phil Elwell <phil@raspberrypi.com>
-
- Jul 16, 2020
-
-
Dave Stevenson authored
480i and several other modes use DRM_MODE_FLAG_DBLCLK and pixel replication. Add in flags for that so that FKMS can select CEA modes 6 & 7. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
-
Laurent Pinchart authored
Add a rotation DT overlay parameter to allow specifying the camera module mounting rotation. Set the default rotation to 180 as the module is typically mounted upside-down. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-
Laurent Pinchart authored
Add a rotation DT overlay parameter to allow specifying the camera module mounting rotation. Set the default rotation to 180 as the module is typically mounted upside-down. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-
Laurent Pinchart authored
Add a rotation DT overlay parameter to allow specifying the camera module mounting rotation. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-
Laurent Pinchart authored
Parse device properties and register controls for them using the V4L2 fwnode properties helpers. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-
Jacopo Mondi authored
Parse device properties and register controls for them using the newly introduced helpers. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Commit ad3a44cb upstream Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-
Laurent Pinchart authored
Parse device properties and register controls for them using the V4L2 fwnode properties helpers. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-
Jacopo Mondi authored
Add an helper function to v4l2-ctrls to register controls associated with a device property. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Commit e0a36063 upstream Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-
Jacopo Mondi authored
Add an helper function to parse common device properties in the same way as v4l2_fwnode_endpoint_parse() parses common endpoint properties. Parse the 'rotation' and 'orientation' properties from the firmware interface. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Commit 344897ef upstream Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-
Jacopo Mondi authored
Add support for the newly defined V4L2_CID_CAMERA_ORIENTATION and V4L2_CID_CAMERA_SENSOR_ROTATION read-only controls used to report the camera device mounting position and orientation respectively. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Commit 926645d4 upstream Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-
Jacopo Mondi authored
Add documentation for the V4L2_CID_CAMERA_SENSOR_ROTATION camera control. The newly added read-only control reports the rotation correction to be applied to images before displaying them to the user. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Commit 9926c224 upstream Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-
Jacopo Mondi authored
Add documentation for the V4L2_CID_CAMERA_ORIENTATION camera control. The newly added read-only control reports the camera device orientation relative to the usage orientation of the system the camera is installed on. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Commit 9397a83f upstream Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-
Jacopo Mondi authored
Replace the 'rotation' property description by providing a definition relative to the camera sensor pixel array coordinate system and the captured scene. Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Commit 915bd31c upstream Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-
Jacopo Mondi authored
Add the 'orientation' device property, used to specify the device mounting position. The property is particularly meaningful for mobile devices with a well defined usage orientation. Reviewed-by: Rob Herring <robh@kernel.org> Acked-by: Tomasz Figa <tfiga@chromium.org> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Commit cabc918e upstream Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-