-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RP1 clock debugging #6363
base: rpi-6.6.y
Are you sure you want to change the base?
RP1 clock debugging #6363
Commits on Jul 29, 2024
-
drm/vc4: Fixup of patches adding debugfs functions
Fixes: d869ef6a96a3 ("drm/vc4: Add debugfs node that dumps the vc5 gamma PWL entries") Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4ab4573 - Browse repository at this point
Copy the full SHA 4ab4573View commit details -
media: i2c: adv7180: Use MEDIA_BUS_FMT_UYVY8_1X16 for CSI2 output
CSI2 devices are meant to use the 1Xnn formats rather than 2Xnn such as MEDIA_BUS_FMT_UYVY8_2X8. For devices with ADV7180_FLAG_MIPI_CSI2 set, use MEDIA_BUS_FMT_UYVY8_1X16. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d019a50 - Browse repository at this point
Copy the full SHA d019a50View commit details -
media: i2c: adv7180: Add support for V4L2_CID_LINK_FREQ
For CSI2 receivers that need to know the link frequency, add it as a control to the driver. Interlaced modes are 216Mbp/s or 108MHz, whilst going through the I2P to deinterlace gives 432Mb/s or 216MHz. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 84e5d64 - Browse repository at this point
Copy the full SHA 84e5d64View commit details -
spi: bcm2835: Support spi0-0cs and SPI_NO_CS mode
The forced conversion of native CS lines into software CS lines is done whether or not the controller has been given any CS lines to use. This breaks the use of the spi0-0cs overlay to prevent SPI from claiming any CS lines, particularly with spidev which doesn't pass in the SPI_NO_CS flag at creation. Use the presence of an empty cs-gpios property as an indication that no CS lines should be used, bypassing the native CS conversion code. See: raspberrypi#5835 Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a9d86df - Browse repository at this point
Copy the full SHA a9d86dfView commit details -
vc4/hvs: Add support for D0 register changes
Signed-off-by: Dom Cobley <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 65ee921 - Browse repository at this point
Copy the full SHA 65ee921View commit details -
vc4/hvs: Updates to support D0 alpha and csc changes
2712D0 has a simpler colourspace conversion matrix block so set that up. Signed-off-by: Dom Cobley <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3bf3571 - Browse repository at this point
Copy the full SHA 3bf3571View commit details -
vc4/hdmi: Update MAI_THR for D0
2712D0 has increased the fifo sizes of MAI_THR blocks, resulting in adjusted bit offsets. Handle that. Signed-off-by: Dom Cobley <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5c6f2b6 - Browse repository at this point
Copy the full SHA 5c6f2b6View commit details -
drm/vc4: Optimise vc4_hvs_dlist_free_work to only read frcnt and acti…
…ve once vc4_hvs_dlist_free_work was iterating through the list of stale dlist entries and reading the frame count and active flags from the hardware for each one. Read the frame count and active flags once, and then use the cached value in the loop. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 02636e3 - Browse repository at this point
Copy the full SHA 02636e3View commit details -
drm/vc4: Flush stale dlist entries if allocation fails
This is largely for debug at present. For reasons unknown we are not getting the end of frame interrupts that should trigger a sweep of stale dlist entries. On allocation failure clear out ALL stale entries, and retry the allocation. Log the interrupt status so we have debug regarding whether the HVS believes the interrupt is enabled. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9491143 - Browse repository at this point
Copy the full SHA 9491143View commit details -
mmc: bcm2835-sdhost: use Host Software Queueing mechanism
See commit 511ce37 ("mmc: Add MMC host software queue support") Introduced in 5.8, this feature lets the block layer issue up to 2 pending requests to the MMC layer which in certain cases can improve throughput, but in the case of this driver can significantly reduce context switching when performing random reads. On bcm2837 with a performant class A1 card, context switches under FIO random 4k reads go from ~8800 per second to ~5800, with a reduction in hardIRQs per second from ~5800 to ~4000. There is no appreciable difference in throughput. For bcm2835, and for workloads other than random read, HSQ is a wash in terms of throughput and CPU load. So, use it by default. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5ed180b - Browse repository at this point
Copy the full SHA 5ed180bView commit details -
dt-bindings: usb: update dwc3 bindings for parkmode-disable quirks
There are three disable bits, one for each bus-instance type. Add a quirk to cover the FS/LS type, and update the slightly mangled quirk descriptions in the process. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a66ca3f - Browse repository at this point
Copy the full SHA a66ca3fView commit details -
drivers: usb: dwc3: add FS/LS bus instance parkmode disable bit
There are three parkmode disable bits, one for each bus instance type. Add FS/LS and parse the quirk out of DT. Also update the slightly mangled quirk descriptions. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e6660cf - Browse repository at this point
Copy the full SHA e6660cfView commit details -
drm/vc4: Initialise the tv_mode property default from cmdline_mode.
With the command line parser now providing the information about the tv mode, use that as the preferred choice for initialising the default of the tv_mode property. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 49c2164 - Browse repository at this point
Copy the full SHA 49c2164View commit details -
i2c: designware: Use SCL rise and fall times in DT
Calculate the HCNT and LCNT values for all modes using the rise and fall times of SCL, the aim being a 50/50 mark/space ratio. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ba5cdd9 - Browse repository at this point
Copy the full SHA ba5cdd9View commit details -
i2c: designware: Support non-standard bus speeds
Add support for non-standard bus speeds by treating them as detuned versions of the slowest standard speed not less than the requested speed. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 55d32e0 - Browse repository at this point
Copy the full SHA 55d32e0View commit details -
serial: sc16is7xx: Don't spin if no data received
There are multiple causes of interrupts, errors being one, and only the receipt of data warrants continued polling. See: raspberrypi#2676 Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f8102f9 - Browse repository at this point
Copy the full SHA f8102f9View commit details -
dmaengine: bcm2835: Delete vestigial code
The dedicated dma40 memcpy code is no longer used, and without a prototype the kernel build fails. Delete it. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 52a130f - Browse repository at this point
Copy the full SHA 52a130fView commit details -
staging: bcm2835-codec: Fix up for 6.8 - use ignore_cap_streaming
Drops downstream patch to v4l2_mem2mem, and uses the new mainline flag to achieve the same functionality Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 08d22d5 - Browse repository at this point
Copy the full SHA 08d22d5View commit details -
drm/vc4: Drop planes that have 0 destination size
There is no point in trying to create a dlist entry for planes that have a 0 crtc size, and it can also cause grief in the vc6 dlist generation as it takes width-1 and height-1, causing wrap around. Drop these planes. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f374d40 - Browse repository at this point
Copy the full SHA f374d40View commit details -
vc4/hvs: Support fixed alpha correctly on 2712D0
2712D0 removed alpha_mode from control word 2 for choosing fixed alpha and replaced it with the previously reserved value of 3 in alpha_mask. Handle this to fix corrupt desktop when using X on 2712D0 Signed-off-by: Dom Cobley <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b6a4cd3 - Browse repository at this point
Copy the full SHA b6a4cd3View commit details -
drm/vc4: Disable overrun interrupts
We have a read-modify-write race when updating SCALER_DISPCTRL for underrun and end-of-frame interrupts. Ideally it would be fixed via a spinlock or similar, but that will require a reasonable amount of study to ensure we don't get deadlocks. The underrun reporting is only for debug, so disable it for now. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2146ac6 - Browse repository at this point
Copy the full SHA 2146ac6View commit details -
drivers: mmc: sdhci-brcmstb: fix usage of SD_PIN_SEL on BCM2712
The SDIO_CFG register SD_PIN_SEL conflates two settings - whether eMMC HS or SD UHS timings are applied to the interface, and whether or not the card-detect line is functional. SD_PIN_SEL can only be changed when the SD clock isn't running, so add a bcm2712-specific clock setup. Toggling SD_PIN_SEL at runtime means the integrated card-detect feature can't be used, so this controller needs a cd-gpios property. Also fix conditionals for usage of the delay-line PHY - no-1-8-v will imply no bits set in hsemmc_mask or uhs_mask, so remove it. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 62fa8a7 - Browse repository at this point
Copy the full SHA 62fa8a7View commit details -
vc4/hvs: Fix lbm size calculation for yuv
The code was reducing the number of components by one when we were not blending with alpha. But that only makes sense if the components include alpha. For YUV, we were reducing the number of components for Y from one to zero which resulted in no lbm space being allocated. Fixes: raspberrypi#5912 Signed-off-by: Dom Cobley <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 09b5357 - Browse repository at this point
Copy the full SHA 09b5357View commit details -
arm64/Kconfig: Don't set DMA_BOUNCE_UNALIGNED_KMALLOC
If enabled, DMA_BOUNCE_UNALIGNED_KMALLOC causes the swiotlb buffers (64MB, by default) to be allocated, even on systems where the DMA controller can reach all of RAM. This is a huge amount of RAM to waste on a device with only 512MB to start with, such as the Zero 2 W. See: raspberrypi#5975 Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e6e3c15 - Browse repository at this point
Copy the full SHA e6e3c15View commit details -
Bluetooth: btbcm: Add entry for BCM43439 UART BT
This patch adds the device ID for the BCM4343A2 module, found e.g. in the Infineon (Cypress) CYW43439 chip. The required firmware file is named 'BCM4343A2.hcd'. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d641ee3 - Browse repository at this point
Copy the full SHA d641ee3View commit details -
drm: Add DRM_MODE_TV_MODE_MONOCHROME
Add this as a value for enum_drm_connector_tv_mode, represented by the string "Mono", to generate video with standard timings but no colour encoding or bursts. Define it to have no pedestal (since only NTSC-M calls for a pedestal). Change default mode creation to acommodate the new tv_mode value which comprises both 525-line and 625-line formats. Signed-off-by: Nick Hollinghurst <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9ebffd7 - Browse repository at this point
Copy the full SHA 9ebffd7View commit details -
drm/vc4: Add monochrome mode to the VEC.
The VEC supports not producing colour bursts for monochrome output. It also has an option for disabling the chroma input to remove chroma from the signal. Now that there is a DRM_MODE_TV_MODE_xx defined for monochrome, plumb this in. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 322197a - Browse repository at this point
Copy the full SHA 322197aView commit details -
dt-bindings: add additional RP1 PLL output channels
PLL_AUDIO has a ternary divider (a copy of the secondary divider) and PLL_VIDEO has a primary phased output. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e12cae2 - Browse repository at this point
Copy the full SHA e12cae2View commit details -
vc4: Add jack detection to HDMI audio driver
Add ALSA jack detection to the vc4-hdmi audio driver so userspace knows when to add/remove HDMI audio devices. Signed-off-by: David Turner <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a0071ba - Browse repository at this point
Copy the full SHA a0071baView commit details -
regulator: Add a regulator for the new LCD panels
The newer Raspberry Pi 5" and 7" panels have a slightly different register map to the original one. Add a new driver for this regulator. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a7dca79 - Browse repository at this point
Copy the full SHA a7dca79View commit details -
dt-bindings: ili9881c: add compatible string for new panels
This new panel uses the ILI9881C IC but needs an alternate init sequence, and therefore requires a new compatible string. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e735ffb - Browse repository at this point
Copy the full SHA e735ffbView commit details -
drm/panel: ilitek-ili9881c: Allow configuration of the number of lanes
Not all panels use all 4 data lanes, so allow configuration based on the compatible string. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for af68902 - Browse repository at this point
Copy the full SHA af68902View commit details -
drm/panel: ili9881: Add configuration for the new panels
Add configuration for the 5" and 7" Raspberry Pi 720x1280 DSI panels based on ili9881. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 35b3116 - Browse repository at this point
Copy the full SHA 35b3116View commit details -
i2c: mux: Add support for generic base-nr property
i2c_mux_add_adapter takes a force_nr parameter that allows an explicit bus number to be associated with a channel. However, only i2c-mux-reg and i2c-mux-gpio make use of it. To help with situations where it is desirable to have a fixed, known base address for the channels of a mux, create a "base-nr" property. When force_nr is 0 and base-nr is set and non-zero, form a force_nr value from the sum of base-nr and the channel ID. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 87e99da - Browse repository at this point
Copy the full SHA 87e99daView commit details -
configs: Update the rpi defconfigs
Reapply some defconfig that got lost in the move from 6.8. Note that the ARCH_MMAP_RND_BITS value of 18 is explicitly preserved from 6.8 where the new default would be 16 - this may or may not be the best option. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e5b79a0 - Browse repository at this point
Copy the full SHA e5b79a0View commit details -
Revert "usb: phy: generic: Get the vbus supply"
This reverts commit 03e607c.
Configuration menu - View commit details
-
Copy full SHA for 66ca320 - Browse repository at this point
Copy the full SHA 66ca320View commit details -
overlays: Suppress another dtc warning
I'm sure the dtc warnings mean well, but overlays don't have enough context for the checkers to give meaningful results. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8566161 - Browse repository at this point
Copy the full SHA 8566161View commit details -
non-upstream: support DS1 exit firmware re-download
In deep sleep mode (DS1) ARM is off and once exit trigger comes than mailbox Interrupt comes to host and whole reinitiation should be done in the ARM to start TX/RX. Also fix below issus for DS1 exit: 1. Sent Tx Control frame only after firmware redownload complete (check F2 Ready before sending Tx Control frame to Firmware) 2. intermittent High DS1 TX Exit latency time (almost 3sec) ==> This is fixed by skipping host Mailbox interrupt Multiple times (ulp state mechanism) 3. RX GlOM save/restore in Firmware 4. Add ULP event enable & event_msgs_ext iovar configuration in FMAC 5. Add ULP_EVENT_RECV state machine for sbwad support 6. Support 2 Byte Shared memory read for DS1 Exit HUDI implementation Signed-off-by: Praveen Babu C <[email protected]> Signed-off-by: Naveen Gupta <[email protected]> [Merge from 4.14.77 to 5.4.18; set BRCMF_SDIO_MAX_ACCESS_ERRORS to 20] Signed-off-by: Chi-hsien Lin <[email protected]> JIRA: SWWLAN-135583 JIRA: SWWLAN-136577
Configuration menu - View commit details
-
Copy full SHA for 0cbc679 - Browse repository at this point
Copy the full SHA 0cbc679View commit details -
brcmfmac: Fix interoperating DPP and other encryption network access
1. If firmware supports 4-way handshake offload but not supports DPP 4-way offload, when user first connects encryption network, driver will set "sup_wpa 1" to firmware, but it will further result in DPP connection failure since firmware won't send EAPOL frame to host. 2. Fix DPP AP mode handling action frames. 3. For some firmware without fwsup support, the join procedure will be skipped due to "sup_wpa" iovar returning not-support. Check the fwsup feature before do such iovar. Signed-off-by: Kurt Lee <[email protected]> Signed-off-by: Double Lo <[email protected]> Signed-off-by: Chi-hsien Lin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c011934 - Browse repository at this point
Copy the full SHA c011934View commit details -
brcmfmac: support external SAE authentication in station mode
Firmware has SME functionality but would like the userspace to handle SAE authentication. This patch adds support for such an external SAE authentication mechanism in station mode. Signed-off-by: Chung-Hsien Hsu <[email protected]> Signed-off-by: Chi-hsien Lin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 33d84bf - Browse repository at this point
Copy the full SHA 33d84bfView commit details -
Commit 7d239fb broke 802.1X authentication by setting profile->use_fwsup = NONE whenever PSK is not used. However 802.1X does not use PSK and requires profile->use_fwsup set to 1X, or brcmf_cfg80211_set_pmk() fails. Fix this by checking that profile->use_fwsup is not already set to 1X and avoid setting it to NONE in that case. Fixes: 7d239fb (brcmfmac: Fix interoperating DPP and other encryption network access) Fixes: raspberrypi#5964
Configuration menu - View commit details
-
Copy full SHA for 30a284c - Browse repository at this point
Copy the full SHA 30a284cView commit details -
configs: add Chipcap 2 humidity sensor
This sensor has been added to the Linux kernel with v6.9. Signed-off-by: Javier Carrasco <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7dc3407 - Browse repository at this point
Copy the full SHA 7dc3407View commit details -
overlays: add chipcap2 overlay
Support for the Amphenol Chipcap 2 humidity and temperature sensor has been added to the Linux kernel with v6.9. This I2C device provides three interrupt sources and requires a dedicated regulator to operate, which makes it a bit more complex than the current devices supported by i2c-sensor. Therefore, a dedicated file has been implemented. Signed-off-by: Javier Carrasco <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 549316e - Browse repository at this point
Copy the full SHA 549316eView commit details -
overlays: Use dtbs-list for overlay installation
Update the overlay build rules to use the dtbs-list mechanism. Also include the README, and don't set the executable bits. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 42fec19 - Browse repository at this point
Copy the full SHA 42fec19View commit details -
drivers: mmc: add SD support for Command Queueing
Application class A2 cards require CQ to be enabled to realise their stated performance figures. Add support to enable/disable card CQ via the Performance Enhancement extension register, and cater for the slight differences in command set versus eMMC. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f90ad8f - Browse repository at this point
Copy the full SHA f90ad8fView commit details -
drivers: sdhci-brcmstb: set CQE timer clock frequency
CQHCI keeps track of tags in flight with internal timers, so the clock frequency driving the timer needs to be specified. The config registers default to 0 (100kHz) which means timeouts will be significantly shorter than they should be. Assume the timer clock comes from the controller base clock. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8a28b79 - Browse repository at this point
Copy the full SHA 8a28b79View commit details -
DTS: bcm2712: emmc2 clock frequency is 200MHz
The bootloader sets this as the controller base clock. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1b06dff - Browse repository at this point
Copy the full SHA 1b06dffView commit details -
drivers: mmc: preallocate a block for SD extension register accesses
The Performance Extension register is regularly accessed in a hot path to do write cache flushes. Don't invoke kmalloc/kfree for every access, preallocate a 512B buffer for this purpose. Also remove an unused alloc in sd_enable_cache(). Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3cc9c01 - Browse repository at this point
Copy the full SHA 3cc9c01View commit details -
drivers: mmc: trigger activity LED when CQE is active
Add a LED_FULL trigger equivalent to mmc_start_request() in mmc_cqe_start_req(), otherwise it stays off forever. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 31b9f66 - Browse repository at this point
Copy the full SHA 31b9f66View commit details -
DTS: bcm2712: defer SDIO1 CQE selection to the board dtb
Command Queueing on Linux with SD cards is new, with the potential to cause filesystem corruption due to bugs in software or card firmware(s). Default to disabled unless a) we know the interface connects to an eMMC device or b) we want it switched on. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6920850 - Browse repository at this point
Copy the full SHA 6920850View commit details -
ARM: dts: bcm2712: Add the missing L1/L2/L3 cache information
This provides the missing cache information for bcm2712 lscpu now reports: Caches (sum of all): L1d: 256 KiB (4 instances) L1i: 256 KiB (4 instances) L2: 2 MiB (4 instances) L3: 2 MiB (1 instance) Signed-off-by: Dom Cobley <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e691c23 - Browse repository at this point
Copy the full SHA e691c23View commit details -
drivers: sdhci-brcmstb: work around mystery CQE CMD_IDLE_TIMER trampling
For unknown reasons the controller seems to reset the idle polling timer interval on CQE enable/disable to 8 clocks which is extremely short. Just use the reset value in the eMMC spec (4096 clock periods which at 200MHz is ~20uS). Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bd42a92 - Browse repository at this point
Copy the full SHA bd42a92View commit details -
drm/vc4: Enable bg_fill if there are no planes enabled
The default was to have enable_bg_fill disabled and the first plane set it if it wasn't opaque and covering the whole screen. However that meant that if no planes were enabled, then the background fill wasn't enabled, and would give a striped output from the uninitialised output buffer. Initialise it to enabled to avoid this. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8f5994f - Browse repository at this point
Copy the full SHA 8f5994fView commit details -
dts: bcm2712: Add blpubkey nvram node
The RPi5 firmware also supports exporting the customer public key stored in flash via device-tree. Define the node so that the firmware can populate it. Signed-off-by: Tim Gover <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1b0dd03 - Browse repository at this point
Copy the full SHA 1b0dd03View commit details -
allo-boss-dac mute output when changing parameters
Since I noticed that sometimes changing sample rates causes some digital quirks and noises, I've changed the function to mute the output before performing the changes and then unmute it when an error occurs or the parameters got set. Signed-off-by: Alessandro Marcon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cddf9bb - Browse repository at this point
Copy the full SHA cddf9bbView commit details -
overlays: i2c-rtc: added pcf2131 param
Add support for the PCF2131 RTC to the i2c-rtc and i2c-rtc-gpio overlays.
Configuration menu - View commit details
-
Copy full SHA for 289c050 - Browse repository at this point
Copy the full SHA 289c050View commit details -
drivers: mmc: cqhci: clear CQHCI_CTL if halt fails
The eMMC spec says that in certain circumstances the controller can't respond to a halt request - in practice, this occurs if a CMD timeout happens (card went away/crashed). Clear the halt request by writing 0 to CQHCI_CTL. Also fix a logic error testing for halt in cqhci_request. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 61c1b24 - Browse repository at this point
Copy the full SHA 61c1b24View commit details -
drivers: mmc: export SD extension register read/write functions
Certain status bits in these registers may need polling outside of SD-specific code. Export in sd_ops.h Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9d66708 - Browse repository at this point
Copy the full SHA 9d66708View commit details -
drivers: mmc: be more cautious when manipulating Command Queue enable
Don't attempt to turn on CQ if the other mandatory features are not indicated as supported by the card. Also make sure that the register write actually stuck, as some cards claim support but never report back that the queue engine is enabled. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ed2c9d2 - Browse repository at this point
Copy the full SHA ed2c9d2View commit details -
drivers: mmc: add debugfs entries for SD extension registers
Also report the card's supported queue depth in the message log. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f3d8040 - Browse repository at this point
Copy the full SHA f3d8040View commit details -
drivers: mmc: handle 1024-byte SD General Info lengths
The spec allows for up to two 512-byte pages to be allocated for the Extension Register General Info block, so allocate accordingly. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0f08ad2 - Browse repository at this point
Copy the full SHA 0f08ad2View commit details -
i2c: designware: Add support for bus clear feature
Newer versions of the DesignWare I2C block support the detection of stuck signals, and a mechanism to recover from them. Add the required software support to the driver. This change was prompted by the observation that reading a single byte from register 0 of a VEML7700 seems to cause it to issue an ACK too early, and the controller to complain about losing arbitration. There is a suspicion that this may be a more widespread problem, but at least this patch prevents the bus from locking up. See: raspberrypi#6057 Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c2fdf1d - Browse repository at this point
Copy the full SHA c2fdf1dView commit details -
dts: bcm2712: cm5: Disable HS400
Disable HS400 support on CM5 until this is proved to be stable. Signed-off-by: Tim Gover <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9c1b165 - Browse repository at this point
Copy the full SHA 9c1b165View commit details -
i2c: designware: Make the SDA hold time half LCNT
In the absence of a value in Device Tree, set the SDA hold time to half the SCL low time. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f2ad544 - Browse repository at this point
Copy the full SHA f2ad544View commit details -
mfd: rp1: Support interrupt CPU affinity
See: raspberrypi#6077 Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6977e4d - Browse repository at this point
Copy the full SHA 6977e4dView commit details -
pinctrl: rp1: Use the correct per-bank GPIO base
The GPIO start for each bank - min_gpio - must be used in the IRQ handler. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d841c9f - Browse repository at this point
Copy the full SHA d841c9fView commit details -
pinctrl: rp1: Allow legacy brcm,pins on all banks
Support the use of the brcm,pins property for GPIOs in banks 1 and 2, but only for inputs and outputs - no other legacy mapping. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c5c036f - Browse repository at this point
Copy the full SHA c5c036fView commit details -
pinctrl: rp1: Support interrupt CPU affinity
See: raspberrypi#6077 Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 87cbc72 - Browse repository at this point
Copy the full SHA 87cbc72View commit details -
pinctrl: rp1: Clear events when setting IRQ type
When setting the interrupt type, it is unlikely that any latched events are of interest, so clear them. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bd1b425 - Browse repository at this point
Copy the full SHA bd1b425View commit details -
configs: add hdc3020 temperature sensor
This sensor is available since v6.8. Signed-off-by: Javier Carrasco <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 476a923 - Browse repository at this point
Copy the full SHA 476a923View commit details -
overlays: add hdc3020 temperature sensor to i2c-sensor
This sensor is available since v6.8. Signed-off-by: Javier Carrasco <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e6ff6a0 - Browse repository at this point
Copy the full SHA e6ff6a0View commit details -
configs: add HTS221 humidity sensor
This device has been supported since v4.1, and overly support was added recently. Signed-off-by: Javier Carrasco <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7740f24 - Browse repository at this point
Copy the full SHA 7740f24View commit details -
configs: add 73211 XYZ true color sensor
This device has been supported since v4.14. Its driver also supports the recently introduced as7331 spectral UV sensor. Signed-off-by: Javier Carrasco <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c8ac8ae - Browse repository at this point
Copy the full SHA c8ac8aeView commit details -
overlays: add as73211 XYZ true color sensor to i2c-sensor
Add this sensor to i2c-sensor-common.dtsi Signed-off-by: Javier Carrasco <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ae20282 - Browse repository at this point
Copy the full SHA ae20282View commit details -
overlays: ad as7331 spectral UV sensor to i2c-sensor
Add this sensor to i2c-sensor-common.dtsi Signed-off-by: Javier Carrasco <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7ae1c03 - Browse repository at this point
Copy the full SHA 7ae1c03View commit details -
nvmem: raspberrypi: Add nvmem driver for accessing OTP data
This supports reading and writing OTP using the firmware mailbox interface. It needs supporting firmware to run. Signed-off-by: Dom Cobley <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8c6a7d6 - Browse repository at this point
Copy the full SHA 8c6a7d6View commit details -
nvmem: raspberrypi: Enable nvmem otp driver through DT
Signed-off-by: Dom Cobley <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2e50231 - Browse repository at this point
Copy the full SHA 2e50231View commit details -
drivers: mmc: apply SD quirks earlier during probe
Applying MMC_QUIRK_BROKEN_SD_CACHE is broken, as the card's extended registers are parsed prior to the quirk being applied in mmc_blk. Split this out into an SD-specific list of quirks and apply in mmc_sd_init_card instead. Fixes: c467c8f ("mmc: Add MMC_QUIRK_BROKEN_SD_CACHE for Kingston Canvas Go Plus from 11/2019") Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5abcb6a - Browse repository at this point
Copy the full SHA 5abcb6aView commit details -
drivers: mmc: disable write-caching on Samsung 2023 model year SD cards
Samsung EVO Plus, Pro Plus and Evo Ultimate cards of this era appear to have a broken cache-flush implementation when operating in CQ mode. Unfortunately the cards seem to use a separate CID name string for every variant and capacity, so nobble the cache feature for this MANFID, OEMID and year. Turning this off seems to have negligible impact on random-write throughput in non-CQ mode. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for db9f2f4 - Browse repository at this point
Copy the full SHA db9f2f4View commit details -
drivers: mmc: sdhci-brcmstb: bcm2712 supports HS400es and clock gating
Enhanced Strobe and clock gating are set in the SDHCI_VENDOR register, so make the driver aware it needs to do this for this controller. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 60a063f - Browse repository at this point
Copy the full SHA 60a063fView commit details -
module: Avoid ABI changes when debug info is disabled
CI builds are done with debug info disabled, but this removes some members from struct module. This causes builds to fail if there is an ABI reference for the current ABI. Define these members unconditionally, so that there is no ABI change.
Configuration menu - View commit details
-
Copy full SHA for 4073c68 - Browse repository at this point
Copy the full SHA 4073c68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fa83ee - Browse repository at this point
Copy the full SHA 6fa83eeView commit details -
workflows: Update other workflow files
Get rid of the remaining node.js warnings by updating the actions. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1439951 - Browse repository at this point
Copy the full SHA 1439951View commit details -
ARM: dts: Move virtgpio under the firmware node
In the 6.6 kernel, devices that use the raspberrypi firmware driver should be children of the firmware node. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8e1991e - Browse repository at this point
Copy the full SHA 8e1991eView commit details -
configs: Add various Intel Ethernet drivers
See: raspberrypi#5797 See: raspberrypi#6102 Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1b6d3fc - Browse repository at this point
Copy the full SHA 1b6d3fcView commit details -
DTS: rp1: fix setting xHCI TX burst fifo thresholds
The property should be a u8, and should target the non-periodic SuperSpeed transmit FIFO not the periodic one. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 517ffff - Browse repository at this point
Copy the full SHA 517ffffView commit details -
DTS: overlays: fix Pi 5 midi-over-UART
The UART source clock is 50MHz not 100MHz, so fix the fake-clock used to munge the baudrate. See https://forums.raspberrypi.com/viewtopic.php?p=2212755 Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ada1cbe - Browse repository at this point
Copy the full SHA ada1cbeView commit details -
ASoC: bcm: Use power-of-2 bclk_ratios
The soundcard drivers originally used snd_pcm_format_physical_width, but a later commit changed that to snd_pcm_format_width because the in-memory sample storage width should not be a factor in determining the bclk_ratio. However, the physical width rounds the sample bits up to the nearest power of 2, which makes it easier to find integer clock divisors. Restore the old behaviour, but with an implementation that makes it clear what is going on. See: raspberrypi#6104 Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3b2080f - Browse repository at this point
Copy the full SHA 3b2080fView commit details -
overlays: Force IRQ pins to inputs
Requesting a GPIO as an interrupt source does not automatically make it an input (or even a GPIO pin). Add the necessary pinctrl nodes to the overlays that don't already do this. See: raspberrypi#6106 Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ccf15f9 - Browse repository at this point
Copy the full SHA ccf15f9View commit details -
fixup! bcm2708 framebuffer driver
Make CONFIG_FB_BCM2708 select CONFIG_FB_DEVICE, to avoid potential build problems. See: raspberrypi#6059 Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 679e5d5 - Browse repository at this point
Copy the full SHA 679e5d5View commit details -
ASoC: bcm: Add "owner" info for more soundcards
See: raspberrypi#5697 Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 45d1767 - Browse repository at this point
Copy the full SHA 45d1767View commit details -
dts: bcm2712: cm5: There is no card detect signal
Delete the reference to the EMMC/SD card detect signal because the pin is used for ANT1 on CM5. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7a065d8 - Browse repository at this point
Copy the full SHA 7a065d8View commit details -
dts: bcm2712: cm5: Add antenna controls
Use the same ant1/ant2/noant controls as CM4. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d23492d - Browse repository at this point
Copy the full SHA d23492dView commit details -
dts: bcm2712: cm5: Force the ANT pins to GPIOs
The magic required to make requesting a GPIO automatically change the pinmux settings is currently absent. Work around that by explicitly requesting that the ANT pins be in GPIO mode. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d6c84d2 - Browse repository at this point
Copy the full SHA d6c84d2View commit details -
overlays/README: Document that vc4-(f)kms requires >=512MB
The firmware stops vc4-kms-v3d and vc4-fkms-v3d loading if the system has less than 512MB of RAM. It can work if gpu_mem and CMA heap size are set appropriately, but can't be guaranteed. Document this restriction. Also drops Eric's name from the overlay description as it isn't relevant or accurate anymore. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5aecf8e - Browse repository at this point
Copy the full SHA 5aecf8eView commit details -
media: bcm2835-unicam: Add option for a GPIO to reflect FS/FE timing
The legacy stack had an option to have a GPIO track frame start and end events to give basic synchronisation to the incoming image stream. https://forums.raspberrypi.com/viewtopic.php?t=190314 Replicate this in the kernel Unicam driver. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e55574e - Browse repository at this point
Copy the full SHA e55574eView commit details -
dt: Add camX_sync option to configure a GPIO following cam FS/FE
Unicam now takes an optional GPIO to expose frame start/end timing, so add an override to configure that. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a953f2d - Browse repository at this point
Copy the full SHA a953f2dView commit details -
ARM: dts: rp1: Add a gpio-ranges property
gpio-ranges declares a relationship between pinctrl and GPIO controllers. It is required for "strict" mode to work. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 27d7239 - Browse repository at this point
Copy the full SHA 27d7239View commit details -
pinctrl: bcm2835: Add strict_gpiod module parameter
Setting strict_gpiod to Y makes libgpiod and the gpiod utilities behave as documented, i.e. pins are returned to being GPIO inputs when they are released. drivers/pinctrl/bcm/pinctrl-bcm2835.c Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b1c22fb - Browse repository at this point
Copy the full SHA b1c22fbView commit details -
pinctrl: rp1: Add strict_gpiod module parameter
Setting strict_gpiod to Y makes libgpiod and the gpiod utilities behave as documented, i.e. pins are returned to being GPIO inputs when they are released. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d765511 - Browse repository at this point
Copy the full SHA d765511View commit details -
ARM: dts: Add strict_gpiod dtparam
Setting strict_gpiod disables the GPIO output persistence, such that pins are returned to being inputs when they are released. Note that this applies to the GPIO/pinctrl driver for the user-facing GPIOs, not the SoC GPIOs on Pi 5. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c0edc39 - Browse repository at this point
Copy the full SHA c0edc39View commit details -
overlays: README: Sort the dtparam names
There are enough dtparams now that not having them in alphabetical order makes them hard to find. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 109d5fb - Browse repository at this point
Copy the full SHA 109d5fbView commit details -
overlays: README: Document the strict_gpiod dtparam
Describe the function of the strict_gpiod dtparam. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2613950 - Browse repository at this point
Copy the full SHA 2613950View commit details -
dw-axi-dmac-platform: Avoid trampling with zero length buffer
This code: for_each_sg(sgl, sg, sg_len, i) num_sgs += DIV_ROUND_UP(sg_dma_len(sg), axi_block_len); determines how many hw_desc are allocated. If sg_dma_len(sg)=0 we don't allocate for this sgl. However in the next loop, we will increment loop for this case, and loop gets higher than num_sgs and we trample memory. Signed-off-by: Dom Cobley <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ab66dee - Browse repository at this point
Copy the full SHA ab66deeView commit details -
drivers: media: cfe: Add remap entries for mono formats
The 8-bit and 16-bit mono formats were missing the appropriate remap entries in the format table. Signed-off-by: Naushir Patuck <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a813b72 - Browse repository at this point
Copy the full SHA a813b72View commit details -
vc4/hdmi: Ignore hotplug interrupt with force_hotplug
The intention of the vc4.force_hotplug setting is to ignore hotplug completely. It can be used when a display toggles hotplug when switching AV inputs, going into standby or changing a KVM switch, and some side effect of that is unwanted. It turns out while vc4.force_hotplug currently makes hotplug always read as asserted, that isn't enough to stop drm doing lots of stuff, including re-reading the edid. An example of what drm does with a hotplug deasert/assert and vc4.force_hotplug=1 currently is: https://paste.debian.net/hidden/dc07434b/ That is unwanted. Lets ignore the hotplug interrupt completely so drm is blissfully unaware of the hotplug change. Signed-off-by: Dom Cobley <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7630cd5 - Browse repository at this point
Copy the full SHA 7630cd5View commit details -
DRM: rp1: rp1-dsi: Fix escape clock divider and timeouts.
Escape clock divider was fixed at 5, which is correct at 800Mbps/lane but increasingly out of spec for higher rates. Compute it correctly. High speed timeout was fixed at 5*512 == 2560 byte-clocks per lane. Compute it conservatively to be 8/7 times the line period (assuming there will be a transition to LP some time during each scanline?) keeping the old value as a lower bound. Increase LPRX TO to 1024, and BTA TO to 0xb00 (same value as in bridge/synopsys/dw-mipi-dsi). (No change to LP_CMD_TIM. To do: compute this correctly.) Signed-off-by: Nick Hollinghurst <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f44df36 - Browse repository at this point
Copy the full SHA f44df36View commit details -
drm/panel: Add and initialise an orientation field to drm_panel from OF
"rotation" is listed as a standard property of panels in panel-common.yaml, therefore it would be logical to process that from within the core code should a panel driver not implement the get_orientation hook. Call of_drm_get_panel_orientation from drm_connector_set_orientation_from_panel to get that information. This removes the need for any boiler-plate in panel drivers for calling drm_connector_set_orientation_from_panel or drm_connector_set_panel_orientation. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a3fe943 - Browse repository at this point
Copy the full SHA a3fe943View commit details -
Revert "drm/panel-simple: hack ignore orientation"
This reverts commit 1b2a736.
Configuration menu - View commit details
-
Copy full SHA for df4f847 - Browse repository at this point
Copy the full SHA df4f847View commit details -
Revert "drm/panel: simple: Remove custom handling of orientation"
This reverts commit 8b2f7c0.
Configuration menu - View commit details
-
Copy full SHA for 0def402 - Browse repository at this point
Copy the full SHA 0def402View commit details -
drm/panel-simple: Remove custom handling of orientation
The framework now handles reading orientation from DT, therefore remove the custom get_orientation hook from panel-simple. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6286904 - Browse repository at this point
Copy the full SHA 6286904View commit details -
drm: rp1: vec: Support more video modes in the RP1 VEC driver
Support a wider range of pixel clock rates. The driver will round pixclock up to 108MHz/n but tries to honour the desired image width and position (of the centre of the display relative to HSYNC_STARTs). This adds complexity but removes the need for separate 13.5MHz and 15.428MHz modes. Support "fake" double-rate progressive modes (in which only every 2nd scanline is displayed). To work around aspect ratio issues. Add Monochrome TV mode support. Add "vintage" modes (544x380i for System A; 848x738i for System E) when configured for Monochrome. Add a way to create a "custom" display mode from a module parameter. Signed-off-by: Nick Hollinghurst <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f12fa9c - Browse repository at this point
Copy the full SHA f12fa9cView commit details -
configs: Add IP_NF_TARGET_SYNPROXY=m
This is the IPv4 version of the IPv6 option IP6_NF_TARGET_SYNPROXY, which is already enabled as a module. See: raspberrypi#6127 Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a9fe048 - Browse repository at this point
Copy the full SHA a9fe048View commit details -
dts: overlay: ov5647: Specify clock-noncontinuous on CSI endpoint
The OV5647 declares that it wants a non-continuous clock in its endpoint configuration. However, it does not expose this information via get_mbus_config. Even if it would implement get_mbus_config the bcm2835-unicam driver would not evaluate the flags field of it. By also specifying clock-noncontinuous on the CSI endpoint itself, the CSI driver properly picks up the requests and enables the non-continuous clock mode. Signed-off-by: Christian Speich <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5016f5f - Browse repository at this point
Copy the full SHA 5016f5fView commit details -
drm/bridge: tc358762: Program the DPI mode into the chip
The autodetection of resolution/timing by the TC358762 can lead to the display being shifted by a pixel or two. Program the TC358762 with the requested mode timing so that it can reproduce it accurately. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e802cd0 - Browse repository at this point
Copy the full SHA e802cd0View commit details -
drm/bridge: tc358762: revert move ops to enable
Reverts 8a4b2fc ("drm/bridge: tc358762: Split register programming from pre-enable to enable") as we want the config commands sent before video starts. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6072003 - Browse repository at this point
Copy the full SHA 6072003View commit details -
drm: vc4: dsi: Clocks should be running before reset
The initialisation sequence differs slightly from the documentation in that the clocks are meant to be running before resets and similar. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4967c14 - Browse repository at this point
Copy the full SHA 4967c14View commit details -
drm: vc4: Reset DSI AFE on disable
vc4_dsi_bridge_disable wasn't resetting things during shutdown, so add that in. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d401a53 - Browse repository at this point
Copy the full SHA d401a53View commit details -
drm/vc4: Ensure DSI is enabled for FIFO resets
The block must be enabled for the FIFO resets to be actioned, so ensure this is the case. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 876abd3 - Browse repository at this point
Copy the full SHA 876abd3View commit details -
drm/vc4: Add option to call from crtc to encoder on vblank
DSI0 is misbehaving and needs to action things on vblank to work around it. Add a new hook to call across during vblank. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a02e27f - Browse repository at this point
Copy the full SHA a02e27fView commit details -
drm/vc4: Add vblank callback to DSI0 to reset FIFO
The pixel to byte FIFO appears to not always reset correctly, which can lead to colour errors and/or horizontal shifts. Reset on every vblank to work around the issue. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 781711a - Browse repository at this point
Copy the full SHA 781711aView commit details -
clk-bcm2835: Use PLLD for DSI0 HS clock
DSI0 can take the clock from either PLLA or PLLD. PLLA is the default muxing, but PLLD is considered the more stable. Switch to using PLLD. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4b58262 - Browse repository at this point
Copy the full SHA 4b58262View commit details -
ARM: dts: bcm283x: Switch DSI0 to taking clock from PLLD
PLLD is considered more stable than PLLA as it doesn't get varied. The clock muxing has been updated to driver DSI0 from PLLD, so update DT to match. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 900d091 - Browse repository at this point
Copy the full SHA 900d091View commit details -
drm/panel-simple: Fix 7inch panel mode for misalignment
The 7inch panel is one line off the screen both horizontally and vertically. Alter the panel mode to correct this. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8581312 - Browse repository at this point
Copy the full SHA 8581312View commit details -
drm/panel-simple: Increase pixel clock on Pi 7inch panel
The Toshiba bridge is very fussy and doesn't like the CM3 output when being told to produce a 27.777MHz pixel clock, which is an almost perfect match to the DSI link integer divider. Increasing to 30MHz will switch the DSI link from 333MHz to 400MHz and makes the bridge happy with the same video timing as works on Pi4. (Pi4 will be using a link frequency of 375MHz due to a 3GHz parent PLL). Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d2af83d - Browse repository at this point
Copy the full SHA d2af83dView commit details -
drm/vc4: Fixup mode for 7inch panel on DSI0
The TC358762 bridge and panel decodes the mode differently on DSI0 to DSI1 for no obvious reason, and results in a shift off the screen. Whilst it would be possible to change the compatible used for the panel, that then messes up Pi5. As it appears to be restricted to vc4 DSI0, fix up the mode in vc4_dsi. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7fea967 - Browse repository at this point
Copy the full SHA 7fea967View commit details -
regulator/rpi-panel: Power off display on shutdown
Adds a shutdown function to turn off the backlight, bridge, and touch controller on shutdown. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4ad5909 - Browse repository at this point
Copy the full SHA 4ad5909View commit details -
overlays: Add overlay for the Pineboards Hat Ai!
This overlay simplifies the configuration of the Coral Edge TPU (Single and Dual Edge) on the Pi 5.
Configuration menu - View commit details
-
Copy full SHA for f3d87c1 - Browse repository at this point
Copy the full SHA f3d87c1View commit details -
drm: rp1: dpi: Add support for MEDIA_BUS_FMT_RGB565_1X24_CPADHI
This new format corresponds to the Raspberry Pi legacy DPI mode 3. Signed-off-by: Nick Hollinghurst <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 04de99f - Browse repository at this point
Copy the full SHA 04de99fView commit details -
overlays: qca7000: Adjust URL & README info
in-tech smart charging is now called chargebyte. Our product name seems to be more stable than our company name, so drop them where it's possible. Signed-off-by: Stefan Wahren <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 71e3225 - Browse repository at this point
Copy the full SHA 71e3225View commit details -
defconfigs: Add ILI9881 to rpi and bcm2709 defconfigs
Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a66f5cb - Browse repository at this point
Copy the full SHA a66f5cbView commit details -
Essentially a rename of the equivalent overlay for the SC16IS752. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2a59b09 - Browse repository at this point
Copy the full SHA 2a59b09View commit details -
configs: Enable BCACHEFS as a module
BCACHEFS is a new, copy on write filesystem. Enable it as a module for evaluation, along with some of the optional features. See: raspberrypi#6135 Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ac0bfd3 - Browse repository at this point
Copy the full SHA ac0bfd3View commit details -
Revert "pinctrl: bcm2835: Add strict_gpiod module parameter"
This reverts commit c6ee931.
Configuration menu - View commit details
-
Copy full SHA for 9b3aef7 - Browse repository at this point
Copy the full SHA 9b3aef7View commit details -
Revert "pinctrl: bcm2835: Only return non-GPIOs to inputs"
This reverts commit 2f8da7f.
Configuration menu - View commit details
-
Copy full SHA for 97c4d40 - Browse repository at this point
Copy the full SHA 97c4d40View commit details -
pinctrl: bcm2835: Make pin freeing behavior configurable
commit 8ff0598 upstream. Until now after a bcm2835 pin was freed its pinmux was set to GPIO_IN. So in case it was configured as GPIO_OUT before the configured output level also get lost. As long as GPIO sysfs was used this wasn't actually a problem because the pins and their possible output level were kept by sysfs. Since more and more Raspberry Pi users start using libgpiod they are confused about this behavior. So make the pin freeing behavior of GPIO_OUT configurable via module parameter. In case pinctrl-bcm2835.persist_gpio_outputs is set to 1, the output level is kept. This patch based on the downstream work of Phil Elwell. Link: raspberrypi#6117 Signed-off-by: Stefan Wahren <[email protected]> Message-ID: <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 61a4705 - Browse repository at this point
Copy the full SHA 61a4705View commit details -
pinctrl: bcm2835: Persist outputs by default
Having accepted the upstream change to add the persist_gpio_outputs parameter, make it true by default. See: raspberrypi#6117 Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0466740 - Browse repository at this point
Copy the full SHA 0466740View commit details -
pinctrl: rp1: Use persist_gpio_outputs
Following 8ff0598, adopt the same parameter name but with the opposite default. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f4b0a50 - Browse repository at this point
Copy the full SHA f4b0a50View commit details -
ARM: dts: Update strict_gpiod dtparams
Following the adoption upstream of a similar parameter but with another name, update the dtparam definitions to use the new name and sense. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for da74fce - Browse repository at this point
Copy the full SHA da74fceView commit details -
drm/vc4: Fix potential null pointer read when disabling vblank
vc4_disable_vblank assumed that vc4_encoder was always assigned, which isn't guaranteed. If it isn't assigned then disable the interrupt anyway as it's not connected. raspberrypi#6146 Fixes: 63c0bcc ("drm/vc4: Add option to call from crtc to encoder on vblank") Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0941199 - Browse repository at this point
Copy the full SHA 0941199View commit details -
dts: bcm2712: Drop snd_bcm2835 bootargs references from Pi5
Pi5 has no VCHIQ to support the snd_bcm2835 firmware audio driver, so remove the reference to it from bootargs. https://forums.raspberrypi.com/viewtopic.php?p=2219395#p2219395 Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0249694 - Browse repository at this point
Copy the full SHA 0249694View commit details -
staging: bcm2835-codec: 32bpp RGB formats need a 64byte alignment
The firmware needs 16 pixel alignment on RGBx 32bpp formats, which would be 64 byte. The driver was only setting 32byte alignment. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f5dba96 - Browse repository at this point
Copy the full SHA f5dba96View commit details -
spi: dw: Handle any number of gpiod CS lines
Even when configured to use only gpiod CS lines, the DW SPI controller still expects a bit to be set in the SER register, otherwise transfers stall. For the csgpiod case, nominate bit 0 for the job. See: raspberrypi#6159 Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3a31efe - Browse repository at this point
Copy the full SHA 3a31efeView commit details -
staging: bcm2835_codec: Pass framerate to the component if set late
For video encoding, if the framerate was set after the component was created, then it wasn't set correctly on the port, and an old value was encoded in the bitstream. Update the port status when the framerate is set. raspberrypi/rpicam-apps#664 Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 99b05ef - Browse repository at this point
Copy the full SHA 99b05efView commit details -
DTS: bcm2712: set nonzero QoS values for PCIE1
If PCIE1 is left with the default (zero) AXI QoS values, endpoints can receive extremely poor service for non-posted transactions e.g. reads. Such transactions can take milliseconds to complete on a contended system. Bump priorities for every TC above the non-realtime greedy peripherals in BCM2712, to allow reasonable service without competing against hard realtime peripherals. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e29ed1f - Browse repository at this point
Copy the full SHA e29ed1fView commit details -
dtoverlays: Fix noints mode of mcp23017
noints mode disables 2 fragments that configure a GPIO to be used for the interrupt line from the MCP23017, but fails to remove the pinctrl-0 reference or pinctrl-names. It therefore fails to load due to an invalid phandle. Move the pinctrl-0 and pinctrl-names properties so they also get disabled by the noints override. https://forums.raspberrypi.com/viewtopic.php?t=370907 Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ec9801d - Browse repository at this point
Copy the full SHA ec9801dView commit details -
regulator: rpi_panel_v2: Add remove and shutdown hooks
Add shutdown and remove hooks so that the panel gets powered off with the system. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e4ee1c8 - Browse repository at this point
Copy the full SHA e4ee1c8View commit details -
regulator: rpi_panel_v2: Add delay on I2C reads
As with many microcontrollers, the panel wants to use clock stretching during a read so that the appropriate return value can be generated and programmed into the hardware. With Pi0-3 really not supporting clock stretching, this resulted in the panel firmware dying. Insert a delay between the write and the read to give the firmware a chance to generate the relevant return value. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b84d780 - Browse repository at this point
Copy the full SHA b84d780View commit details -
drm/vc4: dpi: Add override for RGB order
There are no MEDIA_BUS_FMT_* defines for GRB or BRG, and adding them is a pain. Add a DT override to allow setting the order. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5b95254 - Browse repository at this point
Copy the full SHA 5b95254View commit details -
dtoverlay: Add rgb-order override for vc4-kms-dpi-generic
Sets the new DT property for rgb-order. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 37f37b8 - Browse repository at this point
Copy the full SHA 37f37b8View commit details -
DTS: bcm2712: don't assume L1 sub-state support at chip level
L1 sub-states require the connection of the CLKREQ# auxiliary signal which is a PCB-level decision, and also depends on the vagrancies of adapters/interposers/slots that may exist between the chip and the endpoint. If this parameter is present, and the RC driver sees an L1 substate capability in the endpoint, then the result is a broken link if CLKREQ# isn't end-to-end connected - regardless of the state of the L1.x enable bits in the RC. Board-specific methods (HAT+ overlay, board DTB) should define this property if required. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b517dc6 - Browse repository at this point
Copy the full SHA b517dc6View commit details -
DTS: overlays: add pciex1-compat-pi5
Interop testing with the M.2 HAT has revealed that there are many quirky endpoint devices out there, so users should have a way of rapidly iterating to find which quirk is causing reliability issues. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 357a629 - Browse repository at this point
Copy the full SHA 357a629View commit details -
overlays: Add sdio -> sdio-pi5 mapping
There is already an sdio-pi5 overlays, but the automatic mapping was missing. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7562e27 - Browse repository at this point
Copy the full SHA 7562e27View commit details -
drivers: staging: bcm2835-isp: Respect caller's stride value
The stride value reported for output image buffers should be at least as large as any value that was passed in by the caller (subject to correct alignment for the pixel format). If the value is zero (meaning no value was passed), or is too small, the minimum acceptable value will be substituted. Signed-off-by: David Plowman <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 44cd74a - Browse repository at this point
Copy the full SHA 44cd74aView commit details -
drivers: pcie-brcmstb: add best-effort workaround for QoS bug on bcm2712
If a set of read requests are issued by an endpoint, they are streamed into a resynchronisation FIFO prior to exiting the RC. This FIFO has an edge case where it can drop QoS for a request to 0 if there's a single outstanding read request in the FIFO, and another is pushed when the FIFO is popped. Requests with a QoS of 0 can take hundreds of microseconds to complete. By adding an experimentally-determined amount of backpressure on the pop side, the critical level transition can largely be avoided. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for df28731 - Browse repository at this point
Copy the full SHA df28731View commit details -
ARM: dts: Fix camera sync parameters
The camera sync parameter declarations include are invalid in that they have both embedded string values and following cell values. The intention here was to use the cell values, but the embedded "0" was not removed as it should have been. The implication of this mistake is that inverted sync flags would be ignored because the 0 value corresponds to GPIO_ACTIVE_HIGH. The extra cell value would be treated as the start of another override, but then ignored because the end of the parameter is reached. These errors should have been picked up by the automated checks, but the base dts files weren't subjected to the same validation. This has now been corrected. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a94f0dd - Browse repository at this point
Copy the full SHA a94f0ddView commit details -
backlight: Add a display name to the core, and a function to set it
The naming of backlight devices is not terribly useful for associating a backlight controller with a display (assuming it is attached to one). Add a sysfs node that will return a display name that can be set by other subsystems. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0a173e0 - Browse repository at this point
Copy the full SHA 0a173e0View commit details -
drm/bridge: panel: Name an associated backlight device
Pass the DRM connector name to any configured backlight device so that userspace can associate the two items. Ideally this should be in drm_panel, but it is bridge/panel that creates the drm_connector and therefore knows the name. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d24bcaf - Browse repository at this point
Copy the full SHA d24bcafView commit details -
drivers: media: pci: Add Hailo accelerator device drivers
Add version 4.17.1 of the Hailo PCIe device drivers. Sourced from https://github.com/hailo-ai/hailort-drivers/ Signed-off-by: Naushir Patuck <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e999a41 - Browse repository at this point
Copy the full SHA e999a41View commit details -
configs: Enable Hailo accelerator driver
Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3337abd - Browse repository at this point
Copy the full SHA 3337abdView commit details -
DTS: overlays: add mmio-hi parameter to pciex1-compat-pi5
I225-V network adapters have a buggy ROM that won't complete internal initialisation if (at least) BAR0 has an assigned address of 0x0. Add a parameter to the pciex1-compat-pi5 overlay to make outbound addresses start at 2GB. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6cb5d06 - Browse repository at this point
Copy the full SHA 6cb5d06View commit details -
Update DAC8x to support 384khz (raspberrypi#6187)
Update rpi-simple-soundcard.c with 384kHz support.
Configuration menu - View commit details
-
Copy full SHA for 01e4d4d - Browse repository at this point
Copy the full SHA 01e4d4dView commit details -
fix Hsync and Vsync polarity can't change from negatieve to positief … (
raspberrypi#6193) vc4/hdmi: Fix Hsync and Vsync polarity changes Polarity bits were only ever set and never cleared. Make sure they can also be cleared. Signed-off-by: Michiel Vanbiervliet <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 719ce9a - Browse repository at this point
Copy the full SHA 719ce9aView commit details -
ARM: dts: Move rpi-otp nodes onto a dedicated bus
The rpi-otp driver uses a virtualised, OTP-relative addressing scheme. However, when instance nodes are children of "/soc" they appear to be addressable directly by the host, which is wrong (but not in a way which causes an error unless one goes looking for one). Add a wrapper (bus) node without a "ranges" property to make the separation clear. See: raspberrypi#6196 Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1fcc89c - Browse repository at this point
Copy the full SHA 1fcc89cView commit details -
configs: enable CONFIG_NET_FOU_IP_TUNNELS
The current configs enable fou as a module, but fou is not very useful without CONFIG_NET_FOU_IP_TUNNELS, because it can't be used to actually create tunnels: $ sudo ip fou add port 12345 ipproto ipip $ sudo ip link add name fou1 type ipip local any remote 8.8.8.8 \ encap fou encap-sport auto encap-dport 12345 RTNETLINK answers: Invalid argument Enable the option by default. This does not increase memory footprint because fou is not loaded by default. Uncompressed module size goes from 26.3KiB to 32.5KiB. After this change, things work: $ sudo ip fou add port 12345 ipproto ipip $ sudo ip link add name fou1 type ipip local any remote 8.8.8.8 \ encap fou encap-sport auto encap-dport 12345 $ ip link show fou1 8: fou1@NONE: <POINTOPOINT,NOARP> mtu 1472 qdisc noop state DOWN [...] link/ipip 0.0.0.0 peer 8.8.8.8 Signed-off-by: Lorenzo Colitti <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 936e2e1 - Browse repository at this point
Copy the full SHA 936e2e1View commit details -
mmc: sdhci-brcmstb: add hs400_downgrade callback for bcm2712
The attached PHY performs parameter validation, so the switch from HS200 to HS (before selecting HS400/HS400es) with a 200MHz clock fails to update pad timings and results in CRC errors from the card. Underclocking the interface is safe, so do that in the downgrade callback. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 350b6fd - Browse repository at this point
Copy the full SHA 350b6fdView commit details -
Revert "dts: bcm2712: cm5: Disable HS400"
Now that we've figured out why the PHY didn't do the right thing, HS400 is stable again. This reverts commit 6aeacfc. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a310ae6 - Browse repository at this point
Copy the full SHA a310ae6View commit details -
dts: bcm2712: cm5: fix typo and declare HS400es support
Enhanced strobe means HS200 training can be skipped. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9625b18 - Browse repository at this point
Copy the full SHA 9625b18View commit details -
mmc: sd: halt CQHCI before issuing a cache flush command
SD cards perform cache flushes by a CMD49 extension register write - which needs to be started from the SDHCI command/argument registers and not a CQHCI slot. Host access to SD/CQ registers should be exclusive to one or the other, so issue a halt before doing the command. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2714b19 - Browse repository at this point
Copy the full SHA 2714b19View commit details -
mmc: sdhci: extend maximum ADMA transfer length to 4MiB
This gains about 8-12% sequential write speed with the fastest SD/eMMC cards, and Class A1/A2 card sequential performance is only assured with a 4MiB write length. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2a92ed4 - Browse repository at this point
Copy the full SHA 2a92ed4View commit details -
drm/vc4: hdmi: Add property to allow manual config of RGB or YCbCr
Add a custom property "Output format" that allows the overriding of the default colourspace choice in the way that the old firmware hdmi_pixel_encoding property did. If the chosen format is not supported, then it will still drop back to the older behaviour. This won't be acceptable to upstream, but it adds back the missing functionality of hdmi_pixel_encoding. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9a6d8a2 - Browse repository at this point
Copy the full SHA 9a6d8a2View commit details -
ASoC: da7213: Add a set_bclk_ratio method
Following [1], it becomes harder for the CPU DAI to know the correct BCLK ratio. We can either bake the same knowledge into the sound card driver, or implement and use set_bclk_ratio on the codec. This commit does the latter. [1] commit c89e652 ("ASoC: da7213: Add support for mono, set frame width to 32 when possible") Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6c7ad26 - Browse repository at this point
Copy the full SHA 6c7ad26View commit details -
iqaudio-codec: Use the codec's new set_bclk_ratio
To ensure that the CPU DAI and codec agree over the BCLK ratio, impose a fixed value of 64 on both of them. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7e09c20 - Browse repository at this point
Copy the full SHA 7e09c20View commit details -
Include Rados block device (RBD) support in standard kernel builds, a common companion for CEPH which is included. See: raspberrypi#6224 Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6f17042 - Browse repository at this point
Copy the full SHA 6f17042View commit details -
drivers: mmc: sdhci-brcmstb: improve bcm2712 card removal handling
If the controller is being reset, then the CQE needs to be reset as well. For removable cards, CQHCI_SSC1 must specify a polling mode (CBC=0) otherwise it's possible that the controller stops emitting periodic CMD13s on card removal, without raising an error status interrupt. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6e6fe57 - Browse repository at this point
Copy the full SHA 6e6fe57View commit details -
drivers: mmc: core: handle card-removal when running CQE recovery
Recovery claims the MMC card so the card-detect work gets significantly delayed - leading to lots of error recovery loops that can never do anything but fail. Explicitly detect the card after CQE has halted and bail if it's not there. Also ratelimit a not-very-descriptive warning - one occurrence in dmesg is enough to signal that something is amiss. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 62fefd1 - Browse repository at this point
Copy the full SHA 62fefd1View commit details -
feat: Add support for SunFounder PiPower 3 overlay
fix: Fix wrong Pironman 5 ir default pin number fix: Change space indentation to tab Signed-off-by: Cavon Lee <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 13429ec - Browse repository at this point
Copy the full SHA 13429ecView commit details -
pwm: gpio-pwm: follow pwm_apply_might_sleep() rename
Fixes: 0328609("drivers/gpio: Add a driver that wraps the PWM API as a GPIO controller") Signed-off-by: Ratchanan Srirattanamet <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7bf703e - Browse repository at this point
Copy the full SHA 7bf703eView commit details -
drm/bridge: panel: Ensure backlight is reachable
Ensure that the various options of modules vs builtin results in being able to call into the backlight code. raspberrypi#6198 Fixes: 573f8fd ("drm/bridge: panel: Name an associated backlight device") Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4660ad3 - Browse repository at this point
Copy the full SHA 4660ad3View commit details -
arm64: dts: remove broken DTSI links
Both bcm283x-rpi-csi1-2lane.dtsi and bcm283x-rpi-lan7515.dtsi are linked to "../arm/boot/dts/" instead of "../arm/boot/dts/broadcom", so the links are broken. Fixes: d060fc0 ("BCM2708: Add core Device Tree support") Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d7aece5 - Browse repository at this point
Copy the full SHA d7aece5View commit details -
fs/ntfs3: Fix memory corruption when page_size changes
The rework in fs/ntfs3: Reduce stack usage changes log->page_size but doesn't change the associated log->page_mask and log->page_bits. That results in the bytes value in read_log_page getting a negative value, which is bad when it is passed to memcpy. The kernel panic can be observed when connecting an ntfs formatted drive that has previously been connected to a Windows machine to a Raspberry Pi 5, which by defauilt uses a 16K kernel pagesize. Fixes: 865e7a7 ("fs/ntfs3: Reduce stack usage") Signed-off-by: Dom Cobley <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 150b75e - Browse repository at this point
Copy the full SHA 150b75eView commit details -
drivers: dwc_otg: use C11 style variable array declarations
The kernel C standard changed in 5.18. Remove a layer of indirection around the FIQ bounce buffers, be consistent with pointers to FIQ bounce buffers, and remove open-coded 32-bit clamping of DMA addresses. Also remove a pointless fiq_state initialisation loop. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c95b817 - Browse repository at this point
Copy the full SHA c95b817View commit details -
media: uapi: pixfmt-luma: Document MIPI CSI-2 packing
The Y10P, Y12P and Y14P format variants are packed according to the RAW10, RAW12 and RAW14 formats as defined by the MIPI CSI-2 specification. Document it. Signed-off-by: Jacopo Mondi <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Reviewed-by: Naushir Patuck <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 57943d7 - Browse repository at this point
Copy the full SHA 57943d7View commit details -
media: uapi: Add a pixel format for BGR48 and RGB48
Add BGR48 and RGB48 16-bit per component image formats. Signed-off-by: Jacopo Mondi <[email protected]> Reviewed-by: Kieran Bingham <[email protected]> Reviewed-by: Naushir Patuck <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 309fec4 - Browse repository at this point
Copy the full SHA 309fec4View commit details -
media: uapi: Add Raspberry Pi PiSP Back End uAPI
Add the Raspberry Pi PiSP Back End uAPI header. The header defines the data type used to configure the PiSP Back End ISP. The detailed description of the types and of the ISP configuration procedure is available at https://datasheets.raspberrypi.com/camera/raspberry-pi-image-signal-processor-specification.pdf Signed-off-by: Jacopo Mondi <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e1b32e6 - Browse repository at this point
Copy the full SHA e1b32e6View commit details -
media: uapi: Document meta pixel format for PiSP BE config
Add format description for the PiSP Back End configuration parameter buffer. Signed-off-by: Jacopo Mondi <[email protected]> Reviewed-by: Naushir Patuck <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f4fa7c6 - Browse repository at this point
Copy the full SHA f4fa7c6View commit details -
media: uapi: Document PiSP Compressed RAW Bayer formats
Document the Raspberry Pi compressed RAW Bayer formats. The compression algorithm description is provided by Nick Hollinghurst <[email protected]> from Raspberry Pi. Signed-off-by: Jacopo Mondi <[email protected]> Reviewed-by: Naushir Patuck <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a82b09b - Browse repository at this point
Copy the full SHA a82b09bView commit details -
media: dt-bindings: Add bindings for Raspberry Pi PiSP Back End
Add bindings for the Raspberry Pi PiSP Back End memory-to-memory image signal processor. Datasheet: https://datasheets.raspberrypi.com/camera/raspberry-pi-image-signal-processor-specification.pdf Signed-off-by: Jacopo Mondi <[email protected]> Reviewed-by: Rob Herring <[email protected]> Reviewed-by: Naushir Patuck <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e434449 - Browse repository at this point
Copy the full SHA e434449View commit details -
media: admin-guide: Document the Raspberry Pi PiSP BE
Add documentation for the PiSP Back End memory-to-memory ISP. Signed-off-by: Jacopo Mondi <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4ffef48 - Browse repository at this point
Copy the full SHA 4ffef48View commit details -
media: pisp-be: Backport the mainline PiSP BE driver
Backport to rpi-6.6.y the mainline version of the PiSP BE driver. The backported version of the driver corresponds to the one available at: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Jacopo Mondi <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a2b5662 - Browse repository at this point
Copy the full SHA a2b5662View commit details -
media: uapi: pisp_be_config: Drop BIT() from uAPI
The pisp_be_config.h uAPI header file contains a bit-field definition that uses the BIT() helper macro. As the BIT() identifier is not defined in userspace, drop it from the uAPI header. Fixes: c6c49ba ("media: uapi: Add Raspberry Pi PiSP Back End uAPI") Signed-off-by: Jacopo Mondi <[email protected]> Reviewed-by: Tomi Valkeinen <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1ad92d2 - Browse repository at this point
Copy the full SHA 1ad92d2View commit details -
media: uapi: pisp_common: Add 32 bpp format test
Add definition and test for 32-bits image formats to the pisp_common.h uAPI header. Signed-off-by: Jacopo Mondi <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5554f66 - Browse repository at this point
Copy the full SHA 5554f66View commit details -
media: uapi: Capitalize all macros
The macro used to inspect an image format characteristic use a mixture of capitalized and non-capitalized letters, which is rather unusual for the Linux kernel style. Capitalize all identifiers. Signed-off-by: Jacopo Mondi <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1dc9246 - Browse repository at this point
Copy the full SHA 1dc9246View commit details -
media: uapi: pisp_be_config: Re-sort pisp_be_tiles_config
The order of the members of pisp_be_tiles_config is relevant as the driver logic assumes 'config' to be at offset 0. Re-sort the member to match the driver's expectations. Fixes: c6c49ba ("media: uapi: Add Raspberry Pi PiSP Back End uAPI") Signed-off-by: Jacopo Mondi <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for faf4d57 - Browse repository at this point
Copy the full SHA faf4d57View commit details -
media: uapi: pisp_be_config: Add extra config fields
Complete the pisp_be_config strcture by adding fields that even if not written to the HW are relevant to complete the uAPI and put it in par with the BSP driver. Fixes: c6c49ba ("media: uapi: Add Raspberry Pi PiSP Back End uAPI") Signed-off-by: Jacopo Mondi <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 84e8c07 - Browse repository at this point
Copy the full SHA 84e8c07View commit details -
media: pisp_be: Re-introduce multi-context support
Re-introduce multi-context support that was dropped from the mainline driver version. Signed-off-by: Jacopo Mondi <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8db143f - Browse repository at this point
Copy the full SHA 8db143fView commit details -
media: pisp_be: Re-introduce video node offset
Offset the backend dev-nodes starting at /dev/video20 onwards to maintain backward compatibility with the pre-upstreamed kernel driver. Signed-off-by: Naushir Patuck <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6c14bf9 - Browse repository at this point
Copy the full SHA 6c14bf9View commit details -
dts: Make camN_reg and camN_reg_gpio overrides generic
The camera regulator GPIO can be used for other purposes, so the camN_reg override to allow disabling is potentially useful on any platform. camN_gpio is less useful, but isn't invalid. Move these overrides from the CM dt files to bcm270x-rpi.dtsi and bcm2712-rpi.dtsi. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 93c5bce - Browse repository at this point
Copy the full SHA 93c5bceView commit details -
spi: dt-bindings: Add RPI RP2040 GPIO Bridge
Add YAML device tree bindings for the Raspberry Pi RP2040 GPIO Bridge. Signed-off-by: Richard Oliver <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5fde3eb - Browse repository at this point
Copy the full SHA 5fde3ebView commit details -
spi: Add a driver for the RPI RP2040 GPIO bridge
The Raspberry Pi RP2040 GPIO bridge is an I2C-attached device exposing both a Tx-only SPI controller, and a GPIO controller. Due to the relative difference in transfer rates between standard-mode I2C and SPI, the GPIO bridge makes use of 12 MiB of non-volatile storage to cache repeated transfers. This cache is arranged in ~8 KiB blocks and is addressed by the MD5 digest of the data contained therein. Optionally, this driver is able to take advantage of Raspberry Pi RP1 GPIOs to achieve faster than I2C data transfer rates. Signed-off-by: Richard Oliver <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a109ace - Browse repository at this point
Copy the full SHA a109aceView commit details -
dmaengine: dw-axi-dmac: Honour snps,block-size
The snps,block-size DT property declares the maximum block size for each channel of the dw-axi-dmac. However, the driver ignores these when setting max_seg_size and uses MAX_BLOCK_SIZE (4096) instead. To take advantage of the efficiencies of larger blocks, calculate the minimum block size across all channels and use that instead. See: raspberrypi#6256 Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4afa9b7 - Browse repository at this point
Copy the full SHA 4afa9b7View commit details -
mmc: restrict posted write counts for SD cards in CQ mode
Command Queueing requires Write Cache and Power off Notification support from the card - but using the write cache forms a contract with the host whereby the card expects to be told about impending power-down. The implication is that (for performance) the card can do unsafe things with pending write data - including reordering what gets committed to nonvolatile storage at what time. Exposed SD slots and platforms powered by hotpluggable means (i.e. Raspberry Pis) can't guarantee that surprise removal won't happen. To limit the scope for cards to invent new ways to trash filesystems, limit pending writes to 1 (equivalent to the non-CQ behaviour). Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 78edd60 - Browse repository at this point
Copy the full SHA 78edd60View commit details -
fixup: mmc: restrict posted write counts for SD cards in CQ mode
Leaving card->max_posted_writes unintialised was a bad thing to do. Also, cqe_enable is 1 if hsq is enabled as hsq substitutes the cqhci implementation with its own. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d96c192 - Browse repository at this point
Copy the full SHA d96c192View commit details -
mmc: brcmstb: don't squash card-busy detection on bcm2712
Commit 485d942 ("mmc: sdhci-brcmstb: check R1_STATUS for erase/trim/discard") introduced a new flag and defaulted to disabling card busy detection across all platforms with this controller. This is required for IO voltage switching, as the card drives CMD low while the switch is in progress. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 64e8341 - Browse repository at this point
Copy the full SHA 64e8341View commit details -
Revert "Update DAC8x to support 384khz (raspberrypi#6187)"
This reverts commit dd7a154.
Configuration menu - View commit details
-
Copy full SHA for b71d4d8 - Browse repository at this point
Copy the full SHA b71d4d8View commit details -
brcmfmac: Only match complete feature names
The firmware advertises its features as a string of words separated by spaces. Ensure that feature names are only matched in their entirety. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1ff3ec0 - Browse repository at this point
Copy the full SHA 1ff3ec0View commit details -
brcmfmac: Add "extsae" as an alias for "sae_ext"
The Cypress firmwares use "extsae" to indicate wpa_supplicant-hosted SAE/WPA3. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b1673db - Browse repository at this point
Copy the full SHA b1673dbView commit details -
brcmfmac: support extsae with psk / 1x offloading
support sae executed in wpa_supplicant and offload 4-way handshake offload. Signed-off-by: Chien-Chia Chen <[email protected]> JIRA: SWWLAN-142424
Configuration menu - View commit details
-
Copy full SHA for 8cb02a6 - Browse repository at this point
Copy the full SHA 8cb02a6View commit details -
dt-bindings: clk: rp1: Add clocks representing MIPI DSI byteclock
Define two new RP1 clocks, representing the MIPI DSI byteclock sources for the dividers used to generate MIPI[01] DPI pixel clocks. (Previously they were represented by "fake" fixed clocks sources). Signed-off-by: Nick Hollinghurst <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4dbb16f - Browse repository at this point
Copy the full SHA 4dbb16fView commit details -
clk: clk-rp1: Add "varsrc" clocks to represent MIPI byte clocks
Add a new class of clocks to RP1 to represent clock sources whose frequency changes at run-time as a side-effect of some other driver. Specifically this is for the two MIPI DSI byte-clock sources. Signed-off-by: Nick Hollinghurst <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4da5801 - Browse repository at this point
Copy the full SHA 4da5801View commit details -
dts: rp1: DSI drivers to use newly defined MIPI byte source clocks.
Remove the "dummy" 72MHz fixed clock sources and associate DSI driver with the new "variable" clock sources now defined in RP1 clocks. Also add PLLSYS clock to DSI, which it will need as an alternative clock source in those cases where DPI pixclock > DSI byteclock. Signed-off-by: Nick Hollinghurst <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e7aeaa2 - Browse repository at this point
Copy the full SHA e7aeaa2View commit details -
drm: rp1: rp1-dsi: Switch to PLL_SYS source for DPI when 8 * lanes > bpp
To support 4 lanes, re-parent DPI clock source between DSI byteclock (using the new "variable sources" defined in clk-rp1) and PLL_SYS. This is to cover cases in which byteclock < pixclock <= 200MHz. Tidying: All frequencies now in Hz (not kHz), where DSI speed is now represented by byteclock to simplify arithmetic. Clamp DPI and byte clocks to their legal ranges; fix up HSTX timeout to avoid an unsafe assumption that it would return to LP state for every scanline. Because of RP1's clock topology, the ratio between DSI and DPI clocks may not be exact with 3 or 4 lanes, leading to slightly irregular timings each time DSI switches between HS and LP states. Tweak to inhibit LP during Horizontal BP when sync pulses were requested. Signed-off-by: Nick Hollinghurst <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4c74078 - Browse repository at this point
Copy the full SHA 4c74078View commit details -
arm64: dts: Move bcm2712 and rp1 here
It is pointless having the bcm2712 family of dts files and rp1.dtsi in the arch/arm directory tree, since they then require placeholders to include them in arch/arm64 where they are built. The files have no dependencies on other files in the arch/arm tree, so simply move them here. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 39ca202 - Browse repository at this point
Copy the full SHA 39ca202View commit details -
CM5 Lite DTBs require minor changes compared to the "heavy" variants. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0353b59 - Browse repository at this point
Copy the full SHA 0353b59View commit details -
dts: bcm2712: Dedup the aliases and overrides
Move the aliases and overrrides shared by Pi 5 and CM5 into bcm2712-rpi.dtsi. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d9ea22d - Browse repository at this point
Copy the full SHA d9ea22dView commit details -
Revert "ARM: dts: rp1: Add a safe I2C SDA hold time"
This reverts commit a3d53c8.
Configuration menu - View commit details
-
Copy full SHA for c86f3b9 - Browse repository at this point
Copy the full SHA c86f3b9View commit details -
arm64: dts: Give cm5l its own model name
The bootloader patches the DT with the correct model string, but it is better not to rely on that by setting it from the start. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bfa3b82 - Browse repository at this point
Copy the full SHA bfa3b82View commit details -
configs: rpi: enable CONFIG_BRIDGE_VLAN_FILTERING
Enabling CONFIG_BRIDGE_VLAN_FILTERING allows bridges to automatically receive and forward packets based on the 802.1q VLAN information and the device/port configuration. See: raspberrypi#6275 Signed-off-by: Xavier L. <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 97d6f16 - Browse repository at this point
Copy the full SHA 97d6f16View commit details -
pinctrl: rp1: jump through hoops to avoid PCIe latency issues
Automatic link power saving plus the ability of a root complex to buffer pending posted write transfers (and consider them complete before being transmitted on the wire) causes compression of updates to GPIO state. The large bandwidth of a Gen 2 x4 link means the writes toggle state inside RP1 as fast as it can go (~20MHz), which is bad for applications wanting bitbash with at least a few microseconds of delay between updates. By tailoring IO access patterns to a special Root Complex register, writes to GPIOs can be stalled until the link wakes - meaning all writes end up with a reasonably consistent minimum pacing (~200ns). Additionally, write barriers have no effect other than to arbitrarily delay some writes by a small, variable amount - so remove the vast majority of these in areas that could be hot-paths. Although the IO memory is mapped with Device strongly-ordered semantics, this doesn't prevent the splitter inside BCM2712 from letting an MMIO read request to a GPIO register get ahead of the pacing writes to the Root Complex register. So each pin state read must flush writes out to the Outer-Shareable domain. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3848a3c - Browse repository at this point
Copy the full SHA 3848a3cView commit details -
staging: bcm2835-codec: Disable HEADER_ON_OPEN for video encode
Video encode can defer generating the header until the first frame is presented, which allows it to take the colourspace information from the frame rather than just the format. Enable that for the V4L2 driver now that the firmware populates all the parameters. raspberrypi/firmware#1885 Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4822072 - Browse repository at this point
Copy the full SHA 4822072View commit details -
staging: bcm2835-codec: Add support for H264 level 5.0 and 5.1
We do NOT claim to support decoding in real-time for these levels, but can transcode some content, and handle 1920x1200. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d462aae - Browse repository at this point
Copy the full SHA d462aaeView commit details -
spi: dw: Save bandwidth with the TMOD_TO feature
TMOD_TO is the transmit-only mode that doesn't put data into the receive FIFO. Using TMOD_TO when the user doesn't want the received data saves CPU time and memory bandwidth. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 19c735c - Browse repository at this point
Copy the full SHA 19c735cView commit details -
spi: dw: Save bandwidth with the TMOD_RO feature
TMOD_RO is the receive-only mode that doesn't require data in the transmit FIFO in order to generate clock cycles. Using TMOD_RO when the device doesn't care about the data sent to it saves CPU time and memory bandwidth. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cacd66c - Browse repository at this point
Copy the full SHA cacd66cView commit details -
spi: dw: don't immediately kill DMA transfers if an error occurs
Disabling the peripheral resets controller state which has a dangerous side-effect of disabling the DMA handshake interface while it is active. This can cause DMA channels to hang. The error recovery pathway will wait for DMA to stop and reset the chip anyway, so mask further FIFO interrupts and let the transfer finish gracefully. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f6d0d1b - Browse repository at this point
Copy the full SHA f6d0d1bView commit details -
dts: rp1: hobble DMA AXI burst lengths
Channels 1-2 have a statically configured maximum MSIZE of 8, and channels 3-8 have MSIZE set to 4. The DMAC "helpfully" silently truncates bursts to the hardware supported maximum, so any FIFO read operation with an oversized burst threshold will leave a residue of threshold minus MSIZE rows. As channel allocation is dynamic, this means every client needs to use a maximum of 4 for burst length. AXI AWLEN/ARLEN constraints aren't strictly related to MSIZE, except that bursts won't be issued that are longer than MSIZE beats. Therefore, it's a useful proxy to tell clients of the DMAC the hardware limitations. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 22beb34 - Browse repository at this point
Copy the full SHA 22beb34View commit details -
drivers: dw-axi-dmac: make more sensible choices about memory accesses
There's no real need to constrain MEM access widths to 32-bit (or narrower), as the DMAC is intelligent enough to size memory accesses appropriately. Wider accesses are more efficient. Similarly, MEM burst lengths don't need to be a function of DEV burst lengths - the DMAC packs/unpacks data into/from its internal channel FIFOs appropriately. Longer accesses are more efficient. However, the DMAC doesn't have complete support for unaligned accesses, and blocks are always defined in integer multiples of SRC_WIDTH, so odd source lengths or buffer alignments will prevent wide accesses being used, as before. There is an implicit requirement to limit requested DEV read burst lengths to less than the hardware's maximum configured MSIZE - otherwise RX data will be left over at the end of a block. There is no config register that reports this value, so the AXI burst length parameter is used to produce a facsimile of it. Warn if such a request arrives that doesn't respect this. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e4cb633 - Browse repository at this point
Copy the full SHA e4cb633View commit details -
Revert "spi: dw-dma: Get the last DMA scoop out of the FIFO"
This issue was due to a misconfiguration of the RP1 DMAC due to hardware limitations, not the SPI driver (which was using the incorrect reported maximum burst size to set the FIFO threshold). This reverts commit 6aab06f. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8e21223 - Browse repository at this point
Copy the full SHA 8e21223View commit details -
tty/serial: pl011: restrict RX burst FIFO threshold
If the associated DMA controller has lower burst length support than the level the FIFO is set to, then bytes will be left in the RX FIFO at the end of a DMA block - requiring a round-trip through the timeout interrupt handler rather than an end-of-block DMA interrupt. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8a51757 - Browse repository at this point
Copy the full SHA 8a51757View commit details -
DT: bindings: add a dma-maxburst property to snps,designware-i2s
Do an end-run around ASoC in lieu of not being able to easily find the associated DMA controller capabilities. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fbb24d4 - Browse repository at this point
Copy the full SHA fbb24d4View commit details -
sound/soc: dwc-i2s: choose FIFO thresholds based on DMA burst constra…
…ints Valid ranges for the I2S peripheral's FIFO configuration include a depth of 16 - unconditionally setting the burst length to 16 with a fifo threshold of size/2 will cause under/overflows. For DMA engines with restricted capabilities the requested burst length and FIFO thresholds need to be adjusted downward accordingly. Both the RX and TX FIFOs operate on "less-than" thresholds. Setting the TX threshold to fifo_size minus burst means the FIFO is kept nearly-full. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 01733ce - Browse repository at this point
Copy the full SHA 01733ceView commit details -
dts: rp1: restrict i2s burst lengths to 4
The associated DMAC has channels that do not support longer bursts. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e454aaf - Browse repository at this point
Copy the full SHA e454aafView commit details -
drm/vc4: Disable the 2pixel/clock odd timings workaround for interlaced
Whilst BCM2712 does fix using odd horizontal timings, it doesn't work with interlaced modes. Drop the workaround for interlaced modes and revert to the same behaviour as BCM2711. raspberrypi#6281 Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 60f80b2 - Browse repository at this point
Copy the full SHA 60f80b2View commit details
Commits on Jul 31, 2024
-
ARM: dts: bcm2712: Fix invalid polling-delay-passive setting
This produces a hard fail on later (6.11) kernels. See: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Dom Cobley <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a53e8ba - Browse repository at this point
Copy the full SHA a53e8baView commit details -
spi: dw: Fix non-DMA transmit-only transfers
Ensure the transmit FIFO has emptied before ending the transfer by dropping the TX threshold to 0 when the last byte has been pushed into the FIFO. Include a similar fix for the non-IRQ paths. See: raspberrypi#6285 Fixes: 6014649 ("spi: dw: Save bandwidth with the TMOD_TO feature") Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 72d7b6d - Browse repository at this point
Copy the full SHA 72d7b6dView commit details -
spi: dw: Clamp the minimum clock speed
The DW SPI interface has a 16-bit clock divider, where the bottom bit of the divisor must be 0. Limit how low the clock speed can go to prevent the clock divider from being truncated, as that could lead to a much higher clock rate than requested. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a475e05 - Browse repository at this point
Copy the full SHA a475e05View commit details -
hwmon: (adt7410) Add DT compatible strings
Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f879b16 - Browse repository at this point
Copy the full SHA f879b16View commit details -
configs: Enable SSD1327 display support
There is now an ssd1327-spi overlay, but it's of little use without the corresponding display drivers. Add them as modules to the usual defconfig files. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for db23327 - Browse repository at this point
Copy the full SHA db23327View commit details
Commits on Aug 5, 2024
-
.github/workflows: More jobs for kernel builds
Using the "cores * 1.5" heuristic, configure the kernel builds for the 4-core GitHub-hosted runners. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3651c49 - Browse repository at this point
Copy the full SHA 3651c49View commit details -
overlays: i2c-rtc: Correct bq32000 property name
The DT property for the BQ32000 controlled by trickle-resistor-ohms parameter should be "trickle-resistor-ohms", not "abracon,tc-resistor". See: raspberrypi#6291 Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7e3305d - Browse repository at this point
Copy the full SHA 7e3305dView commit details -
fixup! pinctrl: bcm2712 pinctrl/pinconf driver
Fix cut-and-paste error spotted during upstreaming process. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ce84a30 - Browse repository at this point
Copy the full SHA ce84a30View commit details -
dtoverlays: Add overlay for HD44780 via I2C PCF8574 backpack
Many HD44780 LCD displays are connected via very common I2C GPIO expander. We have an overlay for connecting the displays directly to GPIOs, but not one for it connected via a backpack. Add such an overlay. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2921348 - Browse repository at this point
Copy the full SHA 2921348View commit details -
dtoverlays: Document display_[width|height] on hd44780-lcd overlay
The default values defining a 16x2 display weren't documented, so add them. Signed-off-by: Dave Stevenson <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5a4c7bb - Browse repository at this point
Copy the full SHA 5a4c7bbView commit details -
DTS: bcm2712: enable SD slot CQE by default on Pi 5
The corresponding driver implementation has seen sufficient testing, so enable by default. Retain the dtparam so it can be turned off for test. Signed-off-by: Jonathan Bell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 485b51c - Browse repository at this point
Copy the full SHA 485b51cView commit details -
gpiolib: Override gpiochip numbers with DT aliases
In the same way that other subsystems support the setting of device id numbers from Device Tree aliases, allow gpiochip numbers to be derived from "gpiochip<n>" aliases. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b5c9c0c - Browse repository at this point
Copy the full SHA b5c9c0cView commit details -
dts: bcm2712-rpi: Add gpiochip0 alias
Add a gpiochip0 aliase pointing to the rp1 GPIO node, making it appear as gpiochip0. Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9493731 - Browse repository at this point
Copy the full SHA 9493731View commit details -
dts: bcm2712-rpi: The SoC gpiochips start at 10
Make the BCM2712's onboard GPIOs start at gpiochip10, marking them out as system resources and preventing accidental use by existing Pi 5 code. Signed-off-by: Phil Elwell <[email protected]>
2Configuration menu - View commit details
-
Copy full SHA for 90fc433 - Browse repository at this point
Copy the full SHA 90fc433View commit details
Commits on Aug 7, 2024
-
Allow block devices to be used as caches for other devices. The primary use is to allow small, low latency media to act as caches for spinning rust drives. See: raspberrypi#6303 raspberrypi#455 Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 42eea80 - Browse repository at this point
Copy the full SHA 42eea80View commit details -
configs: Enable more ZRAM options
Add CONFIG_ZRAM_WRITEBACK=y and CONFIG_ZRAM_MULTI_COMP=y. See: raspberrypi#2939 Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 64b9445 - Browse repository at this point
Copy the full SHA 64b9445View commit details -
Revert "ALSA: timer: Set lower bound of start tick time"
This reverts commit abb1ad6. See: raspberrypi#6294 Signed-off-by: Phil Elwell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c64bb7e - Browse repository at this point
Copy the full SHA c64bb7eView commit details
Commits on Sep 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 35f9a74 - Browse repository at this point
Copy the full SHA 35f9a74View commit details