aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-08-12arm64: dts: rockchip: add rk3588 PCIe2 supportSebastian Reichel2-0/+153
Add all three PCIe2 IP blocks to the RK3588 DT. Note, that RK3588 also has two PCIe3 IP blocks, that will be handled separately. Co-developed-by: Kever Yang <[email protected]> Signed-off-by: Kever Yang <[email protected]> Tested-by: Jagan Teki <[email protected]> # edgeble-neu6a, 6b Reviewed-by: Jagan Teki <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-08-12arm64: dts: rockchip: Enable internal SPI flash for ROCK Pi 4A/B/CStefan Nagy3-0/+30
The ROCK Pi 4A, ROCK Pi 4B and ROCK Pi 4C boards contain a nor-flash chip connected to spi1. Enable spi1 and add the device node. This patch has been tested on ROCK Pi 4A. Signed-off-by: Stefan Nagy <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-08-09arm64: dts: rockchip: Add NanoPC T6Thomas McKahan2-0/+843
Add the NanoPC T6, a single board computer from FriendlyElec based on the RK3588. Initial device tree supports debug UART, SD, eMMC, PCIe 3, PMIC, and 40 pin GPIO assignments. Signed-off-by: Thomas McKahan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-08-09dt-bindings: arm: rockchip: Add NanoPC T6Thomas McKahan1-0/+5
Add the NanoPC T6, a single board computer from FriendlyElec Signed-off-by: Thomas McKahan <[email protected]> Acked-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-25arm64: dts: rockchip: Enable SATA on Radxa E25Jonas Karlman1-0/+8
The M.2 KEY B port can be used for WWAN USB2 modules or SATA drives. Enable sata1 node to fix use of SATA drives on the M.2 slot. Fixes: 2bf2f4d9f673 ("arm64: dts: rockchip: Add Radxa CM3I E25") Signed-off-by: Jonas Karlman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-25arm64: dts: rockchip: Fix PCIe regulators on Radxa E25Jonas Karlman1-8/+8
Despite its name, the regulator vcc3v3_pcie30x1 has nothing to do with pcie30x1. Instead, it supply power to VBAT1-5 on the M.2 KEY B port as seen on page 8 of the schematic [1]. pcie30x1 is used for the mini PCIe slot, and as seen on page 9 the vcc3v3_minipcie regulator is instead related to pcie30x1. The M.2 KEY B port can be used for WWAN USB2 modules or SATA drives. Use correct regulator vcc3v3_minipcie for pcie30x1. [1] https://dl.radxa.com/cm3p/e25/radxa-e25-v1.4-sch.pdf Fixes: 2bf2f4d9f673 ("arm64: dts: rockchip: Add Radxa CM3I E25") Signed-off-by: Jonas Karlman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-25arm64: dts: rockchip: switch px30-engicam to enable-gpiosKrzysztof Kozlowski2-2/+2
The recommended name for enable GPIOs property in regulator-gpio is enable-gpios. This is also required by bindings: px30-engicam-px30-core-ctouch2.dtb: vcc3v3-btreg: Unevaluated properties are not allowed ('enable-gpio' was unexpected) Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-25arm64: dts: rockchip: switch rk3399-gru boards to enable-gpiosKrzysztof Kozlowski1-1/+1
The recommended name for enable GPIOs property in regulator-gpio is enable-gpios. This is also required by bindings: rk3399-gru-bob.dtb: ppvar-sd-card-io: Unevaluated properties are not allowed ('enable-gpio' was unexpected) Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-24arm64: dts: rockchip: add PCIe3 support for rk3588Sebastian Reichel1-0/+120
Add both PCIe3 controllers together with the shared PHY. Signed-off-by: Sebastian Reichel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-24arm64: dts: rockchip: fix/update sdmmc properties for rock-5a and -5bFUKAUMI Naoki2-0/+4
add alias for sdmmc as mmc1. make card detect work. Fixes: ea3e66e7ad0d ("arm64: dts: rockchip: add SD card support to rock-5a") Fixes: 2a6d4af5f157 ("arm64: dts: rockchip: Add SD card support to rock-5b") Signed-off-by: FUKAUMI Naoki <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-14arm64: dts: rockchip: add USB2 to rk3588s-rock5aSebastian Reichel1-0/+78
Enable USB2 (EHCI and OCHI mode) support for the Radxa ROCK 5 Model A. This adds USB support for the on-board WLAN/BT chip, the two USB2 ports, the USB available from the 2x20 connector and the lower USB3 port (in USB2 mode). The upper USB3 (further away from the PCB) uses the RK3588S USB TypeC OTG controller for USB2 and USB3 and thus is not supported at all at the moment. Signed-off-by: Sebastian Reichel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-14arm64: dts: rockchip: add USB2 to rk3588-rock5bSebastian Reichel1-0/+55
Enable USB2 (EHCI and OCHI mode) support for the Radxa ROCK 5 Model B. This adds USB support on the M.2 Key E, both USB2 ports and USB2 mode for the upper USB3 port (the one further away from the PCB). The lower USB3 (closer to the PCB) and the USB-C ports use the RK3588 USB TypeC host controller, which is not yet supported upstream. Signed-off-by: Sebastian Reichel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-14arm64: dts: rockchip: add USB2 to rk3588-evb1Sebastian Reichel1-0/+74
Enable USB2 (EHCI and OCHI mode) support for the Rockchip RK3588 EVB1. Signed-off-by: Sebastian Reichel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-14arm64: dts: rockchip: add USB2 support for rk3588Sebastian Reichel1-0/+94
This adds USB2 (EHCI & OHCI) ports including the related PHYs and GRF modules to the rk3588(s) device tree. Signed-off-by: Sebastian Reichel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-14arm64: dts: rockchip: Enable RS485 for edgeble-neu6bJagan Teki1-0/+7
Add RS485 support for Edgeble Neu6B NCM IO board. Signed-off-by: Jagan Teki <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-14arm64: dts: rockchip: Enable RS232 for edgeble-neu6bJagan Teki1-0/+7
Add RS232 support for Edgeble Neu6B NCM IO board. Signed-off-by: Jagan Teki <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-14arm64: dts: rockchip: Enable PWM FAN for edgeble-neu6bJagan Teki1-0/+7
Add PWM FAN support for Edgeble Neu6B NCM IO board. Signed-off-by: Jagan Teki <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-14arm64: dts: rockchip: Enable RTC for edgeble-neu6bJagan Teki1-0/+24
Add RTC support for Edgeble Neu6B NCM IO board. Signed-off-by: Jagan Teki <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-14arm64: dts: rockchip: Enable SATA for edgeble-neu6bJagan Teki1-0/+8
Add SATA support for Edgeble Neu6B NCM IO board. Signed-off-by: Jagan Teki <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-14arm64: dts: rockchip: Add microSD card for edgeble-neu6bJagan Teki1-0/+13
Add sdmmc support for Edgeble Neu6B NCM IO board. Signed-off-by: Jagan Teki <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-14arm64: dts: rockchip: Add PMIC for edgeble-neu6bJagan Teki1-0/+358
This adds PMIC support for the Edgeble Neu6B NCM. Signed-off-by: Jagan Teki <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-12arm64: dts: rockchip: enable SATA on rk3588-evb1Sebastian Reichel1-0/+8
Add support for the SATA0_0 port found on the RK3588 EVB1. The second port (SATA0_1) does not work, which matches the downstream behaviour. Signed-off-by: Sebastian Reichel <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-11arm64: dts: rockchip: add SATA support to rk3588Sebastian Reichel2-0/+71
Add all three SATA IP blocks to the RK3588 DT. Signed-off-by: Sebastian Reichel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-11arm64: dts: rockchip: add combo PHYs to rk3588Sebastian Reichel2-0/+63
Add all 3 combo PHYs that can be found in RK3588. They are used for SATA, PCIe or USB3. Signed-off-by: Sebastian Reichel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-11arm64: dts: rockchip: add dts for Firefly Station P2 aka rk3568-roc-pcFurkan Kardame2-0/+644
Add dts for Firefly Station P2. Working IO: * eMMC * HDMI * LAN * LED * SD Card * UART * USB2 * USB3 Signed-off-by: Furkan Kardame <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-11dt-bindings: arm: rockchip: Add Firefly Station P2Furkan Kardame1-0/+5
Station P2 is a single board computer by firefly based on rk3568 soc Signed-off-by: Furkan Kardame <[email protected]> Acked-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-11arm64: dts: rockchip: Drop unchanged max-frequency from rk3588 boardsJagan Teki7-8/+0
200MHz is the default rk3588 emmc max-frequency added in dtsi, so why the board DT files are adding the same value explicitly? Drop that unchanged property value. Signed-off-by: Jagan Teki <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-11arm64: dts: rockchip: Add Radxa ROCK 4SEChristopher Obbard2-0/+66
Add board-specific devicetree file for the RK3399T-based Radxa ROCK 4SE board. This board offers similar peripherals in a similar form-factor to the existing ROCK Pi 4B but uses the cost-optimised RK3399T processor (which has different OPP table than the RK3399) and other minimal hardware changes. Signed-off-by: Christopher Obbard <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-11dt-bindings: arm: rockchip: Add Radxa ROCK 4SEChristopher Obbard1-0/+5
Add devicetree binding entry for the Radxa ROCK 4SE. Acked-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Christopher Obbard <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-11arm64: dts: rockchip: Move OPP table from ROCK Pi 4 dtsiChristopher Obbard4-1/+3
The ROCK 4SE uses the RK3399-T variant of the RK3399 SoC, which has some changes to the OPP tables. Prepare for the bringup of this SoC by moving the inclusion of existing OPP tables from the common devicetree into each board-specific devicetree. Signed-off-by: Christopher Obbard <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-11arm64: dts: rockchip: add fan support to rock-5aSebastian Reichel1-0/+14
Add the necessary DT changes for the Rock 5A board to enable support for the PWM controlled heat sink fan. Signed-off-by: Sebastian Reichel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-11arm64: dts: rockchip: add SARADC to rock-5aSebastian Reichel1-0/+5
Enable ADC support for Rock 5A, which has the following ADC channels: Channel 0 = Boot Mode Config Channel 1 = Recovery Key Channel 2 = PWM Fan Channel 3 = Headphone Hook Channel 4 = System Input Voltage Channel 5 = Board ID Config Signed-off-by: Sebastian Reichel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-11arm64: dts: rockchip: enable I2C interface from DSI and CSI connectors on ↵Sebastian Reichel1-0/+10
rock-5a I2C3 is routed to the Camera connector and I2C5 is routed to the LCD connector. On I2C5 additionally there is an unpopulated footprint for a HYM8563TS RTC. Signed-off-by: Sebastian Reichel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-11arm64: dts: rockchip: add vdd_npu_s0 regulator to rock-5aSebastian Reichel1-0/+17
Add the NPU regulator. Signed-off-by: Sebastian Reichel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-11arm64: dts: rockchip: add I2C EEPROM to rock-5aSebastian Reichel1-0/+10
Add the I2C EEPROM to the Rock 5A DT. Signed-off-by: Sebastian Reichel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-11arm64: dts: rockchip: add analog audio to rock-5aSebastian Reichel1-0/+52
Add analog audio support based on the Everest Semi ES8316 codec. Note, that this currently does not support headphone plug events. The Rock 5A uses a different headphone jack with a different logic to detect a headphone plug. Unfortunately the detect GPIO is always low. Downstream uses an ADC channel instead, but that is currently not supported upstream. Signed-off-by: Sebastian Reichel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-11arm64: dts: rockchip: add status LED to rock-5aSebastian Reichel1-0/+20
Describe the Rock 5A status LED in its device tree. Signed-off-by: Sebastian Reichel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-11arm64: dts: rockchip: add SD card support to rock-5aLucas Tanure1-0/+14
Add sdmmc support for Rock Pi 5A board. Signed-off-by: Lucas Tanure <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-11arm64: dts: rockchip: add 5V regulator to rock-5aSebastian Reichel1-0/+20
Add GPIO controlled 5V regulator, which is used for supplying the fan, on-board USB hub and HDMI. Signed-off-by: Sebastian Reichel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-11arm64: dts: rockchip: add vdd_cpu_big regulators to rock-5aSebastian Reichel1-0/+56
The RK8602 and RK8603 voltage regulators on the Rock 5A board provide the power lines vdd_cpu_big0 and vdd_cpu_big1, respectively. Add the necessary device tree nodes and bind them to the corresponding CPU big core nodes. Signed-off-by: Sebastian Reichel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-11arm64: dts: rockchip: add PMIC to rock-5aSebastian Reichel1-0/+366
This adds PMIC support for the Radxa ROCK 5A Co-developed-by: shengfei Xu <[email protected]> Signed-off-by: shengfei Xu <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-11dt-bindings: eeprom: at24: add Belling BL24C16ASebastian Reichel1-0/+3
Add binding for Belling BL24C16A, which is compatible with Atmel 24C16. Signed-off-by: Sebastian Reichel <[email protected]> Acked-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-11dt-bindings: vendor-prefixes: Add prefix for bellingSebastian Reichel1-0/+2
Add a vendor prefix entry for belling (https://www.belling.com.cn) Signed-off-by: Sebastian Reichel <[email protected]> Acked-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-10arm64: dts: rockchip: Update sound card label on rk3588-rock-5bCristian Ciocaltea1-10/+10
The audio-graph-card driver uses the 'label' property to register the sound card in the system, but the currently assigned string is too generic and cannot be supported by alsa-project/alsa-ucm-conf: card 0: Analog [Analog] Use the more specific naming "rk3588-es8316", which is still generic enough to be shared with other compatible boards, e.g. Rock 5A. The audio card will be listed as: card 0: rk3588es8316 [rk3588-es8316] While at it, update also the DT node name, as there will be additional sound related nodes available, i.e. for HDMI. Note that this involves moving the node one position up, to preserve the alphabetical order. Signed-off-by: Cristian Ciocaltea <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-10arm64: dts: rockchip: Add dtsi entry for RK3399 PCIe endpoint coreRick Wertenbroek1-0/+27
Add dtsi entry for RK3399 PCIe endpoint core in the device tree. The status is "disabled" by default, so it will not be loaded unless explicitly chosen to. The RK3399 PCIe endpoit core should be enabled with the RK3399 PCIe root complex disabled because the RK3399 PCIe controller can only work one mode at the time, either in "root complex" mode or in "endpoint" mode. Tested-by: Damien Le Moal <[email protected]> Signed-off-by: Rick Wertenbroek <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
2023-07-09Linux 6.5-rc1Linus Torvalds1-2/+2
2023-07-09MAINTAINERS 2: Electric BoogalooLinus Torvalds1-46/+46
We just sorted the entries and fields last release, so just out of a perverse sense of curiosity, I decided to see if we can keep things ordered for even just one release. The answer is "No. No we cannot". I suggest that all kernel developers will need weekly training sessions, involving a lot of Big Bird and Sesame Street. And at the yearly maintainer summit, we will all sing the alphabet song together. I doubt I will keep doing this. At some point "perverse sense of curiosity" turns into just a cold dark place filled with sadness and despair. Repeats: 80e62bc8487b ("MAINTAINERS: re-sort all entries and fields") Signed-off-by: Linus Torvalds <[email protected]>
2023-07-09Merge tag 'dma-mapping-6.5-2023-07-09' of ↵Linus Torvalds1-11/+35
git://git.infradead.org/users/hch/dma-mapping Pull dma-mapping fixes from Christoph Hellwig: - swiotlb area sizing fixes (Petr Tesarik) * tag 'dma-mapping-6.5-2023-07-09' of git://git.infradead.org/users/hch/dma-mapping: swiotlb: reduce the number of areas to match actual memory pool size swiotlb: always set the number of areas before allocating the pool
2023-07-09Merge tag 'irq_urgent_for_v6.5_rc1' of ↵Linus Torvalds1-3/+1
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip Pull irq update from Borislav Petkov: - Optimize IRQ domain's name assignment * tag 'irq_urgent_for_v6.5_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: irqdomain: Use return value of strreplace()
2023-07-09Merge tag 'x86_urgent_for_v6.5_rc1' of ↵Linus Torvalds1-0/+1
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip Pull x86 fpu fix from Borislav Petkov: - Do FPU AP initialization on Xen PV too which got missed by the recent boot reordering work * tag 'x86_urgent_for_v6.5_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/xen: Fix secondary processors' FPU initialization