Skip to content
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

Remove unnecessary call to gpiochip_remove #6684

Open
wants to merge 632 commits into
base: rpi-6.14.y
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
632 commits
Select commit Hold shift + click to select a range
592778e
w1: Disable kernel log spam
pelwell Nov 20, 2023
e135712
xhci: Use more event ring segment table entries
P33M Oct 19, 2023
2ac7ccb
drivers: thermal: step_wise: add support for hysteresis
May 7, 2018
6369aef
media/i2c: ov7251: Switch from V4L2_CID_GAIN to V4L2_CID_ANALOGUE_GAIN
6by9 Nov 14, 2023
b27dfee
drm/bridge: display-connector: Select DRM_KMS_HELPER
6by9 Nov 17, 2023
d260b74
dtc update
pelwell Dec 1, 2023
ede1d58
media: dt-bindings: i2c: Add Rohm BU64754 bindings
kbingham Sep 14, 2023
dfc756d
media: i2c: Add ROHM BU64754 Camera Autofocus Actuator
kbingham Sep 13, 2023
9a22147
firmware/psci: Pass given partition number through
pelwell Dec 11, 2023
6b11726
media: i2c: adv7180: Use MEDIA_BUS_FMT_UYVY8_1X16 for CSI2 output
6by9 Dec 21, 2023
fd86e2b
media: i2c: adv7180: Add support for V4L2_CID_LINK_FREQ
6by9 Dec 21, 2023
0ae55d8
spi: bcm2835: Support spi0-0cs and SPI_NO_CS mode
pelwell Jan 8, 2024
23c5e9b
dt-bindings: usb: update dwc3 bindings for parkmode-disable quirks
P33M Jan 24, 2024
54ac747
drivers: usb: dwc3: add FS/LS bus instance parkmode disable bit
P33M Jan 24, 2024
164832b
i2c: designware: Use SCL rise and fall times in DT
pelwell Jan 16, 2024
fe17e97
i2c: designware: Support non-standard bus speeds
pelwell Jan 16, 2024
8f6312e
serial: sc16is7xx: Don't spin if no data received
pelwell Feb 2, 2024
7c21d86
arm64/Kconfig: Don't set DMA_BOUNCE_UNALIGNED_KMALLOC
pelwell Feb 21, 2024
e6f2d0c
Bluetooth: btbcm: Add entry for BCM43439 UART BT
pelwell Feb 20, 2024
0693da4
dt-bindings: add additional RP1 PLL output channels
P33M Mar 5, 2024
5ee5137
regulator: Add a regulator for the new LCD panels
6by9 Nov 30, 2020
b55f328
i2c: mux: Add support for generic base-nr property
pelwell Mar 14, 2024
d417688
non-upstream: support DS1 exit firmware re-download
praveenCY Jan 9, 2018
4a079fd
brcmfmac: Fix interoperating DPP and other encryption network access
Aug 20, 2020
4a3fea9
brcmfmac: support external SAE authentication in station mode
Apr 9, 2021
8dc4c5a
brcmfmac: Fix 802.1x
iucoen Feb 20, 2024
29ad39d
drivers: mmc: add SD support for Command Queueing
P33M Mar 15, 2024
0170ea1
drivers: mmc: preallocate a block for SD extension register accesses
P33M Mar 20, 2024
da8f0d6
drivers: mmc: trigger activity LED when CQE is active
P33M Mar 20, 2024
fbfe4ac
drivers: sdhci-brcmstb: work around mystery CQE CMD_IDLE_TIMER trampling
P33M Mar 22, 2024
9790908
drivers: mmc: cqhci: clear CQHCI_CTL if halt fails
P33M Mar 26, 2024
5c3f3cd
drivers: mmc: export SD extension register read/write functions
P33M Mar 26, 2024
a84da4f
drivers: mmc: be more cautious when manipulating Command Queue enable
P33M Mar 26, 2024
434de10
drivers: mmc: add debugfs entries for SD extension registers
P33M Mar 26, 2024
1c427d3
drivers: mmc: handle 1024-byte SD General Info lengths
P33M Mar 26, 2024
f1f1efb
mmc: sdhci-brcmstb: add hs400_downgrade callback for bcm2712
P33M Jun 4, 2024
ea99162
mmc: sdhci: extend maximum ADMA transfer length to 4MiB
P33M Jun 4, 2024
44ed981
drivers: mmc: sdhci-brcmstb: improve bcm2712 card removal handling
P33M Jun 13, 2024
31d513e
drivers: mmc: core: handle card-removal when running CQE recovery
P33M Jun 13, 2024
b6b38a5
mmc: restrict posted write counts for SD cards in CQ mode
P33M Jun 20, 2024
87702d0
mmc: don't reference requests after finishing them
P33M Oct 15, 2024
4ddf751
drivers: mmc: disable write-caching on Samsung 2023 model year SD cards
P33M Apr 8, 2024
8694ba5
mmc: quirks: disable cache on more known-bad Sandisk card date ranges
P33M Oct 15, 2024
d687fef
mmc: block: disable CQ on SD cards when doing non-Discard erase
P33M Oct 18, 2024
1d2879a
mmc: quirks: add MMC_QUIRK_BROKEN_ERASE for Phison/Integral cards
P33M Oct 18, 2024
4b49e50
i2c: designware: Add support for bus clear feature
pelwell Mar 26, 2024
fd279a4
i2c: designware: Make the SDA hold time half LCNT
pelwell Apr 4, 2024
06b753b
media: bcm2835-unicam: Add option for a GPIO to reflect FS/FE timing
6by9 Apr 3, 2024
2a5a175
dw-axi-dmac-platform: Avoid trampling with zero length buffer
popcornmix Apr 23, 2024
4246d13
drm/panel: Add and initialise an orientation field to drm_panel from OF
6by9 Feb 1, 2022
8a19d75
drm/bridge: tc358762: Program the DPI mode into the chip
6by9 Jan 9, 2024
088763d
drm/bridge: tc358762: revert move ops to enable
6by9 Jan 9, 2024
0ce81d5
pinctrl: bcm2835: Persist outputs by default
pelwell May 7, 2024
c784c8d
spi: dw: Handle any number of gpiod CS lines
pelwell May 13, 2024
96072bc
regulator: rpi_panel_v2: Add remove and shutdown hooks
6by9 May 16, 2024
8379dac
regulator: rpi_panel_v2: Add delay on I2C reads
6by9 May 17, 2024
436166c
backlight: Add a display name to the core, and a function to set it
6by9 May 17, 2024
9f2ba26
drm/bridge: panel: Name an associated backlight device
6by9 May 17, 2024
1b10ee6
drivers: media: pci: Add Hailo accelerator device drivers
naushir May 21, 2024
e152664
staging: vc04_services: Add helpers for vchiq driver data
Nov 9, 2023
9b6a032
staging: vc04_services: vc-sm-cma: Remove deprecated header
kbingham Jun 3, 2024
3ee11b0
staging: vc04_services: vc-sm-cma: Drop include Makefile directive
kbingham Jun 3, 2024
6dcd783
staging: vc04_services: vc-sm-cma: Register with vchiq_bus_type
kbingham Jun 3, 2024
864bf81
media: bcm2835-unicam: Add support for 12bit mono packed format
6by9 Jun 25, 2020
04d74e0
media: bcm2835-unicam: Add support for 14bit mono sources
6by9 Jun 25, 2020
632ec65
media: bcm2835-unicam: Add support for unpacked 14bit Bayer formats
6by9 Jul 1, 2020
1d31bdc
lan78xx: Read initial EEE status from DT
pelwell Jun 11, 2024
658d38b
lan78xx: Return tx_lpi_timer even if disabled
pelwell Jun 12, 2024
6cb7b49
staging: vc04_services: vc-sm-cma: Explicitly set DMA mask
kbingham Jun 6, 2024
2210a2d
media: pisp_be: Re-introduce multi-context support
Jun 28, 2024
5d7fc28
media: pisp_be: Re-introduce video node offset
naushir Jul 8, 2024
e796f2c
spi: dt-bindings: Add RPI RP2040 GPIO Bridge
roliver-rpi May 24, 2024
729651b
spi: Add a driver for the RPI RP2040 GPIO bridge
roliver-rpi May 21, 2024
fa3f710
dmaengine: dw-axi-dmac: Honour snps,block-size
pelwell Jul 10, 2024
97f097b
brcmfmac: Only match complete feature names
pelwell Feb 5, 2024
99cc0e9
brcmfmac: Add "extsae" as an alias for "sae_ext"
pelwell Feb 1, 2024
4556c48
brcmfmac: support extsae with psk / 1x offloading
Nov 18, 2021
3511ca7
dt-bindings: clk: rp1: Add clocks representing MIPI DSI byteclock
njhollinghurst May 10, 2024
9dcbfb1
media: bcm2835-unicam: Reinstate old downstream driver as legacy
6by9 Jul 15, 2024
5817e07
media: platform: Move bcm2835-unicam compatible to downstream driver
6by9 Jul 23, 2024
166e873
spi: dw: Save bandwidth with the TMOD_TO feature
pelwell Jul 1, 2024
3bb54fb
spi: dw: Save bandwidth with the TMOD_RO feature
pelwell Jul 1, 2024
a82a780
spi: dw: don't immediately kill DMA transfers if an error occurs
P33M Jul 22, 2024
61f1ab5
drivers: dw-axi-dmac: make more sensible choices about memory accesses
P33M Jul 19, 2024
f96f428
DT: bindings: add a dma-maxburst property to snps,designware-i2s
P33M Jul 22, 2024
5dbbcfd
spi: dw: Fix non-DMA transmit-only transfers
pelwell Jul 29, 2024
b55fac1
spi: dw: Clamp the minimum clock speed
pelwell Jul 31, 2024
6890c8b
hwmon: (adt7410) Add DT compatible strings
pelwell Jul 31, 2024
1d5a106
gpiolib: Override gpiochip numbers with DT aliases
pelwell May 2, 2024
8e2e004
Bluetooth: hci_sync: Fix crash on NULL parent
pelwell Aug 7, 2024
1e4b55d
rtc: pcf8523: Fix oscillator stop bit handling reading from Control_1
Paladinking Aug 28, 2024
fb8c7ef
media: dt-bindings: i2c: Add Sony IMX500
roliver-rpi May 24, 2024
792fcf2
media: i2c: Add driver for Sony IMX500 sensor
roliver-rpi Jun 27, 2024
da030cd
lib: earlycpio: export symbol find_cpio_data()
roliver-rpi Jun 20, 2024
a3e96c9
media: i2c: ov5647: Add control of V4L2_CID_HBLANK
6by9 Sep 9, 2024
7753043
drm: panel: ili9881: Correct symmetry on enable/disable return codes
6by9 Sep 13, 2024
be6754c
drm: panel: ili9881: Add option to reconfigure setup commands
6by9 Sep 18, 2024
4150c5c
drivers: media: imx500: Enable LS correction
naushir Oct 11, 2024
c6dca80
NotForUpstream: media: video-mux: Propagate controls to source
kbingham Oct 10, 2024
dca3dc1
media: i2c: ov5647: Tidy up mode registers to make the order common
6by9 Oct 15, 2024
6292388
media: i2c: ov5647: Separate out the common registers.
6by9 Oct 15, 2024
ada975d
media: i2c: ov5647: Use the same PLL config for full, 1080p, and binn…
6by9 Oct 15, 2024
a52c85b
media: i2c: ov5647: Add V4L2_CID_LINK_FREQUENCY control
6by9 Oct 15, 2024
aaaf9aa
dma-buf: system_heap: Allow specifying maximum allocation order
Jul 17, 2024
f2f4e79
mm/numa: Allow override of kernel's default NUMA policy
May 22, 2024
017b8bd
numa/emulation: Check emulated zones around the CMA window
Jul 29, 2024
2f4491d
drivers: media: bcm2835_isp: Cache LS table dmabuf
naushir Oct 18, 2024
54c1dbd
mm/vmscan: Maintain TLB coherency in LRU code
pelwell Sep 12, 2024
98b9403
mmc: quirks: add more broken Kingston Canvas Go! SD card date ranges
P33M Oct 29, 2024
6fac7c6
dt-bindings: usb: snps,dwc3: add FS/HS periodic NAK polling quirk
P33M Nov 6, 2024
88a591f
usb: dwc3: core: add support for setting NAK enhancement bits for FS/HS
P33M Nov 6, 2024
06a3315
drivers: usb: xhci: prevent a theoretical race on non-coherent platforms
P33M Nov 6, 2024
02143a0
iio: humidity: dht11: Allow non-zero decimals
pelwell Nov 4, 2024
188867f
drm: Set non-desktop property to true for writeback and virtual conne…
6by9 Aug 20, 2024
3b3f573
drm: Increase plane_mask to 64bit.
6by9 Oct 21, 2022
b888bd0
drm: Add a DRM_MODE_TRANSPOSE option to the DRM rotation property
6by9 Oct 22, 2024
a7705db
drm: Add a rotation parameter to connectors.
6by9 Oct 22, 2024
8f3645e
dmaengine: dw-axi-dmac: Allow client-chosen width
pelwell Sep 19, 2024
bae8ff3
spi: dw: Let the DMAC set the transfer widths
pelwell Sep 19, 2024
6237838
serial: pl011: Request a memory width of 1 byte
pelwell Sep 19, 2024
ceeb98c
drivers: usb: xhci: set HID bit in streaming endpoint contexts
P33M Nov 11, 2024
e24ec49
media: i2c: imx477: Add options for slightly modifying the link freq
6by9 Nov 14, 2024
b316244
dmaengine: dw-axi-dmac: Only start idle channels
pelwell Nov 13, 2024
56b6f89
mailbox: Add RP1 mailbox support
pelwell Oct 31, 2024
76430e3
firmware: Add an RP1 firmware interface over mbox
pelwell Oct 31, 2024
f3ce987
misc: Add RP1 PIO driver
pelwell Oct 31, 2024
874e302
pwm: Add pwm-pio-rp1 driver
pelwell Nov 8, 2024
dfdb6a0
misc: Add ws2812-pio-rp1 driver
pelwell Dec 3, 2024
cf58a25
drm/connector: Initialise max_bpc to the minimum value supported
6by9 Nov 21, 2024
9617ac4
drm/connector: hdmi: Attempt YUV422 output if RGB isn't supported
6by9 Nov 21, 2024
d4568c9
media: i2c: imx477: Fix link frequency menu
6by9 Nov 21, 2024
a62a3f7
drm: vc4: dsi: Handle the different command FIFO widths
6by9 Nov 20, 2024
3f97ede
dt-bindings: net: cdns,macb: Add compatible for Raspberry Pi RP1
6by9 Nov 11, 2024
630684c
net: macb: Add support for Raspberry Pi RP1 ethernet controller
6by9 Nov 11, 2024
a946eac
rp1: clk: Only set PLL_SEC_RST in rp1_pll_divider_off
6by9 Nov 25, 2024
54aae5c
rp1: clk: Rationalise the use of the CLK_IS_CRITICAL flag
6by9 Nov 8, 2024
11c26bd
clk: rp1: Add RP1_CLK_DMA.
6by9 Nov 13, 2024
596bcf4
rp1: clk: Remove CLK_IGNORE_UNUSED flags
6by9 Nov 8, 2024
3b5c588
drm/vc4: hvs: Defer dlist slots deallocation
mripard Dec 16, 2021
2506552
drm/vc4: Add hvs_dlist_allocs debugfs function.
6by9 Oct 27, 2023
2218cc4
drm/vc4: Disable overrun interrupts
6by9 Jan 24, 2024
3b5819d
drm: vc4: Block swiotlb bounce buffers being imported as dmabuf
6by9 Nov 22, 2023
887e4a0
drm/vc4: Add option to call from crtc to encoder on vblank
6by9 Apr 5, 2024
43b95b8
drm: vc4: dsi: Clocks should be running before reset
6by9 Jun 8, 2022
5f9ac9f
drm: vc4: Reset DSI AFE on disable
6by9 May 26, 2022
01ba8fd
drm/vc4: Ensure DSI is enabled for FIFO resets
6by9 Apr 5, 2024
d7a9020
drm/vc4: Add vblank callback to DSI0 to reset FIFO
6by9 Apr 5, 2024
2c06fa1
drm/vc4: Fixup mode for 7inch panel on DSI0
6by9 Apr 26, 2024
d8ceb1d
drm/vc4: dsi: Don't reset the host until post_disable
6by9 May 2, 2024
ee75f8a
drm: vc4: dsi: enable video and then retry failed transfers
6by9 Sep 20, 2024
32d6eaa
drm/vc4: Allow setting the TV norm via module parameter
Jul 14, 2021
0e4cfb8
drm/vc4: Make VEC progressive modes readily accessible
Jul 14, 2021
692304c
drm/vc4: Initialise the tv_mode property default from cmdline_mode.
6by9 Jan 25, 2024
1e1d8ec
drm/vc4: hdmi: Add a clear_infoframe hook
6by9 Nov 21, 2024
49ae822
drm/vc4_hdmi: Allow hotplug detect to be forced
popcornmix Jun 1, 2022
1567961
vc4/hdmi: Ignore hotplug interrupt with force_hotplug
popcornmix Apr 23, 2024
f930917
drm/vc4: Add a delay after disabling hdmi phy output
popcornmix Aug 12, 2024
e141652
drm/vc4: Implement vc6_hdmi_phy_disable
popcornmix Aug 13, 2024
6db4277
drm/vc4: Also power down the PLL core when resetting PHY
popcornmix Aug 13, 2024
c58b1ce
drm/vc4: dpi: Add override for RGB order
6by9 May 10, 2024
2a67835
vc4/drm:plane: Make use of chroma siting parameter
popcornmix Jan 27, 2022
e79d80f
drm/vc4: Add support for per plane scaling filter selection
6by9 Jul 25, 2024
b71e709
drm/vc4: Use the TPZ scaling filter for 1x1 source images
6by9 Sep 11, 2024
ddd88e8
drm/vc4: hvs: Defer updating the enable_bg_fill until vblank
6by9 Nov 12, 2024
92cb2fd
drm/vc4: Increase number of overlay planes from 16 to 48
6by9 Oct 21, 2022
84fd5d8
drm/vc4: Assign 32 overlay planes to writeback only
6by9 Aug 15, 2023
f29760e
drm/vc4: Do not include writeback conn load in load tracker
6by9 Sep 9, 2024
8a69dde
drm/vc4: Drop panic priority for writeback connector
6by9 Sep 9, 2024
1849404
drm/vc4: txp: Add a rotation property to the writeback connector
6by9 Aug 14, 2024
74916ea
drm/vc4: Remove request for min clocks when hdmi output is disabled
popcornmix Oct 14, 2024
a81b451
drm/vc4: Disable the 2pixel/clock odd timings workaround for interlaced
popcornmix Oct 24, 2023
e57d97d
drm/vc4: fkms: Add firmware-kms mode
6by9 Sep 7, 2020
1150ca7
drm/vc4: tests: Switch generation mockup to a switch
mripard Feb 17, 2023
d43bd02
drm/vc4: tests: Drop drm parameter for vc4_find_crtc_for_encoder
mripard Mar 24, 2023
6fdf507
drm/vc4: tests: Return the allocated output
mripard Mar 24, 2023
9fad291
drm/vc4: tests: Add BCM2712 mock driver
mripard Feb 17, 2023
eca299b
drm/vc4: tests: Add tests for BCM2712 PixelValve Muxing
mripard Apr 14, 2023
f047f45
drm/vc4: tests: Use custom plane state for mock
mripard Apr 14, 2023
b51c174
drm/vc4: tests: Add function to lookup a plane for a CRTC
mripard Apr 14, 2023
6295bd1
drm/vc4: tests: Add helper to add a new plane to a state
mripard Apr 14, 2023
73f47f3
drm/vc4: tests: Support a few more plane formats
mripard Apr 14, 2023
f0d1039
drm/vc4: tests: Introduce a test for LBM buffer size
mripard Apr 14, 2023
3b44201
drm/vc4: backport 27e0a194a256 and b3bf19552ea3
mairacanal Aug 6, 2024
112bb7b
drm/vc4: Cache LBM allocations to avoid double-buffering
6by9 Sep 27, 2024
fdcfbaf
serial: core: Add the Raspberry Pi firmware UART id
timg236 Nov 1, 2024
42ec87f
serial: tty: Add a driver for the RPi firmware UART
timg236 Aug 28, 2024
cf0aec6
input: Add support for no irq to ili210x driver
Dec 5, 2024
abcad70
drm: panel: Added waveshare 13.3inch panel
Dec 5, 2024
a1430a8
cgroup: Add cgroup_enable option
pelwell Dec 9, 2024
9143210
drm: bridge: panel: Connector to allow interlaced modes
njhollinghurst Nov 19, 2024
1679564
drm: Validate connector rotation has one bit set in the rotation prop…
6by9 Dec 12, 2024
dd9e091
docs: pcm3168a: Add DT bindings to force clock consumer mode
gordoste Dec 22, 2024
5ae119f
media: imx290: Add module parameter to allow selection of HCG mode
6by9 May 15, 2024
500038f
media: i2c: imx415: Add read/write control of VBLANK
6by9 Jan 1, 2025
5ddf1e1
media: i2c: imx415: Make HBLANK controllable and in consistent units
6by9 Jan 1, 2025
c1c56eb
media: i2c: imx415: Link frequencies are not exclusive to num lanes
6by9 Jan 2, 2025
63df576
mmc: sd: filter card CQ support based on an allow-list
P33M Jan 8, 2025
4df754d
mmc: set MMC_QUIRK_KNOWN_WORKING_SD_CQ on Raspberry Pi class A2 cards
P33M Jan 8, 2025
c6afefc
mmc: use downstream DT property to modify CQE and/or SD CQ behaviour
P33M Jan 8, 2025
7cb594d
media: rp1: Add downstream CFE (Camera Front End) driver
naushir Feb 14, 2023
d8eba3a
media: rp1-cfe: Swap "raspberypi,rp1-cfe" compatible to downstream dr…
6by9 Jan 9, 2025
e0eda2d
mmc: bcm2835: Add downstream overclocking support
pelwell Jan 13, 2025
f4c9410
media: imx219: Adjust PLL settings based on the number of MIPI lanes
6by9 Jan 16, 2025
ed9be8e
drivers: media: pisp_be: Add support for YUV422 planar format
naushir Jan 15, 2025
110993e
drivers: media: pisp_be: Remove unused fields in struct pisp_be_config
naushir Jan 16, 2025
a4fcba4
Enable CONFIG_NETKIT
sholdee Jan 31, 2025
3168c43
configs: Enable Renesas XHCI driver
nbuchwitz Feb 2, 2025
683edc5
dmaengine: bcm2835: Fix a build warning
pelwell Feb 4, 2025
f3f69ee
spi: dw: Wait for idle after TX
pelwell Feb 3, 2025
615fe1a
misc: rp1-pio: Error out on incompatible firmware
pelwell Feb 3, 2025
e8b53dc
firmware: rp1: Linger on firmware failure
pelwell Feb 3, 2025
78f5af8
mailbox: rp1: Don't claim channels in of_xlate
pelwell Feb 4, 2025
f8a1e4f
arm64: dts: Prepare for #size-cells = 2
pelwell Feb 4, 2025
e615311
arm64: dts: Clean up the downstream patches
pelwell Feb 5, 2025
71e560e
kunit: Use ubuntu-22.04 for arm64
pelwell Feb 5, 2025
06da0a7
vc4: Add jack detection to HDMI audio driver
cillian64 Feb 5, 2025
a79e61a
drm/vc4: Use phys addresses for slave DMA config
pelwell May 11, 2023
1da02b9
dma-direct: take dma-ranges/offsets into account in resource mapping
fancer Jun 10, 2022
d0acf86
dmaengine: bcm2835: Use dma_map_resource
pelwell May 11, 2023
0234e65
Revert "PCI: brcmstb: Add BCM2712 support"
6by9 Feb 6, 2025
6fc6e6f
Revert "dt-bindings: PCI: brcmstb: add optional property - "brcm,tper…
6by9 Feb 6, 2025
79b60cb
Revert "irqchip: irq-bcm2712-mip: Support for 2712's MIP"
6by9 Feb 6, 2025
26d971d
Revert "Revert "PCI: brcmstb: Configure HW CLKREQ# mode appropriate f…
6by9 Feb 6, 2025
21d34a5
arm64: dts: Drop downstream PCIe nodes that are about to be superceded
6by9 Feb 6, 2025
afcd640
dt-bindings: interrupt-controller: Add bcm2712 MSI-X DT bindings
Oct 14, 2024
dd85c26
dt-bindings: PCI: brcmstb: Update bindings for PCIe on bcm2712
Jan 20, 2025
226a7c4
irqchip: Add Broadcom bcm2712 MSI-X interrupt controller
Jan 20, 2025
41efb93
PCI: brcmstb: Reuse config structure
Jan 20, 2025
ac326a6
PCI: brcmstb: Expand inbound window size up to 64GB
Oct 25, 2024
d5b1787
PCI: brcmstb: Add bcm2712 support
Oct 25, 2024
e020996
PCI: brcmstb: Adjust PHY PLL setup to use a 54MHz input refclk
Jan 20, 2025
4233b91
PCI: brcmstb: Adding a softdep to MIP MSI-X driver
Jan 20, 2025
2e099b0
PCI: brcmstb: Fix for missing of_node_put
Jan 20, 2025
7425d3b
arm64: dts: broadcom: bcm2712: Add PCIe DT nodes
Jan 20, 2025
7dd73be
arm64: dts: broadcom: bcm2712-rpi-5-b: Enable PCIe DT nodes
Jan 20, 2025
4a06083
PCI: brcmstb: Refactor max speed limit functionality
jamesequinlan Feb 5, 2025
d1688b4
PCI: brcmstb: Fix error path upon call of regulator_bulk_get()
jamesequinlan Feb 5, 2025
55463ec
PCI: brcmstb: Fix potential premature regluator disabling
jamesequinlan Feb 5, 2025
a52d15e
PCI: brcmstb: Use same constant table for config space access
jamesequinlan Feb 5, 2025
e953dde
PCI: brcmstb: Make two changes in MDIO register fields
jamesequinlan Feb 5, 2025
8a0b2e3
PCI: brcmstb: Cast an int variable to an irq_hw_number_t
jamesequinlan Feb 5, 2025
1179766
dts: bcm2712: add missing brcm,vdm-qos-map to cm5 base dts
P33M Feb 11, 2025
a8ac8c6
dtoverlays: adds support for Hifiberry ADC8x to the DAC8x
j-schambacher Feb 10, 2025
393945a
ASoC: adds ADC8x support to the Hifiberry DAC8x
j-schambacher Feb 10, 2025
139de2a
Revert "media: i2c: imx290: Register 0x3011 varies between imx327 and…
popcornmix Feb 10, 2025
748625c
brcmfmac: Fix structure size for WPA3 external SAE
Aug 9, 2021
4b28fb4
drm/vc4: PV1 can be driven via any HVS channel, so adapt to allow it
6by9 Feb 13, 2025
4872a7d
drm/vc4: tests: Update pv muxing tests now DSI1 is more flexible
6by9 Feb 13, 2025
dd4be79
configs: Enable Intel Wireless (PCI) drivers
pelwell Dec 9, 2024
8baf3d9
Remove unnecessary call to gpiochip_remove
AccraNET Feb 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
PCI: brcmstb: Refactor max speed limit functionality
Make changes to the code that limits the PCIe max speed.

(1) Do the changes before link-up, not after.  We do not want
    to temporarily rise to a higher speed than desired.
(2) Use constants from pci_reg.h when possible
(3) Use uXX_replace_bits(...) for setting a register field.
(4) Use the internal link capabilities register for writing
    the max speed, not the official config space register
    where the speed field is RO.  Updating this field is
    not necessary to limit the speed so this mistake was
    harmless.

Signed-off-by: Jim Quinlan <[email protected]>
  • Loading branch information
jamesequinlan authored and popcornmix committed Feb 24, 2025
commit 4a060832100ad712e573db6230f9185c9d10a356
16 changes: 9 additions & 7 deletions drivers/pci/controller/pcie-brcmstb.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@

#define PCIE_RC_CFG_PRIV1_LINK_CAPABILITY 0x04dc
#define PCIE_RC_CFG_PRIV1_LINK_CAPABILITY_ASPM_SUPPORT_MASK 0xc00
#define PCIE_RC_CFG_PRIV1_LINK_CAPABILITY_MAX_LINK_SPEED_MASK 0xf

#define PCIE_RC_CFG_PRIV1_ROOT_CAP 0x4f8
#define PCIE_RC_CFG_PRIV1_ROOT_CAP_L1SS_MODE_MASK 0xf8
Expand Down Expand Up @@ -413,12 +414,12 @@ static int brcm_pcie_set_ssc(struct brcm_pcie *pcie)
static void brcm_pcie_set_gen(struct brcm_pcie *pcie, int gen)
{
u16 lnkctl2 = readw(pcie->base + BRCM_PCIE_CAP_REGS + PCI_EXP_LNKCTL2);
u32 lnkcap = readl(pcie->base + BRCM_PCIE_CAP_REGS + PCI_EXP_LNKCAP);
u32 lnkcap = readl(pcie->base + PCIE_RC_CFG_PRIV1_LINK_CAPABILITY);

lnkcap = (lnkcap & ~PCI_EXP_LNKCAP_SLS) | gen;
writel(lnkcap, pcie->base + BRCM_PCIE_CAP_REGS + PCI_EXP_LNKCAP);
u32p_replace_bits(&lnkcap, gen, PCIE_RC_CFG_PRIV1_LINK_CAPABILITY_MAX_LINK_SPEED_MASK);
writel(lnkcap, pcie->base + PCIE_RC_CFG_PRIV1_LINK_CAPABILITY);

lnkctl2 = (lnkctl2 & ~0xf) | gen;
u16p_replace_bits(&lnkctl2, gen, PCI_EXP_LNKCTL2_TLS);
writew(lnkctl2, pcie->base + BRCM_PCIE_CAP_REGS + PCI_EXP_LNKCTL2);
}

Expand Down Expand Up @@ -1324,6 +1325,10 @@ static int brcm_pcie_start_link(struct brcm_pcie *pcie)
bool ssc_good = false;
int ret, i;

/* Limit the generation if specified */
if (pcie->gen)
brcm_pcie_set_gen(pcie, pcie->gen);

/* Unassert the fundamental reset */
ret = pcie->cfg->perst_set(pcie, 0);
if (ret)
Expand All @@ -1350,9 +1355,6 @@ static int brcm_pcie_start_link(struct brcm_pcie *pcie)

brcm_config_clkreq(pcie);

if (pcie->gen)
brcm_pcie_set_gen(pcie, pcie->gen);

if (pcie->ssc) {
ret = brcm_pcie_set_ssc(pcie);
if (ret == 0)
Expand Down