https://github.com/raspberrypi/linux

sort by:
Revision Author Date Message Commit Date
9b3199c Fixes a problem when module probes before i2c module is available The driver crashed while a NULL pointer returned by i2c_get_adapter() has been used to access the i2c bus functions. The headphone probing function hb_hp_probe() now returns -EPROBE_DEFER in case the i2c module has not been loaded yet. Signed-off-by: Joerg Schambacher <joerg@i2audio.com> 04 November 2020, 11:09:40 UTC
cafc4e8 Bluetooth: Disable High Speed by default commit b176dd0ef6afcb3bca24f41d78b0d0b731ec2d08 upstream. Bluetooth High Speed requires hardware support which is very uncommon nowadays since HS has not pickup interest by the industry. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org> 04 November 2020, 11:09:40 UTC
28911a4 overlays: Add ghost-amp overlay Add an overlay for the Ghost amplifier. Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:40 UTC
3dc774f overlays: Add fsm-demo overlay fsm-demo demonstrates the usage of the gpio-fsm driver. It is designed to be used with a set of "traffic light" LEDs on GPIOs 7, 8 and 25. Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:40 UTC
0644bf8 configs: Add CONFIG_GPIO_FSM=m Enable the gpio-fsm module. Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:39 UTC
daa9988 gpio: Add gpio-fsm driver The gpio-fsm driver implements simple state machines that allow GPIOs to be controlled in response to inputs from other GPIOs - real and soft/virtual - and time delays. It can: + create dummy GPIOs for drivers that demand them, + drive multiple GPIOs from a single input, with optional delays, + add a debounce circuit to an input, + drive pattern sequences onto LEDs etc. Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:39 UTC
03d8c93 ARM: bcm2711-rpi.dts: Unlock DMA channels 9 & 10 The downstream-specific override of the 32-bit DMA mask needlessly disables channels 9 and 10 - the VPU doesn't use them. This override is redundant, so delete it. See: https://github.com/raspberrypi/linux/issues/3896 Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:39 UTC
41c2e6d staging: bcm2835-codec: Replace deprecated V4L2_PIX_FMT_BGR32 V4L2_PIX_FMT_BGR32 is deprecated as it is ambiguous over where the alpha byte is. Swap to the newer V4L2_PIX_FMT_BGRX32 format. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> 04 November 2020, 11:09:39 UTC
126a7d7 staging: bcm2835-camera: Replace deprecated V4L2_PIX_FMT_BGR32 V4L2_PIX_FMT_BGR32 is deprecated as it is ambiguous over where the alpha byte is. Cheese/GStreamer appear to get it wrong for one, and qv4l2 gets red and blue swapped. Swap to the newer V4L2_PIX_FMT_BGRX32 format. https://www.raspberrypi.org/forums/viewtopic.php?f=38&t=267736&p=1738912 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> 04 November 2020, 11:09:39 UTC
354fc49 arm64: configs: Enable V4L2 test module support Enable the v4l2 test modules on 64 bit kernel builds. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> 04 November 2020, 11:09:38 UTC
3ddb5c9 arm64: configs: Enable Unicam support Enable the unicam module on 64 bit kernel builds. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> 04 November 2020, 11:09:38 UTC
dcb8fb1 dwc_otg: initialise sched_frame for periodic QHs that were parked If a periodic QH has no remaining QTDs, then it is removed from all periodic schedules. When re-adding, initialise the sched_frame and start_split_frame from the current value of the frame counter. See https://bugs.launchpad.net/raspbian/+bug/1819560 and https://github.com/raspberrypi/linux/issues/3883 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com> 04 November 2020, 11:09:38 UTC
fda5788 Revert "usb/dwc2: Set correct state on gadget disconnect" This reverts commit c3974850cc10de2596893eaec2f5c456e9ded6a0. See: https://github.com/raspberrypi/linux/issues/3885 Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:38 UTC
a787b86 configs: Restore SND_PCM_OSS=m A kconfig change way back in 4.13 caused SND_PCM_OSS to be dropped from our defconfigs. Restore it as a potential workaround for a supposed bug. See: https://github.com/raspberrypi/linux/issues/3883 Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:38 UTC
caff95f overlays: Add sd3078 to the i2c-rtc overlay Add support for the SD3078 RTC to the i2c-rtc overlay. See: https://github.com/raspberrypi/linux/issues/3881 Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:38 UTC
255fcb7 configs: Add CONFIG_RTC_DRV_SD3078=m Enable the driver module for the SD3078 RTC. See: https://github.com/raspberrypi/linux/issues/3881 Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:37 UTC
19d44b7 overlays: Update display GPIO declarations The 5.4 kernel changes the way a number of display drivers use GPIOs. That change has exposed flaws/broken a number of display overlays, so after a trickle of single-display patches this is a best-guess attempt to fix the remainder. As none of these changes have been tested on real displays there is a possibility that this either doesn't fix the problem or even breaks something that was working - apologies if that is the case. Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:37 UTC
5989299 Update hy28b-overlay.dts My hy28b TFT stopped working on upgrade to 5.4 kernel. I had a whitescreen but no obvious errors when using 'sudo vcdbg log msg' or 'dmesg'. Both /dev/fb0 and /dev/fb1 were present. Followed this article on waveshare32b that 'reset_gpios needed to be 0 0 1 instead of 0 0 0' (https://forum.armbian.com/topic/13233-any-clues-for-the-creation-of-a-dtoverlay-for-fbtft-on-54y/). I applied a similar change to this dts file and compiled a new dtbo: 'dtc -O dtb -o hy28b.dtbo hy28b-overlay.dts'. Fixed my issue - may help others? I got from the 5.4 upgrade thread that other tft users are having issues with small tfts... https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=269769&p=1706597&hilit=gpio#p1706597 04 November 2020, 11:09:37 UTC
f33dab4 USB: gadget: f_hid: avoid crashes and log spam Disconnecting and reconnecting the USB cable can lead to crashes and a variety of kernel log spam. Try to fix or minimise both. See: https://github.com/raspberrypi/linux/issues/3870 Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:37 UTC
4189894 usb/dwc2: Set correct state on gadget disconnect When operating as a USB device, when the device is disconnected the suspend interrupt is called rather than the disconnect interrupt, this results in the state remaining as "configured". This change changes the state to "not attached" instead when the suspend interrupt is called. 04 November 2020, 11:09:37 UTC
fde430a staging: bcm2835-codec: Correct buffer number change on start streaming "cac8c90 staging: vc04_service: codec: Allow start_streaming to update the buffernum" allowed the number of buffers configured to be decreased as well as increased, but there is no requirement for all buffers to have been queued when start_streaming is called. Only allow increasing the buffernum. Fixes: "cac8c90 staging: vc04_service: codec: Allow start_streaming to update the buffernum" Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> 04 November 2020, 11:09:36 UTC
ac17ed4 staging: bcm2835-codec: Use a define the completion timeout Hiding a use of "HZ" as a timeout is a little nasty. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> 04 November 2020, 11:09:36 UTC
380fa87 configs: Regenerate the defconfigs Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:36 UTC
a8468e1 ASoC: cs42xx8: Only define cs42xx8_of_match once cs42xx8.c exports cs42xx8_of_match, so there's no need to redefine it in cs42xx8-i2c.c - doing so breaks linking when loadable module support is disabled. It would be tidy to use the exported match table in cs42xx8.c's of_match_table member, but an imported symbol can't be used in a module's MODULE_DEVICE_TABLE declaration. Instead, rename the duplicated declarations so as not to clash. See: https://github.com/raspberrypi/linux/issues/3873 Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:36 UTC
9b4f4ab net: bcmgenet: Reset RBUF on first open If the RBUF logic is not reset when the kernel starts then there may be some data left over from any network boot loader. If the 64-byte packet headers are enabled then this can be fatal. Extend bcmgenet_dma_disable to do perform the reset, but not when called from bcmgenet_resume in order to preserve a wake packet. N.B. This different handling of resume is just based on a hunch - why else wouldn't one reset the RBUF as well as the TBUF? If this isn't the case then it's easy to change the patch to make the RBUF reset unconditional. See: https://github.com/raspberrypi/linux/issues/3850 Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:36 UTC
12828c0 configs: Remove I2C_BRCMSTB from the kernel Make it a module on 2711-based platforms, otherwise delete it altogether, Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:35 UTC
aadda90 overlays: Add note to BCM2711 overlays Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:35 UTC
1280976 overlays: Add extra CMA sizes (up to 512M) Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:35 UTC
84454e4 rpivid_h265: Fix width/height typo Signed-off-by: popcornmix <popcornmix@gmail.com> 04 November 2020, 11:09:35 UTC
70c0a97 overlays: Add parameters to adafruit18, sainsmart18 Add parameters to control some behaviour. Also change the bgr default to off, and fix the polarity of the reset GPIO. Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:35 UTC
7112e29 overlays: Regenerate upstream-pi4 overlay Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:34 UTC
79fb236 overlays: minor typo in instructions 04 November 2020, 11:09:34 UTC
ccd923d overlays: Add option for composite to vc4-kms-v3d-pi4. Composite is an alternative to HDMI/DPI/DSI on Pi4 as it requires very particular clock setups. Add an option to vc4-kms-v3d-pi4 to enable composite and disable all other graphics outputs. NB This must be used in conjunction with enable_tvout=1 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> 04 November 2020, 11:09:34 UTC
bbcce3d dt: Remove duplicate assignment for i2c0 pinctrl config The include file bcm283x-rpi-i2c0mux_0_XX.dtsi was setting pinctrl-0 on i2c0mux, as were the individual platform DT files. Remove this duplication and rely on the include file. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> 04 November 2020, 11:09:34 UTC
06285c2 overlays: Update i2c0 overlay to disable the i2c0mux. The i2c0 overlay was assigning pinctrl settings to node i2c0, which is now the port@0 output of the mux. That leaves a high chance of it colliding with the port@1 output and not doing what was intended. Set the i2c0 overlay to disable i2c0mux, set the pin-ctrl on the root i2c controller, and redirect the alias, so overall it behaves exactly as before. Combining with dtparam=i2c_vc=on is going to cause conflicts, so this is noted in the README. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> 04 November 2020, 11:09:33 UTC
160de55 brcmfmac: Increase power saving delay to 2s Increase the delay before entering the lower power state to 2 seconds (the maximum allowed) in order to reduce the packet latencies, particularly for inbound packets. Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:33 UTC
ac9bd10 configs: Enable CHACHA20POLY1305=m Enable the CHACHA20 cipher, a high-performance AES alternative, and the POLY1305 authentication algorithm. Together they make up RFC-7539. Can be used to run the strongSwan Open Source VPN server and client. See: https://github.com/raspberrypi/linux/issues/3836 Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:33 UTC
a527392 ARM: dts: Limit BT modem baud rate on 3B The 3B doesn't have the flow control signals connected to the BT modem, which limits the maximum usable baud rate to below 1 Mbaud. Use 921600 as a relatively safe default value, but the krnbt_baudrate parameter can still override it. Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:33 UTC
5fcd173 overlays: Add adafruit18 and sainsmart18 overlays Add support for three ST7735R-based displays - adafruit18, adafruit18_green and sainsmart18. Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:32 UTC
93e9407 staging/fbtft: Add support for display variants Display variants are intended as a replacement for the now-deleted fbtft_device drivers. Drivers can register additional compatible strings with a custom callback that can make the required changes to the fbtft_display structure. Start the ball rolling by adding adafruit18, adafruit18_green and sainsmart18 displays. Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:32 UTC
d155bb5 overlays: Minor README correction Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:32 UTC
ce448a7 configs: Include AppArmor support AppArmor security has been a long-requested feature. This commit adds the config settings necessary to allow it to be enabled at boot time using the kernel command line (cmdline.txt) - just include: lsm="apparmor" The commit also includes a few settings to give better control over processes or containers. See: https://github.com/raspberrypi/linux/pull/1698 Signed-off-by: Jean-Christophe Berthon <jcberthon@users.noreply.github.com> Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:32 UTC
2f1a80e configs: Make the evdev module a built-in The evdev module is required to use a keyboard (although not a mouse, it appears). This means that if a kernel is unable to load modules the user will be unable to interact with it by attaching a keyboard. For the cost of a few KBs in kernel bloat, make evdev a built-in driver. Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:32 UTC
59c8831 ARM: dts: Add required USB power domain for XHCI The firmware setting otg_mode=1 can be used to enable the onboard XHCI controller in host mode, but that requires that the USB power domain is enabled. Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:31 UTC
c1ffbf9 overlays: Add spi0-1cs and spi0-2cs The spi0-1cs overlay allows the SPI0 interface to be run with a single CS line, which can be useful if GPIOs are in short supply. The no_miso parameter is for write-only devices that don't need the return channel, and again is there to free up a GPIO. spi0-2cs is the new name for spi0-cs (now deprecated with a redirect to spi0-2cs), but with the addedd no_miso parameter. Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:31 UTC
cd4a350 media: i2c: ov9281: Add support for 8 bit readout The sensor supports 8 bit mode as well as 10bit, so add the relevant code to allow selection of this. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> 04 November 2020, 11:09:31 UTC
71da1fc media: i2c: tc358743: Only allow supported pixel fmts in set_fmt Fix commit "media: tc358743: Return an appropriate colorspace from tc358743_set_fmt" to ensure that the format passed in to set_fmt is checked to be valid, and reset to the current format if not. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> 04 November 2020, 11:09:30 UTC
a5aeb6d media: bcm2835-unicam: Drop WARN on uing direct cache alias Pi 0&1 pass all ARM accesses through the VPU L2 cache, therefore the dma-ranges property sets the cache alias bits to other than the direct alias, hence this WARN was firing. It was overprotective coding, so assume that everything is OK with the dma-ranges, and remove the WARN. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> 04 November 2020, 11:09:30 UTC
fb2eda7 ARM: dts: bcm2835: Use the L2 non-allocating alias The /soc/dma-ranges property on BCM2835 currently results in DMA addresses in the range 0x40000000-0x5fffffff. This will allocate in the system L2 cache, which may adversely affect performance. Change the dma-ranges property to give addresses in the range 0x80000000-0x9fffffff, which are coherent with L2 but non-allocating. See: https://github.com/raspberrypi/linux/issues/3602 Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:30 UTC
5edf4ca configs: Enable upstream cpufreq driver for pi0/pi1 Signed-off-by: popcornmix <popcornmix@gmail.com> 04 November 2020, 11:09:30 UTC
1e05676 Revert "raspberrypi-cpufreq: Only report integer pll divisor frequencies" This reverts commit f44019c198fdfea0c880f5e64641b8a43c13e829. 04 November 2020, 11:09:30 UTC
39f356f configs: Add CONFIG_SPS30=m Enable the driver for the Sensirion SPS30 particulate matter sensor. The i2c-sensor overlay already has support for the device, but it does nothing without also having the driver module. See: https://github.com/raspberrypi/firmware/issues/1460 Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:29 UTC
f667aa3 configs: Add I2C_HID=m Enable support for I2C HID devices. See: https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=283241 Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:29 UTC
9d4d88e ARM: dts: bcm2708.dtsi: Don't delete the cpus node The cpus node was originally deleted to match the then downstream version of the BCM2835 DTS files, but doing so doesn't seem to make any material difference. Its presence is necessary for the CPUFREQ_DT support that is planned in the near future, so remove the deletion. Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:29 UTC
4c7d792 staging: vc04_services: ISP: Fix dmabuf error check in S_CTRL In bcm2835_isp_s_ctrl, the error check for dma_buf_get() is incorrect, and considers ERR_PTR pointers as valid dmabufs. Fix this error check. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> 04 November 2020, 11:09:29 UTC
34c4fac ARM: dts: bcm2711: Enable support for DDR52 eMMC See: https://github.com/raspberrypi/linux/issues/3802 Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:29 UTC
7f8f8f4 RESET_CONTROLLER needs to be activated to compile Broadcom BCM2835 clock support 04 November 2020, 11:09:28 UTC
7929acd overlays: Updated MCP3008 compatible strings. Used recommended ones from Documentation/devicetree/bindings/iio/adc/mcp320x.txt. 04 November 2020, 11:09:28 UTC
edd4a28 configs: Add CONFIG_UEVENT_HELPER=y See: https://github.com/raspberrypi/linux/issues/3785 Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:28 UTC
a0b7337 staging: vc04_services: isp: Select MEDIA_CONTROLLER That is what most other drivers appear to be doing. Signed-off-by: Hristo Venev <hristo@venev.name> 04 November 2020, 11:09:28 UTC
dd851cd staging: vc04_services: codec: Select MEDIA_CONTROLLER That is what most other drivers appear to be doing. Signed-off-by: Hristo Venev <hristo@venev.name> 04 November 2020, 11:09:27 UTC
0edba41 staging: media: rpivid: Select MEDIA_CONTROLLER and MEDIA_CONTROLLER_REQUEST_API MEDIA_CONTROLLER_REQUEST_API is a hidden option. If rpivid depends on it, the user would need to first enable another driver that selects MEDIA_CONTROLLER_REQUEST_API, and only then rpivid would become available. By selecting it instead of depending on it, it becomes possible to enable rpivid without having to enable other potentially unnecessary drivers. Signed-off-by: Hristo Venev <hristo@venev.name> 04 November 2020, 11:09:27 UTC
2b280a3 media: bcm2835: unicam: Select MEDIA_CONTROLLER and VIDEO_V4L2_SUBDEV_API That is what almost all other drivers appear to be doing. Signed-off-by: Hristo Venev <hristo@venev.name> 04 November 2020, 11:09:27 UTC
9679490 configs: Restore CONFIG_CFG80211_WEXT=y The Kconfig entry for the downstream RealTek 8192cu driver includes an explicit "select CFG80211_WEXT". This would have prevented "CONFIG_CFG80211_WEXT=y" from appearing in our defconfig files. Now that driver has been dropped we no longer have the setting applied implicitly, so it must be restored to the defconfig files, otherwise "iwconfig wlan0" reports "no wireless extensions." Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:27 UTC
5e42ffb configs: Regenerate defconfigs Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:26 UTC
1e793e8 dt/overlays: Add PiFace Digital Device Tree Overlay The PiFace Digital is a convenient breakout board for the Microchip mcp23s17 SPI GPIO port expander. The first eight GPIOs 0..7 (bank A) are connected to eight output terminals and LEDs, plus two relays on the first two outputs. These output loads are active-high. The next eight GPIOs 8..15 (bank B) are connected to eight input terminals with four on-board switches connecting them to ground. Inputs devices are therefore expected to bridge terminals to ground, so the mcp23s17 pullups are activated for GPIO bank B. Signed-off-by: Thomas Preston <thomas.preston@codethink.co.uk> 04 November 2020, 11:09:26 UTC
6cf757a rtc: rv3028: Refresh RAM on EEPROM write The active RV3028 settings are in RAM so after modifying the settings in EEPROM the RAM should be refreshed so that they take effect. Signed-off-by: Einar Vading <einar.vading@rhimagnesita.com> 04 November 2020, 11:09:26 UTC
d68b350 rtc: rv3028: Write BSM and TCE/TCR to EEPROM Periodically the RV3028 refreshes registers from the EEPROM. When this happens, some settings that have only been committed to registers are lost. Change the handling of backup-switchover-mode and trickle-resistor-ohms to write the EEPROM instead (if something has changed), on the understanding that registers will be refreshed afterwards. See: https://github.com/raspberrypi/linux/issues/2912 Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:26 UTC
75427f1 dtoverlays: Add overlay for the PCA953x family of GPIO expanders Adds an overlay for configuring all the GPIO expanders supported by the driver under GPIO_PCA953X. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> 04 November 2020, 11:09:25 UTC
95e90e1 update rpi-display-overlay.dts pins for 5.4 04 November 2020, 11:09:25 UTC
a39ed8f configs: Add USB_GADGET=m to bcmrpi3_defconfig See: https://github.com/raspberrypi/linux/issues/3796 Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:25 UTC
fcc8a32 staging: vc04_services: codec: Fix component enable/disable start_streaming enabled the VPU component if ctx->component_enabled was not set. stop_streaming disabled the VPU component if both ports were disabled. It didn't clear ctx->component_enabled. If seeking, this meant that the component never got re-enabled, and buffers never got processed afterwards. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> 04 November 2020, 11:09:25 UTC
b766c75 staging: vc04_service: codec: Allow start_streaming to update the buffernum start_streaming passes a count of how many buffers have been queued to videobuf2. Allow this value to update the number of buffers the VPU allocates on a port to avoid buffer recycling issues. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> 04 November 2020, 11:09:24 UTC
d219c2b staging: vc04_services: codec: Fix incorrect buffer cleanup The allocated input and output buffers are initialised in buf_init and should only be cleared up in buf_cleanup. stop_streaming was (incorrectly) cleaning up the buffers to avoid an issue in videobuf2 that had been fixed by the orphaned buffer support. Remove the erroneous cleanup. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> 04 November 2020, 11:09:24 UTC
62aafb0 drm/vc4: Set the possible crtcs mask correctly for planes with FKMS The driver was assigning all planes to crtcs when actually they're mapped to a specific crtc. Correct the mask. https://github.com/raspberrypi/linux/issues/3734 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> 04 November 2020, 11:09:24 UTC
bd08544 drm/vc4: Increase the number of planes per crtc in FKMS. The number assigned was arbitrary as one primary, one overlay, and one cursor. The number has to be below the DRM limit of 32 planes total, and the current firmware API limit of 16 planes total. Increase the number to 8 planes per crtc (1 primary, 6 overlay, and a cursor). Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> 04 November 2020, 11:09:24 UTC
7edbbcd overlays: Regenerate upstream-pi4 The recent modification to vc4-kms-v3d-pi4 also results in a change to the Pi 4 version of the upstream overlay. Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:23 UTC
fafdfed config: Add USB gadget support to bcm2711 config Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:23 UTC
6657d86 dts: bcm2711: Disable DVP by default 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 04 November 2020, 11:09:23 UTC
90e3915 dtoverlays: Add the iio_hwmon driver to correct ADC issues 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> 04 November 2020, 11:09:22 UTC
843027c configs: add CONFIG_SENSORS_IIO_HWMON=m 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> 04 November 2020, 11:09:22 UTC
d06804d overlays: Add maxtherm overlay for MAX6675/31855 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> 04 November 2020, 11:09:22 UTC
229cb67 overlays: Delete spi0-hw-cs 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> 04 November 2020, 11:09:22 UTC
6d19a5a overlays: Fix sc16is75x overlays w.r.t. serdev 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> 04 November 2020, 11:09:21 UTC
d218db3 ARM: proc-v7: Force misalignment of early stmia 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> 04 November 2020, 11:09:21 UTC
7873e95 drm/vc4: Remove UIF from the list of modifiers returned by format_mod_supported 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> 04 November 2020, 11:09:21 UTC
9d46dbd ARM: dts: Add UART skip-init properties for U-boot 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> 04 November 2020, 11:09:21 UTC
82e4840 configs: Restore missing cgroups to BCM2835-7 See: https://github.com/raspberrypi/linux/issues/3644 Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:20 UTC
8582dc6 configs: Adding remaining crypto API modules 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> 04 November 2020, 11:09:20 UTC
b90eb38 add CONFIG_CRYPTO_USER_API_HASH=m 04 November 2020, 11:09:20 UTC
075e67f bcm2835-dma: Advertise the full DMA range 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> 04 November 2020, 11:09:20 UTC
bcf496d ARM: dts: 2711 DMA can address 36 bits 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> 04 November 2020, 11:09:19 UTC
ba2a817 staging: vchiq_arm: children inherit DMA config 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> 04 November 2020, 11:09:19 UTC
2ef5f8f Revert "usb: xhci: Raspberry Pi FW loader for VIA VL805" This reverts commit 57edd519cb027a7ca913d80c3d6fab02ed9e08bd. With [1] and [2] upstream, this downstream implementation is unneeded, to the point that it breaks USB support on a rev 1.4 Pi 4. [1] fbbc5ff3f7f9 ("firmware: raspberrypi: Introduce vl805 init routine") [2] 65822fef4adc ("USB: pci-quirks: Add Raspberry Pi 4 quirk") See: https://github.com/raspberrypi/linux/issues/3747 Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:19 UTC
007cc4b configs: Add MAXIM_THERMOCOUPLE=m See: https://github.com/raspberrypi/linux/issues/3732 Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:19 UTC
65de64f staging: vc04_services: isp: Rework lens shading to take a dmabuf This removes the need for the client to use vcsm at all. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com> 04 November 2020, 11:09:18 UTC
1e5fc9f ARM: dts: Select the actpwr LED trigger on Zeroes 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> 04 November 2020, 11:09:18 UTC
8bb25c7 configs: Enable LEDS_TRIGGER_ACTPWR Make the combined mmc0 activity & power trigger available to use. Signed-off-by: Phil Elwell <phil@raspberrypi.com> 04 November 2020, 11:09:18 UTC
1577d41 leds: Add the actpwr trigger 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> 04 November 2020, 11:09:17 UTC
6b1713a drm/vc4: Add DRM_MODE_FLAG_DBLCLK support to vc4-fkms 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> 04 November 2020, 11:09:17 UTC
back to top