linux-2.6-block.git
8 months agoMerge tag 'imx-dt-6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo...
Arnd Bergmann [Tue, 12 Nov 2024 21:38:03 +0000 (22:38 +0100)]
Merge tag 'imx-dt-6.13' of https://git./linux/kernel/git/shawnguo/linux into soc/dt

i.MX ARM device tree changes for 6.13:

- New device support: Kobo Clara 2E, Comvetia LXR board, i.MX6DL DHCOM
  SoM on PDK2 carrier
- A bunch of dt-schema warning fixes from Fabio Estevam
- A set of changes from Hiago De Franco to update audio card for Apalis
  and Colibri devices
- A series from Marek Vasut to improve pin config nodes according to
  bindings
- A couple of changes from Sean Nyekjaer to add DMA support i.MX6UL
  UART ports
- Other small and random changes

* tag 'imx-dt-6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: (39 commits)
  ARM: dts: imx: Add devicetree for Kobo Clara 2E
  ARM: dts: imx6sll: Improve gpc description
  ARM: dts: imx6sl: Pass tempmon #thermal-sensor-cells
  ARM: dts: imx6sx: Fix tempmon description
  ARM: dts: imx6sll: Remove regulator-3p0 unit address
  ARM: dts: imx6sll: Fix the last SPDIF clock name
  ARM: dts: imx7ulp: Remove incorrect mmc fallback compatible
  ARM: dts: imx6sl: Remove incorrect mmc fallback compatible
  ARM: dts: imx6sx: Remove incorrect mmc fallback compatible
  ARM: dts: imx6sl/sll: Add the "fsl,imx6dl-gpt" fallback
  ARM: dts: imx6ul: Drop duplicate space in iomux node groups
  ARM: dts: imx6sx: Align pin config nodes with bindings
  ARM: dts: imx6sl: imx6sll: Align pin config nodes with bindings
  ARM: dts: imx6qp: Align pin config nodes with bindings
  ARM: dts: imx6qdl: Align pin config nodes with bindings
  ARM: dts: imx6q: Align pin config nodes with bindings
  ARM: dts: imx6dl: Align pin config nodes with bindings
  ARM: dts: imx53: Align pin config nodes with bindings
  ARM: dts: imx51: Align pin config nodes with bindings
  ARM: dts: imx50: Align pin config nodes with bindings
  ...

Link: https://lore.kernel.org/r/20241104090055.1881860-4-shawnguo2@yeah.net
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
8 months agoMerge tag 'imx-bindings-6.13' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Tue, 12 Nov 2024 21:37:36 +0000 (22:37 +0100)]
Merge tag 'imx-bindings-6.13' of https://git./linux/kernel/git/shawnguo/linux into soc/dt

i.MX dt-bindings changes for 6.13:

- Add vendor prefix for ComVetia AG
- Add new board compatibles for Kobo Clara 2E, Boundary Device Nitrogen8MP,
  Comvetia LXR, Kontron i.MX8MP OSM-S, Verdin i.MX8MM/P Ivy, DH Electronics
  DHCOM, IOTA2 Lumpy, Gateworks GW82XX-2x
- A couple changes from Fabio Estevam to improve imx-anatop and imx-gpc
  bindings
- A fsl,dsp bindings update from Laurentiu Mihalcea to correct power domain
  count

* tag 'imx-bindings-6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  dt-bindings: arm: fsl: add compatible strings for Kobo Clara 2E
  dt-bindings: power: fsl,imx-gpc: Document fsl,imx6sll-gpc
  dt-bindings: soc: imx: fsl,imx-anatop: Add additional regulators
  dt-bindings: soc: imx: fsl,imx-anatop: Fix the i.MX7 irq number
  dt-bindings: arm: fsl: Add Boundary Device Nitrogen8MP Universal SMARC Carrier Board
  dt-bindings: arm: fsl: Add Gateworks GW82XX-2x dev kit
  dt-bindings: dsp: fsl,dsp: fix power domain count
  dt-bindings: arm: fsl: Document i.MX6DL DHCOM SoM on PDK2 carrier board
  dt-bindings: arm: fsl: Document DH electronics i.MX8M Plus DHCOM PicoITX
  dt-bindings: arm: fsl: Document DH i.MX8MP DHCOM SoM on DRC02 carrier board
  dt-bindings: arm: Add i.MX8MP IOTA2 Lumpy board
  dt-bindings: arm: freescale: Add verdin imx8mp ivy board
  dt-bindings: arm: freescale: Add verdin imx8mm ivy board
  dt-bindings: arm: fsl: Document the Comvetia LXR board
  dt-bindings: vendor-prefixes: Add an entry for ComVetia AG
  dt-bindings: arm: fsl: Add Kontron i.MX8MP OSM-S based boards

Link: https://lore.kernel.org/r/20241104090055.1881860-3-shawnguo2@yeah.net
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
8 months agoMerge tag 'qcom-arm32-for-6.13' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Tue, 12 Nov 2024 21:36:51 +0000 (22:36 +0100)]
Merge tag 'qcom-arm32-for-6.13' of https://git./linux/kernel/git/qcom/linux into soc/dt

Qualcomm Arm32 DeviceTree updates for v6.13

IPQ4019 flash partition scheme is moved to nvmem-layout. SDX55 and SDX65
PCIe EP controllers gain missing linux,pci-domain properties.

Stylistic improvements across a range of platforms and devices.

* tag 'qcom-arm32-for-6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux:
  ARM: dts: qcom: ipq4019: use nvmem-layout
  ARM: dts: qcom: change labels to lower-case
  ARM: dts: qcom: sdx65: Add 'linux,pci-domain' to PCIe EP controller node
  ARM: dts: qcom: sdx55: Add 'linux,pci-domain' to PCIe EP controller node
  ARM: dts: qcom: minor whitespace cleanup
  ARM: dts: qcom: drop underscore in node names

Link: https://lore.kernel.org/r/20241104034744.14378-1-andersson@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
8 months agoMerge tag 'socfpga_dts_updates_for_v6.13' of https://git.kernel.org/pub/scm/linux...
Arnd Bergmann [Tue, 12 Nov 2024 21:36:20 +0000 (22:36 +0100)]
Merge tag 'socfpga_dts_updates_for_v6.13' of https://git./linux/kernel/git/dinguyen/linux into soc/dt

SoCFPGA DTS updates for v6.13
- Fix dts warning for at24 EEPROM node names

* tag 'socfpga_dts_updates_for_v6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux:
  ARM: dts: socfpga: Fix at24 EEPROM node names

Link: https://lore.kernel.org/r/20241101190046.912598-1-dinguyen@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
8 months agoMerge tag 'zynqmp-dt-for-6.13' of https://github.com/Xilinx/linux-xlnx into soc/dt
Arnd Bergmann [Tue, 12 Nov 2024 21:35:11 +0000 (22:35 +0100)]
Merge tag 'zynqmp-dt-for-6.13' of https://github.com/Xilinx/linux-xlnx into soc/dt

arm64: ZynqMP DT changes for 6.13

- Enable AMS for all boards including HWMON
- Add thermal zones

* tag 'zynqmp-dt-for-6.13' of https://github.com/Xilinx/linux-xlnx:
  arm64: zynqmp: Add thermal zones
  arm64: zynqmp: Expose AMS to userspace as HWMON
  arm64: zynqmp: Enable AMS for all boards

Link: https://lore.kernel.org/r/CAHTX3d+x1WrXhsp6+PQbo-B3T9q21tqE1RkhVsh0r7my3vH37g@mail.gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
8 months agoMerge tag 'v6.13-armsoc/dts64-1' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Tue, 12 Nov 2024 21:32:05 +0000 (22:32 +0100)]
Merge tag 'v6.13-armsoc/dts64-1' of https://git./linux/kernel/git/mmind/linux-rockchip into soc/dt

New SoCs: basic RK3528 support, RK3399S - a variant made specifically
for the Pinephone Pro and for consistencies sake it gets its own SoC
dtsi to not hide the specifics in the Pinephone Pro devicetree.

New boards: OrangePi-5b, NanoPi R3S, ArmSom Sige 5 (first rk3576 board),
Radxa e20c (first rk3528 board), Powkiddy RGB20SX, RK3588S-EVB1 and
the ArmSoM LM7 SoM with W3 carrier board.

HDMI support for rk3588 brings the first graphical output capability
there. This includes of course needed changes to a number of boards.

And finally a bunch of newly enabled peripherals on different boards,
as well as changes to adhere better to bindings and removal/change of
deprecated properties.

* tag 'v6.13-armsoc/dts64-1' of https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: (64 commits)
  arm64: dts: rockchip: Add rk3588-orangepi-5b device tree
  dt-bindings: arm: rockchip: Add Orange Pi 5b enum to Orange Pi 5 entry
  arm64: dts: rockchip: refactor common Orange Pi 5 board
  arm64: dts: rockchip: Remove 'enable-active-low' from two boards
  arm64: dts: rockchip: add HDMI support to rk3588-jaguar
  arm64: dts: rockchip: add HDMI support to rk3588-tiger-haikou
  arm64: dts: rockchip: add HDMI pinctrl to rk3588-tiger SoM
  arm64: dts: rockchip: reorder mmc aliases for NanoPi R3S
  arm64: dts: rockchip: enable eMMC HS200 mode for NanoPi R3S
  arm64: dts: rockchip: sort props in pmu_io_domains node for NanoPi R3S
  arm64: dts: rockchip: replace deprecated snps,reset props for NanoPi R3S
  arm64: dts: rockchip: fix model name for FriendlyElec NanoPi R3S
  arm64: dts: rockchip: Enable HDMI0 on rock-5a
  arm64: dts: rockchip: Enable HDMI0 on rk3588-nanopc-t6
  arm64: dts: rockchip: pwm-leds for Orange Pi 5
  arm64: dts: rockchip: reorder audio/hdmi nodes in Orange Pi 5
  arm64: dts: rockchip: analog audio on Orange Pi 5
  arm64: dts: rockchip: Add dtsi file for RK3399S SoC variant
  arm64: dts: rockchip: Convert dts files used as parents to dtsi files
  arm64: dts: rockchip: fix the pcie refclock oscillator on Rock 5 ITX
  ...

Link: https://lore.kernel.org/r/12542111.O9o76ZdvQC@phil
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
8 months agoMerge tag 'samsung-dt64-6.13' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Tue, 12 Nov 2024 21:30:58 +0000 (22:30 +0100)]
Merge tag 'samsung-dt64-6.13' of https://git./linux/kernel/git/krzk/linux into soc/dt

Samsung DTS ARM64 changes for v6.13

1. Add new SoC Samsung Exynos8895 and new board using it: Samsung
   Galaxy S8 (SM-G950F) mobile phone.  Only small support so far:
   CPUs (Samsung Mongoose M2), main clock controllers (FSYS, PERIC,
   TOP), pin controllers, SPI for cameras, timers.

2. Add new SoC Samsung Exynos990 and new board using it: Samsung
   Galaxy Note20 5G (c1s/SM-N981B) mobile phone.  Only minimal support
   so far: CPUs (Samsung Mongoose M5), pin controllers, timers.

3. Prepare for adding new SoC Samsung Exynos9810 - add bindings.  The
   SoC DTSI was not yet ready, but it is posted on the mailing lists so
   should come soon.

4. ExynosAutov920: Add several clock controllers.

* tag 'samsung-dt64-6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  dt-bindings: arm: samsung: Document Exynos9810 and starlte board binding
  dt-bindings: soc: samsung: exynos-pmu: Add exynos9810 compatible
  dt-bindings: arm: cpus: Add Samsung Mongoose M3
  arm64: dts: exynos8895: Add spi_0/1 nodes
  arm64: dts: exynos8895: Add Multi Core Timer (MCT) node
  arm64: dts: exynos8895: Add clock management unit nodes
  dt-bindings: timer: exynos4210-mct: Add samsung,exynos8895-mct compatible
  dt-bindings: clock: samsung: Add Exynos8895 SoC
  arm64: dts: exynos: Add initial support for Samsung Galaxy Note20 5G (c1s)
  arm64: dts: exynos: Add initial support for the Exynos 990 SoC
  dt-bindings: arm: samsung: samsung-boards: Add bindings for Exynos 990 boards
  dt-bindings: arm: cpus: Add Samsung Mongoose M5
  arm64: dts: exynosautov920: add peric1, misc and hsi0/1 clock DT nodes
  dt-bindings: clock: exynosautov920: add peric1, misc and hsi0/1 clock definitions
  arm64: dts: exynos: Add initial support for Samsung Galaxy S8
  arm64: dts: exynos: Add initial support for exynos8895 SoC
  dt-bindings: soc: samsung: exynos-pmu: Add exynos8895 compatible
  dt-bindings: arm: samsung: Document dreamlte board binding
  dt-bindings: arm: cpus: Add Samsung Mongoose M2

Link: https://lore.kernel.org/r/20241029081002.21106-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
8 months agoMerge tag 'tegra-for-6.13-arm64-dt' of https://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Tue, 12 Nov 2024 21:29:28 +0000 (22:29 +0100)]
Merge tag 'tegra-for-6.13-arm64-dt' of https://git./linux/kernel/git/tegra/linux into soc/dt

arm64: tegra: Device tree changes for v6.13-rc1

Changes in this batch add an device tree file for the industrial module
version of the Jetson AGX Orin Developer Kit. There are also some fixes
for the Jetson TX1 and new features such as touchscreen, temperature
sensor and USB-C extcon support for Smaug (a.k.a. Pixel C).

* tag 'tegra-for-6.13-arm64-dt' of https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  arm64: tegra: smaug: Declare cros-ec extcon
  arm64: tegra: Add SDMMC sdr104-offsets for Tegra X1
  arm64: dts: nvidia: tegra210-smaug: Add TMP451 temperature sensor node
  arm64: dts: nvidia: tegra210-smaug: Add touchscreen node
  arm64: tegra: p2180: Add mandatory compatible for WiFi node
  arm64: tegra: Create SKU8 AGX Orin board file

Link: https://lore.kernel.org/r/20241025150555.2558582-3-thierry.reding@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
8 months agoMerge tag 'tegra-for-6.13-dt-bindings' of https://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Tue, 12 Nov 2024 21:28:45 +0000 (22:28 +0100)]
Merge tag 'tegra-for-6.13-dt-bindings' of https://git./linux/kernel/git/tegra/linux into soc/dt

dt-bindings: Changes for v6.13-rc1

This adds documentation for the AGX Orin industrial module.

* tag 'tegra-for-6.13-dt-bindings' of https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  dt-bindings: arm: Tegra234 Industrial Module

Link: https://lore.kernel.org/r/20241025150555.2558582-2-thierry.reding@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
8 months agoMerge tag 'ux500-dts-for-v6.13' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Tue, 12 Nov 2024 21:28:08 +0000 (22:28 +0100)]
Merge tag 'ux500-dts-for-v6.13' of https://git./linux/kernel/git/linusw/linux-nomadik into soc/dt

Ux500 DTS file updates for the v6.13 kernel cycle:
- Add touchkeys to the Samsung Codina variants
- Re-work the Codina device tree for eMMC

* tag 'ux500-dts-for-v6.13' of https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik:
  ARM: dts: Reconfigure the MC2 eMMC interface
  ARM: dts: ux500: Add touchkeys to Codinas

Link: https://lore.kernel.org/r/CACRpkda5rix2JLYpexXTeGqKBcHeWxZx7A49jYCCmDPU7CFLSA@mail.gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
8 months agoMerge tag 'renesas-dts-for-v6.13-tag1' of https://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Tue, 12 Nov 2024 21:27:33 +0000 (22:27 +0100)]
Merge tag 'renesas-dts-for-v6.13-tag1' of https://git./linux/kernel/git/geert/renesas-devel into soc/dt

Renesas DTS updates for v6.13

  - Add support for PCIe on the R-Car V4M SoC and the Gray Hawk
    development board,
  - Add support for watchdog, OS timer, keyboard switch, SDHI, and MMCIF
    on the Genmai development board,
  - Add support for watchdog on the RSK+RZA1 development board,
  - Add support for QSPI NOR FLASH on the RZ/G2UL SMARC SoM,
  - Add support for E-FUSE on the R-Car V3U, S4-8, V4H, and V4M SoCs,
  - Use interrupts-extended where it makes sense,
  - Miscellaneous fixes and improvements.

* tag 'renesas-dts-for-v6.13-tag1' of https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel: (53 commits)
  arm64: dts: renesas: rzg3s-smarc: Use interrupts-extended for gpio-keys
  arm64: dts: renesas: beacon-renesom: Use interrupts-extended for touchscreen
  arm64: dts: renesas: Use interrupts-extended for WLAN
  arm64: dts: renesas: Use interrupts-extended for video decoders
  arm64: dts: renesas: Use interrupts-extended for USB muxes
  arm64: dts: renesas: Use interrupts-extended for PMICs
  arm64: dts: renesas: Use interrupts-extended for I/O expanders
  arm64: dts: renesas: Use interrupts-extended for HDMI bridges
  arm64: dts: renesas: Use interrupts-extended for Ethernet PHYs
  arm64: dts: renesas: Use interrupts-extended for DisplayPort bridges
  ARM: dts: renesas: kzm9g: Use interrupts-extended for sensors
  ARM: dts: renesas: kzm9g: Use interrupts-extended for I/O expander
  ARM: dts: renesas: r8a7742-iwg21m: Use interrupts-extended for RTC
  ARM: dts: renesas: iwg22d-sodimm: Use interrupts-extended for port expander
  ARM: dts: renesas: Use interrupts-extended for video decoders
  ARM: dts: renesas: Use interrupts-extended for touchpanels
  ARM: dts: renesas: Use interrupts-extended for PMICs
  ARM: dts: renesas: Use interrupts-extended for HDMI bridges
  ARM: dts: renesas: Use interrupts-extended for Ethernet PHYs
  ARM: dts: renesas: Use interrupts-extended for Ethernet MACs
  ...

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
8 months agoMerge tag 'thead-dt-for-v6.13-p2' of https://github.com/pdp7/linux into soc/dt
Arnd Bergmann [Tue, 12 Nov 2024 21:26:17 +0000 (22:26 +0100)]
Merge tag 'thead-dt-for-v6.13-p2' of https://github.com/pdp7/linux into soc/dt

T-HEAD Devicetrees for v6.13, part 2

Add gmac, mdio, and phy nodes to enable the gigabit Ethernet ports on
the TH1520 SoC-based BeagleV Ahead and Sipeed Lichee Pi 4a boards.

The dwmac-thead driver and dt binding have been accepted by netdev and
are in linux-next as well as the dts patch in this pull request. I have
tested next-20241108 on the Ahead and LPi4a boards, and Ethernet works
correctly.

Signed-off-by: Drew Fustini <drew@pdp7.com>
* tag 'thead-dt-for-v6.13-p2' of https://github.com/pdp7/linux:
  riscv: dts: thead: Add TH1520 ethernet nodes

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
8 months agoMerge tag 'thead-dt-for-v6.13' of https://github.com/pdp7/linux into soc/dt
Arnd Bergmann [Tue, 12 Nov 2024 21:25:27 +0000 (22:25 +0100)]
Merge tag 'thead-dt-for-v6.13' of https://github.com/pdp7/linux into soc/dt

T-HEAD Devicetrees for v6.13

Add nodes for pin controllers on the T-Head TH1520 RISC-V SoC. The
yaml binding and pinctrl-th1520 driver has been merged into next by
Linus W and will be included in the 6.13 pinctrl PR.

The TH1520 GPIO controllers are already supported by the gpio-dwapb
driver. This PR improves GPIO support by adding GPIO ranges and GPIO
line names for the BeagleV Ahead and LicheePi 4A boards. Support is
added for the built-in LEDs on the Ahead board.

Signed-off-by: Drew Fustini <drew@pdp7.com>
* tag 'thead-dt-for-v6.13' of https://github.com/pdp7/linux:
  riscv: dts: thead: remove enabled property for spi0
  riscv: dts: thead: Add missing GPIO clock-names
  riscv: dtb: thead: Add BeagleV Ahead LEDs
  riscv: dts: thead: Add TH1520 pinctrl settings for UART0
  riscv: dts: thead: Add Lichee Pi 4M GPIO line names
  riscv: dts: thead: Adjust TH1520 GPIO labels
  riscv: dts: thead: Add TH1520 GPIO ranges
  riscv: dts: thead: Add TH1520 pin control nodes

8 months agoriscv: dts: thead: Add TH1520 ethernet nodes
Emil Renner Berthing [Mon, 21 Oct 2024 02:36:02 +0000 (19:36 -0700)]
riscv: dts: thead: Add TH1520 ethernet nodes

Add gmac, mdio, and phy nodes to enable the gigabit Ethernet ports on
the BeagleV Ahead and Sipeed Lichee Pi 4a boards.

Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
[drew: change apb registers from syscon to second reg of gmac node,
       add phy reset delay properties for beaglev ahead]
Signed-off-by: Drew Fustini <dfustini@tenstorrent.com>
8 months agoARM: dts: imx: Add devicetree for Kobo Clara 2E
Andreas Kemnade [Sun, 3 Nov 2024 13:52:00 +0000 (14:52 +0100)]
ARM: dts: imx: Add devicetree for Kobo Clara 2E

Adds a devicetree for the Kobo Clara 2E Ebook reader. It is based
on boards marked with "37NB-E60K2M+4A2" or "37NB-E60K2M+4B0". It is
equipped with an i.MX6SLL SoC.

Expected to work:
  - Buttons
  - Wifi
  - Bluetooth
    (if Wifi is initialized first, driver does not handle regulators
     yet)
  - LED
  - uSD
  - USB
  - RTC
  - Touchscreen

Add human-readable comments for devices without mainlined driver and
binding. Such comments can e.g. be help to find testers if someone
starts to work on the missing drivers.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
8 months agodt-bindings: arm: fsl: add compatible strings for Kobo Clara 2E
Andreas Kemnade [Sun, 3 Nov 2024 13:51:59 +0000 (14:51 +0100)]
dt-bindings: arm: fsl: add compatible strings for Kobo Clara 2E

Adds compatible strings for the Kobo Clara 2E eBook reader.
There are two variants differing in the EPD PMIC used.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
8 months agoARM: dts: imx6sll: Improve gpc description
Fabio Estevam [Mon, 28 Oct 2024 12:45:45 +0000 (09:45 -0300)]
ARM: dts: imx6sll: Improve gpc description

According to fsl,imx-gpc.yaml, 'clocks', 'clock-names', and 'pgc'
are required properties.

Describe them to fix the following dt-schema warnings:

interrupt-controller@20dc000: 'clocks' is a required property
interrupt-controller@20dc000: 'clock-names' is a required property
interrupt-controller@20dc000: 'pgc' is a required property

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
8 months agodt-bindings: power: fsl,imx-gpc: Document fsl,imx6sll-gpc
Fabio Estevam [Mon, 28 Oct 2024 12:45:18 +0000 (09:45 -0300)]
dt-bindings: power: fsl,imx-gpc: Document fsl,imx6sll-gpc

Document the existing fsl,imx6sll-gpc compatible used with fsl,imx6q-gpc
fallback.

This fixes the following dt-schema warning:

['fsl,imx6sll-gpc', 'fsl,imx6q-gpc'] is too long

Signed-off-by: Fabio Estevam <festevam@denx.de>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
8 months agoARM: dts: imx6sl: Pass tempmon #thermal-sensor-cells
Fabio Estevam [Fri, 25 Oct 2024 01:08:55 +0000 (22:08 -0300)]
ARM: dts: imx6sl: Pass tempmon #thermal-sensor-cells

According to fsl,imx-anatop.yaml, #thermal-sensor-cells is a required
property.

Add it to fix the following dt-schema warning:

tempmon: '#thermal-sensor-cells' is a required property

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
8 months agoARM: dts: imx6sx: Fix tempmon description
Fabio Estevam [Fri, 25 Oct 2024 01:08:54 +0000 (22:08 -0300)]
ARM: dts: imx6sx: Fix tempmon description

According to imx-thermal.yaml, the valid compatible string
for i.MX6SX is just: compatible = "fsl,imx6sx-tempmon".

Also pass #thermal-sensor-cells = <0> as it is a required property.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
8 months agoARM: dts: imx6sll: Remove regulator-3p0 unit address
Fabio Estevam [Fri, 25 Oct 2024 01:08:53 +0000 (22:08 -0300)]
ARM: dts: imx6sll: Remove regulator-3p0 unit address

According to imx-thermal.yaml, the anatop regulators should not
contain unit-address/reg entries.

Change it accordingly.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
8 months agodt-bindings: soc: imx: fsl,imx-anatop: Add additional regulators
Fabio Estevam [Fri, 25 Oct 2024 00:41:59 +0000 (21:41 -0300)]
dt-bindings: soc: imx: fsl,imx-anatop: Add additional regulators

i.MX7 has the following anatop regulators: vdd1p0d and vdd1p2.

i.MX6SX has the following anatop regulators: vddpcie.

Add them to the allowed patternProperties.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
8 months agodt-bindings: soc: imx: fsl,imx-anatop: Fix the i.MX7 irq number
Fabio Estevam [Fri, 25 Oct 2024 00:41:58 +0000 (21:41 -0300)]
dt-bindings: soc: imx: fsl,imx-anatop: Fix the i.MX7 irq number

Unlike the other i.MX devices, i.MX7 has only two anatop interrupts.

Add logic that contemplates such case to fix the following
dt-schema warning:

anatop@30360000: interrupts: [[0, 49, 4], [0, 51, 4]] is too short

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
8 months agoARM: dts: imx6sll: Fix the last SPDIF clock name
Fabio Estevam [Thu, 24 Oct 2024 18:14:09 +0000 (15:14 -0300)]
ARM: dts: imx6sll: Fix the last SPDIF clock name

The last SPDIF clock is IMX6SLL_CLK_SPBA, so change the last
clock-name entry to 'spba' as expected by fsl,spdif.yaml.

This fixes the following dt-schema warning:

spdif@2004000: clock-names:9: 'spba' was expected

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
8 months agoARM: dts: imx7ulp: Remove incorrect mmc fallback compatible
Fabio Estevam [Wed, 23 Oct 2024 19:26:38 +0000 (16:26 -0300)]
ARM: dts: imx7ulp: Remove incorrect mmc fallback compatible

Per fsl-imx-esdhc.yaml, the correct compatible string for i.MX7ULP is:

compatible = "fsl,imx7ulp-usdhc"

Remove the undocumented "fsl,imx6sx-usdhc" fallback compatible.

This fixes the following dt-schema warnings:

mmc@2198000: compatible: 'oneOf' conditional failed, one must be fixed:
['fsl,imx6sl-usdhc', 'fsl,imx6q-usdhc'] is too long
['fsl,imx6sl-usdhc', 'fsl,imx6q-usdhc'] is too short
'fsl,imx50-esdhc' was expected
...

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
8 months agoARM: dts: imx6sl: Remove incorrect mmc fallback compatible
Fabio Estevam [Wed, 23 Oct 2024 19:26:37 +0000 (16:26 -0300)]
ARM: dts: imx6sl: Remove incorrect mmc fallback compatible

Per fsl-imx-esdhc.yaml, the correct compatible string for i.MX6SL is:

compatible = "fsl,imx6sl-usdhc"

Remove the undocumented "fsl,imx6q-usdhc" fallback compatible.

This fixes the following dt-schema warnings:

mmc@2190000: compatible: 'oneOf' conditional failed, one must be fixed:
['fsl,imx6sl-usdhc', 'fsl,imx6q-usdhc'] is too long
['fsl,imx6sl-usdhc', 'fsl,imx6q-usdhc'] is too short
'fsl,imx50-esdhc' was expected
...

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
8 months agoARM: dts: imx6sx: Remove incorrect mmc fallback compatible
Fabio Estevam [Wed, 23 Oct 2024 19:26:36 +0000 (16:26 -0300)]
ARM: dts: imx6sx: Remove incorrect mmc fallback compatible

Per fsl-imx-esdhc.yaml, the correct compatible string for i.MX6SX is:

compatible = "fsl,imx6sx-usdhc"

Remove the undocumented "fsl,imx6sl-usdhc" fallback compatible.

This fixes the following dt-schema warnings:

mmc@2198000: compatible: 'oneOf' conditional failed, one must be fixed:
['fsl,imx6sl-usdhc', 'fsl,imx6q-usdhc'] is too long
['fsl,imx6sl-usdhc', 'fsl,imx6q-usdhc'] is too short
'fsl,imx50-esdhc' was expected
...

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
8 months agoARM: dts: imx6sl/sll: Add the "fsl,imx6dl-gpt" fallback
Fabio Estevam [Wed, 23 Oct 2024 19:00:02 +0000 (16:00 -0300)]
ARM: dts: imx6sl/sll: Add the "fsl,imx6dl-gpt" fallback

Per fsl,imxgpt.yaml, the i.MX6SL GPT compatible should be described as:

compatible = "fsl,imx6sl-gpt", "fsl,imx6dl-gpt";

Do as suggested to fix the following dt-schema warnings:

timer@2098000: compatible: 'oneOf' conditional failed, one must be fixed:
['fsl,imx6sl-gpt'] is too short
'fsl,imx1-gpt' was expected
'fsl,imx21-gpt' was expected
'fsl,imx27-gpt' was expected
'fsl,imx31-gpt' was expected
'fsl,imx6sl-gpt' is not one of ['fsl,imx25-gpt', 'fsl,imx50-gpt', 'fsl,imx51-gpt', 'fsl,imx53-gpt', 'fsl,imx6q-gpt']
'fsl,imx6dl-gpt' was expected
'fsl,imx6sl-gpt' is not one of ['fsl,imx6ul-gpt', 'fsl,imx7d-gpt']

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
8 months agodt-bindings: arm: fsl: Add Boundary Device Nitrogen8MP Universal SMARC Carrier Board
Bhavin Sharma [Wed, 23 Oct 2024 09:11:15 +0000 (14:41 +0530)]
dt-bindings: arm: fsl: Add Boundary Device Nitrogen8MP Universal SMARC Carrier Board

Adds support for the Nitrogen8MP SMARC System on Module and
the Nitrogen8MP Universal SMARC Carrier Board.

Signed-off-by: Bhavin Sharma <bhavin.sharma@siliconsignals.io>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
8 months agodt-bindings: arm: fsl: Add Gateworks GW82XX-2x dev kit
Tim Harvey [Tue, 22 Oct 2024 15:30:30 +0000 (08:30 -0700)]
dt-bindings: arm: fsl: Add Gateworks GW82XX-2x dev kit

Adds support for the Gateworks GW82XX-2X development kit
based on a GW82XX baseboard and a GW702X System On Module.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
8 months agodt-bindings: dsp: fsl,dsp: fix power domain count
Laurentiu Mihalcea [Mon, 21 Oct 2024 15:52:16 +0000 (11:52 -0400)]
dt-bindings: dsp: fsl,dsp: fix power domain count

Per the current binding, QM/QXP DSPs are supposed to have 4
power domains, while the rest just 1. For QM/QXP, the 4 power
domains are: DSP, DSP_RAM, MU13A, MU13B.

First off, drop MU13A from the count as its already attached
to lsio_mu13. This decreases the count to 3.

Secondly, drop DSP and DSP_RAM from the count for QXP. These
are already attached to the DSP's LPCGs.

Thirdly, a new power domain is required for DSP-SCU communication
(MU2A). With this in mind, the number of required power domains
for QXP is 2 (MU2A, MU13B), while for QM it's 4 (MU13B, DSP,
DSP_RAM, MU2A).

Update the fsl,dsp binding to reflect all of this information.
Since the arm,mhuv2 binding has an example node using the
fsl,imx8qxp-dsp compatible, remove two of the extra PDs to
align with the required power domain count.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
8 months agoARM: dts: imx6ul: Drop duplicate space in iomux node groups
Marek Vasut [Thu, 17 Oct 2024 21:11:29 +0000 (23:11 +0200)]
ARM: dts: imx6ul: Drop duplicate space in iomux node groups

Drop space between node name and opening brace {.
No functional change.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
8 months agoARM: dts: imx6sx: Align pin config nodes with bindings
Marek Vasut [Thu, 17 Oct 2024 21:11:28 +0000 (23:11 +0200)]
ARM: dts: imx6sx: Align pin config nodes with bindings

Bindings expect pin configuration nodes in pinctrl to match certain
naming and not be part of another fake node:

pinctrl@30330000: '...' does not match any of the regexes: 'grp$', 'pinctrl-[0-9]+'

Drop the wrapping node and adjust the names to have "grp" prefix.
Diff looks big but this should have no functional impact, use e.g.
git show -w to view the diff.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
8 months agoARM: dts: imx6sl: imx6sll: Align pin config nodes with bindings
Marek Vasut [Thu, 17 Oct 2024 21:11:27 +0000 (23:11 +0200)]
ARM: dts: imx6sl: imx6sll: Align pin config nodes with bindings

Bindings expect pin configuration nodes in pinctrl to match certain
naming and not be part of another fake node:

pinctrl@30330000: '...' does not match any of the regexes: 'grp$', 'pinctrl-[0-9]+'

Drop the wrapping node and adjust the names to have "grp" prefix.
Diff looks big but this should have no functional impact, use e.g.
git show -w to view the diff.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
8 months agoARM: dts: imx6qp: Align pin config nodes with bindings
Marek Vasut [Thu, 17 Oct 2024 21:11:26 +0000 (23:11 +0200)]
ARM: dts: imx6qp: Align pin config nodes with bindings

Bindings expect pin configuration nodes in pinctrl to match certain
naming and not be part of another fake node:

pinctrl@30330000: '...' does not match any of the regexes: 'grp$', 'pinctrl-[0-9]+'

Drop the wrapping node and adjust the names to have "grp" prefix.
Diff looks big but this should have no functional impact, use e.g.
git show -w to view the diff.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
8 months agoARM: dts: imx6qdl: Align pin config nodes with bindings
Marek Vasut [Thu, 17 Oct 2024 21:11:25 +0000 (23:11 +0200)]
ARM: dts: imx6qdl: Align pin config nodes with bindings

Bindings expect pin configuration nodes in pinctrl to match certain
naming and not be part of another fake node:

pinctrl@30330000: '...' does not match any of the regexes: 'grp$', 'pinctrl-[0-9]+'

Drop the wrapping node and adjust the names to have "grp" prefix.
Diff looks big but this should have no functional impact, use e.g.
git show -w to view the diff.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
8 months agoARM: dts: imx6q: Align pin config nodes with bindings
Marek Vasut [Thu, 17 Oct 2024 21:11:24 +0000 (23:11 +0200)]
ARM: dts: imx6q: Align pin config nodes with bindings

Bindings expect pin configuration nodes in pinctrl to match certain
naming and not be part of another fake node:

pinctrl@30330000: '...' does not match any of the regexes: 'grp$', 'pinctrl-[0-9]+'

Drop the wrapping node and adjust the names to have "grp" prefix.
Diff looks big but this should have no functional impact, use e.g.
git show -w to view the diff.

Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com> # imx6q-mba6
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
8 months agoARM: dts: imx6dl: Align pin config nodes with bindings
Marek Vasut [Thu, 17 Oct 2024 21:11:23 +0000 (23:11 +0200)]
ARM: dts: imx6dl: Align pin config nodes with bindings

Bindings expect pin configuration nodes in pinctrl to match certain
naming and not be part of another fake node:

pinctrl@30330000: '...' does not match any of the regexes: 'grp$', 'pinctrl-[0-9]+'

Drop the wrapping node and adjust the names to have "grp" prefix.
Diff looks big but this should have no functional impact, use e.g.
git show -w to view the diff.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
8 months agoARM: dts: imx53: Align pin config nodes with bindings
Marek Vasut [Thu, 17 Oct 2024 21:11:22 +0000 (23:11 +0200)]
ARM: dts: imx53: Align pin config nodes with bindings

Bindings expect pin configuration nodes in pinctrl to match certain
naming and not be part of another fake node:

pinctrl@30330000: '...' does not match any of the regexes: 'grp$', 'pinctrl-[0-9]+'

Drop the wrapping node and adjust the names to have "grp" prefix.
Diff looks big but this should have no functional impact, use e.g.
git show -w to view the diff.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
8 months agoARM: dts: imx51: Align pin config nodes with bindings
Marek Vasut [Thu, 17 Oct 2024 21:11:21 +0000 (23:11 +0200)]
ARM: dts: imx51: Align pin config nodes with bindings

Bindings expect pin configuration nodes in pinctrl to match certain
naming and not be part of another fake node:

pinctrl@30330000: '...' does not match any of the regexes: 'grp$', 'pinctrl-[0-9]+'

Drop the wrapping node and adjust the names to have "grp" prefix.
Diff looks big but this should have no functional impact, use e.g.
git show -w to view the diff.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
8 months agoARM: dts: imx50: Align pin config nodes with bindings
Marek Vasut [Thu, 17 Oct 2024 21:11:20 +0000 (23:11 +0200)]
ARM: dts: imx50: Align pin config nodes with bindings

Bindings expect pin configuration nodes in pinctrl to match certain
naming and not be part of another fake node:

pinctrl@30330000: '...' does not match any of the regexes: 'grp$', 'pinctrl-[0-9]+'

Drop the wrapping node and adjust the names to have "grp" prefix.
Diff looks big but this should have no functional impact, use e.g.
git show -w to view the diff.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
8 months agoARM: dts: imx35: Align pin config nodes with bindings
Marek Vasut [Thu, 17 Oct 2024 21:11:19 +0000 (23:11 +0200)]
ARM: dts: imx35: Align pin config nodes with bindings

Bindings expect pin configuration nodes in pinctrl to match certain
naming and not be part of another fake node:

pinctrl@30330000: '...' does not match any of the regexes: 'grp$', 'pinctrl-[0-9]+'

Drop the wrapping node and adjust the names to have "grp" prefix.
Diff looks big but this should have no functional impact, use e.g.
git show -w to view the diff.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
8 months agoARM: dts: imx6qdl: convert fsl,tx-d-cal to correct value
Xu Yang [Thu, 26 Sep 2024 07:39:51 +0000 (15:39 +0800)]
ARM: dts: imx6qdl: convert fsl,tx-d-cal to correct value

make dtbs_check has below warning:

arch/arm/boot/dts/nxp/imx/imx6q-var-mx6customboard.dtb: usbphy@20c9000: fsl,tx-d-cal: 5 is less than the minimum of 79
        from schema $id: http://devicetree.org/schemas/phy/fsl,mxs-usbphy.yaml#

According to schema, valid value of fsl,tx-d-cal is from 79 to 119. This
will convert register raw value <0x5> to corresponding <106>.

Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
8 months agodt-bindings: arm: samsung: Document Exynos9810 and starlte board binding
Markuss Broks [Sat, 26 Oct 2024 20:32:37 +0000 (23:32 +0300)]
dt-bindings: arm: samsung: Document Exynos9810 and starlte board binding

Add the compatibles for Exynos9810 SoC and samsung,starlte board to the
list of boards. Samsung Galaxy S9 (SM-G960F, codenamed starlte)
is a mobile phone, released in 2018.

Co-developed-by: Maksym Holovach <nergzd@nergzd723.xyz>
Signed-off-by: Maksym Holovach <nergzd@nergzd723.xyz>
Signed-off-by: Markuss Broks <markuss.broks@gmail.com>
Link: https://lore.kernel.org/r/20241026-exynos9810-v3-6-b89de9441ea8@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
8 months agodt-bindings: soc: samsung: exynos-pmu: Add exynos9810 compatible
Markuss Broks [Sat, 26 Oct 2024 20:32:36 +0000 (23:32 +0300)]
dt-bindings: soc: samsung: exynos-pmu: Add exynos9810 compatible

Add compatible for Samsung Exynos9810 PMU to the schema.
Like on other devices, it contains various registers related
to power management and other vital to SoC functions.

Co-developed-by: Maksym Holovach <nergzd@nergzd723.xyz>
Signed-off-by: Maksym Holovach <nergzd@nergzd723.xyz>
Signed-off-by: Markuss Broks <markuss.broks@gmail.com>
Link: https://lore.kernel.org/r/20241026-exynos9810-v3-5-b89de9441ea8@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
8 months agodt-bindings: arm: cpus: Add Samsung Mongoose M3
Markuss Broks [Sat, 26 Oct 2024 20:32:32 +0000 (23:32 +0300)]
dt-bindings: arm: cpus: Add Samsung Mongoose M3

Add the compatible for Samsung Mongoose M3 CPU core to the schema.
Mongoose M3 (codenamed Meerkat) is the big core in Exynos9810 SoC,
designed by Samsung. It implements ARMv8.2-A ISA.

Co-developed-by: Maksym Holovach <nergzd@nergzd723.xyz>
Signed-off-by: Maksym Holovach <nergzd@nergzd723.xyz>
Signed-off-by: Markuss Broks <markuss.broks@gmail.com>
Link: https://lore.kernel.org/r/20241026-exynos9810-v3-1-b89de9441ea8@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
8 months agoarm64: dts: exynos8895: Add spi_0/1 nodes
Ivaylo Ivanov [Wed, 23 Oct 2024 09:17:34 +0000 (12:17 +0300)]
arm64: dts: exynos8895: Add spi_0/1 nodes

Add nodes for spi_0 (SPI_CAM0) and spi_1 (SPI_CAM1), which
allows using them.

Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
Link: https://lore.kernel.org/r/20241023091734.538682-6-ivo.ivanov.ivanov1@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
8 months agoarm64: dts: exynos8895: Add Multi Core Timer (MCT) node
Ivaylo Ivanov [Wed, 23 Oct 2024 09:17:32 +0000 (12:17 +0300)]
arm64: dts: exynos8895: Add Multi Core Timer (MCT) node

MCT has one global timer and 8 CPU local timers. The global timer
can generate 4 interrupts, and each local timer can generate an
interrupt making 12 interrupts in total.

Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
Link: https://lore.kernel.org/r/20241023091734.538682-4-ivo.ivanov.ivanov1@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
8 months agoarm64: dts: exynos8895: Add clock management unit nodes
Ivaylo Ivanov [Wed, 23 Oct 2024 09:17:31 +0000 (12:17 +0300)]
arm64: dts: exynos8895: Add clock management unit nodes

Add clock management unit nodes for:
- cmu_top, which provides muxes, divs and gates for other CMUs
- cmu_peris, which provides clocks for GIC and MCT
- cmu_fsys0, which provides clocks for USBDRD30
- cmu_fsys1, which provides clocks for MMC, UFS and PCIE
- cmu_peric0, which provides clocks for UART_DBG, USI00 ~ USI03
- cmu_peric1, which provides clocks for SPI_CAM0/1, UART_BT,
USI04 ~ USI13

Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
Link: https://lore.kernel.org/r/20241023091734.538682-3-ivo.ivanov.ivanov1@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
8 months agodt-bindings: timer: exynos4210-mct: Add samsung,exynos8895-mct compatible
Ivaylo Ivanov [Wed, 23 Oct 2024 09:17:30 +0000 (12:17 +0300)]
dt-bindings: timer: exynos4210-mct: Add samsung,exynos8895-mct compatible

Just like most Samsung Exynos SoCs, Exynos8895 uses almost the same
Multi-Core Timer block with no functional differences.

Add dedicated samsung,exynos8895-mct compatible to the dt-schema for
representing the MCT timer of Exynos8895 SoC.

Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241023091734.538682-2-ivo.ivanov.ivanov1@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
8 months agoMerge branch 'for-v6.13/clk-dt-bindings' into next/dt64
Krzysztof Kozlowski [Sat, 26 Oct 2024 12:06:15 +0000 (14:06 +0200)]
Merge branch 'for-v6.13/clk-dt-bindings' into next/dt64

8 months agodt-bindings: clock: samsung: Add Exynos8895 SoC
Ivaylo Ivanov [Wed, 23 Oct 2024 09:01:34 +0000 (12:01 +0300)]
dt-bindings: clock: samsung: Add Exynos8895 SoC

Provide dt-schema documentation for Samsung Exynos8895 SoC clock
controller CMU blocks:
- CMU_FSYS0/1
- CMU_PERIC0/1
- CMU_PERIS
- CMU_TOP

Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
Link: https://lore.kernel.org/r/20241023090136.537395-2-ivo.ivanov.ivanov1@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
8 months agoarm64: dts: rockchip: Add rk3588-orangepi-5b device tree
Cenk Uluisik [Thu, 24 Oct 2024 09:50:22 +0000 (09:50 +0000)]
arm64: dts: rockchip: Add rk3588-orangepi-5b device tree

Implements a slightly modified rk3588s-orangepi-5b.dts from the vendor.
Unfortunately the &wireless_bluetooth and &wireless_wlan are not
implemented yet.

Therefore add the sdhci alias to be mmc0 on the rk3588s-orangepi-5b.dts.

How is the Orange Pi 5B unique?
  - the Orange Pi 5b uses combphy0_ps for the WiFi.
  - the Orange Pi 5B has GPIO0_C5 hooked to BT_WAKE_HOST.
  - builtin eMMC storage
  - ap6275p Wifi module (like the Orange Pi 5 Plus)
  - builtin BlueTooth module

Signed-off-by: Cenk Uluisik <cenk.uluisik@googlemail.com>
Link: https://lore.kernel.org/r/20241024095038.42079-3-cenk.uluisik@googlemail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agodt-bindings: arm: rockchip: Add Orange Pi 5b enum to Orange Pi 5 entry
Cenk Uluisik [Thu, 24 Oct 2024 09:50:21 +0000 (09:50 +0000)]
dt-bindings: arm: rockchip: Add Orange Pi 5b enum to Orange Pi 5 entry

This extends the Xunlong Orange Pi 5 device tree binding
with an enum for the Orange Pi 5b, which is implemented
before the device tree.

How does this board differ from the original Orange Pi 5?
  - the Orange Pi 5 has a M.2 NVMe M-key PCI 2.0x1
    slot (hooked to combphy0_ps) whereas the Orange Pi 5b uses combphy0_ps
    for the WiFi.
  - The Orange Pi 5 with the M.2 socket has a regulator defined hooked to
    "GPIO0_C5" (i.e. PCIE_PWREN_H) whereas the Orange Pi 5B has GPIO0_C5
    hooked to BT_WAKE_HOST.
  - builtin eMMC storage
  - no SPI NOR flash (u-boot, preboot etc. initiates
      from within the eMMC
      storage)
  - ap6275p Wifi module (like the Orange Pi 5 Plus)
  - builtin BlueTooth module

Signed-off-by: Cenk Uluisik <cenk.uluisik@googlemail.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20241024095038.42079-2-cenk.uluisik@googlemail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: dts: rockchip: refactor common Orange Pi 5 board
Cenk Uluisik [Thu, 24 Oct 2024 09:50:20 +0000 (09:50 +0000)]
arm64: dts: rockchip: refactor common Orange Pi 5 board

Unique to the Orange Pi 5 board:
- M.2 NVMe M-Key PCIe 2.0x1 on combphy0_ps
- SPI NOR flash

Co-Developed-by: Jimmy Hon <honyuenkwun@gmail.com>
Signed-off-by: Jimmy Hon <honyuenkwun@gmail.com>
Signed-off-by: Cenk Uluisik <cenk.uluisik@googlemail.com>
Link: https://lore.kernel.org/r/20241024095038.42079-1-cenk.uluisik@googlemail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: dts: rockchip: Remove 'enable-active-low' from two boards
Heiko Stuebner [Tue, 8 Oct 2024 20:39:35 +0000 (22:39 +0200)]
arm64: dts: rockchip: Remove 'enable-active-low' from two boards

The 'enable-active-low' property is not a valid, because it is the
default behaviour of the fixed regulator.

Only 'enable-active-high' is valid, and when this property is absent
the fixed regulator will act as active low by default.

Both the rk3588-orange-pi-5 and the Wolfvision pf5 io expander overlay
smuggled those enable-active-low properties in, so remove them to
make dtbscheck happier.

Fixes: 28799a7734a0 ("arm64: dts: rockchip: add wolfvision pf5 io expander board")
Cc: Michael Riesch <michael.riesch@wolfvision.net>
Fixes: b6bc755d806e ("arm64: dts: rockchip: Add Orange Pi 5")
Cc: Muhammed Efe Cetin <efectn@6tel.net>
Reviewed-by: Michael Riesch <michael.riesch@wolfvision.net>
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20241008203940.2573684-10-heiko@sntech.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: dts: rockchip: add HDMI support to rk3588-jaguar
Heiko Stuebner [Thu, 24 Oct 2024 15:14:03 +0000 (17:14 +0200)]
arm64: dts: rockchip: add HDMI support to rk3588-jaguar

The jaguar has an hdmi output port, which is connected
to the hdmi0 controller of the rk3588.

Add the necessary plumbing to enable it using the recently merged
hdmi-qp controller.

Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de>
Tested-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Link: https://lore.kernel.org/r/20241024151403.1748554-4-heiko@sntech.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: dts: rockchip: add HDMI support to rk3588-tiger-haikou
Heiko Stuebner [Thu, 24 Oct 2024 15:14:02 +0000 (17:14 +0200)]
arm64: dts: rockchip: add HDMI support to rk3588-tiger-haikou

The Haikou baseboard has an hdmi output port, which is connected
via the Q7 connector to the hdmi0 controller of the rk3588.

Add the necessary plumbing to enable it using the recently merged
hdmi-qp controller.

Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de>
Tested-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Link: https://lore.kernel.org/r/20241024151403.1748554-3-heiko@sntech.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: dts: rockchip: add HDMI pinctrl to rk3588-tiger SoM
Heiko Stuebner [Thu, 24 Oct 2024 15:14:01 +0000 (17:14 +0200)]
arm64: dts: rockchip: add HDMI pinctrl to rk3588-tiger SoM

The Tiger SoM routes all relevant HDMI pins to its Q7 connector.
Some from the M0 and some from the M1 set of pins.

Add the necessary pinctrl entry to the hdmi controller for the SoM.
Not all baseboards may use all pins, but even for them it'll serve
documentation purposes.

Signed-off-by: Heiko Stuebner <heiko.stuebner@cherry.de>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Link: https://lore.kernel.org/r/20241024151403.1748554-2-heiko@sntech.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: tegra: smaug: Declare cros-ec extcon
Diogo Ivo [Tue, 1 Oct 2024 13:27:07 +0000 (14:27 +0100)]
arm64: tegra: smaug: Declare cros-ec extcon

Leverage the Chrome OS EC in the Pixel C to convey information about the
state of the USB-C port via the extcon class.

Signed-off-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Link: https://lore.kernel.org/r/20241001-cros_ec_extcon-v1-1-1e212a1a4bbc@tecnico.ulisboa.pt
Signed-off-by: Thierry Reding <treding@nvidia.com>
8 months agoarm64: tegra: Add SDMMC sdr104-offsets for Tegra X1
Diogo Ivo [Mon, 23 Sep 2024 18:24:51 +0000 (19:24 +0100)]
arm64: tegra: Add SDMMC sdr104-offsets for Tegra X1

Define the sdr104-specific offsets, preventing the driver from
defaulting to the 1.8V offsets, which cause the system to hang during
the SDR104 mode calibration.

The zeroing of these values was chosen since it restores functionality
and no better suggestions are provided by the Tegra X1 TRM.

Signed-off-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Signed-off-by: Thierry Reding <treding@nvidia.com>
8 months agoarm64: dts: nvidia: tegra210-smaug: Add TMP451 temperature sensor node
Jasper Korten [Sun, 15 Sep 2024 22:48:14 +0000 (00:48 +0200)]
arm64: dts: nvidia: tegra210-smaug: Add TMP451 temperature sensor node

The Google Pixel C contains a TI TMP451 temperature sensor.
Add a DT node for temperature sensor.

Information gathered from downstream tree.
Link: https://android.googlesource.com/kernel/tegra/+/refs/heads/android-tegra-dragon-3.18-oreo-m8/arch/arm64/boot/dts/tegra/tegra210-smaug.dtsi#1000
Signed-off-by: Jasper Korten <jja2000@gmail.com>
Tested-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Signed-off-by: Thierry Reding <treding@nvidia.com>
8 months agoarm64: dts: nvidia: tegra210-smaug: Add touchscreen node
Jasper Korten [Sun, 15 Sep 2024 22:48:13 +0000 (00:48 +0200)]
arm64: dts: nvidia: tegra210-smaug: Add touchscreen node

The Google Pixel C contains a RMI4 HID over I2C touchscreen.
Add a DT node for the touchscreen.

Information gathered from downstream tree.
Link: https://android.googlesource.com/kernel/tegra/+/refs/heads/android-tegra-dragon-3.18-oreo-m8/arch/arm64/boot/dts/tegra/tegra210-smaug.dtsi#542
Signed-off-by: Jasper Korten <jja2000@gmail.com>
Tested-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Signed-off-by: Thierry Reding <treding@nvidia.com>
8 months agoarm64: tegra: p2180: Add mandatory compatible for WiFi node
Tomasz Maciej Nowak [Tue, 3 Sep 2024 13:21:48 +0000 (15:21 +0200)]
arm64: tegra: p2180: Add mandatory compatible for WiFi node

The dtschema requires to specify common ancestor which all SDIO chips are
derived from, so add accordingly.

Fixes: a50d5dcd2815 ("arm64: tegra: Wire up WiFi on Jetson TX1 module")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202409030438.8tumAnp1-lkp@intel.com
Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
8 months agoARM: dts: qcom: ipq4019: use nvmem-layout
Rosen Penev [Tue, 22 Oct 2024 00:24:44 +0000 (17:24 -0700)]
ARM: dts: qcom: ipq4019: use nvmem-layout

nvmem-layout is a more flexible replacement for nvmem-cells.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://lore.kernel.org/r/20241022002444.843484-1-rosenp@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: rockchip: reorder mmc aliases for NanoPi R3S
Tianling Shen [Tue, 22 Oct 2024 19:35:30 +0000 (03:35 +0800)]
arm64: dts: rockchip: reorder mmc aliases for NanoPi R3S

Typically any non-removable storage (emmc) is listed before removable
storage (sd-card) options. Also U-Boot will try to override and use
mmc0=sdhci and mmc1=sdmmc0 for all rk356x boards.

Fixes: 50decd493c83 ("arm64: dts: rockchip: Add FriendlyARM NanoPi R3S board")
Suggested-by: Jonas Karlman <jonas@kwiboo.se>
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
Link: https://lore.kernel.org/r/20241022193537.1117919-6-cnsztl@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: dts: rockchip: enable eMMC HS200 mode for NanoPi R3S
Tianling Shen [Tue, 22 Oct 2024 19:35:29 +0000 (03:35 +0800)]
arm64: dts: rockchip: enable eMMC HS200 mode for NanoPi R3S

It is required to boot from eMMC without additional patch in u-boot.

Fixes: 50decd493c83 ("arm64: dts: rockchip: Add FriendlyARM NanoPi R3S board")
Suggested-by: Jonas Karlman <jonas@kwiboo.se>
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
Link: https://lore.kernel.org/r/20241022193537.1117919-5-cnsztl@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: dts: rockchip: sort props in pmu_io_domains node for NanoPi R3S
Tianling Shen [Tue, 22 Oct 2024 19:35:28 +0000 (03:35 +0800)]
arm64: dts: rockchip: sort props in pmu_io_domains node for NanoPi R3S

The status prop is typically the last prop.

Fixes: 50decd493c83 ("arm64: dts: rockchip: Add FriendlyARM NanoPi R3S board")
Suggested-by: Jonas Karlman <jonas@kwiboo.se>
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
Link: https://lore.kernel.org/r/20241022193537.1117919-4-cnsztl@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: dts: rockchip: replace deprecated snps,reset props for NanoPi R3S
Tianling Shen [Tue, 22 Oct 2024 19:35:27 +0000 (03:35 +0800)]
arm64: dts: rockchip: replace deprecated snps,reset props for NanoPi R3S

Replace deprecated snps,reset props and move them to the PHY node.

Fixes: 50decd493c83 ("arm64: dts: rockchip: Add FriendlyARM NanoPi R3S board")
Suggested-by: Jonas Karlman <jonas@kwiboo.se>
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
Link: https://lore.kernel.org/r/20241022193537.1117919-3-cnsztl@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: dts: rockchip: fix model name for FriendlyElec NanoPi R3S
Tianling Shen [Tue, 22 Oct 2024 19:35:26 +0000 (03:35 +0800)]
arm64: dts: rockchip: fix model name for FriendlyElec NanoPi R3S

Use the marketing name for model name, this matches the dt-binding.
Also update the website url in copyright.

Fixes: 50decd493c83 ("arm64: dts: rockchip: Add FriendlyARM NanoPi R3S board")
Suggested-by: Jonas Karlman <jonas@kwiboo.se>
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
Link: https://lore.kernel.org/r/20241022193537.1117919-2-cnsztl@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: dts: rockchip: Enable HDMI0 on rock-5a
Cristian Ciocaltea [Tue, 22 Oct 2024 16:04:42 +0000 (19:04 +0300)]
arm64: dts: rockchip: Enable HDMI0 on rock-5a

Add the necessary DT changes to enable HDMI0 on Radxa ROCK 5A.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Link: https://lore.kernel.org/r/20241022-rk3588-hdmi0-dt-v3-1-3cc981e89afb@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: dts: rockchip: Enable HDMI0 on rk3588-nanopc-t6
Marcin Juszkiewicz [Wed, 23 Oct 2024 08:06:04 +0000 (10:06 +0200)]
arm64: dts: rockchip: Enable HDMI0 on rk3588-nanopc-t6

Add the necessary DT changes to enable HDMI0 on FriendlyELEC NanoPC-T6.
Tested on LTS variant of the board but this part is the same on both.

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Link: https://lore.kernel.org/r/20241023080605.623125-1-marcin.juszkiewicz@linaro.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: dts: rockchip: pwm-leds for Orange Pi 5
Jimmy Hon [Thu, 24 Oct 2024 01:27:27 +0000 (20:27 -0500)]
arm64: dts: rockchip: pwm-leds for Orange Pi 5

The green LED RUN is driven by PWM0_LED that can be controlled by PWM0_M2

Fixes: b6bc755d806e ("arm64: dts: rockchip: Add Orange Pi 5")
Signed-off-by: Jimmy Hon <honyuenkwun@gmail.com>
Link: https://lore.kernel.org/r/20241024012726.1730-2-honyuenkwun@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: dts: rockchip: reorder audio/hdmi nodes in Orange Pi 5
Jimmy Hon [Thu, 24 Oct 2024 04:18:51 +0000 (23:18 -0500)]
arm64: dts: rockchip: reorder audio/hdmi nodes in Orange Pi 5

Fix the node order so analog-audio is before hdmi0-con

Audio was submitted first, and it wanted to live above the leds node.
Next, the HDMI was submitted, but it wanted to live above the leds node.
However, HDMI was approved first, so the Audio node ended up living above
the leds node.

Fixes: ae46756faff8 ("arm64: dts: rockchip: analog audio on Orange Pi 5")
Signed-off-by: Jimmy Hon <honyuenkwun@gmail.com>
Link: https://lore.kernel.org/r/20241024041851.5600-1-honyuenkwun@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoARM: dts: qcom: change labels to lower-case
Krzysztof Kozlowski [Tue, 22 Oct 2024 15:47:43 +0000 (17:47 +0200)]
ARM: dts: qcom: change labels to lower-case

DTS coding style expects labels to be lowercase.  No functional impact.
Verified with comparing decompiled DTB (dtx_diff and fdtdump+diff).

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241022-dts-qcom-label-v3-18-0505bc7d2c56@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoARM: dts: qcom: sdx65: Add 'linux,pci-domain' to PCIe EP controller node
Manivannan Sadhasivam [Wed, 28 Aug 2024 15:46:18 +0000 (21:16 +0530)]
ARM: dts: qcom: sdx65: Add 'linux,pci-domain' to PCIe EP controller node

'linux,pci-domain' property provides the PCI domain number for the PCI
endpoint controllers in a SoC. If this property is not present, then an
unstable (across boots) unique number will be assigned.

Use this property to specify the domain number based on the actual hardware
instance of the PCI endpoint controllers in SDX65 SoC.

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20240828-pci-qcom-hotplug-v4-8-263a385fbbcb@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoARM: dts: qcom: sdx55: Add 'linux,pci-domain' to PCIe EP controller node
Manivannan Sadhasivam [Wed, 28 Aug 2024 15:46:17 +0000 (21:16 +0530)]
ARM: dts: qcom: sdx55: Add 'linux,pci-domain' to PCIe EP controller node

'linux,pci-domain' property provides the PCI domain number for the PCI
endpoint controllers in a SoC. If this property is not present, then an
unstable (across boots) unique number will be assigned.

Use this property to specify the domain number based on the actual hardware
instance of the PCI endpoint controllers in SDX55 SoC.

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20240828-pci-qcom-hotplug-v4-7-263a385fbbcb@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
8 months agoarm64: dts: rockchip: analog audio on Orange Pi 5
Jimmy Hon [Tue, 8 Oct 2024 03:14:29 +0000 (22:14 -0500)]
arm64: dts: rockchip: analog audio on Orange Pi 5

Analog audio using es8388 codec via the headset jack and onboard mic

Signed-off-by: Jimmy Hon <honyuenkwun@gmail.com>
Link: https://lore.kernel.org/r/20241008031429.2410-1-honyuenkwun@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: dts: rockchip: Add dtsi file for RK3399S SoC variant
Dragan Simic [Fri, 11 Oct 2024 07:40:51 +0000 (09:40 +0200)]
arm64: dts: rockchip: Add dtsi file for RK3399S SoC variant

Following the hierarchical representation of the SoC data that's been already
established in the commit 296602b8e5f7 ("arm64: dts: rockchip: Move RK3399
OPPs to dtsi files for SoC variants"), add new SoC dtsi file for the Rockchip
RK3399S SoC, which is yet another variant of the Rockchip RK3399 SoC.

The only perceivable differences between the RK3399S and the RK3399 are in
the supported CPU DVFS OPPs, which result from the RK3399S being binned for
lower maximum CPU frequencies than the regular RK3399 variant.

The RK3399S variant is used in the Pine64 PinePhone Pro only, [1] whose board
dts file included the necessary adjustments to the CPU DVFS OPPs.  This commit
effectively moves those adjustments into the separate RK3399S SoC dtsi file,
following the above-mentioned "encapsulation" approach.

No functional changes are introduced, which was validated by decompiling and
comparing the affected dtb file before and after these changes.

[1] https://wiki.pine64.org/index.php/PinePhone_Pro

Signed-off-by: Dragan Simic <dsimic@manjaro.org>
Link: https://lore.kernel.org/r/c32622e4a6897378d9df81c8c3eda1bdb9211e0b.1728632052.git.dsimic@manjaro.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: dts: rockchip: Convert dts files used as parents to dtsi files
Dragan Simic [Mon, 14 Oct 2024 20:21:57 +0000 (22:21 +0200)]
arm64: dts: rockchip: Convert dts files used as parents to dtsi files

Including a board dts file is not the right way to represent the hierarchical
nature of the board dts files and to create a dts file for another variant of
an ancestor board.  However, a few boards and their variants (ab)used this
approach, so let's clean that up by converting the common ancestors into dtsi
files, and by adding separate board-variant dts files.

No functional changes are introduced, which was validated by decompiling and
comparing all affected board dtb files before and after these changes.  In
more detail, the affected dtb files have some of their blocks shuffled around
a bit and some of their phandles have different values, as a result of the
changes to the order in which the building blocks from the parent dtsi files
are included, but they effectively remain the same as the originals.

The only perceivable introduced change is the turning of "roc-rk3328-cc" into
"ROC-RK3328-CC", which is the model name of one of the affected boards, which
was performed to match the styling of the official board name.

As a side note, due to the nature of introduced changes, this commit is best
viewed using "-B80%/80% -M20% -C5%" as the set of options for git-log(1).

Signed-off-by: Dragan Simic <dsimic@manjaro.org>
Link: https://lore.kernel.org/r/f3d789c14fe34a53327cac03cd3837e530e21f5c.1728937091.git.dsimic@manjaro.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: dts: rockchip: fix the pcie refclock oscillator on Rock 5 ITX
Heiko Stuebner [Fri, 6 Sep 2024 08:25:11 +0000 (10:25 +0200)]
arm64: dts: rockchip: fix the pcie refclock oscillator on Rock 5 ITX

The Rock 5 ITX uses two PCIe controllers to drive both a M.2 slot and its
SATA controller with 2 lanes each. The supply for the refclk oscillator is
the same that supplies the M.2 slot, but the SATA controller port is
supplied by a different rail.

This leads to the effect that if the PCIe30x4 controller for the M.2
probes first, everything works normally. But if the PCIe30x2 controller
that is connected to the SATA controller probes first, it will hang on
the first DBI read as nothing will have enabled the refclock before.

Fix this by describing the clock generator with its supplies so that
both controllers can reference it as needed.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20240906082511.2963890-6-heiko@sntech.de
8 months agoarm64: dts: rockchip: Add FriendlyARM NanoPi R3S board
Tianling Shen [Sun, 20 Oct 2024 17:39:46 +0000 (01:39 +0800)]
arm64: dts: rockchip: Add FriendlyARM NanoPi R3S board

The NanoPi R3S(as "R3S") is an open source platform with dual-Gbps
Ethernet ports designed and developed by FriendlyElec for IoT
applications.

Specification:
- Rockchip RK3566
- 2GB LPDDR4X RAM
- optional 32GB eMMC module
- SD card slot
- 2x 1000 Base-T
- 3x LEDs (POWER, LAN, WAN)
- 2x Buttons (Reset, MaskROM)
- 1x USB 3.0 Port
- Type-C 5V 2A Power

Signed-off-by: Tianling Shen <cnsztl@gmail.com>
Link: https://lore.kernel.org/r/20241020173946.225960-2-cnsztl@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agodt-bindings: arm: rockchip: Add FriendlyARM NanoPi R3S
Tianling Shen [Sun, 20 Oct 2024 17:39:45 +0000 (01:39 +0800)]
dt-bindings: arm: rockchip: Add FriendlyARM NanoPi R3S

Add devicetree binding for FriendlyARM NanoPi R3S.

Signed-off-by: Tianling Shen <cnsztl@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20241020173946.225960-1-cnsztl@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: dts: rockchip: Enable HDMI0 on Orange Pi 5
Jimmy Hon [Sat, 19 Oct 2024 02:10:34 +0000 (21:10 -0500)]
arm64: dts: rockchip: Enable HDMI0 on Orange Pi 5

Add the necessary DT changes to enable HDMI0 on Orange Pi 5

Signed-off-by: Jimmy Hon <honyuenkwun@gmail.com>
Link: https://lore.kernel.org/r/20241019021034.1710-1-honyuenkwun@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: dts: rockchip: add and enable gpu node for Radxa ROCK 5A
FUKAUMI Naoki [Sat, 19 Oct 2024 02:50:08 +0000 (02:50 +0000)]
arm64: dts: rockchip: add and enable gpu node for Radxa ROCK 5A

add gpu node to make it usable on Radxa ROCK 5A.

Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
Link: https://lore.kernel.org/r/20241019025008.852-1-naoki@radxa.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: dts: rockchip: Enable HDMI0 on orangepi-5-plus
Cristian Ciocaltea [Sat, 19 Oct 2024 10:12:13 +0000 (13:12 +0300)]
arm64: dts: rockchip: Enable HDMI0 on orangepi-5-plus

Add the necessary DT changes to enable HDMI0 on Orange Pi 5 Plus.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Link: https://lore.kernel.org/r/20241019-rk3588-hdmi0-dt-v2-4-466cd80e8ff9@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: dts: rockchip: Enable HDMI0 on rk3588-evb1
Cristian Ciocaltea [Sat, 19 Oct 2024 10:12:12 +0000 (13:12 +0300)]
arm64: dts: rockchip: Enable HDMI0 on rk3588-evb1

Add the necessary DT changes to enable HDMI0 on Rockchip RK3588 EVB1.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Link: https://lore.kernel.org/r/20241019-rk3588-hdmi0-dt-v2-3-466cd80e8ff9@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: dts: rockchip: Enable HDMI0 on rock-5b
Cristian Ciocaltea [Sat, 19 Oct 2024 10:12:11 +0000 (13:12 +0300)]
arm64: dts: rockchip: Enable HDMI0 on rock-5b

Add the necessary DT changes to enable HDMI0 on Radxa ROCK 5B.

Tested-by: FUKAUMI Naoki <naoki@radxa.com>
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Link: https://lore.kernel.org/r/20241019-rk3588-hdmi0-dt-v2-2-466cd80e8ff9@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: dts: rockchip: Add HDMI0 node to rk3588
Cristian Ciocaltea [Sat, 19 Oct 2024 10:12:10 +0000 (13:12 +0300)]
arm64: dts: rockchip: Add HDMI0 node to rk3588

Add support for the HDMI0 output port found on RK3588 SoC.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Link: https://lore.kernel.org/r/20241019-rk3588-hdmi0-dt-v2-1-466cd80e8ff9@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: dts: rockchip: Add Radxa e20c board
Yao Zi [Thu, 29 Aug 2024 09:27:05 +0000 (09:27 +0000)]
arm64: dts: rockchip: Add Radxa e20c board

Add board-level device tree for Radxa e20c board[1]. This basic
implementation supports boot into a kernel with only UART console.
Other features will be added later.

[1]: https://docs.radxa.com/en/e/e20c

Signed-off-by: Yao Zi <ziyao@disroot.org>
Link: https://lore.kernel.org/r/20240829092705.6241-5-ziyao@disroot.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: dts: rockchip: Add base DT for rk3528 SoC
Yao Zi [Thu, 29 Aug 2024 09:27:04 +0000 (09:27 +0000)]
arm64: dts: rockchip: Add base DT for rk3528 SoC

This initial device tree describes CPU, interrupts and UART on the chip
and is able to boot into basic kernel with only UART. Cache information
is omitted for now as there is no precise documentation. Support for
other features will be added later.

Signed-off-by: Yao Zi <ziyao@disroot.org>
Link: https://lore.kernel.org/r/20240829092705.6241-4-ziyao@disroot.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agodt-bindings: arm: rockchip: Add Radxa E20C board
Yao Zi [Thu, 29 Aug 2024 09:27:03 +0000 (09:27 +0000)]
dt-bindings: arm: rockchip: Add Radxa E20C board

Add device tree documentation for Radxa E20C board.

Link: https://docs.radxa.com/en/e/e20c
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Yao Zi <ziyao@disroot.org>
Link: https://lore.kernel.org/r/20240829092705.6241-3-ziyao@disroot.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: dts: rockchip: Add rk3576-armsom-sige5 board
Detlev Casanova [Tue, 3 Sep 2024 15:22:39 +0000 (11:22 -0400)]
arm64: dts: rockchip: Add rk3576-armsom-sige5 board

Add board file for the rk3576 based ArmSoM Sige5 board. While the hardware
offers plenty of peripherals and connectivity this basic implementation
just handles things required to successfully boot Linux from SD card and
connect via UART or Ethernet.

Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
Link: https://lore.kernel.org/r/20240903152308.13565-10-detlev.casanova@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: dts: rockchip: Add rk3576 SoC base DT
Detlev Casanova [Tue, 3 Sep 2024 15:22:38 +0000 (11:22 -0400)]
arm64: dts: rockchip: Add rk3576 SoC base DT

This device tree contains all devices necessary for booting from network
or SD Card.

It supports CPU, CRU, PM domains, dma, interrupts, timers, UART, I2C
and SDHCI (everything necessary to boot Linux on this system on chip)
as well as Ethernet, SPI, GPU and RTC.

Signed-off-by: Liang Chen <cl@rock-chips.com>
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
Tested-by: Liang Chen <cl@rock-chips.com>
Link: https://lore.kernel.org/r/20240903152308.13565-9-detlev.casanova@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agodt-bindings: arm: rockchip: Add ArmSoM Sige 5
Detlev Casanova [Tue, 3 Sep 2024 15:22:31 +0000 (11:22 -0400)]
dt-bindings: arm: rockchip: Add ArmSoM Sige 5

Add devicetree binding for the ArmSoM Sige 5 board.

Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240903152308.13565-2-detlev.casanova@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: dts: rockchip: Drop rockchip prefix of s-p-c PMIC prop from rk356x
Diederik de Haas [Tue, 8 Oct 2024 10:48:05 +0000 (12:48 +0200)]
arm64: dts: rockchip: Drop rockchip prefix of s-p-c PMIC prop from rk356x

Property 'rockchip,system-power-controller' was deprecated in commit
961748bb1555 ("dt-bindings: mfd: rk8xx: Deprecate rockchip,system-power-controller")

in the "rockchip,rk{805,808,809,817,818}.yaml" mtd bindings and its
replacement is (just) 'system-power-controller'.

Update the rk356x DT files which still used the deprecated variant.

Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
Link: https://lore.kernel.org/r/20241008105450.20648-6-didi.debian@cknow.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: dts: rockchip: Drop rockchip prefix of s-p-c PMIC prop from rk3399
Diederik de Haas [Tue, 8 Oct 2024 10:48:04 +0000 (12:48 +0200)]
arm64: dts: rockchip: Drop rockchip prefix of s-p-c PMIC prop from rk3399

Property 'rockchip,system-power-controller' was deprecated in commit
961748bb1555 ("dt-bindings: mfd: rk8xx: Deprecate rockchip,system-power-controller")

in the "rockchip,rk{805,808,809,817,818}.yaml" mtd bindings and its
replacement is (just) 'system-power-controller'.

Update the rk3399 DT files which still used the deprecated variant.

Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
Link: https://lore.kernel.org/r/20241008105450.20648-5-didi.debian@cknow.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: dts: rockchip: Drop rockchip prefix of s-p-c PMIC prop from rk3368
Diederik de Haas [Tue, 8 Oct 2024 10:48:03 +0000 (12:48 +0200)]
arm64: dts: rockchip: Drop rockchip prefix of s-p-c PMIC prop from rk3368

Property 'rockchip,system-power-controller' was deprecated in commit
961748bb1555 ("dt-bindings: mfd: rk8xx: Deprecate rockchip,system-power-controller")

in the "rockchip,rk{805,808,809,817,818}.yaml" mtd bindings and its
replacement is (just) 'system-power-controller'.

Update the rk3368 DT files which still used the deprecated variant.

Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
Link: https://lore.kernel.org/r/20241008105450.20648-4-didi.debian@cknow.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: dts: rockchip: Drop rockchip prefix of s-p-c PMIC prop from rk3328
Diederik de Haas [Tue, 8 Oct 2024 10:48:02 +0000 (12:48 +0200)]
arm64: dts: rockchip: Drop rockchip prefix of s-p-c PMIC prop from rk3328

Property 'rockchip,system-power-controller' was deprecated in commit
961748bb1555 ("dt-bindings: mfd: rk8xx: Deprecate rockchip,system-power-controller")

in the "rockchip,rk{805,808,809,817,818}.yaml" mtd bindings and its
replacement is (just) 'system-power-controller'.

Update the rk3328 DT files which still used the deprecated variant.

Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
Link: https://lore.kernel.org/r/20241008105450.20648-3-didi.debian@cknow.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
8 months agoarm64: dts: rockchip: Drop rockchip prefix of s-p-c PMIC prop from px30
Diederik de Haas [Tue, 8 Oct 2024 10:48:01 +0000 (12:48 +0200)]
arm64: dts: rockchip: Drop rockchip prefix of s-p-c PMIC prop from px30

Property 'rockchip,system-power-controller' was deprecated in commit
961748bb1555 ("dt-bindings: mfd: rk8xx: Deprecate rockchip,system-power-controller")

in the "rockchip,rk{805,808,809,817,818}.yaml" mtd bindings and its
replacement is (just) 'system-power-controller'.

Update the px30 DT files which still used the deprecated variant.

Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
Link: https://lore.kernel.org/r/20241008105450.20648-2-didi.debian@cknow.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>