linux-block.git
4 months agoMerge tag 'ti-k3-dt-for-v6.14' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Thu, 16 Jan 2025 14:20:53 +0000 (15:20 +0100)]
Merge tag 'ti-k3-dt-for-v6.14' of https://git./linux/kernel/git/ti/linux into soc/dt

TI K3 device tree updates for v6.14

Generic Fixups/Cleanups:
- Remove unused and undocumented "ti,(rx|tx)-fifo-depth" properties for
  ethernet phy
- Clock description added to ICSS-G

SoC Specific features and Fixes:
- Duplicate GICR reg defines in am62x/am62ax
- Mailbox nodes are enabled at board level bringing AM67/j722s/am62p to same
  behavior as other K3 SoCs.
- Introduction of deep-sleep state defines for pinctrl header

AM62Ax
- Enable ti-sysc for wkup_uart0

AM64:
- Switch ICSSG clock to core clock.

J7200:
- Disable SPI1 loopback default.

J784s4:
- Clock ID fix for McSPI instances
- Use j7200-padconf compatibility for padconf to enable suspend-to-ram support.

Board Specific:

AM62
- phyboard - hdmi bridge regulator and using 16bit input for hdmi bridge,
  vcc-supply for i2c eeprom
- SK - SoC wakeup using USB1, Add bootph property around cpsw mac syscon node,
  M4 mailbox node redefinition fixup.
- BeaglePlay: Fix ethernet phy reset time

AM64
- hummingboard-t: Convert PCIE/USB overlays to independent dts.

j7200:
- EVM: fix typo in overlay name.

j721e:
- EVM: overlay for pcie1 endpoint mode.

j722s:
- EVM: Add mcu_i2c0 support for expansion pins., Add USB0 DFU support, Enable
  PMIC
- AM67a-beagley-ai: Add remote proc nodes

j784s4:
- AM69-SK/ j784s4-EVM - Mark PMIC regulators with bootph-all property to
  indicate ones that are needed through boot phases.
- AM69-sk: PIC0 Endpoint mode overlay, USB Superspeed mode.

* tag 'ti-k3-dt-for-v6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux: (31 commits)
  arm64: dts: ti: k3-am62a-wakeup: Configure ti-sysc for wkup_uart0
  arm64: dts: ti: k3-j722s-evm: Enable PMIC
  arm64: dts: ti: k3-am69-sk: Add USB SuperSpeed support
  arm64: dts: ti: k3-am625-beagleplay: Fix DP83TD510E reset time
  arm64: dts: ti: k3-am642-hummingboard-t: Convert overlay to board dts
  arm64: dts: ti: k3-am69-sk: Add overlay for PCIE0 Endpoint Mode
  arm64: dts: ti: k3-am68-sk-base-board: Add overlay for PCIE1 Endpoint Mode
  arm64: dts: ti: k3-j721e-evm: Add overlay for PCIE1 Endpoint Mode
  arm64: dts: ti: Makefile: Fix typo "k3-j7200-evm-pcie1-ep.dtbo"
  arm64: dts: ti: k3-j7200: Add node to disable loopback connection
  arm64: dts: ti: k3-j784s4: Use ti,j7200-padconf compatible
  arm64: dts: ti: k3-am62p-j722s-common-main: Enable USB0 for DFU boot
  arm64: dts: ti: k3-am62a: Remove duplicate GICR reg
  arm64: dts: ti: k3-am62: Remove duplicate GICR reg
  arm64: dts: ti: k3-am67a-beagley-ai: Add remote processor nodes
  arm64: dts: ti: k3-am62p: Enable Mailbox nodes at the board level
  arm64: dts: ti: k3-am625-sk: Remove M4 mailbox node redefinition
  arm64: dts: ti: k3-j722s-evm: Enable support for mcu_i2c0
  arm64: dts: ti: k3-am62x-sk-common: Add bootph-all property in cpsw_mac_syscon node
  arm64: dts: ti: Remove unused and undocumented "ti,(rx|tx)-fifo-depth" properties
  ...

Link: https://lore.kernel.org/r/20250110210812.bdpypzvmg6s6sr5t@itinerary
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
4 months agoMerge tag 'tegra-for-6.14-arm64-dt' of https://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Thu, 16 Jan 2025 14:16:40 +0000 (15:16 +0100)]
Merge tag 'tegra-for-6.14-arm64-dt' of https://git./linux/kernel/git/tegra/linux into soc/dt

arm64: tegra: Device tree fixes for v6.14-rc1

These patches fix up an issue with the DMA support on one of the SPI
controllers, as well as properly identify the SCE fabric and disable
it to prevent accessing registers that may not be accessible to the
CPU. Finally, the GIC's #address-cells property is set to 0 to fix a
problem in the PCIe interrupt-map property.

* tag 'tegra-for-6.14-arm64-dt' of https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  arm64: tegra: Fix Tegra234 PCIe interrupt-map
  arm64: tegra: Disable Tegra234 sce-fabric node
  arm64: tegra: Fix typo in Tegra234 dce-fabric compatible
  arm64: tegra: Fix DMA ID for SPI2

Link: https://lore.kernel.org/r/20250110185355.4143505-3-thierry.reding@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
4 months agoMerge tag 'tegra-for-6.14-arm-dt' of https://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Thu, 16 Jan 2025 14:15:44 +0000 (15:15 +0100)]
Merge tag 'tegra-for-6.14-arm-dt' of https://git./linux/kernel/git/tegra/linux into soc/dt

ARM: tegra: Device tree fixes for v6.14-rc1

This contains a fix that makes sure the power to the USB ports is
maintained during boot. This helps with booting from USB storage.

* tag 'tegra-for-6.14-arm-dt' of https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  ARM: tegra: nyan: Maintain power to USB ports on boot

Link: https://lore.kernel.org/r/20250110185355.4143505-2-thierry.reding@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
4 months agoMerge tag 'arm-soc/for-6.14/devicetree-arm64' of https://github.com/Broadcom/stblinux...
Arnd Bergmann [Thu, 16 Jan 2025 14:10:03 +0000 (15:10 +0100)]
Merge tag 'arm-soc/for-6.14/devicetree-arm64' of https://github.com/Broadcom/stblinux into soc/dt

This pull request contains Broadcom ARM64-based SoCs Device Tree updates
for 6.14:

- Dave adds the display pipeline DT nodes on BCM2712 (Raspberry Pi 5)

- Rob removes some undocumented properties

- Same ensures that the CFE stub area is reserved to allow secondary
  CPUs to be successfully brought up in Linux, also making sure that the
  address used in the spin table is also carved out. Finally he adds
  support for the Zyxel EX3510-B router using BCM4906

- Rosen converts the BCM4908 platforms to use the more flexible
  nvmem-layout representation

* tag 'arm-soc/for-6.14/devicetree-arm64' of https://github.com/Broadcom/stblinux:
  arm64: dts: bcm4908: nvmem-layout conversion
  arm64: dts: broadcom: bcmbca: bcm4908: Add DT for Zyxel EX3510-B
  dt-bindings: arm64: bcmbca: Add Zyxel EX3510-B based on BCM4906
  arm64: dts: broadcom: bcmbca: bcm4908: Protect cpu-release-addr
  arm64: dts: broadcom: bcmbca: bcm4908: Reserve CFE stub area
  arm64: dts: broadcom: Remove unused and undocumented properties
  arm64: dts: broadcom: Add DT for D-step version of BCM2712
  arm64: dts: broadcom: Add display pipeline support to BCM2712
  arm64: dts: broadcom: Add firmware clocks and power nodes to Pi5 DT

Link: https://lore.kernel.org/r/20250109224756.3632025-2-florian.fainelli@broadcom.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
4 months agoMerge tag 'arm-soc/for-6.14/devicetree' of https://github.com/Broadcom/stblinux into...
Arnd Bergmann [Thu, 16 Jan 2025 14:06:38 +0000 (15:06 +0100)]
Merge tag 'arm-soc/for-6.14/devicetree' of https://github.com/Broadcom/stblinux into soc/dt

This pull request contains Broadcom ARM-based SoCs Device Tree updates
for 6.14, please pull the following:

- Rob removes some unused and undocumented properties pertaining to the
  SPI flash controller on Broadcom boards

- Linus adds a number of BCM6846 peripherals: HWRNG, watchdog, GPIO,
  MDIO, LED controller, DMA and then proceeds with adding support for
  the GEnexsis XG6846B PON router

- Rosen sets the MAC address NVMEM reference on the Meraki MR26 platform

* tag 'arm-soc/for-6.14/devicetree' of https://github.com/Broadcom/stblinux:
  ARM: dts: meraki-mr26: set mac address for gmac0
  ARM: dts: broadcom: Add Genexis XG6846B DTS file
  dt-bindings: arm: bcmbca: Add Genexis XG6846B
  dt-bindings: vendor-prefixes: Add Genexis
  ARM: dts: bcm6846: Add ARM PL081 DMA block
  ARM: dts: bcm6846: Add LED controller
  ARM: dts: bcm6846: Add MDIO control block
  ARM: dts: bcm6846: Add GPIO blocks
  ARM: dts: bcm6846: Enable watchdog
  ARM: dts: bcm6846: Add iproc rng
  arm: dts: broadcom: Remove unused and undocumented properties

Link: https://lore.kernel.org/r/20250109224756.3632025-1-florian.fainelli@broadcom.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
4 months agoMerge tag 'at91-dt-6.14-2' of https://git.kernel.org/pub/scm/linux/kernel/git/at91...
Arnd Bergmann [Thu, 16 Jan 2025 14:02:37 +0000 (15:02 +0100)]
Merge tag 'at91-dt-6.14-2' of https://git./linux/kernel/git/at91/linux into soc/dt

Microchip AT91 device tree updates for v6.14 #2

This update includes:
- device tree files for the SAMA7D65 SoC and its evaluation board

* tag 'at91-dt-6.14-2' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux:
  ARM: dts: microchip: add support for sama7d65_curiosity board
  ARM: dts: microchip: add sama7d65 SoC DT

Link: https://lore.kernel.org/r/20250109164317.1154613-1-claudiu.beznea@tuxon.dev
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
4 months agoMerge tag 'sunxi-dt-for-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Thu, 16 Jan 2025 14:01:58 +0000 (15:01 +0100)]
Merge tag 'sunxi-dt-for-6.14' of https://git./linux/kernel/git/sunxi/linux into soc/dt

Allwinner Device Tree changes for 6.14

- Add support for DMA engine and audio codec on F1C100s
  and enable audio codec on Lichee Pi Nano
- Add syscon and SRAM nodes for A100
- Enable CPU DVFS for Tanix TX1
- Explicitly configure TCON0 pixel clock parent according to display
  output used

This includes one commit shared with the clock tree

    dt-bindings: clock: sunxi: Export PLL_VIDEO_2X and PLL_MIPI

which adds the macros for the TCON0 pixel clock parents.

* tag 'sunxi-dt-for-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux:
  arm64: dts: allwinner: a64: explicitly assign clock parent for TCON0
  dt-bindings: clock: sunxi: Export PLL_VIDEO_2X and PLL_MIPI
  arm64: dts: allwinner: h313: enable DVFS for Tanix TX1
  arm64: dts: allwinner: a100: Add syscon nodes
  dt-bindings: sram: sunxi-sram: Add A100 compatible
  ARM: dts: suniv: f1c100s: Activate Audio Codec for Lichee Pi Nano
  ARM: dts: suniv: f1c100s: Add support for Audio Codec
  ARM: dts: suniv: f1c100s: Add support for DMA

Link: https://lore.kernel.org/r/Z36h2FwUxro8rouO@wens.tw
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
4 months agoMerge tag 'mtk-dts32-for-v6.14' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Thu, 16 Jan 2025 13:57:23 +0000 (14:57 +0100)]
Merge tag 'mtk-dts32-for-v6.14' of https://git./linux/kernel/git/mediatek/linux into soc/dt

mt7623: fix validation error of ir-receiver

* tag 'mtk-dts32-for-v6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/mediatek/linux:
  ARM: dts: mediatek: mt7623: fix IR nodename

Link: https://lore.kernel.org/r/ea93d0ea-a1a0-4d36-8880-4f05c85f0c1b@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
4 months agoMerge tag 'mtk-dts64-for-v6.14' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Thu, 16 Jan 2025 13:49:08 +0000 (14:49 +0100)]
Merge tag 'mtk-dts64-for-v6.14' of https://git./linux/kernel/git/mediatek/linux into soc/dt

MediaTek ARM64 DeviceTree updates for v6.14

This adds a few cleanups, enhances support for upstreamed SoCs
and machines, other than adding new ones.

In particular, fixes and improvements:
 - MT8516 gets a few fixes for GICv2, Watchdog and I2C, and
   support for the Keypad controller;
 - MT8390 Genio 700 board gets basic audio support;
 - MT8365 gets an alias for its integrated ethernet controller;
 - MT8195 gets an important fix for system suspend: all of the
   machines based on this SoC and its IoT variant can now
   properly perform PM Suspend to RAM;
 - MT8188 gets support for its Mali GPU with DVFS and a fix for
   the OVL Hardware found in the Display Controller using the
   right compatible strings;
 - MT8186 Chromebooks can now suspend properly thanks to a fix
   moving the USB wakeups from XHCI to MTU3 (USB) controller;
 - MT8183 Chromebooks get a fix for their DMIC microphone and
   proper support for their second-source touchscreen;
 - MT7988 SoC and the BananaPi R4 board gets support for Pinctrl,
   eMMC/SD, Thermal, CPU DVFS, PCI-Express, and peripherals like
   the RT5190A PMIC, PCA9545 I2C mux, and others;
 - MT7986 BananaPi R3 board gets support for SATA power socket;

And cleanups:
 - Dropped regulator-compatible property from MediaTek DTs;
 - Aligned thermal node names with bindings on MT8183 Kukui;
 - MT6397 PMIC get proper sub-node names, fixing dt validation;
 - The property enabling Wake-On-Lan feature changed in all of
   the boards and driver to match the actual meaning of it
   (mediatek,mac-wol now enables wol on mac instead of phy);
 - Compatibles for MediaTek PMIC Keypad are added to bindings
   and can now pass dts validation;

...and the newly added machines are:
 - MT8188 (Ciri) Lenovo Chromebook Duet
 - MT8186 (Starmie) ASUS Chromebook Enterprise CM30
 - MT8186 (Chinchou) ASUS Chromebook CZ12 and CZ12 Flip

* tag 'mtk-dts64-for-v6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/mediatek/linux: (71 commits)
  arm64: dts: mediatek: mt8516: add keypad node
  arm64: dts: mediatek: add per-SoC compatibles for keypad nodes
  dt-bindings: mediatek,mt6779-keypad: add more compatibles
  arm64: dts: mediatek: mt8365-evk: Set ethernet alias
  dts: arm64: mediatek: mt8195: Remove MT8183 compatible for OVL
  dts: arm64: mediatek: mt8188: Update OVL compatible from MT8183 to MT8195
  dt-bindings: display: mediatek: ovl: Modify rules for MT8195/MT8188
  dt-bindings: display: mediatek: ovl: Add compatible strings for MT8188 MDP3
  dt-bindings: arm: mediatek: Drop MT8192 Chromebook variants that never shipped
  arm64: dts: mediatek: mt8192: Drop Chromebook variants that never shipped
  arm64: dts: mediatek: mt7988a-bpi-r4: Add proc-supply for cpus
  arm64: dts: mediatek: mt7988a-bpi-r4: Add MediaTek MT6682A/RT5190A PMIC
  arm64: dts: mediatek: mt7988a-bpi-r4: Enable pcie
  arm64: dts: mediatek: mt7988a-bpi-r4: Enable pwm
  arm64: dts: mediatek: mt7988a-bpi-r4: Enable ssusb1 on bpi-r4
  arm64: dts: mediatek: mt7988a-bpi-r4: Enable t-phy for ssusb1
  arm64: dts: mediatek: mt7988a-bpi-r4: Add PCA9545 I2C Mux
  arm64: dts: mediatek: mt7988a-bpi-r4: Enable I2C controllers
  arm64: dts: mediatek: mt7988a-bpi-r4: Add default UART stdout
  arm64: dts: mediatek: mt7988a-bpi-r4: Enable serial0 debug uart
  ...

Link: https://lore.kernel.org/r/20250108100826.32458-1-angelogioacchino.delregno@collabora.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
4 months agoMerge tag 'omap-for-v6.14/dt-signed' of https://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Thu, 16 Jan 2025 13:48:16 +0000 (14:48 +0100)]
Merge tag 'omap-for-v6.14/dt-signed' of https://git./linux/kernel/git/khilman/linux-omap into soc/dt

ARM: dts: ti/omap/dra7: minor updates for v6.14

* tag 'omap-for-v6.14/dt-signed' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap:
  ARM: dts: ti/omap: omap3-gta04: use proper touchscreen properties
  ARM: dts: ti: am437x-l4: remove autoidle for UART
  ARM: dts: ti/omap: gta04: fix pm issues caused by spi module
  ARM: dts: dra7: Add bus_dma_limit for l4 cfg bus

Link: https://lore.kernel.org/r/7hmsg2b42q.fsf@baylibre.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
4 months agoMerge tag 'at91-dt-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/at91...
Arnd Bergmann [Thu, 16 Jan 2025 13:46:56 +0000 (14:46 +0100)]
Merge tag 'at91-dt-6.14' of https://git./linux/kernel/git/at91/linux into soc/dt

Microchip AT91 device tree updates for v6.14

This update includes:
- power monitor support for the SAM9X75 Curiosity board (using the PAC1934
  device)
- fix the VDDSDMMC rail to 3.3V to avoid breaking USB (for SAMA5D27 WLSOM1
  EK and SAMA5D29 Curiosity boards)
- partial support for the SAMA7D65 SoC
- cleanups

* tag 'at91-dt-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux:
  ARM: dts: microchip: sam9x7: Add address/size to spi-controller nodes
  ARM: dts: microchip: sam9x60: Add address/size to spi-controller nodes
  ARM: dts: microchip: sama5d27_wlsom1_ek: Add no-1-8-v property to sdmmc0 node
  ARM: dts: microchip: sama5d29_curiosity: Add no-1-8-v property to sdmmc0 node
  ARM: dts: at91: Add sama7d65 pinmux
  dt-bindings: atmel-sysreg: add sama7d65 RAM and PIT
  dt-bindings: ARM: at91: Document Microchip SAMA7D65 Curiosity
  ARM: dts: microchip: sam9x75_curiosity: Add power monitor support
  ARM: dts: microchip: sam9x7: Move i2c address/size to dtsi

Link: https://lore.kernel.org/r/20250107081424.758980-2-claudiu.beznea@tuxon.dev
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
4 months agoMerge tag 'renesas-dts-for-v6.14-tag2' of https://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Thu, 16 Jan 2025 13:45:44 +0000 (14:45 +0100)]
Merge tag 'renesas-dts-for-v6.14-tag2' of https://git./linux/kernel/git/geert/renesas-devel into soc/dt

Renesas DTS updates for v6.14 (take two)

  - Add pin control support for the RZ/G3E SoC and the RZ/G3E SMARC
    Carrier-II EVK development board,
  - Add Image Signal Processor helper block (FCPVX and VSPX) support for
    the R-Car V4H SoC,
  - Describe odd C-PHY wiring on the White Hawk CSI/DSI sub-board,
  - Miscellaneous fixes and improvements.

* tag 'renesas-dts-for-v6.14-tag2' of https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
  arm64: dts: renesas: white-hawk-csi-dsi: Define CSI-2 data line orders
  arm64: dts: renesas: r8a779g0: Add VSPX instances
  arm64: dts: renesas: r8a779g0: Add FCPVX instances
  arm64: dts: renesas: r9a09g047e57-smarc: Add SCIF pincontrol
  arm64: dts: renesas: r9a09g047: Add pincontrol node
  arm64: dts: renesas: r9a09g057h44-rzv2h-evk: Replace RZG2L macros
  dt-bindings: pinctrl: renesas: Document RZ/G3E SoC
  dt-bindings: pinctrl: renesas: Add alpha-numerical port support for RZ/V2H

Link: https://lore.kernel.org/r/cover.1736180859.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
4 months agoMerge tag 'amlogic-arm64-dt-for-v6.14' of https://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Thu, 16 Jan 2025 13:44:27 +0000 (14:44 +0100)]
Merge tag 'amlogic-arm64-dt-for-v6.14' of https://git./linux/kernel/git/amlogic/linux into soc/dt

Amlogic ARM64 DT changes for v6.13:
- remove broadcom wifi compatible from GX reference boards

* tag 'amlogic-arm64-dt-for-v6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux:
  arm64: dts: meson: remove broadcom wifi compatible from GX reference boards

Link: https://lore.kernel.org/r/72d71d3f-99c3-4767-8c80-8fa7a865c846@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
4 months agoMerge tag 'amlogic-arm-dt-for-v6.14' of https://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Thu, 16 Jan 2025 13:44:02 +0000 (14:44 +0100)]
Merge tag 'amlogic-arm-dt-for-v6.14' of https://git./linux/kernel/git/amlogic/linux into soc/dt

Amlogic ARM DT changes for v6.14:
- remove size and address cells from USB nodes

* tag 'amlogic-arm-dt-for-v6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux:
  ARM: dts: amlogic: meson: remove size and address cells from USB nodes

Link: https://lore.kernel.org/r/77c645b3-0cdf-49f4-84e9-11c74074b9a8@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
4 months agoMerge tag 'sti-dt-for-v6.14-round1' of https://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Thu, 16 Jan 2025 13:43:26 +0000 (14:43 +0100)]
Merge tag 'sti-dt-for-v6.14-round1' of https://git./linux/kernel/git/pchotard/sti into soc/dt

Add and enable MALI400 support for STiH410-b2260

* tag 'sti-dt-for-v6.14-round1' of https://git.kernel.org/pub/scm/linux/kernel/git/pchotard/sti:
  ARM: dts: st: enable the MALI gpu on the stih410-b2260
  ARM: dts: st: add node for the MALI gpu on stih410.dtsi
  dt-bindings: gpu: mali-utgard: Add st,stih410-mali compatible

Link: https://lore.kernel.org/r/f44cb1f0-4d91-4e25-8b1f-3dd9a7bed62b@foss.st.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
4 months agoMerge tag 'imx-dt64-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo...
Arnd Bergmann [Thu, 16 Jan 2025 13:41:30 +0000 (14:41 +0100)]
Merge tag 'imx-dt64-6.14' of https://git./linux/kernel/git/shawnguo/linux into soc/dt

i.MX arm64 device tree change for 6.14:

- Add simple-framebuffer support for imx8mn-bsh-smm-s2/pro board
  (Dario Binacchi)
- Add LVDS compatible string for imx8mm-phg board (Fabio Estevam)
- Add P3T1085 temperature sensor support for imx93-9x9-qsb board (Frank Li)
- Add support for i.MX8MP based aristainetos3 boards from ABB
  (Heiko Schocher)
- Add PCA9452 system PMIC support for imx93-14x14-evk board (Joy Zou)
- Support NXP LVDS to HDMI adapter cards for imx8mp-evk board with DT
  overlays (Liu Ying)
- A couple of changes from Markus Niebel to enable Open Drain for MDIO
  on imx93-tqma9352 boards
- A series from Peng Fan to enable wdog3 fsl,ext-reset-output support
  for NXP i.MX93 boards
- A couple changes from Wei Fang to add NETC support for i.MX95

* tag 'imx-dt64-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  arm64: dts: freescale: imx93-9x9-qsb: enable fsl,ext-reset-output for wdog3
  arm64: dts: freescale: imx93-14x14-evk: enable fsl,ext-reset-output for wdog3
  arm64: dts: freescale: imx93-11x11-evk: enable fsl,ext-reset-output for wdog3
  arm64: dts: imx95-19x19-evk: add ENETC 0 support
  arm64: dts: imx95: add NETC related nodes
  arm64: dts: imx8mm-phg: Add LVDS compatible string
  arm64: dts: imx93: add pca9452 support
  arm64: dts: imx8mn-bsh-smm-s2/pro: add simple-framebuffer
  arm64: dts: imx93-tqma9352-mba93xxla: enable Open Drain for MDIO
  arm64: dts: imx93-tqma9352-mba93xxca: enable Open Drain for MDIO
  arm64: dts: imx93-9x9-qsb: add temp-sensor nxp,p3t1085
  arm64: dts: imx8mp-evk: Add NXP LVDS to HDMI adapter cards
  arm64: dts: imx8mp-skov-revb-mi1010ait-1cp1: Set "media_disp2_pix" clock rate to 70MHz
  arm64: dts: imx8mp: add aristainetos3 board support
  arm64: dts: imx8mq-zii-ultra: remove #address-cells of eeprom@a4
  arm64: dts: imx: Switch to simple-audio-card,hp-det-gpios

Link: https://lore.kernel.org/r/20250105095139.714590-4-shawnguo2@yeah.net
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
4 months agoMerge tag 'imx-dt-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo...
Arnd Bergmann [Thu, 16 Jan 2025 13:40:29 +0000 (14:40 +0100)]
Merge tag 'imx-dt-6.14' of https://git./linux/kernel/git/shawnguo/linux into soc/dt

i.MX ARM device tree change for 6.14:

- Clean up TQMa7x device trees (Alexander Stein)
- Correct node name pattern for mdio-gpio devices (Fabio Estevam)
- Update deprecated GPIO properties for Generic ASoC Sound Card device
  (Geert Uytterhoeven)
- Set USB dr_mode property to OTG explicitly for imx6qdl-sabresd based
  boards (Hui Wang)
- Update MAINTAINERS entry for DH electronics DHSOM boards (Marek Vasut)
- A series from Stefan Kerkmann to add phy-3p0-supply for usb phys

* tag 'imx-dt-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  ARM: dts: imx: Use the correct mdio pattern
  ARM: dts: imx6qdl-sabresd: add dr_mode to usbotg
  ARM: dts: imx6qdl-apalis: Change to "adi,force-bt656-4"
  ARM: dts: imx6sx: add phy-3p0-supply to usb phys
  ARM: dts: imx6sl: add phy-3p0-supply to usb phys
  ARM: dts: imx6qdl: add phy-3p0-supply to usb phys
  MAINTAINERS: Update entry for DH electronics DHSOM SoMs and boards
  ARM: dts: imx7[d]-mba7: add Ethernet PHY IRQ support
  ARM: dts: imx7-mba7: Remove duplicated power supply
  ARM: dts: imx7-mba7: Fix SD card vmmc-supply
  ARM: dts: imx7-mba7: Add 3.3V and 5.0V regulators
  ARM: dts: imx7-tqma7: add missing vs-supply for LM75A (rev. 01xxx)
  ARM: dts: imx7-tqma7: Remove superfluous status="okay" property
  ARM: dts: imx7-mba7: remove LVDS transmitter regulator
  ARM: dts: imx: Switch to {hp,mic}-det-gpios

Link: https://lore.kernel.org/r/20250105095139.714590-3-shawnguo2@yeah.net
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
4 months agoMerge tag 'imx-bindings-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Thu, 16 Jan 2025 13:40:04 +0000 (14:40 +0100)]
Merge tag 'imx-bindings-6.14' of https://git./linux/kernel/git/shawnguo/linux into soc/dt

i.MX dt-bindings change for 6.14:

- Add compatibles for i.MX8MP based SoM and carrier from ABB

* tag 'imx-bindings-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  dt-bindings: arm: fsl: Add ABB SoM and carrier

Link: https://lore.kernel.org/r/20250105095139.714590-2-shawnguo2@yeah.net
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
4 months agoMerge tag 'socfpga_dts_updates_v6.14' of https://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Thu, 16 Jan 2025 13:39:10 +0000 (14:39 +0100)]
Merge tag 'socfpga_dts_updates_v6.14' of https://git./linux/kernel/git/dinguyen/linux into soc/dt

SoCFPGA DTS updates for v6.14
- Remove unused and undocumented property "snps,max-mtu"
- Add gpio and spi node for Agilex5
- Add VGIC maintenance interrupt for Agilex
- Use correct reset name of "stmmaceth-ocp" instead of "ahb"
- Drop unused #address-cells/#size-cells in the cyclone5-mcvevk

* tag 'socfpga_dts_updates_v6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux:
  arm64: dts: altera: Remove unused and undocumented "snps,max-mtu" property
  arm64: dts: socfpga: agilex5: Add gpio0 node and spi dma handshake id
  arm64: dts: socfpga: agilex: Add VGIC maintenance interrupt
  arm: dts: socfpga: use reset-name "stmmaceth-ocp" instead of "ahb"
  ARM: dts: socfpga_cyclone5_mcvevk: Drop unused #address-cells/#size-cells

Link: https://lore.kernel.org/r/20250103023012.1268627-1-dinguyen@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
4 months agoMerge tag 'hisi-arm64-dt-for-6.14' of https://github.com/hisilicon/linux-hisi into...
Arnd Bergmann [Thu, 16 Jan 2025 13:38:22 +0000 (14:38 +0100)]
Merge tag 'hisi-arm64-dt-for-6.14' of https://github.com/hisilicon/linux-hisi into soc/dt

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

- Remove "enable-dma" and "bus-id" properties from the spi node on hi6220

* tag 'hisi-arm64-dt-for-6.14' of https://github.com/hisilicon/linux-hisi:
  arm64: dts: hisilicon: Remove unused and undocumented "enable-dma" and "bus-id" properties

Link: https://lore.kernel.org/r/67767DCA.8060902@hisilicon.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
4 months agoMerge tag 'dt-cleanup-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk...
Arnd Bergmann [Thu, 16 Jan 2025 13:37:20 +0000 (14:37 +0100)]
Merge tag 'dt-cleanup-6.14' of https://git./linux/kernel/git/krzk/linux-dt into soc/dt

Minor improvements in ARM DTS for v6.14

1. Marvell: Use un-deprecated hp-det-gpios (no ABI impact expected).
2. SoCFPGA: Drop spidev devices which are not properly described in DTS,
   but are using some other compatibles.  This was part of wider tree
   effort to fix such incorrect hardware descriptions.

   Important: Dropping this device node will have user-visible impact:
   spidev device will not register.

* tag 'dt-cleanup-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-dt:
  ARM: dts: socfpga: remove non-existent DAC from CycloneV devkit
  ARM: dts: marvell: mmp2-olpc-xo-1-75: Switch to {hp,mic}-det-gpios

Link: https://lore.kernel.org/r/20241231132847.135814-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
4 months agoMerge tag 'dt64-cleanup-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Thu, 16 Jan 2025 12:39:42 +0000 (13:39 +0100)]
Merge tag 'dt64-cleanup-6.14' of https://git./linux/kernel/git/krzk/linux-dt into soc/dt

Minor improvements in ARM64 DTS for v6.14

1. Spreadtrum:
   - Correct few issues pointed out by DT schema around properties and
     node names.
   - Move fuel-gauge from DTSI to DTS, because it belongs to the board.
   - Use undeprecated properties, like battery-detect-gpios, already
     supported by Linux.

2. Uniphier: Use un-deprecated hp-det-gpios (no ABI impact expected).

* tag 'dt64-cleanup-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-dt:
  arm64: dts: sprd: Fix battery-detect-gpios property
  arm64: dts: uniphier: Switch to hp-det-gpios
  arm64: dts: sprd: sc9863a: reorder clocks, clock-names per bindings
  arm64: dts: sprd: sc9863a: fix in-ports property
  arm64: dts: sprd: sc2731: move fuel-gauge monitored-battery to device DTS
  arm64: dts: sprd: sp9860g-1h10: fix factory-internal-resistance-micro-ohms property
  arm64: dts: sprd: sp9860g-1h10: fix constant-charge-voltage-max-microvolt property

Link: https://lore.kernel.org/r/20241231132847.135814-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
4 months agoMerge tag 'samsung-dt64-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Wed, 15 Jan 2025 17:51:13 +0000 (18:51 +0100)]
Merge tag 'samsung-dt64-6.14' of https://git./linux/kernel/git/krzk/linux into soc/dt

Samsung DTS ARM64 changes for v6.14

1. Exynos8895: Add UART nodes, PMU (performance) for the M2 cluster and
   I2C controllers in the camera block (HSI2C in CAM0-3).
2. Exynos990: Add Power Management Unit (Samsung block), PMU
   (performance) for M5 cluster and two clock controllers.
3. ExynosAutov920: Add watchdog and DMA controllers.
4. Google GS101: Minor fixes for phy and USB. Add USB Type-C.
5. Exynos850-e850-96 board: Drop gap in memory layout.
6. New SoC: Exynos9810.
7. New boards, all mobile phones:
    - Exynos9810:
      Samsung Galaxy S9 (SM-G960F)
    - Exynos990:
      Samsung Galaxy S20 FE (SM-G780F)
      Samsung Galaxy S20 5G  (SM-G980F)

* tag 'samsung-dt64-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux: (23 commits)
  arm64: dts: exynos8895: Add camera hsi2c nodes
  arm64: dts: exynos990: Add clock management unit nodes
  arm64: dts: exynos: gs101-oriole: add pd-disable and typec-power-opmode
  arm64: dts: exynos: gs101-oriole: enable Maxim max77759 TCPCi
  arm64: dts: exynos: Add initial support for Samsung Galaxy S9 (SM-G960F)
  arm64: dts: exynos: Add Exynos9810 SoC support
  arm64: dts: exynos850-e850-96: Specify reserved secure memory explicitly
  arm64: dts: exynos990: Add a PMU node for the third cluster
  arm64: dts: exynosautov920: Add DMA nodes
  arm64: dts: exynos8895: Add a PMU node for the second cluster
  dt-bindings: clock: samsung: Add Exynos990 SoC CMU bindings
  arm64: dts: exynosautov920: add watchdog DT node
  arm64: dts: exynos: Add initial support for Samsung Galaxy S20 (x1slte)
  arm64: dts: exynos: Add initial support for Samsung Galaxy S20 5G (x1s)
  arm64: dts: exynos: Add initial support for Samsung Galaxy S20 Series boards (x1s-common)
  dt-bindings: arm: samsung: samsung-boards: Add bindings for SM-G981B and SM-G980F board
  arm64: dts: exynos: gs101: allow stable USB phy Vbus detection
  arm64: dts: exynos: gs101: phy region for exynos5-usbdrd is larger
  MAINTAINERS: add myself and Tudor as reviewers for Google Tensor SoC
  arm64: dts: exynos990: Add pmu and syscon-reboot nodes
  ...

Link: https://lore.kernel.org/r/20241231131742.134329-4-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
4 months agoMerge tag 'thead-dt-for-v6.14' of https://github.com/pdp7/linux into soc/dt
Arnd Bergmann [Wed, 15 Jan 2025 17:50:39 +0000 (18:50 +0100)]
Merge tag 'thead-dt-for-v6.14' of https://github.com/pdp7/linux into soc/dt

thead-dt-for-v6.14: T-HEAD Devicetrees for v6.14

Add mailbox node for the T-Head TH1520 RISC-V SoC. The mailbox bindings
and driver were already merged in v6.13:

b2cf36e4a2ac ("dt-bindings: mailbox: Add thead,th1520-mailbox bindings")
5d4d263e1c6b ("mailbox: Introduce support for T-head TH1520 Mailbox driver")

Signed-off-by: Drew Fustini <drew@pdp7.com>
* tag 'thead-dt-for-v6.14' of https://github.com/pdp7/linux:
  riscv: dts: thead: Add mailbox node

4 months agoMerge tag 'samsung-dt-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk...
Arnd Bergmann [Wed, 15 Jan 2025 17:48:27 +0000 (18:48 +0100)]
Merge tag 'samsung-dt-6.14' of https://git./linux/kernel/git/krzk/linux into soc/dt

Samsung DTS ARM changes for v6.14

Few fixes and improvements for sound on Galaxy Tab3 (Exynos4212).

* tag 'samsung-dt-6.14' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  ARM: dts: samsung: exynos4212-tab3: Drop interrupt from WM1811 codec
  ARM: dts: samsung: exynos4212-tab3: Add MCLK2 clock to WM1811 codec config
  ARM: dts: samsung: exynos4212-tab3: Fix headset mic, add jack detection

Link: https://lore.kernel.org/r/20241231131742.134329-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
5 months agoarm64: tegra: Fix Tegra234 PCIe interrupt-map
Brad Griffis [Fri, 13 Dec 2024 23:56:02 +0000 (23:56 +0000)]
arm64: tegra: Fix Tegra234 PCIe interrupt-map

For interrupt-map entries, the DTS specification requires
that #address-cells is defined for both the child node and the
interrupt parent.  For the PCIe interrupt-map entries, the parent
node ("gic") has not specified #address-cells. The existing layout
of the PCIe interrupt-map entries indicates that it assumes
that #address-cells is zero for this node.

Explicitly set #address-cells to zero for "gic" so that it complies
with the device tree specification.

NVIDIA EDK2 works around this issue by assuming #address-cells
is zero in this scenario, but that workaround is being removed and so
this update is needed or else NVIDIA EDK2 cannot successfully parse the
device tree and the board cannot boot.

Fixes: ec142c44b026 ("arm64: tegra: Add P2U and PCIe controller nodes to Tegra234 DT")
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20241213235602.452303-1-bgriffis@nvidia.com
Signed-off-by: Thierry Reding <treding@nvidia.com>
5 months agoarm64: tegra: Disable Tegra234 sce-fabric node
Sumit Gupta [Wed, 18 Dec 2024 00:07:37 +0000 (00:07 +0000)]
arm64: tegra: Disable Tegra234 sce-fabric node

Access to safety cluster engine (SCE) fabric registers was blocked
by firewall after the introduction of Functional Safety Island in
Tegra234. After that, any access by software to SCE registers is
correctly resulting in the internal bus error. However, when CPUs
try accessing the SCE-fabric registers to print error info,
another firewall error occurs as the fabric registers are also
firewall protected. This results in a second error to be printed.
Disable the SCE fabric node to avoid printing the misleading error.
The first error info will be printed by the interrupt from the
fabric causing the actual access.

Cc: stable@vger.kernel.org
Fixes: 302e154000ec ("arm64: tegra: Add node for CBB 2.0 on Tegra234")
Signed-off-by: Sumit Gupta <sumitg@nvidia.com>
Signed-off-by: Ivy Huang <yijuh@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://lore.kernel.org/r/20241218000737.1789569-3-yijuh@nvidia.com
Signed-off-by: Thierry Reding <treding@nvidia.com>
5 months agoarm64: tegra: Fix typo in Tegra234 dce-fabric compatible
Sumit Gupta [Wed, 18 Dec 2024 00:07:36 +0000 (00:07 +0000)]
arm64: tegra: Fix typo in Tegra234 dce-fabric compatible

The compatible string for the Tegra DCE fabric is currently defined as
'nvidia,tegra234-sce-fabric' but this is incorrect because this is the
compatible string for SCE fabric. Update the compatible for the DCE
fabric to correct the compatible string.

This compatible needs to be correct in order for the interconnect
to catch things such as improper data accesses.

Cc: stable@vger.kernel.org
Fixes: 302e154000ec ("arm64: tegra: Add node for CBB 2.0 on Tegra234")
Signed-off-by: Sumit Gupta <sumitg@nvidia.com>
Signed-off-by: Ivy Huang <yijuh@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://lore.kernel.org/r/20241218000737.1789569-2-yijuh@nvidia.com
Signed-off-by: Thierry Reding <treding@nvidia.com>
5 months agoarm64: tegra: Fix DMA ID for SPI2
Akhil R [Fri, 6 Dec 2024 10:52:00 +0000 (16:22 +0530)]
arm64: tegra: Fix DMA ID for SPI2

DMA ID for SPI2 is '16'. Update the incorrect value in the devicetree.

Fixes: bb9667d8187b ("arm64: tegra: Add SPI device tree nodes for Tegra234")
Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Link: https://lore.kernel.org/r/20241206105201.53596-1-akhilrajeev@nvidia.com
Signed-off-by: Thierry Reding <treding@nvidia.com>
5 months agoarm64: dts: ti: k3-am62a-wakeup: Configure ti-sysc for wkup_uart0
Vibhore Vardhan [Tue, 31 Dec 2024 09:14:19 +0000 (14:44 +0530)]
arm64: dts: ti: k3-am62a-wakeup: Configure ti-sysc for wkup_uart0

Similar to the TI K3-AM62x SoC commit ce27f7f9e328c8582a169f97f1466976561f1
("arm64: dts: ti: k3-am62-wakeup: Configure ti-sysc for wkup_uart0"),
The devices in the wkup domain are capable of waking up the system from
suspend. We can configure the wkup domain devices in a generic way using
the ti-sysc interconnect target module driver like we have done with the
earlier TI SoCs.

As ti-sysc manages the SYSCONFIG related registers independent of the
child hardware device, the wake-up configuration is also set even if
wkup_uart0 is reserved by sysfw.

The wkup_uart0 device has interconnect target module register mapping like
dra7 wkup uart. There is a 1 MB interconnect target range with one uart IP
block in the target module. The power domain and clock affects the whole
interconnect target module.

Note we change the functional clock name to follow the ti-sysc binding
and use "fck" instead of "fclk".

Also note that we need to disable the target module reset as noted by
Markus. Otherwise the sysfw using wkup_uart0 can get confused on some
devices leading to boot time issues such as mbox timeouts.

Signed-off-by: Vibhore Vardhan <vibhore@ti.com>
Signed-off-by: Markus Schneider-Pargmann <msp@baylibre.com>
[d-gole@ti.com: Reworded the entire commit message]
Signed-off-by: Dhruva Gole <d-gole@ti.com>
Link: https://lore.kernel.org/r/20241231-am62a-dt-ti-sysc-wkup-v1-1-a9b0d18a2649@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
5 months agoarm64: dts: ti: k3-j722s-evm: Enable PMIC
Udit Kumar [Thu, 2 Jan 2025 10:38:14 +0000 (16:08 +0530)]
arm64: dts: ti: k3-j722s-evm: Enable PMIC

Add support for TPS6522x PMIC family on wakeup I2C0 bus.
This device provides regulators (bucks and LDOs), along with
GPIOs, and monitors SOC's MCU error signal.

Signed-off-by: Udit Kumar <u-kumar1@ti.com>
Link: https://lore.kernel.org/r/20250102103814.102499-1-u-kumar1@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
5 months agoarm64: dts: ti: k3-am69-sk: Add USB SuperSpeed support
Dasnavis Sabiya [Wed, 8 Jan 2025 08:59:46 +0000 (09:59 +0100)]
arm64: dts: ti: k3-am69-sk: Add USB SuperSpeed support

AM69 SK board has two stacked USB3 connectors:
   1. USB3 (Stacked TypeA + TypeC)
   2. USB3 TypeA Hub interfaced through TUSB8041.

The board uses SERDES0 Lane 3 for USB3 IP. So update the
SerDes lane info for PCIe and USB. Add the pin mux data
and enable USB 3.0 support with its respective SERDES settings.

Signed-off-by: Dasnavis Sabiya <sabiya.d@ti.com>
Signed-off-by: Enric Balletbo i Serra <eballetb@redhat.com>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20250108-am69sk-dt-usb-v3-1-bb4981534754@redhat.com
Signed-off-by: Nishanth Menon <nm@ti.com>
5 months agoarm64: dts: ti: k3-am625-beagleplay: Fix DP83TD510E reset time
Francesco Valla [Sun, 5 Jan 2025 16:26:30 +0000 (17:26 +0100)]
arm64: dts: ti: k3-am625-beagleplay: Fix DP83TD510E reset time

The reset deassert time for the DP83TD510E is incorrectly set to
60000us, while the datasheet states that the minimum time required
after an hard reset is 30us (while 60ms is the time required for the
Power-On Reset after supply stabilization). The error probably arose
from the two timings being indicated by the same symbol (T2).

Lower the required time to 35us, aligning it to the value required for
the PHY to complete the reset AND to be able to accept the RMII master
clock. This saves ~60ms on boot if the MDIO driver is built-in.

Signed-off-by: Francesco Valla <francesco@valla.it>
Link: https://lore.kernel.org/r/20250105162630.243899-1-francesco@valla.it
Signed-off-by: Nishanth Menon <nm@ti.com>
5 months agoarm64: dts: ti: k3-am642-hummingboard-t: Convert overlay to board dts
Josua Mayer [Wed, 1 Jan 2025 12:30:22 +0000 (13:30 +0100)]
arm64: dts: ti: k3-am642-hummingboard-t: Convert overlay to board dts

SolidRun HummingBoard-T has two options for M.2 connector, supporting
either PCI-E or USB-3.1 Gen 1 - depending on configuration of a mux
on the serdes lane.
The required configurations in device-tree were modeled as overlays.

The USB-3.1 overlay uses /delete-property/ to unset a boolean property
on the usb controller limiting it to USB-2.0 by default.
Overlays can not delete a property from the base dtb, therefore this
overlay is at this time useless.

Convert both overlays into full dts by including the base board dts.
While the pcie overlay was functional, both are converted for a
consistent user experience when selecting between the two mutually
exclusive configurations.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Closes: https://lore.kernel.org/linux-devicetree/CAMuHMdXTgpTnJ9U7egC2XjFXXNZ5uiY1O+WxNd6LPJW5Rs5KTw@mail.gmail.com
Fixes: bbef42084cc1 ("arm64: dts: ti: hummingboard-t: add overlays for m.2 pci-e and usb-3")
Signed-off-by: Josua Mayer <josua@solid-run.com>
Link: https://lore.kernel.org/r/20250101-am64-hb-fix-overlay-v2-1-78143f5da28c@solid-run.com
Signed-off-by: Nishanth Menon <nm@ti.com>
5 months agoarm64: dts: ti: k3-am69-sk: Add overlay for PCIE0 Endpoint Mode
Siddharth Vadapalli [Thu, 5 Dec 2024 10:50:36 +0000 (16:20 +0530)]
arm64: dts: ti: k3-am69-sk: Add overlay for PCIE0 Endpoint Mode

Add overlay to enable the PCIE0 instance of PCIe on AM69-SK in Endpoint
mode of operation.

Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Link: https://lore.kernel.org/r/20241205105041.749576-5-s-vadapalli@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
5 months agoarm64: dts: ti: k3-am68-sk-base-board: Add overlay for PCIE1 Endpoint Mode
Siddharth Vadapalli [Thu, 5 Dec 2024 10:50:35 +0000 (16:20 +0530)]
arm64: dts: ti: k3-am68-sk-base-board: Add overlay for PCIE1 Endpoint Mode

Add overlay to enable the PCIE1 instance of PCIe on AM68-SK-Base-Board in
Endpoint mode of operation. PCIE1 on AM68-SK-Base-Board supports x2 Lane
operation unlike its counterpart on J721S2-EVM which supports x1 Lane.

Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Link: https://lore.kernel.org/r/20241205105041.749576-4-s-vadapalli@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
5 months agoarm64: dts: ti: k3-j721e-evm: Add overlay for PCIE1 Endpoint Mode
Siddharth Vadapalli [Thu, 5 Dec 2024 10:50:34 +0000 (16:20 +0530)]
arm64: dts: ti: k3-j721e-evm: Add overlay for PCIE1 Endpoint Mode

Add overlay to enable the PCIE1 instance of PCIe on J721E-EVM in Endpoint
mode of operation. Additionally, in order to support both PCIE0 and PCIE1
in Endpoint Mode of operation, enable applying device-tree overlays on
"k3-j721e-evm-pcie0-ep.dtb", thereby allowing the overlay for PCIE1 in
Endpoint mode to be applied on the aforementioned DTB.

Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Link: https://lore.kernel.org/r/20241205105041.749576-3-s-vadapalli@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
5 months agoarm64: dts: ti: Makefile: Fix typo "k3-j7200-evm-pcie1-ep.dtbo"
Siddharth Vadapalli [Thu, 5 Dec 2024 10:50:33 +0000 (16:20 +0530)]
arm64: dts: ti: Makefile: Fix typo "k3-j7200-evm-pcie1-ep.dtbo"

The list of "dtbs" should contain the resultant "dtb" formed by applying
the "dtbo" overlay on the base "dtb", rather than the "dtbo" itself.

Hence, change "k3-j7200-evm-pcie1-ep.dtbo" to "k3-j7200-evm-pcie1-ep.dtb"
in the list of "dtbs".

Fixes: f43ec89bbc83 ("arm64: dts: ti: k3-j7200-evm: Add overlay for PCIE1 Endpoint Mode")
Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Link: https://lore.kernel.org/r/20241205105041.749576-2-s-vadapalli@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
5 months agoARM: dts: mediatek: mt7623: fix IR nodename
Rafał Miłecki [Mon, 17 Jun 2024 09:46:33 +0000 (11:46 +0200)]
ARM: dts: mediatek: mt7623: fix IR nodename

Fix following validation error:
arch/arm/boot/dts/mediatek/mt7623a-rfb-emmc.dtb: cir@10013000: $nodename:0: 'cir@10013000' does not match '^ir(-receiver)?(@[a-f0-9]+)?$'
        from schema $id: http://devicetree.org/schemas/media/mediatek,mt7622-cir.yaml#

Fixes: 91044f38dae7 ("arm: dts: mt7623: add ir nodes to the mt7623.dtsi file")
Cc: linux-media@vger.kernel.org
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Link: https://lore.kernel.org/r/20240617094634.23173-1-zajec5@gmail.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
5 months agoARM: dts: ti/omap: omap3-gta04: use proper touchscreen properties
Andreas Kemnade [Thu, 5 Dec 2024 20:44:13 +0000 (21:44 +0100)]
ARM: dts: ti/omap: omap3-gta04: use proper touchscreen properties

Specify the dimensions of the touchscreen propertly so that
no userspace configuration is needed for it.
Tested with x11 and weston on Debian bookworm.

What is in now is some debris from earlier tries to handle
scaling in kernel:

https://lore.kernel.org/linux-input/cover.1482936802.git.hns@goldelico.com/

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Link: https://lore.kernel.org/r/20241205204413.2466775-3-akemnade@kernel.org
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
5 months agoARM: dts: ti: am437x-l4: remove autoidle for UART
Judith Mendez [Fri, 20 Dec 2024 22:35:23 +0000 (16:35 -0600)]
ARM: dts: ti: am437x-l4: remove autoidle for UART

According to the TRM [0] in 21.5.1.42 UART_SYSC Register,
the autoidle bit should not be set for UART, so remove the
appropriate SYSC_OMAP2_AUTOIDLE flag.

[0] https://www.ti.com/lit/ug/spruhl7i/spruhl7i.pdf

Signed-off-by: Judith Mendez <jm@ti.com>
Reviewed-by: Sukrut Bellary <sbellary@baylibre.com>
Link: https://lore.kernel.org/r/20241220223523.2125278-1-jm@ti.com
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
5 months agoARM: dts: ti/omap: gta04: fix pm issues caused by spi module
Andreas Kemnade [Wed, 4 Dec 2024 17:41:52 +0000 (18:41 +0100)]
ARM: dts: ti/omap: gta04: fix pm issues caused by spi module

Despite CM_IDLEST1_CORE and CM_FCLKEN1_CORE behaving normal,
disabling SPI leads to messages like when suspending:
Powerdomain (core_pwrdm) didn't enter target state 0
and according to /sys/kernel/debug/pm_debug/count off state is not
entered. That was not connected to SPI during the discussion
of disabling SPI. See:
https://lore.kernel.org/linux-omap/20230122100852.32ae082c@aktux/

The reason is that SPI is per default in slave mode. Linux driver
will turn it to master per default. It slave mode, the powerdomain seems to
be kept active if active chip select input is sensed.

Fix that by explicitly disabling the SPI3 pins which used to be muxed by
the bootloader since they are available on an optionally fitted header
which would require dtb overlays anyways.

Fixes: a622310f7f01 ("ARM: dts: gta04: fix excess dma channel usage")
CC: stable@vger.kernel.org
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20241204174152.2360431-1-andreas@kemnade.info
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
5 months agoARM: dts: microchip: add support for sama7d65_curiosity board
Romain Sioen [Tue, 7 Jan 2025 16:07:27 +0000 (09:07 -0700)]
ARM: dts: microchip: add support for sama7d65_curiosity board

Add device tree support for the SAMA7D65 Curiosity board.
Update the Makefile to include the new device tree file.

uart6 is related to flexcom6, hence not sorted in alphabetical order.

Signed-off-by: Romain Sioen <romain.sioen@microchip.com>
Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com>
Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com>
Link: https://lore.kernel.org/r/20250107160850.120537-6-Ryan.Wanner@microchip.com
[claudiu.beznea: moved chosen node after alias for aphanumerically
 sortage, added a space in front of <PIN_PD19__FLEXCOM6_IO1> for
 alignment]
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
5 months agoARM: dts: microchip: add sama7d65 SoC DT
Ryan Wanner [Tue, 7 Jan 2025 16:07:26 +0000 (09:07 -0700)]
ARM: dts: microchip: add sama7d65 SoC DT

Add Device Tree for sama7d65 SoC.

Co-developed-by: Dharma Balasubiramani <dharma.b@microchip.com>
Signed-off-by: Dharma Balasubiramani <dharma.b@microchip.com>
Co-developed-by: Romain Sioen <romain.sioen@microchip.com>
Signed-off-by: Romain Sioen <romain.sioen@microchip.com>
Co-developed-by: Varshini Rajendran <varshini.rajendran@microchip.com>
Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com>
Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
Link: https://lore.kernel.org/r/20250107160850.120537-5-Ryan.Wanner@microchip.com
[claudiu.beznea: dropped comma typo from copyright, dropped space in
 front of slow_xtal node, dropped empty space after slow_xtal node]
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
5 months agoarm64: dts: mediatek: mt8516: add keypad node
Val Packett [Wed, 25 Dec 2024 19:26:21 +0000 (16:26 -0300)]
arm64: dts: mediatek: mt8516: add keypad node

Add a keypad matrix node for the MT8516/MT8167 SoC.

Signed-off-by: Val Packett <val@packett.cool>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241225192631.25017-4-val@packett.cool
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agoarm64: dts: mediatek: add per-SoC compatibles for keypad nodes
Val Packett [Wed, 25 Dec 2024 19:26:20 +0000 (16:26 -0300)]
arm64: dts: mediatek: add per-SoC compatibles for keypad nodes

The mt6779-keypad binding specifies using a compatible for the
actual SoC before the generic MT6779 one.

Fixes: a8013418d35c ("arm64: dts: mediatek: mt8183: add keyboard node")
Fixes: 6ff945376556 ("arm64: dts: mediatek: Initial mt8365-evk support")
Signed-off-by: Val Packett <val@packett.cool>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241225192631.25017-3-val@packett.cool
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agodt-bindings: mediatek,mt6779-keypad: add more compatibles
Val Packett [Wed, 25 Dec 2024 19:26:19 +0000 (16:26 -0300)]
dt-bindings: mediatek,mt6779-keypad: add more compatibles

Add compatibles for SoCs using this device (mt8183, mt8365, mt8516).

Signed-off-by: Val Packett <val@packett.cool>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241225192631.25017-2-val@packett.cool
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agoarm64: dts: mediatek: mt8365-evk: Set ethernet alias
Sjoerd Simons [Mon, 6 Jan 2025 08:57:31 +0000 (09:57 +0100)]
arm64: dts: mediatek: mt8365-evk: Set ethernet alias

Configure an the ethernet alias to match the ethernet controller (even
if it's off by default). This allows e.g. u-boot to configure the mac
address on boot properly

Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20250106085737.227622-1-sjoerd@collabora.com
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agodts: arm64: mediatek: mt8195: Remove MT8183 compatible for OVL
Jason-JH.Lin [Thu, 19 Dec 2024 18:15:31 +0000 (02:15 +0800)]
dts: arm64: mediatek: mt8195: Remove MT8183 compatible for OVL

The OVL hardware capabilities have changed starting from MT8195,
making the MT8183 compatible no longer applicable.
Therefore, it is necessary to remove the MT8183 compatible for OVL.

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Jason-JH.Lin <jason-jh.lin@mediatek.com>
Fixes: b852ee68fd72 ("arm64: dts: mt8195: Add display node for vdosys0")
Link: https://lore.kernel.org/r/20241219181531.4282-5-jason-jh.lin@mediatek.com
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agodts: arm64: mediatek: mt8188: Update OVL compatible from MT8183 to MT8195
Jason-JH.Lin [Thu, 19 Dec 2024 18:15:30 +0000 (02:15 +0800)]
dts: arm64: mediatek: mt8188: Update OVL compatible from MT8183 to MT8195

The OVL hardware capabilities have changed starting from MT8195,
making the MT8183 compatible no longer applicable.
Therefore, it is necessary to update the OVL compatible from MT8183 to
MT8195.

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Jason-JH.Lin <jason-jh.lin@mediatek.com>
Fixes: 7075b21d1a8e ("arm64: dts: mediatek: mt8188: Add display nodes for vdosys0")
Link: https://lore.kernel.org/r/20241219181531.4282-4-jason-jh.lin@mediatek.com
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agodt-bindings: display: mediatek: ovl: Modify rules for MT8195/MT8188
Hsiao Chien Sung [Thu, 19 Dec 2024 18:15:29 +0000 (02:15 +0800)]
dt-bindings: display: mediatek: ovl: Modify rules for MT8195/MT8188

Modify rules for both MT8195 and MT8188.
Hardware capabilities include color formats and AFBC are
changed since MT8195, stop using the settings of MT8183.

Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: CK Hu <ck.hu@mediatek.com>
Signed-off-by: Hsiao Chien Sung <shawn.sung@mediatek.com>
Signed-off-by: Jason-JH.Lin <jason-jh.lin@mediatek.com>
Acked-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Link: https://lore.kernel.org/r/20241219181531.4282-3-jason-jh.lin@mediatek.com
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agodt-bindings: display: mediatek: ovl: Add compatible strings for MT8188 MDP3
Jason-JH.Lin [Thu, 19 Dec 2024 18:15:28 +0000 (02:15 +0800)]
dt-bindings: display: mediatek: ovl: Add compatible strings for MT8188 MDP3

Add compatible strings for the MDP3 OVL hardware components in
MediaTek's MT8188 SoC and it is compatible with the existing
MT8195 MDP OVL components.

Signed-off-by: Jason-JH.Lin <jason-jh.lin@mediatek.com>
Suggested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Acked-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20241219181531.4282-2-jason-jh.lin@mediatek.com
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agodt-bindings: arm: mediatek: Drop MT8192 Chromebook variants that never shipped
Chen-Yu Tsai [Tue, 24 Dec 2024 08:48:37 +0000 (16:48 +0800)]
dt-bindings: arm: mediatek: Drop MT8192 Chromebook variants that never shipped

The Hayato rev5 sku2 and Spherion rev4 variants were designed in
anticipation of shortages of the headphone codec. This never happened.
As far as our records show: the variants were never produced or
shipped, and no such devices were deployed to any lab.

Drop them.

Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20241224084839.2904335-1-wenst@chromium.org
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agoarm64: dts: mediatek: mt8192: Drop Chromebook variants that never shipped
Chen-Yu Tsai [Tue, 24 Dec 2024 08:48:38 +0000 (16:48 +0800)]
arm64: dts: mediatek: mt8192: Drop Chromebook variants that never shipped

The Hayato rev5 sku2 and Spherion rev4 variants were designed in
anticipation of shortages of the headphone codec. This never happened.
As far as our records show: the variants were never produced or
shipped, and no such devices were deployed to any lab.

Drop them.

Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://lore.kernel.org/r/20241224084839.2904335-2-wenst@chromium.org
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agoarm64: dts: mediatek: mt7988a-bpi-r4: Add proc-supply for cpus
Frank Wunderlich [Fri, 20 Dec 2024 16:38:36 +0000 (17:38 +0100)]
arm64: dts: mediatek: mt7988a-bpi-r4: Add proc-supply for cpus

Add proc-supply property to cpus on Bananapi R4 board.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241220163838.114786-3-linux@fw-web.de
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agoarm64: dts: mediatek: mt7988a-bpi-r4: Add MediaTek MT6682A/RT5190A PMIC
Frank Wunderlich [Fri, 20 Dec 2024 16:38:35 +0000 (17:38 +0100)]
arm64: dts: mediatek: mt7988a-bpi-r4: Add MediaTek MT6682A/RT5190A PMIC

Bananapi R4 Board contains a MT6682A pmic which is compatible to rt5190a.
Add its node to the i2 controller.

The BananaPi R4 board has a MediaTek MT6682A PMIC, a rebrand of the
Richtek RT5190A chip, connected to the I2C0 bus.

Add the relevant node and, while at it, also configure the regulators
from this PMIC that are used on this board.

Only Buck2/Buck3 voltage can be controlled by software.

BUCK4 input is 5V from BUCK1 output, and the resistor (mapped to RP30/RP31
on BPI-R4) configures BUCK4 output to 1.8V.
LDO input is 3.3V from 3.3VD, and the resistor (mapped to RP38/RP40 on
BPI-R4) configures LDO output to 1.8V.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241220163838.114786-2-linux@fw-web.de
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agoarm64: dts: mediatek: mt7988a-bpi-r4: Enable pcie
Frank Wunderlich [Tue, 17 Dec 2024 09:12:36 +0000 (10:12 +0100)]
arm64: dts: mediatek: mt7988a-bpi-r4: Enable pcie

Enable the pci controllers on BPI-R4.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241217091238.16032-23-linux@fw-web.de
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agoarm64: dts: mediatek: mt7988a-bpi-r4: Enable pwm
Frank Wunderlich [Tue, 17 Dec 2024 09:12:35 +0000 (10:12 +0100)]
arm64: dts: mediatek: mt7988a-bpi-r4: Enable pwm

Enable pwm on Bananapi R4 board.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241217091238.16032-22-linux@fw-web.de
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agoarm64: dts: mediatek: mt7988a-bpi-r4: Enable ssusb1 on bpi-r4
Frank Wunderlich [Tue, 17 Dec 2024 09:12:34 +0000 (10:12 +0100)]
arm64: dts: mediatek: mt7988a-bpi-r4: Enable ssusb1 on bpi-r4

Enable usb on Bananapi R4 board.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241217091238.16032-21-linux@fw-web.de
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agoarm64: dts: mediatek: mt7988a-bpi-r4: Enable t-phy for ssusb1
Frank Wunderlich [Tue, 17 Dec 2024 09:12:33 +0000 (10:12 +0100)]
arm64: dts: mediatek: mt7988a-bpi-r4: Enable t-phy for ssusb1

Bananapi R4 uses t-phy for usb. Enable its node at board level.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241217091238.16032-20-linux@fw-web.de
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agoarm64: dts: mediatek: mt7988a-bpi-r4: Add PCA9545 I2C Mux
Frank Wunderlich [Tue, 17 Dec 2024 09:12:32 +0000 (10:12 +0100)]
arm64: dts: mediatek: mt7988a-bpi-r4: Add PCA9545 I2C Mux

Bananapi R4 uses an i2c multiplexer for SFP slots, rtc and eeprom.
Add its node to the right i2c controller.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241217091238.16032-19-linux@fw-web.de
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agoarm64: dts: mediatek: mt7988a-bpi-r4: Enable I2C controllers
Frank Wunderlich [Tue, 17 Dec 2024 09:12:31 +0000 (10:12 +0100)]
arm64: dts: mediatek: mt7988a-bpi-r4: Enable I2C controllers

Enable the I2C0, I2C2 controllers found on the BananaPi R4 board.
Both controllers are not accessible from user and having fixed spare
devices. I2C0 have a pmic connected, I2C2 is used with I2C-multiplexer
for e.g. SFP cages.
The missing I2C1 is connected to GPIO header which can have either GPIO
mode or I2C mode.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241217091238.16032-18-linux@fw-web.de
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agoarm64: dts: mediatek: mt7988a-bpi-r4: Add default UART stdout
Frank Wunderlich [Tue, 17 Dec 2024 09:12:30 +0000 (10:12 +0100)]
arm64: dts: mediatek: mt7988a-bpi-r4: Add default UART stdout

Add chosen node on Bananapi R4 board with stdout and default bootargs.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241217091238.16032-17-linux@fw-web.de
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agoarm64: dts: mediatek: mt7988a-bpi-r4: Enable serial0 debug uart
Frank Wunderlich [Tue, 17 Dec 2024 09:12:29 +0000 (10:12 +0100)]
arm64: dts: mediatek: mt7988a-bpi-r4: Enable serial0 debug uart

Enable the debug uart on Bananapi R4 board.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241217091238.16032-16-linux@fw-web.de
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agoarm64: dts: mediatek: mt7988a-bpi-r4: Add thermal configuration
Frank Wunderlich [Tue, 17 Dec 2024 09:12:28 +0000 (10:12 +0100)]
arm64: dts: mediatek: mt7988a-bpi-r4: Add thermal configuration

Add additional thermal trips to Bananapi R4 board.
SoC only contains the critical trip.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241217091238.16032-15-linux@fw-web.de
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agoarm64: dts: mediatek: mt7988a-bpi-r4: Add dt overlays for sd + emmc
Frank Wunderlich [Tue, 17 Dec 2024 09:12:27 +0000 (10:12 +0100)]
arm64: dts: mediatek: mt7988a-bpi-r4: Add dt overlays for sd + emmc

Bananapi R4 can use the mmc controller either with sd card or the onboard
emmc. The used device is selected through hardware-switches and probed in
bootloader.
Add devicetree overlays for both mmc configurations.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241217091238.16032-14-linux@fw-web.de
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agoarm64: dts: mediatek: mt7988a-bpi-r4: Add fixed regulators for 1v8 and 3v3
Frank Wunderlich [Tue, 17 Dec 2024 09:12:26 +0000 (10:12 +0100)]
arm64: dts: mediatek: mt7988a-bpi-r4: Add fixed regulators for 1v8 and 3v3

Add regulator nodes used for mmc to Bananapi R4 board.
This board has 1 MMC controller used for SDMMC and eMMC where only one can
be used at one time, selected by hardware switches. SD uses 3v3 for both
supplies and emmc uses both regulators.
So defining both regulators in board dts and referencing them in the dt
overlay.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241217091238.16032-13-linux@fw-web.de
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agoarm64: dts: mediatek: mt7988a-bpi-r4: Enable watchdog
Frank Wunderlich [Tue, 17 Dec 2024 09:12:25 +0000 (10:12 +0100)]
arm64: dts: mediatek: mt7988a-bpi-r4: Enable watchdog

Enable the watchdog on Bananapi R4 board.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241217091238.16032-12-linux@fw-web.de
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agoarm64: dts: mediatek: mt7988: Add pcie nodes
Frank Wunderlich [Tue, 17 Dec 2024 09:12:24 +0000 (10:12 +0100)]
arm64: dts: mediatek: mt7988: Add pcie nodes

Add pcie controllers for mt7988. Reuse mt7986 compatible.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241217091238.16032-11-linux@fw-web.de
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agoarm64: dts: mediatek: mt7988: Add t-phy for ssusb1
Frank Wunderlich [Tue, 17 Dec 2024 09:12:23 +0000 (10:12 +0100)]
arm64: dts: mediatek: mt7988: Add t-phy for ssusb1

USB controller needs phys for working properly.
On mt7988 ssusb0 uses a xs-phy, ssusb uses t-phy.
For now add the t-phy for ssusb1. We can reuse the mt7986 compatible
here.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241217091238.16032-10-linux@fw-web.de
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agoarm64: dts: mediatek: mt7988: Disable usb controllers by default
Frank Wunderlich [Tue, 17 Dec 2024 09:12:22 +0000 (10:12 +0100)]
arm64: dts: mediatek: mt7988: Disable usb controllers by default

The controllers should be enabled at board level if used.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241217091238.16032-9-linux@fw-web.de
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agoarm64: dts: mediatek: mt7988: Add CPU OPP table for clock scaling
Frank Wunderlich [Tue, 17 Dec 2024 09:12:21 +0000 (10:12 +0100)]
arm64: dts: mediatek: mt7988: Add CPU OPP table for clock scaling

Add operating points defining frequency/voltages of cpu cores.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241217091238.16032-8-linux@fw-web.de
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agoarm64: dts: mediatek: mt7988: Add mcu-sys node for cpu
Frank Wunderlich [Tue, 17 Dec 2024 09:12:20 +0000 (10:12 +0100)]
arm64: dts: mediatek: mt7988: Add mcu-sys node for cpu

In preparation for adding support for CPU DVFS and clock tables for it,
add the MCUSYS clock controller node.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241217091238.16032-7-linux@fw-web.de
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agoarm64: dts: mediatek: mt7988: Add missing clock-div property for i2c
Frank Wunderlich [Tue, 17 Dec 2024 09:12:19 +0000 (10:12 +0100)]
arm64: dts: mediatek: mt7988: Add missing clock-div property for i2c

I2C binding requires clock-div property.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Fixes: 660c230bf302 ("arm64: dts: mediatek: mt7988: add I2C controllers")
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241217091238.16032-6-linux@fw-web.de
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agoarm64: dts: mediatek: mt7988: Add thermal-zone
Frank Wunderlich [Tue, 17 Dec 2024 09:12:18 +0000 (10:12 +0100)]
arm64: dts: mediatek: mt7988: Add thermal-zone

Add basic thermal-zone node.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241217091238.16032-5-linux@fw-web.de
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agoarm64: dts: mediatek: mt7988: Add lvts node
Frank Wunderlich [Tue, 17 Dec 2024 09:12:17 +0000 (10:12 +0100)]
arm64: dts: mediatek: mt7988: Add lvts node

Add Low Voltage Thermal Sensor (LVTS) node for mt7988 SoC.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241217091238.16032-4-linux@fw-web.de
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agoarm64: dts: mediatek: mt7988: Add mmc support
Frank Wunderlich [Tue, 17 Dec 2024 09:12:16 +0000 (10:12 +0100)]
arm64: dts: mediatek: mt7988: Add mmc support

Add devicetree node for MMC controller.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241217091238.16032-3-linux@fw-web.de
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agoarm64: dts: mediatek: mt7988: Add reserved memory
Frank Wunderlich [Tue, 17 Dec 2024 09:12:15 +0000 (10:12 +0100)]
arm64: dts: mediatek: mt7988: Add reserved memory

Add memory range handled by ATF to not be touched by linux kernel.
ATF is SoC specific and not board-specific so add it to mt7988.dtsi.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241217091238.16032-2-linux@fw-web.de
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agoarm64: dts: mediatek: mt7988a-bpi-r4: Add pinctrl subnodes for bpi-r4
Frank Wunderlich [Tue, 17 Dec 2024 08:54:30 +0000 (09:54 +0100)]
arm64: dts: mediatek: mt7988a-bpi-r4: Add pinctrl subnodes for bpi-r4

Add board specific pinctrl configurations on Bananapi R4.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241217085435.9586-6-linux@fw-web.de
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agoarm64: dts: mediatek: mt7988: Add pinctrl support
Frank Wunderlich [Tue, 17 Dec 2024 08:54:29 +0000 (09:54 +0100)]
arm64: dts: mediatek: mt7988: Add pinctrl support

Add mt7988a pinctrl node.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20241217085435.9586-5-linux@fw-web.de
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
5 months agoarm64: dts: renesas: white-hawk-csi-dsi: Define CSI-2 data line orders
Niklas Söderlund [Mon, 6 Jan 2025 10:44:58 +0000 (11:44 +0100)]
arm64: dts: renesas: white-hawk-csi-dsi: Define CSI-2 data line orders

The second CSI-2 C-PHY data-lanes have different line orders (BCA) than
the two other data-lanes (ABC) for both connected CSI-2 receivers,
describe this in the device tree.

This has worked in the past as the R-Car CSI-2 driver did not have
documentation for the line order configuration, hence magic values were
written to the registers for this specific setup.  Now the registers
involved are documented, the hardware description as well as the driver
needs to be updated.

Note that the numerical values will be replaced by symbolic values
later.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/20250106104458.3596109-1-niklas.soderlund+renesas@ragnatech.se
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
5 months agoarm64: dts: renesas: r8a779g0: Add VSPX instances
Jacopo Mondi [Fri, 20 Dec 2024 09:14:41 +0000 (10:14 +0100)]
arm64: dts: renesas: r8a779g0: Add VSPX instances

Add device nodes for the VSPX instances on R-Car V4H (R8A779G0) SoC.

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo.mondi+renesas@ideasonboard.com>
Link: https://lore.kernel.org/20241220-rcar-v4h-vspx-v4-4-7dc1812585ad@ideasonboard.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
5 months agoarm64: dts: renesas: r8a779g0: Add FCPVX instances
Jacopo Mondi [Fri, 20 Dec 2024 09:14:39 +0000 (10:14 +0100)]
arm64: dts: renesas: r8a779g0: Add FCPVX instances

Add device nodes for the FCPVX instances on R-Car V4H (R8A779G0) SoC.

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo.mondi+renesas@ideasonboard.com>
Link: https://lore.kernel.org/20241220-rcar-v4h-vspx-v4-2-7dc1812585ad@ideasonboard.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
5 months agoarm64: dts: renesas: r9a09g047e57-smarc: Add SCIF pincontrol
Biju Das [Mon, 16 Dec 2024 19:53:17 +0000 (19:53 +0000)]
arm64: dts: renesas: r9a09g047e57-smarc: Add SCIF pincontrol

Add device node for SCIF pincontrol.

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/20241216195325.164212-8-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
5 months agoARM: dts: st: enable the MALI gpu on the stih410-b2260
Alain Volmat [Sun, 6 Oct 2024 20:42:51 +0000 (20:42 +0000)]
ARM: dts: st: enable the MALI gpu on the stih410-b2260

Enable the GPU on the stih410-b2260 board.

Signed-off-by: Alain Volmat <avolmat@me.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
5 months agoARM: dts: st: add node for the MALI gpu on stih410.dtsi
Alain Volmat [Sun, 6 Oct 2024 20:42:50 +0000 (20:42 +0000)]
ARM: dts: st: add node for the MALI gpu on stih410.dtsi

Add the entry for the GPU (Mali400) on the stih410.dtsi

Signed-off-by: Alain Volmat <avolmat@me.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
5 months agodt-bindings: gpu: mali-utgard: Add st,stih410-mali compatible
Alain Volmat [Sun, 6 Oct 2024 20:42:49 +0000 (20:42 +0000)]
dt-bindings: gpu: mali-utgard: Add st,stih410-mali compatible

ST STiH410 SoC has a Mali400. Add a compatible for it.

Signed-off-by: Alain Volmat <avolmat@me.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
5 months agoarm64: dts: allwinner: a64: explicitly assign clock parent for TCON0
Vasily Khoruzhick [Sat, 4 Jan 2025 07:36:59 +0000 (23:36 -0800)]
arm64: dts: allwinner: a64: explicitly assign clock parent for TCON0

TCON0 seems to need a different clock parent depending on output type.
For RGB it has to be PLL-VIDEO0-2X, while for DSI it has to be PLL-MIPI,
so select it explicitly.

Video output doesn't work if incorrect clock is assigned.

On my Pinebook I manually configured PLL-VIDEO0-2X and PLL-MIPI to the same
rate, and while video output works fine with PLL-VIDEO0-2X, it doesn't
work at all (as in no picture) with PLL-MIPI.

Fixes: ca1170b69968 ("clk: sunxi-ng: a64: force select PLL_MIPI in TCON0 mux")
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Tested-by: Frank Oltmanns <frank@oltmanns.dev> # on PinePhone
Tested-by: Stuart Gathman <stuart@gathman.org> # on OG Pinebook
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Link: https://patch.msgid.link/20250104074035.1611136-4-anarsoul@gmail.com
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
5 months agoMerge branch 'sunxi/shared-clk-ids-for-6.14' into sunxi/dt-for-6.14
Chen-Yu Tsai [Sat, 4 Jan 2025 12:16:32 +0000 (20:16 +0800)]
Merge branch 'sunxi/shared-clk-ids-for-6.14' into sunxi/dt-for-6.14

5 months agodt-bindings: clock: sunxi: Export PLL_VIDEO_2X and PLL_MIPI
Vasily Khoruzhick [Sat, 4 Jan 2025 07:36:57 +0000 (23:36 -0800)]
dt-bindings: clock: sunxi: Export PLL_VIDEO_2X and PLL_MIPI

Export PLL_VIDEO_2X and PLL_MIPI, these will be used to explicitly
select TCON0 clock parent in dts

Fixes: ca1170b69968 ("clk: sunxi-ng: a64: force select PLL_MIPI in TCON0 mux")
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Tested-by: Frank Oltmanns <frank@oltmanns.dev> # on PinePhone
Tested-by: Stuart Gathman <stuart@gathman.org> # on OG Pinebook
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://patch.msgid.link/20250104074035.1611136-2-anarsoul@gmail.com
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
5 months agoMerge tag 'renesas-r9a09g047-dt-binding-defs-tag2' into renesas-dts-for-v6.14
Geert Uytterhoeven [Fri, 3 Jan 2025 20:18:50 +0000 (21:18 +0100)]
Merge tag 'renesas-r9a09g047-dt-binding-defs-tag2' into renesas-dts-for-v6.14

Renesas RZ/G3E Pin Control DT Binding Definitions

Pin control DT bindings and binding definitions for the Renesas RZ/G3E
(R9A09G047) SoC, shared by driver and DT source files.

5 months agoarm64: dts: renesas: r9a09g047: Add pincontrol node
Biju Das [Mon, 16 Dec 2024 19:53:16 +0000 (19:53 +0000)]
arm64: dts: renesas: r9a09g047: Add pincontrol node

Add pincontrol node to RZ/G3E ("R9A09G047") SoC DTSI.

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/20241216195325.164212-7-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
5 months agoarm64: dts: renesas: r9a09g057h44-rzv2h-evk: Replace RZG2L macros
Biju Das [Mon, 16 Dec 2024 19:53:15 +0000 (19:53 +0000)]
arm64: dts: renesas: r9a09g057h44-rzv2h-evk: Replace RZG2L macros

Replace RZG2L_* macros with RZV2H_* macros, so that we can define
port names in alpha-numeric.

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/20241216195325.164212-6-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
5 months agoMerge tag 'renesas-r9a09g057-dt-binding-defs-tag2' into renesas-dts-for-v6.14
Geert Uytterhoeven [Fri, 3 Jan 2025 20:18:10 +0000 (21:18 +0100)]
Merge tag 'renesas-r9a09g057-dt-binding-defs-tag2' into renesas-dts-for-v6.14

Renesas RZ/V2H Pin Control DT Binding Definitions

Pin control DT binding definitions for the Renesas RZ/V2H (R9A09G057)
SoC, shared by driver and DT source files.

5 months agodt-bindings: pinctrl: renesas: Document RZ/G3E SoC
Biju Das [Mon, 16 Dec 2024 19:53:12 +0000 (19:53 +0000)]
dt-bindings: pinctrl: renesas: Document RZ/G3E SoC

Add documentation for the pin controller found on the Renesas RZ/G3E
(R9A09G047) SoC. The RZ/G3E PFC is similar to the RZ/V2H SoC but has more
pins(P00-PS3).

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/20241216195325.164212-3-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
5 months agodt-bindings: pinctrl: renesas: Add alpha-numerical port support for RZ/V2H
Biju Das [Mon, 16 Dec 2024 19:53:11 +0000 (19:53 +0000)]
dt-bindings: pinctrl: renesas: Add alpha-numerical port support for RZ/V2H

RZ/V2H has ports P0-P9 and PA-PB. Add support for defining alpha-numerical
ports in DT using RZV2H_* macros.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/20241216195325.164212-2-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
5 months agoarm64: dts: ti: k3-j7200: Add node to disable loopback connection
Anurag Dutta [Wed, 27 Nov 2024 07:56:44 +0000 (13:26 +0530)]
arm64: dts: ti: k3-j7200: Add node to disable loopback connection

CTRLMMR_MCU_SPI1_CTRL register controls if MCU_SPI1 is directly
connected to SPI3 in the MAIN Domain (default) or if MCU_SPI1
and SPI3 are independently pinned out. By default, the field
SPI1_LINKDIS (Bit 0) is set to 0h. In order to disable the direct
connection, the SPI1_LINKDIS (Bit 0) needs to be set to 1h. Model
this functionality as a "reg-mux" device and based on the idle-state
property, enable/disable the connection bewtween MCU_SPI1 and MAIN_SPI3.

The register field description has been referred from J7200 TRM [1]
(Table 5-517. CTRLMMR_MCU_SPI1_CTRL Register Field Descriptions).

[1] https://www.ti.com/lit/pdf/spruiu1

Signed-off-by: Anurag Dutta <a-dutta@ti.com>
Link: https://lore.kernel.org/r/20241127075644.210759-1-a-dutta@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
5 months agoarm64: dts: ti: k3-j784s4: Use ti,j7200-padconf compatible
Thomas Richard [Mon, 30 Dec 2024 09:49:00 +0000 (10:49 +0100)]
arm64: dts: ti: k3-j784s4: Use ti,j7200-padconf compatible

Like on j7200, pinctrl contexts shall be saved and restored during
suspend-to-ram.

So use ti,j7200-padconf compatible.

Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
Link: https://lore.kernel.org/r/20241230-j784s4-s2r-pinctrl-v2-1-35039fafe2ca@bootlin.com
Signed-off-by: Nishanth Menon <nm@ti.com>
5 months agoarm64: dts: ti: k3-am62p-j722s-common-main: Enable USB0 for DFU boot
Siddharth Vadapalli [Fri, 20 Dec 2024 05:45:16 +0000 (11:15 +0530)]
arm64: dts: ti: k3-am62p-j722s-common-main: Enable USB0 for DFU boot

Add the "bootph-all" property to the "usb0" device-tree node. This is
required for the USB0 instance of USB to be functional at all stages
of USB DFU boot.

Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20241220054550.153360-1-s-vadapalli@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
5 months agoarm64: dts: ti: k3-am62a: Remove duplicate GICR reg
Bryan Brattlof [Tue, 10 Dec 2024 20:59:25 +0000 (14:59 -0600)]
arm64: dts: ti: k3-am62a: Remove duplicate GICR reg

The GIC Redistributor control range is mapped twice. Remove the extra
entry from the reg range.

Fixes: 5fc6b1b62639 ("arm64: dts: ti: Introduce AM62A7 family of SoCs")
Reported-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Bryan Brattlof <bb@ti.com>
Link: https://lore.kernel.org/r/20241210-am62-gic-fixup-v1-2-758b4d5b4a0a@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>