linux-block.git
5 months agoMerge tag 'tegra-for-6.10-dt-bindings' of git://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Mon, 29 Apr 2024 14:30:15 +0000 (16:30 +0200)]
Merge tag 'tegra-for-6.10-dt-bindings' of git://git./linux/kernel/git/tegra/linux into soc/dt

dt-bindings: Changes for v6.10-rc1

Included is one change that adds the dma-coherent flag to the device
tree json-schema for host1x on Tegra194 and Tegra234.

* tag 'tegra-for-6.10-dt-bindings' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  dt-bindings: display: tegra: Allow dma-coherent on Tegra194 and later

Link: https://lore.kernel.org/r/20240426180519.3972626-2-thierry.reding@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
5 months agoMerge tag 'sunxi-dt-for-6.10-1' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Mon, 29 Apr 2024 12:49:31 +0000 (14:49 +0200)]
Merge tag 'sunxi-dt-for-6.10-1' of https://git./linux/kernel/git/sunxi/linux into soc/dt

- added multicolor LED node for pinephone
- marked pinephone LEDs to retain status in suspend
- DT cleanups & fixes
- fixed A64 GPU frequency at 432 MHz
- added H616 NMI node
- new boards: PocketBook 614 Plus, Tanix TX1

* tag 'sunxi-dt-for-6.10-1' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux:
  arm64: dts: allwinner: h616: Add NMI device node
  arm64: dts: allwinner: Add Tanix TX1 support
  dt-bindings: arm: sunxi: document Tanix TX1 name
  ARM: dts: sun5i: Add PocketBook 614 Plus support
  dt-bindings: arm: sunxi: Add PocketBook 614 Plus
  arm64: dts: allwinner: h616: Fix I2C0 pins
  arm64: dts: allwinner: a64: Run GPU at 432 MHz
  arm: dts: allwinner: drop underscore in node names
  arm64: dts: allwinner: Orange Pi: delete node by phandle
  arm64: dts: allwinner: drop underscore in node names
  arm64: dts: allwinner: Pine H64: correctly remove reg_gmac_3v3
  arm64: dts: allwinner: pinephone: add multicolor LED node
  arm64: dts: allwinner: pinephone: Retain LEDs state in suspend

Link: https://lore.kernel.org/r/20240426164510.GA101219@jernej-laptop
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
5 months agoMerge tag 'renesas-dts-for-v6.10-tag2' of git://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Mon, 29 Apr 2024 12:47:38 +0000 (14:47 +0200)]
Merge tag 'renesas-dts-for-v6.10-tag2' of git://git./linux/kernel/git/geert/renesas-devel into soc/dt

Renesas DTS updates for v6.10 (take two)

  - Add external interrupt (IRQC) support for the RZ/Five SoC,
  - Add SPI (MSIOF), external interrupt (INTC-EX), and IOMMU support for
    the R-Car V4M SoC,
  - Miscellaneous fixes and improvements.

* tag 'renesas-dts-for-v6.10-tag2' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
  arm64: dts: renesas: r8a779h0: Link IOMMU consumers
  arm64: dts: renesas: r8a779h0: Add IPMMU nodes
  arm64: dts: renesas: r8a779h0: Add INTC-EX node
  arm64: dts: renesas: r8a779h0: Add MSIOF nodes
  arm64: dts: renesas: rzg3s-smarc-som: Enable eMMC by default
  riscv: dts: renesas: rzfive-smarc-som: Drop deleting interrupt properties from ETH0/1 nodes
  arm64: dts: renesas: r9a07g043: Move interrupt-parent property to common DTSI
  riscv: dts: renesas: r9a07g043f: Add IRQC node to RZ/Five SoC DTSI
  arm64: dts: renesas: s4sk: Fix ethernet0 alias

Link: https://lore.kernel.org/r/cover.1714116737.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
5 months agoMerge tag 'v6.10-rockchip-dts64-1' of git://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Mon, 29 Apr 2024 10:52:32 +0000 (12:52 +0200)]
Merge tag 'v6.10-rockchip-dts64-1' of git://git./linux/kernel/git/mmind/linux-rockchip into soc/dt

New boards: ArmSom Sige7, GameForce Chi,Forlinx FET3588-C with OK3588-C
baseboard, Protonic MECSBC, Wolfvision PF5.

The panthor driver for Mali Valhall GPUs landed, so a number of boards
enable their gpu (Cool Pi, Theobroma-Systems boards, QuartzPro64,
Rock5b, EVB1)

Also the USBDP phy driver landed, allowing the usb3 dual-role controllers
to be used on EVB1, Rock 5A and 5B, Indiedroid-Nova, Theobroma-Systems
Tiger and Jaguar.

A lot new peripherals for the Khadas Edge 2 (rtc, uart, sfc, adc, ir,
usb, pcie, tf-card, pmic); PCIe3 support on Jaguar, audio support for
the rk3308 and cache descriptions for rk356x and rk3328.

Corrected model names for boards from Radxa, Pine64, Powkiddy, Anberic
and general more dt cleanups.

* tag 'v6.10-rockchip-dts64-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: (64 commits)
  arm64: dts: rockchip: add dual-role usb3 hosts to rk3588 Tiger-Haikou
  arm64: dts: rockchip: add usb-id extcon on rk3588 tiger
  arm64: dts: rockchip: fix comment for upper usb3 port
  arm64: dts: rockchip: fix pcie-refclk frequency on rk3588 tiger
  arm64: dts: rockchip: correct gpio_pwrctrl1 typos on rk3588(s) boards
  arm64: dts: rockchip: Correct the model names for Pine64 boards
  dt-bindings: arm: rockchip: Correct the descriptions for Pine64 boards
  arm64: dts: rockchip: Add ArmSom Sige7 board
  dt-bindings: arm: rockchip: Add ArmSoM Sige7
  dt-bindings: vendor-prefixes: add ArmSoM
  arm64: dts: rockchip: add PCIe3 support on rk3588-jaguar
  arm64: dts: rockchip: move uart2 pinmux to dtsi on rk3588-tiger
  arm64: dts: rockchip: Add USB-C Support for rk3588s-indiedroid-nova
  arm64: dts: rockchip: correct the model name for Radxa ROCK 3A
  dt-bindings: arm: rockchip: correct the model name for Radxa ROCK 3A
  arm64: dts: rockchip: Correct the model names for Radxa ROCK 5 boards
  dt-bindings: arm: rockchip: Correct the descriptions for Radxa boards
  arm64: dts: rockchip: add lower USB3 port to rock-5b
  arm64: dts: rockchip: add upper USB3 port to rock-5a
  arm64: dts: rockchip: add USB3 to rk3588-evb1
  ...

Link: https://lore.kernel.org/r/15361932.O9o76ZdvQC@phil
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
5 months agoMerge tag 'stm32-dt-for-v6.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Mon, 29 Apr 2024 08:43:42 +0000 (10:43 +0200)]
Merge tag 'stm32-dt-for-v6.10-1' of git://git./linux/kernel/git/atorgue/stm32 into soc/dt

STM32 DT for v6.10, round 1

Highlights:
----------

- MPU:
  - STM32MP13:
    - Add and enable LTDC display (rocktech,rk043fn48h)
      on stm32mp135f-dk.
    - Add firewall bus based on  ETZPC firewall controller.
    - Add PWR regulator support: Can be only used if the platform is
      set as "no-secure" (RCC_SECCFGR cleared) either use SCMI
      regulator.

  - STMP32MP15:
    - Add firewall bus based on  ETZPC firewall controller.
    - Add heartbeat on stm32mp157c-ed1.

  - STM32MP25:
    - Add firewall bus based on  RIFSC firewall controller.
    - Add clock support (RCC) based on SCMI clock protocol for root clocks.
    - Add all I2C instances and declare i2c2/i2c8 on stm32mp257f-ev1.
    - Add all SPI instances. and declare spi3/spi8 on stm32mp257f-ev1.

* tag 'stm32-dt-for-v6.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32: (21 commits)
  arm64: dts: st: correct masks for GIC PPI interrupts on stm32mp25
  arm64: dts: st: add spi3 / spi8 properties on stm32mp257f-ev1
  arm64: dts: st: add spi3/spi8 pins for stm32mp25
  arm64: dts: st: add all 8 spi nodes on stm32mp251
  arm64: dts: st: add i2c2 / i2c8 properties on stm32mp257f-ev1
  arm64: dts: st: add i2c2/i2c8 pins for stm32mp25
  arm64: dts: st: add all 8 i2c nodes on stm32mp251
  arm64: dts: st: add rcc support for STM32MP25
  ARM: dts: stm32: enable display support on stm32mp135f-dk board
  ARM: dts: stm32: add LTDC pinctrl on STM32MP13x SoC family
  ARM: dts: stm32: add LTDC support for STM32MP13x SoC family
  dt-bindings: display: simple: allow panel-common properties
  ARM: dts: stm32: add PWR regulators support on stm32mp131
  media: dt-bindings: add access-controllers to STM32MP25 video codecs
  ARM: dts: stm32: add heartbeat led for stm32mp157c-ed1
  ARM: dts: stm32: move can3 node from stm32f746 to stm32f769
  ARM: dts: stm32: put ETZPC as an access controller for STM32MP13x boards
  ARM: dts: stm32: add ETZPC as a system bus for STM32MP13x boards
  ARM: dts: stm32: put ETZPC as an access controller for STM32MP15x boards
  ARM: dts: stm32: add ETZPC as a system bus for STM32MP15x boards
  ...

Link: https://lore.kernel.org/r/2040767c-413e-4447-b354-c44999930e4c@foss.st.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
5 months agoMerge tag 'hisi-arm64-dt-for-6.10' of https://github.com/hisilicon/linux-hisi into...
Arnd Bergmann [Mon, 29 Apr 2024 08:33:10 +0000 (10:33 +0200)]
Merge tag 'hisi-arm64-dt-for-6.10' of https://github.com/hisilicon/linux-hisi into soc/dt

ARM64: DT: HiSilicon ARM64 DT updates for v6.10

- Move non-MMIO node out of soc for the hip05, hip06 and hip07 SoC
- Miscellaneous fixes and improvements like correcting unit addresses and
missing reg

* tag 'hisi-arm64-dt-for-6.10' of https://github.com/hisilicon/linux-hisi:
  arm64: dts: hisilicon: hi6220: correct tsensor unit addresses
  arm64: dts: hisilicon: hi6220-hikey: drop unit addresses from fixed regulators
  arm64: dts: hisilicon: hi6220-hikey: add missing port@0 reg
  arm64: dts: hisilicon: hip07: correct unit addresses
  arm64: dts: hisilicon: hip07: move non-MMIO node out of soc
  arm64: dts: hisilicon: hip06: correct unit addresses
  arm64: dts: hisilicon: hip06: move non-MMIO node out of soc
  arm64: dts: hisilicon: hip05-d02: correct local-bus unit addresses
  arm64: dts: hisilicon: hip05: move non-MMIO node out of soc

Link: https://lore.kernel.org/r/662A4115.9020805@hisilicon.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
5 months agoMerge tag 'samsung-dt64-6.10' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Mon, 29 Apr 2024 08:31:59 +0000 (10:31 +0200)]
Merge tag 'samsung-dt64-6.10' of https://git./linux/kernel/git/krzk/linux into soc/dt

Samsung DTS ARM64 changes for v6.10

1. Add FIFO depth to each SPI node so we can avoid matching this through
   DTS alias.  Difference SPI instances on given SoC have different FIFO
   depths.
2. Exynos850: add clock controllers providing clocks to CPUs.
3. Google GS101: few cleanups and add missing serial engine (USI)
   interface nodes.

* tag 'samsung-dt64-6.10' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  arm64: dts: exynos: gs101: define all PERIC USI nodes
  arm64: dts: exynos: gs101: join lines close to 80 chars
  arm64: dts: exynos: gs101: move pinctrl-* properties after clocks
  arm64: dts: exynos: gs101: move serial_0 pinctrl-0/names to dtsi
  arm64: dts: exynos: gs101: reorder pinctrl-* properties
  arm64: dts: exynos850: Add CPU clocks
  arm64: dts: exynosautov9: specify the SPI FIFO depth
  arm64: dts: exynos5433: specify the SPI FIFO depth

Link: https://lore.kernel.org/r/20240425071856.9235-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
5 months agoMerge tag 'samsung-dt-6.10' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk...
Arnd Bergmann [Mon, 29 Apr 2024 08:30:34 +0000 (10:30 +0200)]
Merge tag 'samsung-dt-6.10' of https://git./linux/kernel/git/krzk/linux into soc/dt

Samsung DTS ARM changes for v6.10

1. Few cleanups of deprecated properties and node names pointed out by
   bindings newly converted to DT schema.
2. Fix S5PV210 NAND node size-cells, pointed out by DT schema.
3. Add FIFO depth to each SPI node so we can avoid matching this through
   DTS alias.  Difference SPI instances on given SoC have different FIFO
   depths.
4. Fix Exynos4212 Galaxy Tab3 usable memory, because stock bootloader is
   not telling us truth.

* tag 'samsung-dt-6.10' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  ARM: dts: exynos4212-tab3: limit usable memory range
  ARM: dts: samsung: s5pv210: specify the SPI FIFO depth
  ARM: dts: samsung: exynos5420: specify the SPI FIFO depth
  ARM: dts: samsung: exynos5250: specify the SPI FIFO depth
  ARM: dts: samsung: exynos4: specify the SPI FIFO depth
  ARM: dts: samsung: exynos3250: specify the SPI FIFO depth
  ARM: dts: samsung: s5pv210: correct onenand size-cells
  ARM: dts: samsung: s5pv210: align onenand node name with bindings
  ARM: dts: samsung: exynos5800-peach-pi: switch to undeprecated DP HPD GPIOs
  ARM: dts: samsung: smdk4412: align keypad node names with dtschema
  ARM: dts: samsung: smdk4412: fix keypad no-autorepeat
  ARM: dts: samsung: exynos4412-origen: fix keypad no-autorepeat
  ARM: dts: samsung: smdkv310: fix keypad no-autorepeat

Link: https://lore.kernel.org/r/20240425071856.9235-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
5 months agoMerge tag 'omap-for-v6.10/dt-signed' of git://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Mon, 29 Apr 2024 08:29:31 +0000 (10:29 +0200)]
Merge tag 'omap-for-v6.10/dt-signed' of git://git./linux/kernel/git/tmlind/linux-omap into soc/dt

Devicetree changes for omaps for v6.10

Update n900 charge limit, and make use of the clksel binding for dra7
for the clksel clocks and other dpll output related clocks.

* tag 'omap-for-v6.10/dt-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  ARM: dts: dra7: Use clksel binding for CTRL_CORE_SMA_SW_0
  ARM: dts: dra7: Use clksel binding for CM_CLKSEL_DPLL_USB
  ARM: dts: dra7: Use clksel binding for CM_CLKSEL_DPLL_PER
  ARM: dts: dra7: Use clksel binding for CM_CLKSEL_ABE_PLL_SYS
  ARM: dts: dra7: Use clksel binding for CM_CLKSEL_CORE
  ARM: dts: dra7: Use clksel binding for CM_CLKSEL_DPLL_EVE
  ARM: dts: dra7: Use clksel binding for CM_CLKSEL_DPLL_GMAC
  ARM: dts: dra7: Use clksel binding for CM_CLKSEL_DPLL_DRR
  ARM: dts: dra7: Use clksel binding for CM_CLKSEL_DPLL_GPU
  ARM: dts: dra7: Use clksel binding for CM_CLKSEL_DPLL_IVA
  ARM: dts: dra7: Use clksel binding for CM_CLKSEL_DPLL_DSP
  ARM: dts: dra7: Use clksel binding for CM_CLKSEL_DPLL_CORE
  ARM: dts: n900: set charge current limit to 950mA

Link: https://lore.kernel.org/r/pull-1714020191-304166@atomide.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
5 months agoarm/arm64: dts: Drop "arm,armv8-pmuv3" compatible usage
Rob Herring [Wed, 17 Apr 2024 20:38:47 +0000 (15:38 -0500)]
arm/arm64: dts: Drop "arm,armv8-pmuv3" compatible usage

The "arm,armv8-pmuv3" compatible is intended only for s/w models. Primarily,
it doesn't provide any detail on uarch specific events.

There's still remaining cases for CPUs without any corresponding PMU
definition and for big.LITTLE systems which only have a single PMU node
(there should be one per core type).

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Jisheng Zhang <jszhang@kernel.org>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Dinh Nguyen <dinguyen@kernel.org>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Bjorn Andersson <andersson@kernel.org>
Acked-by: Florian Fainelli <florian.fainelli@broadcom.com>
Acked-by: Alim Akhtar <alim.akhtar@samsung.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Link: https://lore.kernel.org/r/20240417203853.3212103-1-robh@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
5 months agoMerge tag 'renesas-dts-for-v6.10-tag1' of git://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Mon, 29 Apr 2024 08:21:59 +0000 (10:21 +0200)]
Merge tag 'renesas-dts-for-v6.10-tag1' of git://git./linux/kernel/git/geert/renesas-devel into soc/dt

Renesas DTS updates for v6.10

  - Add HDMI capture support for the Function expansion board for the
    Eagle development board,
  - Add PMIC support for the RZ/G2UL SMARC EVK development board,
  - Add thermal, more serial ((H)SCIF), and timer (CMT and TMU) support
    for the R-Car V4M SoC,
  - Add Timer Unit (TMU) support for the R-Mobile APE6, R-Car Gen2, and
    RZ/G1 SoCs,
  - Miscellaneous fixes and improvements.

* tag 'renesas-dts-for-v6.10-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
  arm64: dts: renesas: rzg3s-smarc-som: Fix Ethernet aliases
  arm64: dts: renesas: r8a779h0: Add TMU nodes
  arm64: dts: renesas: r8a779h0: Add CMT nodes
  arm64: dts: renesas: gray-hawk-single: Enable nfsroot
  ARM: dts: renesas: r9a06g032: Remove duplicate interrupt-parent
  arm64: dts: renesas: gray-hawk-single: Add second debug serial port
  arm64: dts: renesas: r8a779h0: Add SCIF nodes
  arm64: dts: renesas: r8a779h0: Add remaining HSCIF nodes
  ARM: dts: renesas: rcar-gen2: Add TMU nodes
  ARM: dts: renesas: rzg1: Add TMU nodes
  ARM: dts: renesas: r8a73a4: Add TMU nodes
  ARM: dts: renesas: r7s72100: Add interrupt-names to SCIF nodes
  arm64: dts: renesas: r8a779h0: Add thermal nodes
  arm64: dts: renesas: rzg2ul-smarc: Enable PMIC and built-in RTC, GPIO and ONKEY
  arm64: dts: renesas: eagle: Add capture overlay for Function expansion board

Link: https://lore.kernel.org/r/cover.1712915536.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
5 months agoMerge tag 'renesas-dt-bindings-for-v6.10-tag1' of git://git.kernel.org/pub/scm/linux...
Arnd Bergmann [Mon, 29 Apr 2024 08:20:47 +0000 (10:20 +0200)]
Merge tag 'renesas-dt-bindings-for-v6.10-tag1' of git://git./linux/kernel/git/geert/renesas-devel into soc/dt

Renesas DT binding updates for v6.10

  - Document support for the Renesas RZ/V2H(P) (R9A09G057) SoC variants.

* tag 'renesas-dt-bindings-for-v6.10-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
  dt-bindings: arm: renesas: Document Renesas RZ/V2H(P) System Controller
  dt-bindings: soc: renesas: Document Renesas RZ/V2H(P) SoC variants

Link: https://lore.kernel.org/r/cover.1712915534.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
5 months agoarm64: dts: allwinner: h616: Add NMI device node
Chris Morgan [Thu, 18 Apr 2024 18:16:15 +0000 (13:16 -0500)]
arm64: dts: allwinner: h616: Add NMI device node

Add device node for the H616 Non Maskable Interrupt (NMI) controller.
This controller is present on all H616 boards and derivatives such as
the T507 and H700. Note that on the H616 no NMI pad is exposed.

Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20240418181615.1370179-3-macroalpha82@gmail.com
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
5 months agodt-bindings: display: tegra: Allow dma-coherent on Tegra194 and later
Thierry Reding [Thu, 20 Apr 2023 12:12:33 +0000 (14:12 +0200)]
dt-bindings: display: tegra: Allow dma-coherent on Tegra194 and later

Tegra194 and later chips have a coherency fabric, so some devices can be
marked as DMA coherent to avoid unnecessary cache maintenance.

Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
5 months agoarm64: dts: st: correct masks for GIC PPI interrupts on stm32mp25
Patrick Delaunay [Wed, 24 Apr 2024 16:53:44 +0000 (18:53 +0200)]
arm64: dts: st: correct masks for GIC PPI interrupts on stm32mp25

Using GIC_CPU_MASK_SIMPLE(x), x should reflect the number of CPUs.
STM32MP251 is a single core Cortex A35, STM32MP253 is a dual core CA35.

Fixes: 5d30d03aaf78 ("arm64: dts: st: introduce stm32mp25 SoCs family")
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
5 months agoarm64: dts: st: add spi3 / spi8 properties on stm32mp257f-ev1
Alain Volmat [Mon, 18 Dec 2023 15:57:18 +0000 (16:57 +0100)]
arm64: dts: st: add spi3 / spi8 properties on stm32mp257f-ev1

Add properties for spi3 and spi8 available on the stm32mp257f-ev1.
Both are kept disabled since only used via the gpio expansion connector.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
5 months agoarm64: dts: st: add spi3/spi8 pins for stm32mp25
Alain Volmat [Mon, 18 Dec 2023 15:57:17 +0000 (16:57 +0100)]
arm64: dts: st: add spi3/spi8 pins for stm32mp25

Add the spi3 and spi8 pins used on STM32MP257F-EV1 board.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
5 months agoarm64: dts: st: add all 8 spi nodes on stm32mp251
Alain Volmat [Thu, 25 Apr 2024 08:10:50 +0000 (10:10 +0200)]
arm64: dts: st: add all 8 spi nodes on stm32mp251

Add the 8 nodes for all spi instances available on the stm32mp251.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
5 months agoarm64: dts: st: add i2c2 / i2c8 properties on stm32mp257f-ev1
Alain Volmat [Fri, 15 Dec 2023 17:06:13 +0000 (18:06 +0100)]
arm64: dts: st: add i2c2 / i2c8 properties on stm32mp257f-ev1

Add properties for i2c2 and i2c8 available on the stm32mp257f-ev1.
i2c2 is enabled since several devices are attached to it while
i2c8 is kept disabled since only used via the gpio expansion connector.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
5 months agoarm64: dts: st: add i2c2/i2c8 pins for stm32mp25
Alain Volmat [Fri, 15 Dec 2023 17:06:12 +0000 (18:06 +0100)]
arm64: dts: st: add i2c2/i2c8 pins for stm32mp25

Add the i2c2 and i2c8 pins used on STM32MP257F-EV1 board.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
5 months agoarm64: dts: st: add all 8 i2c nodes on stm32mp251
Alain Volmat [Fri, 15 Dec 2023 17:06:11 +0000 (18:06 +0100)]
arm64: dts: st: add all 8 i2c nodes on stm32mp251

Add the 8 nodes for all i2c instances available on the stm32mp251.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
5 months agoarm64: dts: st: add rcc support for STM32MP25
Gabriel Fernandez [Thu, 11 Apr 2024 09:24:53 +0000 (11:24 +0200)]
arm64: dts: st: add rcc support for STM32MP25

Add RCC support to manage clocks and resets on the STM32MP25.

Signed-off-by: Gabriel Fernandez <gabriel.fernandez@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
5 months agoARM: dts: stm32: enable display support on stm32mp135f-dk board
Raphael Gallais-Pou [Fri, 23 Feb 2024 12:36:50 +0000 (13:36 +0100)]
ARM: dts: stm32: enable display support on stm32mp135f-dk board

Link panel and display controller.
Enable panel, backlight and display controller.

Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
5 months agoARM: dts: stm32: add LTDC pinctrl on STM32MP13x SoC family
Raphael Gallais-Pou [Fri, 23 Feb 2024 12:36:49 +0000 (13:36 +0100)]
ARM: dts: stm32: add LTDC pinctrl on STM32MP13x SoC family

Adds LTDC pinctrl support and assigns dedicated GPIO pins.

Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
5 months agoARM: dts: stm32: add LTDC support for STM32MP13x SoC family
Raphael Gallais-Pou [Fri, 23 Feb 2024 12:36:48 +0000 (13:36 +0100)]
ARM: dts: stm32: add LTDC support for STM32MP13x SoC family

STM32MP13x SoC family embeds a new version of LTDC (Liquid crystal
display - Thin film transistor) Display Controller.

It provides a parallel digital RGB (red, green, blue) and signals for
horizontal, vertical synchronization, pixel clock and data enable as
output to interface directly to a variety of LCD-TFT panels.

Main features
  * 2 input layers blended together to compose the display
  * Cropping of layers from any input size and location
  * Multiple input pixel formats:
    – Predefined ARGB, with 7 formats: ARGB8888, ABGR8888, RGBA8888,
    BGRA8888, RGB565, BGR565, RGB888packed.
    – Flexible ARGB, allowing any width and location for A,R,G,B
    components.
    – Predefined YUV, with 3 formats: YUV422-1L (FourCC: YUYV,
    Interleaved), YUV420-2L (FourCC: NV12, semi planar), YUV420-3L
    (FourCC: Yxx, full planar) with some flexibility on the sequence of
    the component.
  * Color look-up table (CLUT) up to 256 colors (256x24 bits) per layer
  * Color transparency keying
  * Composition with flexible window position and size versus output
  display
  * Blending with flexible layer order and alpha value (per pixel or
  constant)
  * Background underlying color
  * Gamma with non-linear configurable table
  * Dithering for output with less bits per component (pseudo-random on
  2 bits)
  * Polarity inversion for HSync, VSync, and DataEnable outputs
  * Output as RGB888 24 bpp or YUV422 16 bpp
  * Secure layer (using Layer2) capability, with grouped regs and
  additional interrupt set
  * Interrupts based on 7 different events
  * AXI master interface with long efficient bursts (64 or 128 bytes)

Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Signed-off-by: Yannick Fertre <yannick.fertre@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
5 months agodt-bindings: display: simple: allow panel-common properties
Raphael Gallais-Pou [Fri, 23 Feb 2024 12:36:51 +0000 (13:36 +0100)]
dt-bindings: display: simple: allow panel-common properties

This device inherits properties from panel-common. Those should be allowed
to use, instead of specifying properties to true for each specific use.

Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
5 months agoARM: dts: stm32: add PWR regulators support on stm32mp131
Marek Vasut [Tue, 19 Mar 2024 04:05:06 +0000 (05:05 +0100)]
ARM: dts: stm32: add PWR regulators support on stm32mp131

This patch adds STM32 PWR regulators DT support on stm32mp131.
This requires TFA to clear RCC_SECCFGR, is disabled by default
and can only be enabled on board DT level.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
5 months agomedia: dt-bindings: add access-controllers to STM32MP25 video codecs
Hugues Fruchet [Wed, 10 Apr 2024 14:42:22 +0000 (16:42 +0200)]
media: dt-bindings: add access-controllers to STM32MP25 video codecs

access-controllers is an optional property that allows a peripheral to
refer to one or more domain access controller(s).

Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
5 months agoARM: dts: stm32: add heartbeat led for stm32mp157c-ed1
Patrice Chotard [Tue, 26 Mar 2024 07:54:38 +0000 (08:54 +0100)]
ARM: dts: stm32: add heartbeat led for stm32mp157c-ed1

Add heartbeat led for stm32mp157c-ed1.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
5 months agoARM: dts: stm32: move can3 node from stm32f746 to stm32f769
Dario Binacchi [Mon, 25 Mar 2024 07:56:28 +0000 (08:56 +0100)]
ARM: dts: stm32: move can3 node from stm32f746 to stm32f769

According to documents [1], [2] and [3], we have 2 CAN devices on the
stm32f746 platform and 3 on the stm32f769 platform. So let's move the
can3 node from stm32f746.dtsi to stm32f769.dtsi.

[1] https://www.st.com/en/microcontrollers-microprocessors/stm32f7-series.html
[2] RM0385: STM32F75xxx and STM32F74xxx advanced Arm®-based 32-bit MCUs
[3] RM0410: STM32F76xxx and STM32F77xxx advanced Arm®-based 32-bit MCUs
Fixes: df362914eead ("ARM: dts: stm32: re-add CAN support on stm32f746")
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
5 months agoARM: dts: stm32: put ETZPC as an access controller for STM32MP13x boards
Alexandre Torgue [Fri, 5 Apr 2024 11:45:24 +0000 (13:45 +0200)]
ARM: dts: stm32: put ETZPC as an access controller for STM32MP13x boards

Reference ETZPC as an access-control-provider.

For more information on which peripheral is securable or supports MCU
isolation, please read the STM32MP13 reference manual

Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
5 months agoARM: dts: stm32: add ETZPC as a system bus for STM32MP13x boards
Gatien Chevallier [Fri, 5 Jan 2024 13:04:03 +0000 (14:04 +0100)]
ARM: dts: stm32: add ETZPC as a system bus for STM32MP13x boards

ETZPC is a firewall controller. Put all peripherals filtered by the
ETZPC as ETZPC subnodes and keep the "simple-bus" compatible for
backward compatibility.

Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
5 months agoARM: dts: stm32: put ETZPC as an access controller for STM32MP15x boards
Gatien Chevallier [Fri, 5 Jan 2024 13:04:02 +0000 (14:04 +0100)]
ARM: dts: stm32: put ETZPC as an access controller for STM32MP15x boards

Reference ETZPC as an access-control-provider.

For more information on which peripheral is securable or supports MCU
isolation, please read the STM32MP15 reference manual

Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
5 months agoARM: dts: stm32: add ETZPC as a system bus for STM32MP15x boards
Gatien Chevallier [Fri, 5 Jan 2024 13:04:01 +0000 (14:04 +0100)]
ARM: dts: stm32: add ETZPC as a system bus for STM32MP15x boards

ETZPC is a firewall controller. Put all peripherals filtered by the
ETZPC as ETZPC subnodes and keep the "simple-bus" compatible for
backward compatibility.

Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
5 months agoarm64: dts: st: add RIFSC as an access controller for STM32MP25x boards
Gatien Chevallier [Fri, 5 Jan 2024 13:03:59 +0000 (14:03 +0100)]
arm64: dts: st: add RIFSC as an access controller for STM32MP25x boards

RIFSC is a firewall controller. Add "st,stm32mp25-rifsc" compatible and
reference RIFSC as an access-control-provider. Keep "simple-bus"
compatible backward compatibility.

Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
5 months agoarm64: dts: rockchip: add dual-role usb3 hosts to rk3588 Tiger-Haikou
Heiko Stuebner [Mon, 22 Apr 2024 16:39:51 +0000 (18:39 +0200)]
arm64: dts: rockchip: add dual-role usb3 hosts to rk3588 Tiger-Haikou

Apart from the host-only usb3 controller (host2) the rk3588 also provides
two dual-role controllers. On the Tiger-Haikou combination these are
connected to the lower usb3-host port in host-only mode and the micro-usb3
port for dual-role operation.

Add the necessary controllers, phys to the Tiger-Haikou board and enable
the usb-id extcon.

Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Link: https://lore.kernel.org/r/20240422163951.2604273-4-heiko@sntech.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agoarm64: dts: rockchip: add usb-id extcon on rk3588 tiger
Heiko Stuebner [Mon, 22 Apr 2024 16:39:50 +0000 (18:39 +0200)]
arm64: dts: rockchip: add usb-id extcon on rk3588 tiger

The Q7 standard specifies a usb-id pin on the connector to distiuish
between host and device mode. Model this via the usb-id extcon binding.

While the pin is part of the Q7 standard, so part of the module, the
extcon stays disabled in the som dtsi and will only be enabled in a
baseboard using it.

Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Link: https://lore.kernel.org/r/20240422163951.2604273-3-heiko@sntech.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agoarm64: dts: rockchip: fix comment for upper usb3 port
Heiko Stuebner [Mon, 22 Apr 2024 16:39:49 +0000 (18:39 +0200)]
arm64: dts: rockchip: fix comment for upper usb3 port

The comment for the host2_xhci points to the wrong port on the board.
The upper usb3 port is the correct one, so fix the comment to prevent
confusion.

Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Link: https://lore.kernel.org/r/20240422163951.2604273-2-heiko@sntech.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agoarm64: dts: rockchip: fix pcie-refclk frequency on rk3588 tiger
Heiko Stuebner [Tue, 23 Apr 2024 11:46:35 +0000 (13:46 +0200)]
arm64: dts: rockchip: fix pcie-refclk frequency on rk3588 tiger

The clock-generator of course only produces a 100MHz clock rate,
not 1GHz.

Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Link: https://lore.kernel.org/r/20240423114635.2637310-1-heiko@sntech.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agoarm64: dts: rockchip: correct gpio_pwrctrl1 typos on rk3588(s) boards
Jing Luo [Sat, 20 Apr 2024 13:03:55 +0000 (22:03 +0900)]
arm64: dts: rockchip: correct gpio_pwrctrl1 typos on rk3588(s) boards

gpio_pwrctrl2 gets duplicated by both rk806_dvs1_null and rk806_dvs2_null
gpio_pwrctrl1 is unset. This typo appears in multiple files. Let's fix them.

Note: I haven't had the chance to test them all because I don't own all
of these boards (obviously). Please test if it's needed.

Signed-off-by: Jing Luo <jing@jing.rocks>
Link: https://lore.kernel.org/r/20240420130355.639406-1-jing@jing.rocks
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agoarm64: dts: rockchip: Correct the model names for Pine64 boards
Dragan Simic [Tue, 23 Apr 2024 00:43:44 +0000 (02:43 +0200)]
arm64: dts: rockchip: Correct the model names for Pine64 boards

Correct the model names of a few Pine64 boards and devices, according
to their official names used on the Pine64 wiki.  This ensures consistency
between the officially used names and the names in the source code.

Cc: Marek Kraus <gamiee@pine64.org>
Signed-off-by: Dragan Simic <dsimic@manjaro.org>
Link: https://lore.kernel.org/r/06ce014a1dedff11a785fe523056b3b8ffdf21ee.1713832790.git.dsimic@manjaro.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agodt-bindings: arm: rockchip: Correct the descriptions for Pine64 boards
Dragan Simic [Tue, 23 Apr 2024 00:43:43 +0000 (02:43 +0200)]
dt-bindings: arm: rockchip: Correct the descriptions for Pine64 boards

Correct the descriptions of a few Pine64 boards and devices, according
to their official names used on the Pine64 wiki.  This ensures consistency
between the officially used names and the names in the source code.

Cc: Marek Kraus <gamiee@pine64.org>
Signed-off-by: Dragan Simic <dsimic@manjaro.org>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/ec124dab2b1a8776aa39177ecce34babca3a50e2.1713832790.git.dsimic@manjaro.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agoarm64: dts: rockchip: Add ArmSom Sige7 board
Jianfeng Liu [Sat, 20 Apr 2024 03:43:00 +0000 (11:43 +0800)]
arm64: dts: rockchip: Add ArmSom Sige7 board

Specification:
        Rockchip Rk3588 SoC
        4x ARM Cortex-A76, 4x ARM Cortex-A55
        8/16/32GB Memory LPDDR4/LPDDR4x
        Mali G610MP4 GPU
        2× MIPI-CSI Connector
        1× MIPI-DSI Connector
        1x M.2 Key M (PCIe 3.0 4-lanes)
        2x RTL8125 2.5G Ethernet
        Onboard AP6275P for WIFI6/BT5
        32GB/64GB/128GB eMMC
        MicroSD card slot
        1x USB2.0, 1x USB3.0 Type-A, 1x US3.0 Type-C
        1x HDMI Output, 1x type-C DP Output

Functions work normally:
        USB2.0 Host
        USB3.0 Type-A Host
        M.2 Key M (PCIe 3.0 4-lanes)
        2x RTL8125 2.5G Ethernet
        eMMC
        MicroSD card

More information can be obtained from the following website
        https://docs.armsom.org/armsom-sige7

Signed-off-by: Jianfeng Liu <liujianfeng1994@gmail.com>
Reviewed-by: Weizhao Ouyang <weizhao.ouyang@arm.com>
Link: https://lore.kernel.org/r/20240420034300.176920-4-liujianfeng1994@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agodt-bindings: arm: rockchip: Add ArmSoM Sige7
Jianfeng Liu [Sat, 20 Apr 2024 03:42:59 +0000 (11:42 +0800)]
dt-bindings: arm: rockchip: Add ArmSoM Sige7

Add devicetree binding for ArmSoM Sige7 board

Signed-off-by: Jianfeng Liu <liujianfeng1994@gmail.com>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Weizhao Ouyang <weizhao.ouyang@arm.com>
Link: https://lore.kernel.org/r/20240420034300.176920-3-liujianfeng1994@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agodt-bindings: vendor-prefixes: add ArmSoM
Jianfeng Liu [Sat, 20 Apr 2024 03:42:58 +0000 (11:42 +0800)]
dt-bindings: vendor-prefixes: add ArmSoM

Add vendor prefix for ArmSoM (https://www.armsom.org)

Signed-off-by: Jianfeng Liu <liujianfeng1994@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Weizhao Ouyang <weizhao.ouyang@arm.com>
Link: https://lore.kernel.org/r/20240420034300.176920-2-liujianfeng1994@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agoarm64: dts: rockchip: add PCIe3 support on rk3588-jaguar
Heiko Stuebner [Tue, 23 Apr 2024 07:49:56 +0000 (09:49 +0200)]
arm64: dts: rockchip: add PCIe3 support on rk3588-jaguar

The Jaguar SBC provides an M.2 slot connected to the pcie3 controller.
In contrast to a number of other boards the pcie-refclk is gpio-controlled,
so the necessary clock and is added to the list of pcie3 clocks.

Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Link: https://lore.kernel.org/r/20240423074956.2622318-1-heiko@sntech.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agoarm64: dts: rockchip: move uart2 pinmux to dtsi on rk3588-tiger
Heiko Stuebner [Mon, 22 Apr 2024 14:33:56 +0000 (16:33 +0200)]
arm64: dts: rockchip: move uart2 pinmux to dtsi on rk3588-tiger

The association of uart2 to the q7-uart pins is part of the module
itself and not the baseboard used. Therefore move the pinctrl over
to the tiger dtsi.

Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Link: https://lore.kernel.org/r/20240422143356.2596414-1-heiko@sntech.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agoarm64: dts: rockchip: Add USB-C Support for rk3588s-indiedroid-nova
Chris Morgan [Thu, 18 Apr 2024 17:36:27 +0000 (12:36 -0500)]
arm64: dts: rockchip: Add USB-C Support for rk3588s-indiedroid-nova

Add support for the USB-C port on the Indiedroid Nova board. This
port supports USB-C DP Alt mode (not implemented yet in drivers),
but works as a USB XHCI/EHCI/OHCI port.

Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Link: https://lore.kernel.org/r/20240418173627.1368494-1-macroalpha82@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agoarm64: dts: rockchip: correct the model name for Radxa ROCK 3A
Chukun Pan [Fri, 19 Apr 2024 10:30:19 +0000 (18:30 +0800)]
arm64: dts: rockchip: correct the model name for Radxa ROCK 3A

According to https://radxa.com/products/rock3/3a,
the name of this board should be "Radxa ROCK 3A".

Suggested-by: FUKAUMI Naoki <naoki@radxa.com>
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
Link: https://lore.kernel.org/r/20240419103019.992586-3-amadeus@jmu.edu.cn
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agodt-bindings: arm: rockchip: correct the model name for Radxa ROCK 3A
Chukun Pan [Fri, 19 Apr 2024 10:30:18 +0000 (18:30 +0800)]
dt-bindings: arm: rockchip: correct the model name for Radxa ROCK 3A

According to https://radxa.com/products/rock3/3a,
the name of this board should be "Radxa ROCK 3A".

Suggested-by: FUKAUMI Naoki <naoki@radxa.com>
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20240419103019.992586-2-amadeus@jmu.edu.cn
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agoarm64: dts: rockchip: Correct the model names for Radxa ROCK 5 boards
Dragan Simic [Thu, 18 Apr 2024 16:26:20 +0000 (18:26 +0200)]
arm64: dts: rockchip: Correct the model names for Radxa ROCK 5 boards

Correct the descriptions of a few Radxa boards, according to the up-to-date
documentation from Radxa and the detailed explanation from Naoki. [1]  To sum
it up, the short naming, as specified by Radxa, is preferred.

[1] https://lore.kernel.org/linux-rockchip/B26C732A4DCEA9B3+282b8775-601b-4d4a-a513-4924b7940076@radxa.com/

Suggested-by: FUKAUMI Naoki <naoki@radxa.com>
Signed-off-by: Dragan Simic <dsimic@manjaro.org>
Link: https://lore.kernel.org/r/6931289a252dc2d6c7bfd2388835c5e98ba0d8c9.1713457260.git.dsimic@manjaro.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agodt-bindings: arm: rockchip: Correct the descriptions for Radxa boards
Dragan Simic [Thu, 18 Apr 2024 16:26:19 +0000 (18:26 +0200)]
dt-bindings: arm: rockchip: Correct the descriptions for Radxa boards

Correct the descriptions of a few Radxa boards, according to the up-to-date
documentation from Radxa and the detailed explanation from Naoki. [1]  To sum
it up, the short naming, as specified by Radxa, is preferred.

[1] https://lore.kernel.org/linux-rockchip/B26C732A4DCEA9B3+282b8775-601b-4d4a-a513-4924b7940076@radxa.com/

Suggested-by: FUKAUMI Naoki <naoki@radxa.com>
Signed-off-by: Dragan Simic <dsimic@manjaro.org>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/1e148d6cd4486b31b5e7f3824cf6bccf536b74c0.1713457260.git.dsimic@manjaro.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agoarm64: dts: renesas: r8a779h0: Link IOMMU consumers
Geert Uytterhoeven [Fri, 19 Apr 2024 12:10:52 +0000 (14:10 +0200)]
arm64: dts: renesas: r8a779h0: Link IOMMU consumers

Link all IOMMU consumers to the corresponding IPMMU instances.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/d22ff0526263937ddfa214cdc3ec116a359cbb27.1713526951.git.geert+renesas@glider.be
5 months agoarm64: dts: renesas: r8a779h0: Add IPMMU nodes
Thanh Le [Fri, 19 Apr 2024 12:10:51 +0000 (14:10 +0200)]
arm64: dts: renesas: r8a779h0: Add IPMMU nodes

Add device nodes for the main and cache I/O Memory Management Unit
(IPMMU) instances on the R-Car V4M (R8A779H0) SoC.

Add IPMMU main and cache nodes for R-Car R8A779H0 SoC.

Signed-off-by: Thanh Le <thanh.le.xv@renesas.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/b4701548e199ee2a72434bf73990557a63e13bd9.1713526951.git.geert+renesas@glider.be
5 months agoarm64: dts: renesas: r8a779h0: Add INTC-EX node
Geert Uytterhoeven [Tue, 16 Apr 2024 15:40:01 +0000 (17:40 +0200)]
arm64: dts: renesas: r8a779h0: Add INTC-EX node

Add the device node for the Interrupt Controller for External Devices
(INTC-EX) on the Renesas R-Car V4M (R8A779H0) SoC, which serves external
IRQ pins IRQ[0-5].

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/66aba473186df9a137e7f95393209b23a5916fd1.1713281889.git.geert+renesas@glider.be
5 months agoarm64: dts: renesas: r8a779h0: Add MSIOF nodes
Thanh Quan [Tue, 16 Apr 2024 15:29:59 +0000 (17:29 +0200)]
arm64: dts: renesas: r8a779h0: Add MSIOF nodes

Add device nodes for the Clock-Synchronized Serial Interfaces with FIFO
(MSIOF) on the Renesas R-Car V4M (R8A779H0) SoC.

Signed-off-by: Thanh Quan <thanh.quan.xn@renesas.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/62d2a1424cabda06c53541d93f6a1a5110267a71.1713280753.git.geert+renesas@glider.be
5 months agoarm64: dts: renesas: rzg3s-smarc-som: Enable eMMC by default
Lad Prabhakar [Wed, 17 Apr 2024 11:20:03 +0000 (12:20 +0100)]
arm64: dts: renesas: rzg3s-smarc-som: Enable eMMC by default

Enable eMMC by default on the RZ/G3S SMARC platform, as previously done
on RZ/G2L boards and other Renesas platforms.

The SW_CONFIG2 setting selects between the uSD0 card and eMMC. By setting
SW_CONFIG2 to SW_OFF, we select eMMC by default.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20240417112003.428348-1-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
5 months agoriscv: dts: renesas: rzfive-smarc-som: Drop deleting interrupt properties from ETH0...
Lad Prabhakar [Wed, 3 Apr 2024 20:35:03 +0000 (21:35 +0100)]
riscv: dts: renesas: rzfive-smarc-som: Drop deleting interrupt properties from ETH0/1 nodes

Now that we have enabled IRQC support for RZ/Five SoC switch to interrupt
mode for ethernet0/1 PHYs instead of polling mode.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20240403203503.634465-6-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
5 months agoarm64: dts: renesas: r9a07g043: Move interrupt-parent property to common DTSI
Lad Prabhakar [Wed, 3 Apr 2024 20:35:02 +0000 (21:35 +0100)]
arm64: dts: renesas: r9a07g043: Move interrupt-parent property to common DTSI

Now that we have added support for IRQC to both RZ/Five and RZ/G2UL SoCs
we can move the interrupt-parent for pinctrl node back to the common
shared r9a07g043.dtsi file.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20240403203503.634465-5-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
5 months agoriscv: dts: renesas: r9a07g043f: Add IRQC node to RZ/Five SoC DTSI
Lad Prabhakar [Wed, 3 Apr 2024 20:35:01 +0000 (21:35 +0100)]
riscv: dts: renesas: r9a07g043f: Add IRQC node to RZ/Five SoC DTSI

Add the IRQC node to RZ/Five (R9A07G043F) SoC DTSI.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20240403203503.634465-4-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
5 months agoarm64: dts: allwinner: Add Tanix TX1 support
Andre Przywara [Thu, 18 Apr 2024 10:49:42 +0000 (11:49 +0100)]
arm64: dts: allwinner: Add Tanix TX1 support

The Tanix TX1 is a tiny TV box with the Allwinner H313 SoC. The box
features no Ethernet or an SD card slot, which makes booting from it
somewhat interesting: Pressing the hidden FEL button and using a USB-A
to USB-A cable to upload code from a host PC is one way to run mainline.
The box features:
- Allwinner H313 SoC (4 * Arm Cortex-A53 cores)
- 1 or 2 GB DRAM
- 8 or 16 GB eMMC flash
- SCI S9082H WiFi chip
- HDMI port
- one USB 2.0 port
- 3.5mm AV port
- barrel plug 5V DC input via barrel plug

The devicetree covers most peripherals.
The eMMC did not work properly in HS200 speed mode, so this mode property
is omitted. HS-DDR seems to work fine.
The blue LED is connected to the same GPIO pin as the red LED, just
using the opposite polarity. Apparently there is no way of describing
this in DT, so the red LED is omitted.
Next to the FEL button is a hidden button, that can be pushed by using
something like a paperclip, through the ventilation vents of the case.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20240418104942.1556914-3-andre.przywara@arm.com
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
5 months agodt-bindings: arm: sunxi: document Tanix TX1 name
Andre Przywara [Thu, 18 Apr 2024 10:49:41 +0000 (11:49 +0100)]
dt-bindings: arm: sunxi: document Tanix TX1 name

The Tanix TX1 is a tiny TV box with the Allwinner H313 SoC, a lower bin
version of the Allwinner H616. It comes with no SD card slot or Ethernet
port.

Add the board/SoC compatible string pair to the list of known boards.
Since the H313 does not look different from a software point of view,
we keep the H616 compatible string.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240418104942.1556914-2-andre.przywara@arm.com
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
5 months agoarm64: dts: hisilicon: hi6220: correct tsensor unit addresses
Krzysztof Kozlowski [Tue, 2 Apr 2024 19:31:48 +0000 (21:31 +0200)]
arm64: dts: hisilicon: hi6220: correct tsensor unit addresses

Correct unit address to fix dtc W=1 warnings:

  hi6220.dtsi:855.31-862.5: Warning (simple_bus_reg): /soc/tsensor@0,f7030700: simple-bus unit address format error, expected "f7030700"

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
5 months agoarm64: dts: hisilicon: hi6220-hikey: drop unit addresses from fixed regulators
Krzysztof Kozlowski [Tue, 2 Apr 2024 19:31:47 +0000 (21:31 +0200)]
arm64: dts: hisilicon: hi6220-hikey: drop unit addresses from fixed regulators

Fixed regulators are not part of any MMIO bus, so they should not have
unit addresses.  This fixes dtc W=1 warnings:

  hi6220-hikey.dts:85.26-92.4: Warning (unit_address_vs_reg): /regulator@0: node has a unit name, but no reg or ranges property
  hi6220-hikey.dts:94.27-102.4: Warning (unit_address_vs_reg): /regulator@1: node has a unit name, but no reg or ranges property
  hi6220-hikey.dts:104.26-113.4: Warning (unit_address_vs_reg): /regulator@2: node has a unit name, but no reg or ranges property

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
5 months agoarm64: dts: hisilicon: hi6220-hikey: add missing port@0 reg
Krzysztof Kozlowski [Tue, 2 Apr 2024 19:31:46 +0000 (21:31 +0200)]
arm64: dts: hisilicon: hi6220-hikey: add missing port@0 reg

adv7533 ports should have "reg" propeties, as reported by dtc W=1
warnings:

  hi6220-hikey.dts:516.11-520.6: Warning (unit_address_vs_reg): /soc/i2c@f7102000/adv7533@39/ports/port@0: node has a unit name, but no reg or ranges property

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
5 months agoarm64: dts: hisilicon: hip07: correct unit addresses
Krzysztof Kozlowski [Tue, 2 Apr 2024 19:31:45 +0000 (21:31 +0200)]
arm64: dts: hisilicon: hip07: correct unit addresses

Correct several nodes' unit addresses to fix dtc W=1 warnings:

  arch/arm64/boot/dts/hisilicon/hip07.dtsi:1382.23-1520.5: Warning (simple_bus_reg): /soc/dsa@c7000000: simple-bus unit address format error, expected "c5000000"
  arch/arm64/boot/dts/hisilicon/hip07.dtsi:1727.29-1747.5: Warning (simple_bus_reg): /soc/pcie@a00a0000: simple-bus unit address format error, expected "af800000"
  arch/arm64/boot/dts/hisilicon/hip07.dtsi:1748.29-1788.5: Warning (simple_bus_reg): /soc/crypto@d2000000: simple-bus unit address format error, expected "d0000000"

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
5 months agoarm64: dts: hisilicon: hip07: move non-MMIO node out of soc
Krzysztof Kozlowski [Tue, 2 Apr 2024 19:31:44 +0000 (21:31 +0200)]
arm64: dts: hisilicon: hip07: move non-MMIO node out of soc

Non-MMIO devices, which are BTW not really part of the SoC, should not
be within simple-bus, as reported by dtc W=1 warning:

  hip07.dtsi:1486.20-1493.5: Warning (unit_address_vs_reg): /soc/ethernet@4: node has a unit name, but no reg or ranges property

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
5 months agoARM: dts: sun5i: Add PocketBook 614 Plus support
Denis Burkov [Mon, 15 Apr 2024 17:34:16 +0000 (22:34 +0500)]
ARM: dts: sun5i: Add PocketBook 614 Plus support

What works:

- Serial console
- mmc0, mmc2 (both microSD card slots on the board)
- All buttons (gpio and lradc based)
- Power LED
- PMIC
- RTC
- USB OTG/gadgets mode

Signed-off-by: Denis Burkov <hitechshell@mail.ru>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20240415173416.13838-2-hitechshell@mail.ru
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
5 months agodt-bindings: arm: sunxi: Add PocketBook 614 Plus
Denis Burkov [Mon, 15 Apr 2024 17:34:15 +0000 (22:34 +0500)]
dt-bindings: arm: sunxi: Add PocketBook 614 Plus

Add a new board name.

Signed-off-by: Denis Burkov <hitechshell@mail.ru>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20240415173416.13838-1-hitechshell@mail.ru
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
5 months agoarm64: dts: allwinner: h616: Fix I2C0 pins
Andre Przywara [Fri, 29 Mar 2024 10:38:25 +0000 (10:38 +0000)]
arm64: dts: allwinner: h616: Fix I2C0 pins

Currently we specify the pins for the I2C0 function as PI6 and PI7, even
though they are actually PI5 and PI6. Linux' pinctrl driver and the H616
user manual confirm this.

Fix the pin names in the pins property. None of the existing DTs in the
tree seems to use I2C0, which explains why this went unnoticed.

Fixes: 0d17c8651188 ("arm64: dts: allwinner: Add Allwinner H616 .dtsi file")
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20240329103825.25463-1-andre.przywara@arm.com
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
5 months agoarm64: dts: allwinner: a64: Run GPU at 432 MHz
Frank Oltmanns [Sun, 10 Mar 2024 13:21:15 +0000 (14:21 +0100)]
arm64: dts: allwinner: a64: Run GPU at 432 MHz

The Allwinner A64's GPU has currently three operating points. However,
the BSP runs the GPU fixed at 432 MHz. In addition, at least one of the
devices using that SoC - the pinephone - shows unstabilities (see link)
that can be circumvented by running the GPU at a fixed rate.

Therefore, remove the other two operating points from the GPU OPP table,
so that the GPU runs at a fixed rate of 432 MHz.

Link: https://gitlab.com/postmarketOS/pmaports/-/issues/805
Acked-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Frank Oltmanns <frank@oltmanns.dev>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20240310-pinephone-pll-fixes-v4-5-46fc80c83637@oltmanns.dev
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
5 months agoarm: dts: allwinner: drop underscore in node names
Krzysztof Kozlowski [Sun, 17 Mar 2024 18:41:30 +0000 (19:41 +0100)]
arm: dts: allwinner: drop underscore in node names

Underscores should not be used in node names (dtc with W=2 warns about
them), so replace them with hyphens.  Use also generic name for pwrseq
node, because generic naming is favored by Devicetree spec.  All the
clocks affected by this change use clock-output-names, so resulting
clock name should not change.  Functional impact checked with comparing
before/after DTBs with dtx_diff and fdtdump.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20240317184130.157695-4-krzysztof.kozlowski@linaro.org
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
5 months agoarm64: dts: allwinner: Orange Pi: delete node by phandle
Krzysztof Kozlowski [Sun, 17 Mar 2024 18:41:29 +0000 (19:41 +0100)]
arm64: dts: allwinner: Orange Pi: delete node by phandle

Delete node via phandle, not via full node path, to avoid easy mistakes
- if original node name changes, such deletion would be ineffective and
not reported by the dtc as error.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20240317184130.157695-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
5 months agoarm64: dts: allwinner: drop underscore in node names
Krzysztof Kozlowski [Sun, 17 Mar 2024 18:41:28 +0000 (19:41 +0100)]
arm64: dts: allwinner: drop underscore in node names

Underscores should not be used in node names (dtc with W=2 warns about
them), so replace them with hyphens.  Use also generic name for pwrseq
node, because generic naming is favored by Devicetree spec.  All the
clocks affected by this change use clock-output-names, so resulting
clock name should not change.  Functional impact checked with comparing
before/after DTBs with dtx_diff and fdtdump.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20240317184130.157695-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
5 months agoarm64: dts: allwinner: Pine H64: correctly remove reg_gmac_3v3
Krzysztof Kozlowski [Sun, 17 Mar 2024 18:41:27 +0000 (19:41 +0100)]
arm64: dts: allwinner: Pine H64: correctly remove reg_gmac_3v3

There is no "reg_gmac_3v3" device node in sun50i-h6-pine-h64.dts,
although there is "gmac-3v3" with "reg_gmac_3v3" label, so let's assume
author wanted to remove that node.  Delete node via phandle, not via
full node path, to fix this.

Fixes: f33a91175029 ("arm64: dts: allwinner: add pineh64 model B")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20240317184130.157695-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
5 months agoarm64: dts: allwinner: pinephone: add multicolor LED node
Aren Moynihan [Sun, 17 Mar 2024 00:39:29 +0000 (20:39 -0400)]
arm64: dts: allwinner: pinephone: add multicolor LED node

The red, green, and blue LEDs currently in the device tree represent a
single RGB LED on the front of the PinePhone.

Signed-off-by: Aren Moynihan <aren@peacevolution.org>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20240317004116.1473967-2-aren@peacevolution.org
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
5 months agoarm64: dts: allwinner: pinephone: Retain LEDs state in suspend
Miles Alan [Sun, 17 Mar 2024 00:39:28 +0000 (20:39 -0400)]
arm64: dts: allwinner: pinephone: Retain LEDs state in suspend

Allows user to set a LED before entering suspend to know that
the phone is still on (or could be used for notifications etc).

Signed-off-by: Miles Alan <m@milesalan.com>
Signed-off-by: Ondrej Jirman <megi@xff.cz>
Signed-off-by: Aren Moynihan <aren@peacevolution.org>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20240317004116.1473967-1-aren@peacevolution.org
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
5 months agoarm64: dts: renesas: s4sk: Fix ethernet0 alias
Geert Uytterhoeven [Tue, 9 Apr 2024 07:33:28 +0000 (09:33 +0200)]
arm64: dts: renesas: s4sk: Fix ethernet0 alias

U-Boot uses "ethernet0", not "eth0".

While at it, fix nearby whitespace errors (TAB instead of space before
equal sign).

Fixes: 93be50c7ff8e8087 ("arm64: dts: renesas: Add R-Car S4 Starter Kit support")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/2f62c29e4222387a95ebadc65ba90a0cdea9b78c.1712647914.git.geert+renesas@glider.be
5 months agoarm64: dts: hisilicon: hip06: correct unit addresses
Krzysztof Kozlowski [Tue, 2 Apr 2024 19:31:43 +0000 (21:31 +0200)]
arm64: dts: hisilicon: hip06: correct unit addresses

Correct dsa and pcie unit addresses to fix dtc W=1 warnings:

  hip06.dtsi:439.23-571.5: Warning (simple_bus_reg): /soc/dsa@c7000000: simple-bus unit address format error, expected "c5000000"

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
5 months agoarm64: dts: hisilicon: hip06: move non-MMIO node out of soc
Krzysztof Kozlowski [Tue, 2 Apr 2024 19:31:42 +0000 (21:31 +0200)]
arm64: dts: hisilicon: hip06: move non-MMIO node out of soc

Non-MMIO devices, which are BTW not really part of the SoC, should not
be within simple-bus, as reported by dtc W=1 warning:

  hip06.dtsi:377.18-381.5: Warning (simple_bus_reg): /soc/refclk: missing or empty reg/ranges property

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
5 months agoarm64: dts: hisilicon: hip05-d02: correct local-bus unit addresses
Krzysztof Kozlowski [Tue, 2 Apr 2024 19:31:41 +0000 (21:31 +0200)]
arm64: dts: hisilicon: hip05-d02: correct local-bus unit addresses

Correct local-bus children unit addresses to fix dtc W=1 warnings:

  hip05-d02.dts:57.16-76.4: Warning (simple_bus_reg): /soc/local-bus@80380000/nor-flash@0,0: simple-bus unit address format error, expected "0"
  hip05-d02.dts:78.11-81.4: Warning (simple_bus_reg): /soc/local-bus@80380000/cpld@1,0: simple-bus unit address format error, expected "100000000"

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
5 months agoarm64: dts: hisilicon: hip05: move non-MMIO node out of soc
Krzysztof Kozlowski [Tue, 2 Apr 2024 19:31:40 +0000 (21:31 +0200)]
arm64: dts: hisilicon: hip05: move non-MMIO node out of soc

Non-MMIO devices, which are BTW not really part of the SoC, should not
be within simple-bus, as reported by dtc W=1 warning:

  hip05.dtsi:301.30-305.5: Warning (simple_bus_reg): /soc/refclk200mhz: missing or empty reg/ranges property

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
5 months agoarm64: dts: rockchip: add lower USB3 port to rock-5b
Sebastian Reichel [Mon, 8 Apr 2024 22:50:37 +0000 (00:50 +0200)]
arm64: dts: rockchip: add lower USB3 port to rock-5b

Enable full support (XHCI, EHCI, OHCI) for the lower USB3 port from
Radxa Rock 5 Model B. The upper one is already supported.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20240408225109.128953-11-sebastian.reichel@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agoarm64: dts: rockchip: add upper USB3 port to rock-5a
Sebastian Reichel [Mon, 8 Apr 2024 22:50:36 +0000 (00:50 +0200)]
arm64: dts: rockchip: add upper USB3 port to rock-5a

Enable full support (XHCI, EHCI, OHCI) for the upper USB3 port from
Radxa Rock 5 Model A. The lower one is already supported.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20240408225109.128953-10-sebastian.reichel@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agoarm64: dts: rockchip: add USB3 to rk3588-evb1
Sebastian Reichel [Mon, 8 Apr 2024 22:50:35 +0000 (00:50 +0200)]
arm64: dts: rockchip: add USB3 to rk3588-evb1

Add support for the board's USB3 connectors. It has 1x USB Type-A
and 1x USB Type-C.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20240408225109.128953-9-sebastian.reichel@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agoarm64: dts: rockchip: add USB3 DRD controllers on rk3588
Sebastian Reichel [Mon, 8 Apr 2024 22:50:34 +0000 (00:50 +0200)]
arm64: dts: rockchip: add USB3 DRD controllers on rk3588

Add both USB3 dual-role controllers to the RK3588 devicetree.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20240408225109.128953-8-sebastian.reichel@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agoarm64: dts: rockchip: add USBDP phys on rk3588
Sebastian Reichel [Mon, 8 Apr 2024 22:50:33 +0000 (00:50 +0200)]
arm64: dts: rockchip: add USBDP phys on rk3588

Add both USB3-DisplayPort PHYs to RK3588 SoC DT.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20240408225109.128953-7-sebastian.reichel@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agoarm64: dts: rockchip: reorder usb2phy properties for rk3588
Sebastian Reichel [Mon, 8 Apr 2024 22:50:32 +0000 (00:50 +0200)]
arm64: dts: rockchip: reorder usb2phy properties for rk3588

Reorder common DT properties alphabetically for usb2phy, according
to latest DT style rules.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20240408225109.128953-6-sebastian.reichel@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agoarm64: dts: rockchip: fix usb2phy nodename for rk3588
Sebastian Reichel [Mon, 8 Apr 2024 22:50:31 +0000 (00:50 +0200)]
arm64: dts: rockchip: fix usb2phy nodename for rk3588

usb2-phy should be named usb2phy according to the DT binding,
so let's fix it up accordingly.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20240408225109.128953-5-sebastian.reichel@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agoarm64: dts: rockchip: Add RTC to Khadas Edge 2
Muhammed Efe Cetin [Mon, 19 Feb 2024 22:34:25 +0000 (01:34 +0300)]
arm64: dts: rockchip: Add RTC to Khadas Edge 2

Khadas Edge 2 has PT7C4363 RTC that compatible with HYM8563.
The RTC pinctrl is also connected to MCU.

Signed-off-by: Muhammed Efe Cetin <efectn@protonmail.com>
Link: https://lore.kernel.org/r/4c4c9140ff36f290ba64ecc8b3e218df6a5ab273.1708381247.git.efectn@protonmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agoarm64: dts: rockchip: Add UART9 (bluetooth) to Khadas Edge 2
Muhammed Efe Cetin [Mon, 19 Feb 2024 22:34:24 +0000 (01:34 +0300)]
arm64: dts: rockchip: Add UART9 (bluetooth) to Khadas Edge 2

Khadas Edge 2 has onboard AP6275P Wi-Fi6 (PCIe2) and BT5 (UART9) module.
This commit enables UART9.

Signed-off-by: Muhammed Efe Cetin <efectn@protonmail.com>
Link: https://lore.kernel.org/r/0a10afeff3aec3a8bccca2dbe4e65f7b4a2c4666.1708381247.git.efectn@protonmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agoarm64: dts: rockchip: Add SFC to Khadas Edge 2
Muhammed Efe Cetin [Mon, 19 Feb 2024 22:34:23 +0000 (01:34 +0300)]
arm64: dts: rockchip: Add SFC to Khadas Edge 2

This commit adds SPI flash support for Khadas Edge 2.

Signed-off-by: Muhammed Efe Cetin <efectn@protonmail.com>
Link: https://lore.kernel.org/r/00942603f7e61ecb2a0067bebf6795dab3571613.1708381247.git.efectn@protonmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agoarm64: dts: rockchip: Add saradc and adc buttons to Khadas Edge 2 and enable tsadc
Muhammed Efe Cetin [Mon, 19 Feb 2024 22:34:22 +0000 (01:34 +0300)]
arm64: dts: rockchip: Add saradc and adc buttons to Khadas Edge 2 and enable tsadc

This commit enables tsadc, saradc and the
function button on saradc line for Khadas Edge 2.

Signed-off-by: Muhammed Efe Cetin <efectn@protonmail.com>
Link: https://lore.kernel.org/r/03feaafefd0c13268ba1630251558749654a567d.1708381247.git.efectn@protonmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agoarm64: dts: rockchip: Add ir receiver and leds to Khadas Edge 2
Muhammed Efe Cetin [Mon, 19 Feb 2024 22:34:21 +0000 (01:34 +0300)]
arm64: dts: rockchip: Add ir receiver and leds to Khadas Edge 2

Khadas Edge 2 exposes IR receiver pins as same as TF card via EXTIO. The
IR receiver is connected to MCU and SoC.

The board also has 2 PWM RGB leds. One is controlled by MCU and the
other is controlled by SoC. This commit adds support for the led
controlled by SoC using pwm-leds.

Signed-off-by: Muhammed Efe Cetin <efectn@protonmail.com>
Link: https://lore.kernel.org/r/335629f57e593e20418a4a55a1e662505640cbde.1708381247.git.efectn@protonmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agoarm64: dts: rockchip: USB2, USB3 Host, PCIe2 to Khadas Edge 2
Muhammed Efe Cetin [Mon, 19 Feb 2024 22:34:20 +0000 (01:34 +0300)]
arm64: dts: rockchip: USB2, USB3 Host, PCIe2 to Khadas Edge 2

Khadas Edge 2 has 1x USB2 with hub, 1x USB3 Host and 1x USB-C.
This commit adds support for PCIe2, USB3 Host and USB2.

Signed-off-by: Muhammed Efe Cetin <efectn@protonmail.com>
Link: https://lore.kernel.org/r/4d22afd70e5583458f405f5170f67690584e7efa.1708381247.git.efectn@protonmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agoarm64: dts: rockchip: Add TF card to Khadas Edge 2
Muhammed Efe Cetin [Mon, 19 Feb 2024 22:34:19 +0000 (01:34 +0300)]
arm64: dts: rockchip: Add TF card to Khadas Edge 2

Add TF card support to Khadas Edge 2.
The board exposes sdmmc pins via EXTIO. TF card can be used with IO
module.

Signed-off-by: Muhammed Efe Cetin <efectn@protonmail.com>
Link: https://lore.kernel.org/r/6e9062feb40bbad304f2e5bb300601034e805081.1708381247.git.efectn@protonmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agoarm64: dts: rockchip: Add PMIC to Khadas Edge 2
Muhammed Efe Cetin [Mon, 19 Feb 2024 22:34:18 +0000 (01:34 +0300)]
arm64: dts: rockchip: Add PMIC to Khadas Edge 2

This commit adds PMIC to Khadas Edge 2 board.

Signed-off-by: Muhammed Efe Cetin <efectn@protonmail.com>
Link: https://lore.kernel.org/r/617faf64a68f5af560267d77fd23fc9fb23e6c88.1708381247.git.efectn@protonmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agoarm64: dts: rockchip: Add cpu regulators and vcc5v0_sys to Khadas Edge 2
Muhammed Efe Cetin [Mon, 19 Feb 2024 22:34:17 +0000 (01:34 +0300)]
arm64: dts: rockchip: Add cpu regulators and vcc5v0_sys to Khadas Edge 2

This commit adds 5V fixed power regulator and CPU regulators to Khadas
Edge 2.

Signed-off-by: Muhammed Efe Cetin <efectn@protonmail.com>
Link: https://lore.kernel.org/r/5a7bd2cd8703e51382abfc11242de59d45286477.1708381247.git.efectn@protonmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agoarm64: dts: rockchip: Add GameForce Chi
Chris Morgan [Mon, 25 Mar 2024 13:49:59 +0000 (08:49 -0500)]
arm64: dts: rockchip: Add GameForce Chi

Add support for the GameForce Chi, which is a handheld gaming console
from GameForce with a Rockchip RK3326 SoC. The device has a 640x480
3.5" dual-lane DSI display, one analog joystick connected to the SoC
SARADC controller and a second analog joystick connected to an unknown
UART based ADC, a single SD card slot, a single USB-C port for
charging, and onboard RTL8723BS WiFi/Bluetooth combo, multiple face
buttons, and an array of R/G/B LEDs used for key backlighting.

The vendor was unable to provide details on the unknown UART based
ADC which I have documented via a comment in the device-tree, and
the vendor also does not have available Bluetooth firmware (the BT
was not previously working on the vendor's OS, this has also been
noted in a device-tree comment).

Aside from the right analog ADC joystick and bluetooth all hardware has
been tested and is working as expected.

Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Link: https://lore.kernel.org/r/20240325134959.11807-6-macroalpha82@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
5 months agodt-bindings: arm: rockchip: Add GameForce Chi
Chris Morgan [Mon, 25 Mar 2024 13:49:58 +0000 (08:49 -0500)]
dt-bindings: arm: rockchip: Add GameForce Chi

The GameForce Chi is a handheld gaming device from GameForce powered
by the Rockchip RK3326 SoC.

Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240325134959.11807-5-macroalpha82@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>