linux.git
20 months agoMerge tag 'imx-dt64-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo...
Arnd Bergmann [Mon, 16 Oct 2023 13:06:53 +0000 (15:06 +0200)]
Merge tag 'imx-dt64-6.7' of git://git./linux/kernel/git/shawnguo/linux into soc/dt

i.MX arm64 device tree changes for 6.7

- New board support: TQ-Systems LS1043A/LS1046A and LS1088 based boards,
  VAR-SOM-MX6 SoM, SolidRun LX2162A SoM & Clearfog, and phyGATE-Tauri
  i.MX 8M Mini board.
- A set of changes from Adam Ford adding audio related devices for i.MX8M
  SoCs, migrating sound card to simple-audio-card for imx8mm-beacon board,
  and adding DMIC support i.MX8M Beacon boards.
- A series from Alexander Stein to add LVDS overlay support for i.MX8M
  based MBA8Mx boards.
- A couple of changes from Cem Tenruh to add gpio-line-names for i.MX8MP
  based phycore boards.
- A bunch of dt-schema check fixes from Fabio Estevam.
- A few changes from Frank Li to add edma devices and enable UART
  support for i.MX93 and i.MX8 SoCs and related boards.
- A series from Marek Vasut to improve various aspects of i.MX8MP based
  DHCOM boards support.
- A series from Teresa Remmet to enable Flexcan, USB and RS232/RS485
  support for imx8mp-phyboard-pollux board.
- A number of changes from Tim Harvey to add imx219 overlay and TPM
  device support for Gateworks boards.
- Other small and random changes.

* tag 'imx-dt64-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: (101 commits)
  arm64: dts: imx8mp: Drop i.MX8MP DHCOM rev.100 PHY address workaround from PDK3 DT
  arm64: dts: imx8mp: Update i.MX8MP DHCOM SoM DT to production rev.200
  arm64: dts: imx8mp: Add UART1 and RTC wake up source on DH i.MX8M Plus DHCOM SoM
  arm64: dts: imx8mp: Switch WiFI enable signal to mmc-pwrseq-simple on i.MX8MP DHCOM SoM
  arm64: dts: imx8mp: Fix property indent on DH i.MX8M Plus DHCOM PDK3
  arm64: dts: imx8mp: Describe VDD_ARM run and standby voltage for DH i.MX8M Plus DHCOM SoM
  arm64: dts: imx8mp: Describe VDD_ARM run and standby voltage for Data Modul i.MX8M Plus eDM SBC
  arm64: dts: imx8mp-beacon: Add DMIC support
  arm64: dts: imx8mn-beacon: Add DMIC support
  arm64: dts: imx8mm-beacon: Add DMIC support
  arm64: dts: imx8mm-beacon: Migrate sound card to simple-audio-card
  arm64: dts: imx8mn-evk: Remove codec clocks/clock-names
  arm64: dts: imx8mp-beacon: Configure 100MHz PCIe Ref Clk
  arm64: dts: imx8mn: Add sound-dai-cells to micfil node
  arm64: dts: imx8mm: Add sound-dai-cells to micfil node
  arm64: dts: freescale: add initial device tree for TQMLS1088A
  arm64: dts: freescale: add initial device tree for TQMLS1043A/TQMLS1046A
  arm64: dts: ls1043a: remove second dspi node
  arm64: dts: freescale: Add support for LX2162 SoM & Clearfog Board
  arm64: dts: lx2160a: describe the SerDes block #2
  ...

Link: https://lore.kernel.org/r/20231015132300.2268016-3-shawnguo@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
20 months agoMerge tag 'imx-dt-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo...
Arnd Bergmann [Mon, 16 Oct 2023 13:04:57 +0000 (15:04 +0200)]
Merge tag 'imx-dt-6.7' of git://git./linux/kernel/git/shawnguo/linux into soc/dt

i.MX ARM device tree changes for 6.7:

- New board support: Variscite VAR-SOM-MX6 SoM and Custom board.
- A bunch of dt-schema check fixes from Fabio Estevam.
- A couple of MBA6ULX changes from Alexander Stein that marks gpio-buttons
  as wakeup-source and improves gpio-keys button node names.
- Add ATM0700D4 panel support for sk-imx53 board.
- Correct regulator node name for imx6qdl-nitrogen6 board.
- A couple of Gateworks i.MX6QDL board update: adding MDIO nodes and
  populating Ethernet MAC address.

* tag 'imx-dt-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: (31 commits)
  ARM: dts: imx7d-pico-pi: Disable USDHC1
  ARM: dts: imx28: Fix dcp compatible
  ARM: dts: imx7s: Remove #power-domain-cells from gpcv2
  ARM: dts: imx25: Remove clock-names from the watchdog
  ARM: dts: imx25: Fix sram node
  ARM: dts: imx25: Fix dryice node
  ARM: dts: imx6qdl-gw5904: add dt props for populating eth MAC addrs
  ARM: dts: vfxxx: Write dmas in a single line
  ARM: dts: imx27-phytec: Use eeprom as the node name
  ARM: dts: imx51: Remove invalid sahara compatible
  ARM: dts: imx53: Adjust the ecspi compatible
  ARM: dts: imx7ulp: Fix usbphy1 compatible
  ARM: dts: imx6q-pistachio: Use a valid value for fsl,tx-d-cal
  ARM: dts: imx6q-b650v3: Fix fsl,tx-cal-45-dn-ohms
  ARM: dts: imx28-tx28: Move phy_type to USB node
  ARM: dts: mxs: Switch to #pwm-cells = <3>
  ARM: dts: imx6q: Add Variscite MX6 Custom board support
  ARM: dts: imx6qdl: Add Variscite VAR-SOM-MX6 SoM support
  ARM: dts: mxs: Fix duart clock-names
  ARM: dts: imx6ull/7d-colibri: Fix compatible
  ...

Link: https://lore.kernel.org/r/20231015132300.2268016-2-shawnguo@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
20 months agoMerge tag 'imx-bindings-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/shawngu...
Arnd Bergmann [Mon, 16 Oct 2023 12:22:46 +0000 (14:22 +0200)]
Merge tag 'imx-bindings-6.7' of git://git./linux/kernel/git/shawnguo/linux into soc/dt

i.MX dt-bindings for 6.7:

- Compatibles for new boards: TQ-Systems LS1043A/LS1046A and LS1088
  based boards, VAR-SOM-MX6 SoM, SolidRun LX2162A SoM & Clearfog,
  and phyGATE-Tauri-L board.
- Add missing i.MX23 based board compatibles.

* tag 'imx-bindings-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  dt-bindings: arm: fsl: Add TQ-Systems LS1088 based boards
  dt-bindings: arm: fsl: Add TQ-Systems LS1043A/LS1046A based boards
  dt-bindings: arm: Add SolidRun LX2162A SoM & Clearfog Board
  dt-bindings: arm: fsl: add phyGATE-Tauri-L board
  dt-bindings: arm: fsl: Document the missing imx23 boards
  dt-bindings: arm: fsl: Add VAR-SOM-MX6 SoM with Custom Board

Link: https://lore.kernel.org/r/20231015132300.2268016-1-shawnguo@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
20 months agoMerge tag 'riscv-dt-for-v6.6-final' of https://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Mon, 16 Oct 2023 08:22:11 +0000 (10:22 +0200)]
Merge tag 'riscv-dt-for-v6.6-final' of https://git./linux/kernel/git/conor/linux into soc/dt

RISC-V Devicetrees for v6.6-final

A single fix for the Starfive VisionFive 2 platform so that chip select
for SPI matches the vendor documentation.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
* tag 'riscv-dt-for-v6.6-final' of https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux:
  riscv: dts: starfive: visionfive 2: correct spi's ss pin
  riscv: dts: starfive: visionfive 2: Fix uart0 pins sort order
  riscv: dts: starfive: visionfive 2: Enable usb0
  riscv: dts: starfive: fix NOR flash reserved-data partition size

Link: https://lore.kernel.org/r/20231015-outmatch-tragedy-228f91d396b5@spud
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
20 months agoMerge tag 'sunxi-dt-for-6.7-1' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Fri, 13 Oct 2023 20:51:29 +0000 (22:51 +0200)]
Merge tag 'sunxi-dt-for-6.7-1' of https://git./linux/kernel/git/sunxi/linux into soc/dt

- Added V3s nodes for PWM pinctrl, EHCI and OHCI
- RISC-V DT cleanups
- Added new ISA property and PMU node to Allwinner D1
- Added interconnect to R40 video codec node
- New boards: Anbernic RG-Nano, BigTreeTech Pi, BigTreeTech CB1 SOM

* tag 'sunxi-dt-for-6.7-1' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux:
  riscv: dts: allwinner: convert isa detection to new properties
  ARM: dts: sun8i-r40: Add interconnect to video-codec
  ARM: dts: sunxi: add support for Anbernic RG-Nano
  dt-bindings: arm: sunxi: add Anbernic RG-Nano
  ARM: dts: sun8i: v3s: add EHCI and OHCI to v3s dts
  arm: dts: sun8i: V3s: Add pinctrl for pwm
  riscv: dts: allwinner: d1: Add PMU event node
  arm64: dts: allwinner: h616: Add BigTreeTech Pi support
  arm64: dts: allwinner: h616: Add BigTreeTech CB1 SoM & boards support
  dt-bindings: arm: sunxi: Add BigTreeTech boards
  dt-bindings: vendor-prefixes: Add BigTreeTech
  arm64: dts: allwinner: h616: Add SID controller node
  dt-bindings: nvmem: SID: Add binding for H616 SID controller
  riscv: dts: allwinner: remove address-cells from intc node
  riscv: dts: use capital "OR" for multiple licenses in SPDX

Link: https://lore.kernel.org/r/20231013194203.GA2155816@jernej-laptop
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
20 months agoMerge tag 'tegra-for-6.7-arm64-dt' of git://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Fri, 13 Oct 2023 20:50:32 +0000 (22:50 +0200)]
Merge tag 'tegra-for-6.7-arm64-dt' of git://git./linux/kernel/git/tegra/linux into soc/dt

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

This contains some fixes for Tegra234 boards as well as some cleanups
that will help with json-schema validation.

For older devices, there's now support for display on Smaug (a.k.a.
Pixel C) and the IOMMU for host1x is enabled on Tegra132, which should
help with large memory allocations for display and multimedia.

* tag 'tegra-for-6.7-arm64-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  arm64: tegra: Use correct interrupts for Tegra234 TKE
  arm64: tegra: Add power-sensors for Tegra234 boards
  arm64: tegra: Mark Tegra234 SPI as compatible with Tegra114
  arm64: tegra: Add dmas and dma-names for Tegra234 UARTE
  arm64: tegra: Use correct format for clocks property
  arm64: tegra: Remove duplicate nodes on Jetson Orin NX
  arm64: tegra: Add missing current-speed for SBSA UART
  arm64: tegra: Add display panel node on Smaug
  arm64: tegra: Add backlight node on Smaug
  arm64: tegra: Add DSI/CSI regulator on Smaug
  arm64: tegra: Enable IOMMU for host1x on Tegra132
  arm64: tegra: Fix P3767 QSPI speed
  arm64: tegra: Fix P3767 card detect polarity

Link: https://lore.kernel.org/r/20231013153723.1729109-6-thierry.reding@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
20 months agoMerge tag 'tegra-for-6.7-arm-dt' of git://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Fri, 13 Oct 2023 20:49:49 +0000 (22:49 +0200)]
Merge tag 'tegra-for-6.7-arm-dt' of git://git./linux/kernel/git/tegra/linux into soc/dt

ARM: tegra: Device tree changes for v6.7-rc1

Contains a small fix that drops an unnecessary unit-address.

* tag 'tegra-for-6.7-arm-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  ARM: tegra: Drop unit-address from parallel RGB output port

Link: https://lore.kernel.org/r/20231013153723.1729109-5-thierry.reding@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
20 months agoMerge tag 'tegra-for-6.7-dt-bindings' of git://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Fri, 13 Oct 2023 20:48:53 +0000 (22:48 +0200)]
Merge tag 'tegra-for-6.7-dt-bindings' of git://git./linux/kernel/git/tegra/linux into soc/dt

dt-bindings: Changes for v6.7-rc1

This contains some rework of the Tegra PMC device tree bindings that
will help with validating device trees with json-schema.

* tag 'tegra-for-6.7-dt-bindings' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  dt-bindings: arm: tegra: pmc: Relicense and move into soc/tegra directory
  dt-bindings: arm: tegra: pmc: Reformat example
  dt-bindings: arm: tegra: pmc: Restructure pad configuration node schema
  dt-bindings: arm: tegra: pmc: Increase maximum number of clocks per powergate
  dt-bindings: arm: tegra: pmc: Move additionalProperties
  dt-bindings: arm: tegra: pmc: Remove useless boilerplate descriptions
  dt-bindings: arm: tegra: pmc: Improve property descriptions

Link: https://lore.kernel.org/r/20231013153723.1729109-3-thierry.reding@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
20 months agoMerge tag 'renesas-dts-for-v6.7-tag2' of git://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Fri, 13 Oct 2023 20:46:42 +0000 (22:46 +0200)]
Merge tag 'renesas-dts-for-v6.7-tag2' of git://git./linux/kernel/git/geert/renesas-devel into soc/dt

Renesas DTS updates for v6.7 (take two)

  - Improve audio clock accuracy on the RZ/{G2L,G2LC,V2L} SMARC EVK
    development boards,
  - Add FLASH support for the Renesas Bock-W development board,
  - Add L2 cache and non-coherent DMA support on the RZ/Five SoC and the
    RZ/Five SMARC development board,
  - Add initial support for the RZ/G3S SoC and the RZ/G3S SMARC SoM and
    SMARC Carrier-II EVK development boards,
  - Add initial support for the R8A779F4 variant of the R-Car S4-8 SoC
    and the R-Car S4 Starter Kit development board,
  - Apply DT overlays to base DTBs to improve validation and usability.

* tag 'renesas-dts-for-v6.7-tag2' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel: (25 commits)
  arm64: dts: renesas: Apply overlays to base dtbs
  arm64: dts: renesas: rzg3s-smarc-som: Spelling s/device-type/device_type/
  arm64: dts: renesas: r9a08g045: Add missing cache-level for L3 cache
  arm64: dts: renesas: r9a08g045: Add nodes for SDHI1 and SDHI2
  arm64: dts: renesas: ebisu: Document Ebisu-4D support
  arm64: dts: renesas: Add R-Car S4 Starter Kit support
  arm64: dts: renesas: Add Renesas R8A779F4 SoC support
  arm64: dts: renesas: Add initial device tree for RZ/G3S SMARC EVK board
  arm64: dts: renesas: Add initial device tree for RZ SMARC Carrier-II Board
  arm64: dts: renesas: Add initial support for RZ/G3S SMARC SoM
  arm64: dts: renesas: Add initial DTSI for RZ/G3S SoC
  riscv: dts: renesas: rzfive-smarc: Enable the blocks which were explicitly disabled
  riscv: dts: renesas: r9a07g043f: Add dma-noncoherent property
  riscv: dts: renesas: r9a07g043f: Add L2 cache node
  ARM: dts: renesas: bockw: Add FLASH node
  arm64: dts: renesas: rz-smarc: Use versa3 clk for audio mclk
  dt-bindings: clock: renesas,rzg2l-cpg: Document RZ/G3S SoC
  clk: tegra: fix error return case for recalc_rate
  clk: si521xx: Fix regmap write accessor
  clk: si521xx: Use REGCACHE_FLAT instead of NONE
  ...

Link: https://lore.kernel.org/r/cover.1697200123.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
20 months agoMerge tag 'renesas-dt-bindings-for-v6.7-tag2' of git://git.kernel.org/pub/scm/linux...
Arnd Bergmann [Fri, 13 Oct 2023 20:44:56 +0000 (22:44 +0200)]
Merge tag 'renesas-dt-bindings-for-v6.7-tag2' of git://git./linux/kernel/git/geert/renesas-devel into soc/dt

Renesas DT binding updates for v6.7 (take two)

  - Document support for the Renesas RZ/G3S SMARC SoM and SMARC
    Carrier-II EVK development boards,
  - Document support for the Renesas R-Car S4 Starter Kit.

* tag 'renesas-dt-bindings-for-v6.7-tag2' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
  dt-bindings: soc: renesas: Document R-Car S4 Starter Kit
  dt-bindings: soc: renesas: Document SMARC Carrier-II EVK
  dt-bindings: soc: renesas: Document RZ/G3S SMARC SoM

Link: https://lore.kernel.org/r/cover.1697200121.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
20 months agoMerge tag 'sti-dt-for-v6.7-round1' of git://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Fri, 13 Oct 2023 20:44:11 +0000 (22:44 +0200)]
Merge tag 'sti-dt-for-v6.7-round1' of git://git./linux/kernel/git/pchotard/sti into soc/dt

STi DT for v6.7, round 1 :

stih418-b2264: leds and serial fixes
stih407: drop max-duty-cycle property
stih415/416: remove boards from yaml
stih407/410/418: add boards to yaml

* tag 'sti-dt-for-v6.7-round1' of git://git.kernel.org/pub/scm/linux/kernel/git/pchotard/sti:
  dt-bindings: arm: sti: add STi boards and remove stih415/stih416
  dt-bindings: soc: sti: add STi platform syscon
  ARM: dts: st: correct led level in stih418-b2264.dts
  ARM: dts: st: move leds out of soc in stih418-b2264.dts
  ARM: dts: st: correct serial alias in stih418-b2264.dts
  ARM: dts: st: stih407: drop max-duty-cycle

Link: https://lore.kernel.org/r/e6b975f2-9936-465a-8253-6fcead974006@foss.st.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
20 months agoMerge tag 'omap-for-v6.7/dt-signed' of git://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Fri, 13 Oct 2023 20:43:09 +0000 (22:43 +0200)]
Merge tag 'omap-for-v6.7/dt-signed' of git://git./linux/kernel/git/tmlind/linux-omap into soc/dt

Devicetree changes for omaps for v6.7 merge window

Two non-urgent devicetree fixes for am371-evm led pinmux and a node name
warning fix for omap4-epson-embt2ws, and updates for connected devices for
various devices:

- Device updates and enabling of pru support for am335x-pocketbeagle

- Few more devices such as leds and iio for omap4-epson-embt2ws

- Ethernet and led updates for am3517-evm

- Modem sleep pins configuration for motorola-mapphone

* tag 'omap-for-v6.7/dt-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  ARM: dts: omap4-embt2ws: Fix pinctrl single node name warning
  ARM: dts: motorola-mapphone: Add mdm6600 sleep pins
  ARM: dts: am3517: Configure ethernet alias
  ARM: dts: am3517-evm: Enable Ethernet PHY Interrupt
  ARM: dts: am3517-evm: Fix LED3/4 pinmux
  ARM: dts: omap3-gta04: Drop superfluous omap36xx compatible
  ARM: dts: omap: omap4-embt2ws: Add IMU at control unit
  ARM: dts: omap: omap4-embt2ws: Let IMU driver handle Magnetometer internally
  ARM: dts: am335x-pocketbeagle: add missing GPIO mux
  ARM: dts: am335x-pocketbeagle: enable pru
  ARM: dts: am335x-pocketbeagle: remove dependency cycle
  ARM: dts: am335x-pocketbeagle: update LED information
  ARM: dts: omap4: embt2ws: add LED

Link: https://lore.kernel.org/r/pull-1697010475-119828@atomide.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
20 months agoMerge tag 'at91-dt-6.7' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux...
Arnd Bergmann [Fri, 13 Oct 2023 20:42:04 +0000 (22:42 +0200)]
Merge tag 'at91-dt-6.7' of https://git./linux/kernel/git/at91/linux into soc/dt

Microchip AT91 device tree updates for 6.7

It contains:
- the new Microchip SAMA5D29 Curiosity board
- a typo fix in TDES node name for SAMA5D4 dtsi
- enablement of RTT as RTC for SAM9X60 Curiosity board

* tag 'at91-dt-6.7' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux:
  ARM: dts: at91: sam9x60_curiosity: Add mandatory dt property for RTT
  ARM: dts: at91: sama5d29_curiosity: Add device tree for sama5d29_curiosity board
  dt-bindings: ARM: at91: Document Microchip SAMA5D29 Curiosity
  ARM: dts: at91/trivial: fix typo in crypto DT naming

Link: https://lore.kernel.org/r/20231010045955.1259843-1-claudiu.beznea@tuxon.dev
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
20 months agoMerge tag 'ixp4xx-for-soc-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Fri, 13 Oct 2023 20:41:10 +0000 (22:41 +0200)]
Merge tag 'ixp4xx-for-soc-v6.7' of git://git./linux/kernel/git/linusw/linux-nomadik into soc/dt

Some IXP4xx updates for the v6.7 kernel cycle:

- Provide proper bindings including missing vendor prefixes
  for the device trees in use and one more new vendor.

- Add a device tree for USRobotics USR8200 which has two
  active users.

- Augment the "reset" GPIO buttons to send KEY_RESTART as
  appropriate.

- Enable write on the NSLU2 flash so we get a writeable
  rootfs on this device.

* tag 'ixp4xx-for-soc-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik:
  ARM: dts: ixp4xx: Use right restart keycode
  ARM: dts: ixp4xx-nslu2: Enable write on flash
  ARM: dts: ixp4xx: Add USRobotics USR8200 device tree
  ARM: dts: Use only the Linksys compatible for now
  dt-bindings: arm: List more IXP4xx devices
  dt-bindings: Add vendor prefixes

Link: https://lore.kernel.org/r/CACRpkdZZ6W8uic97S9=Aa+S+s0-0k50TDw1e00u6gFcQfAVDdw@mail.gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
20 months agoMerge tag 'samsung-dt-6.7' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk...
Arnd Bergmann [Fri, 13 Oct 2023 20:29:07 +0000 (22:29 +0200)]
Merge tag 'samsung-dt-6.7' of https://git./linux/kernel/git/krzk/linux into soc/dt

Samsung DTS ARM changes for v6.7

1. Switch all sound cards to generic audio-routing property, supported
   since previous release for Samsung drivers.  The old
   samsung,audio-routing property is deprecated.
2. Correct Exynos4210 thermal by using polling.  Apparently interrupts in
   Thermal Monitoring Unit are broken.

* tag 'samsung-dt-6.7' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  ARM: dts: samsung: exynos4210: enable polling
  ARM: dts: samsung: s5pv210-galaxys: switch sound card to audio-routing
  ARM: dts: samsung: s5pv210-fascinate4g: switch sound card to audio-routing
  ARM: dts: samsung: exynos5422-odroid: switch sound card to audio-routing
  ARM: dts: samsung: exynos4412-odroid: switch sound card to audio-routing
  ARM: dts: samsung: exynos4412-n710x: switch sound card to audio-routing
  ARM: dts: samsung: exynos4412-galaxy-s3: switch sound card to audio-routing
  ARM: dts: samsung: exynos4212-tab3: switch sound card to audio-routing

Link: https://lore.kernel.org/r/20231006093943.106002-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
20 months agoriscv: dts: allwinner: convert isa detection to new properties
Conor Dooley [Mon, 9 Oct 2023 09:37:49 +0000 (10:37 +0100)]
riscv: dts: allwinner: convert isa detection to new properties

Convert the D1 devicetrees to use the new properties
"riscv,isa-base" & "riscv,isa-extensions".
For compatibility with other projects, "riscv,isa" remains.

Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20231009-moonlight-gray-92debdc89f30@wendy
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
20 months agoARM: dts: sun8i-r40: Add interconnect to video-codec
Jernej Skrabec [Mon, 11 Sep 2023 17:14:07 +0000 (19:14 +0200)]
ARM: dts: sun8i-r40: Add interconnect to video-codec

Video codec needs interconnect, so driver knows that it needs to adjust
DMA addresses.

Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Link: https://lore.kernel.org/r/20230911171407.1572030-1-jernej.skrabec@gmail.com
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
20 months agoarm64: tegra: Use correct interrupts for Tegra234 TKE
Thierry Reding [Thu, 12 Oct 2023 12:43:11 +0000 (14:43 +0200)]
arm64: tegra: Use correct interrupts for Tegra234 TKE

The shared interrupts 0-9 of the TKE are mapped to interrupts 0-9, but
shared interrupts 10-15 are mapped to 256-261. Correct the mapping for
the final 6 interrupts. This prevents the TKE from requesting the RTC
interrupt (along with several GTE and watchdog interrupts).

Reported-by: Shubhi Garg <shgarg@nvidia.com>
Fixes: 28d860ed02c2 ("arm64: tegra: Enable native timers on Tegra234")
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
20 months agoarm64: tegra: Add power-sensors for Tegra234 boards
Jon Hunter [Fri, 29 Sep 2023 10:36:50 +0000 (11:36 +0100)]
arm64: tegra: Add power-sensors for Tegra234 boards

Populate the ina219 and ina3221 power-sensors for the various Tegra234
boards. These sensors are located on the Tegra234 module boards and the
configuration of some sensors is common across the different Tegra234
modules. Therefore, add any common sensor configurations to appropriate
device tree source file so it can be re-used across modules.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
20 months agodt-bindings: arm: sti: add STi boards and remove stih415/stih416
Alain Volmat [Mon, 13 Feb 2023 18:56:31 +0000 (19:56 +0100)]
dt-bindings: arm: sti: add STi boards and remove stih415/stih416

Add bindings for STi platform boards and remove stih415/stih416

Signed-off-by: Alain Volmat <avolmat@me.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
20 months agodt-bindings: soc: sti: add STi platform syscon
Alain Volmat [Mon, 13 Feb 2023 18:56:30 +0000 (19:56 +0100)]
dt-bindings: soc: sti: add STi platform syscon

Add DT schema of STi platform syscon

Signed-off-by: Alain Volmat <avolmat@me.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
20 months agoARM: dts: st: correct led level in stih418-b2264.dts
Alain Volmat [Sun, 2 Jul 2023 16:19:35 +0000 (16:19 +0000)]
ARM: dts: st: correct led level in stih418-b2264.dts

The state of the green led on the stih418-b2264 is currently
inverted.  Correct this by fixing the GPIO active state.

Signed-off-by: Alain Volmat <avolmat@me.com>
Acked-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
20 months agoARM: dts: st: move leds out of soc in stih418-b2264.dts
Alain Volmat [Sun, 2 Jul 2023 16:19:34 +0000 (16:19 +0000)]
ARM: dts: st: move leds out of soc in stih418-b2264.dts

Move the leds node out of the soc section
and correct the following warning:
Warning (simple_bus_reg): /soc/leds: missing or empty reg/ranges property

Signed-off-by: Alain Volmat <avolmat@me.com>
Acked-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
20 months agoARM: dts: st: correct serial alias in stih418-b2264.dts
Alain Volmat [Sun, 2 Jul 2023 16:19:33 +0000 (16:19 +0000)]
ARM: dts: st: correct serial alias in stih418-b2264.dts

Aliases should only contain lowercase, digits or - hence
correct the alias for the serial from ttyAS0 into serial0
as already done for the other boards.

Signed-off-by: Alain Volmat <avolmat@me.com>
Acked-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
20 months agoARM: dts: st: stih407: drop max-duty-cycle
Krzysztof Kozlowski [Sun, 30 Jul 2023 17:49:54 +0000 (19:49 +0200)]
ARM: dts: st: stih407: drop max-duty-cycle

"max-duty-cycle" property was removed in the commit f747a1fe7848
("regulator: pwm-regulator: Remove obsoleted property"):

  stih418-b2199.dtb: pwm-regulator: Unevaluated properties are not allowed ('max-duty-cycle' was unexpected)

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
20 months agoarm64: dts: renesas: Apply overlays to base dtbs
Rob Herring [Tue, 10 Oct 2023 13:44:19 +0000 (15:44 +0200)]
arm64: dts: renesas: Apply overlays to base dtbs

DT overlays in tree need to be applied to a base DTB to validate they
apply, to run schema checks on them, and to catch any errors at compile
time.

Signed-off-by: Rob Herring <robh@kernel.org>
[geert: Add missing base/overlay combinations]
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/44e5c1781b012a38d07a8d2fc68b26b33c3558b6.1696945404.git.geert+renesas@glider.be
20 months agoarm64: dts: renesas: rzg3s-smarc-som: Spelling s/device-type/device_type/
Claudiu Beznea [Tue, 10 Oct 2023 13:27:01 +0000 (16:27 +0300)]
arm64: dts: renesas: rzg3s-smarc-som: Spelling s/device-type/device_type/

Fix the following DTBS check warnings:

    arch/arm64/boot/dts/renesas/r9a08g045s33-smarc.dt: /: memory@48000000: 'device-type' does not match any of the regexes: 'pinctrl-[0-9]+'
    from schema $id: http://devicetree.org/schemas/memory.yaml#
    arch/arm64/boot/dts/renesas/r9a08g045s33-smarc.dtb: /: memory@48000000: 'device_type' is a required property
    from schema $id: http://devicetree.org/schemas/memory.yaml#

Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20231010132701.1658737-7-claudiu.beznea.uj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
20 months agoarm64: dts: renesas: r9a08g045: Add missing cache-level for L3 cache
Claudiu Beznea [Tue, 10 Oct 2023 13:27:01 +0000 (16:27 +0300)]
arm64: dts: renesas: r9a08g045: Add missing cache-level for L3 cache

Fix the following DTBS check warnings:

    arch/arm64/boot/dts/renesas/r9a08g045s33-smarc.dtb: cache-controller-0: 'cache-level' is a required property
    from schema $id: http://devicetree.org/schemas/cache.yaml#
    arch/arm64/boot/dts/renesas/r9a08g045s33-smarc.dtb: cache-controller-0: 'cache-level' is a required property
    from schema $id: http://devicetree.org/schemas/cache.yaml#
    arch/arm64/boot/dts/renesas/r9a08g045s33-smarc.dtb: cache-controller-0: Unevaluated properties are not allowed ('cache-size', 'cache-unified' were unexpected)
    from schema $id: http://devicetree.org/schemas/cache.yaml#

Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20231010132701.1658737-7-claudiu.beznea.uj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
20 months agoarm64: dts: renesas: r9a08g045: Add nodes for SDHI1 and SDHI2
Claudiu Beznea [Tue, 10 Oct 2023 13:26:58 +0000 (16:26 +0300)]
arm64: dts: renesas: r9a08g045: Add nodes for SDHI1 and SDHI2

Add DT nodes for SDHI1 and SDHI2 available on RZ/G3S (R9A08G045).

Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20231010132701.1658737-4-claudiu.beznea.uj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
20 months agoMerge tag 'samsung-dt64-6.7' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk...
Arnd Bergmann [Thu, 12 Oct 2023 10:57:06 +0000 (12:57 +0200)]
Merge tag 'samsung-dt64-6.7' of https://git./linux/kernel/git/krzk/linux into soc/dt

Samsung DTS ARM64 changes for v6.7

1. Exynos850: Add support for USB 2.0 (host and device) and enable it on
   E850-96 board.

2. Exynos5433: Switch sound card to generic audio-routing property,
   supported since previous release for Samsung drivers.  The old
   samsung,audio-routing property is deprecated.

3. Few cleanups.

* tag 'samsung-dt64-6.7' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  arm64: dts: exynos: remove unused TMU alias
  arm64: dts: exynos: Use pinctrl macros for exynos5433-tm2
  arm64: dts: exynos: exynos5433-tm2: switch sound card to audio-routing
  arm64: dts: exynos: Enable USB support on E850-96 board
  arm64: dts: exynos: Enable USB in Exynos850

Link: https://lore.kernel.org/r/20231006093943.106002-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
20 months agoMerge tag 'dt-cleanup-6.7' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk...
Arnd Bergmann [Thu, 12 Oct 2023 10:56:19 +0000 (12:56 +0200)]
Merge tag 'dt-cleanup-6.7' of https://git./linux/kernel/git/krzk/linux-dt into soc/dt

Minor improvements in ARM DTS for v6.7

Few cleanups and improvements: split joined reg entries for Ethernet in
omap3-devkit8000, add missing spaces before '{' (MediaTek, Nuvoton) and
cleanup whitespace around '=' (MediaTek).

* tag 'dt-cleanup-6.7' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-dt:
  ARM: dts: nuvoton: add missing space before {
  ARM: dts: mediatek: minor whitespace cleanup around '='
  ARM: dts: mediatek: add missing space before {
  ARM: dts: omap3-devkit8000: correct ethernet reg addresses (split)

Link: https://lore.kernel.org/r/20231006092823.94839-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
20 months agoMerge tag 'dt64-cleanup-6.7' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk...
Arnd Bergmann [Thu, 12 Oct 2023 10:53:31 +0000 (12:53 +0200)]
Merge tag 'dt64-cleanup-6.7' of https://git./linux/kernel/git/krzk/linux-dt into soc/dt

Minor improvements in ARM64 DTS for v6.7

Few cleanups and improvements: use lowercase hex for unit addresses
(Bitmain), add missing spaces before '{' (APM, MediaTek) and cleanup
whitespace around '=' (MediaTek, Marvell).

* tag 'dt64-cleanup-6.7' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-dt:
  arm64: dts: marvell: minor whitespace cleanup around '='
  arm64: dts: mediatek: minor whitespace cleanup around '='
  arm64: dts: mediatek: add missing space before {
  arm64: dts: apm: add missing space before {
  arm64: dts: bitmain: lowercase unit addresses

Link: https://lore.kernel.org/r/20231006092823.94839-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
20 months agoMerge tag 'renesas-dts-for-v6.7-tag1' of git://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Thu, 12 Oct 2023 10:37:31 +0000 (12:37 +0200)]
Merge tag 'renesas-dts-for-v6.7-tag1' of git://git./linux/kernel/git/geert/renesas-devel into soc/dt

Renesas DTS updates for v6.7

  - Add PCIe Host and Endpoint support for the R-Car S4-8 SoC and the
    Renesas Spider development board,
  - Add FLASH support for the Renesas Genmai and RSK+RZA1 development
    boards,
  - Add multi Component sound support for Renesas ULCB development
    boards equipped with the Shimafuji Kingfisher extension,
  - Miscellaneous fixes and improvements.

* tag 'renesas-dts-for-v6.7-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
  arm64: dts: renesas: ulcb/kf: Use multi Component sound
  ARM: dts: renesas: rskrza1: Add FLASH nodes
  ARM: dts: renesas: genmai: Add FLASH nodes
  ARM: dts: renesas: wheat: Move Ethernet node to LBSC
  ARM: dts: renesas: blanche: Move Ethernet node to LBSC
  ARM: dts: renesas: marzen: Move Ethernet node to LBSC
  ARM: dts: renesas: r8a7792: Add LBSC node
  ARM: dts: renesas: r8a7779: Add LBSC node
  ARM: dts: renesas: r7s72100: Add BSC node
  ARM: dts: renesas: Remove unused LBSC nodes from board DTS
  arm64: dts: renesas: r8a779f0: spider: Enable PCIe Host ch0
  arm64: dts: renesas: r8a779f0: Add PCIe Host and Endpoint nodes
  ARM: dts: renesas: gr-peach: Remove unneeded probe-type property
  ARM: dts: renesas: ape6evm: Drop bogus "mtd-rom" compatible value
  ARM: dts: renesas: blanche: Fix typo in GP_11_2 pin name
  arm64: dts: renesas: Handle ADG bit for sound clk_i

Link: https://lore.kernel.org/r/cover.1695985427.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
20 months agoMerge tag 'renesas-dt-bindings-for-v6.7-tag1' of git://git.kernel.org/pub/scm/linux...
Arnd Bergmann [Thu, 12 Oct 2023 10:35:52 +0000 (12:35 +0200)]
Merge tag 'renesas-dt-bindings-for-v6.7-tag1' of git://git./linux/kernel/git/geert/renesas-devel into soc/dt

Renesas DT binding updates for v6.7

  - Document support for the new RZ/G3S (R9A08G045) SoC variants.

* tag 'renesas-dt-bindings-for-v6.7-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
  dt-bindings: soc: renesas: renesas,rzg2l-sysc: Document RZ/G3S SoC
  dt-bindings: soc: renesas: Document Renesas RZ/G3S SoC variants

Link: https://lore.kernel.org/r/cover.1695985425.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
20 months agoarm64: dts: imx8mp: Drop i.MX8MP DHCOM rev.100 PHY address workaround from PDK3 DT
Marek Vasut [Thu, 21 Sep 2023 19:29:33 +0000 (21:29 +0200)]
arm64: dts: imx8mp: Drop i.MX8MP DHCOM rev.100 PHY address workaround from PDK3 DT

In case the i.MX8MP DHCOM rev.100 has been populated on the PDK3
carrier board, the on-SoM PHY PHYAD1 signal has been pulled high
by the carrier board and changed the PHY MDIO address from 5 to 7.
This has been fixed on production rev.200 SoM by additional buffer
on the SoM PHYAD/LED signals, remove the workaround.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx8mp: Update i.MX8MP DHCOM SoM DT to production rev.200
Marek Vasut [Thu, 21 Sep 2023 19:29:32 +0000 (21:29 +0200)]
arm64: dts: imx8mp: Update i.MX8MP DHCOM SoM DT to production rev.200

The current imx8mp-dhcom-som.dtsi describes prototype rev.100 SoM,
update the DT to describe production rev.200 SoM which brings the
following changes:
- Fast SoC GPIOs exposed on the SoM edge connector
- Slow GPIOs like component resets moved to I2C GPIO expander
- ADC upgraded from TLA2024 to ADS1015 with conversion interrupt
- EEPROM size increased from 256 B to 4 kiB

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx8mp: Add UART1 and RTC wake up source on DH i.MX8M Plus DHCOM SoM
Marek Vasut [Thu, 31 Aug 2023 18:20:20 +0000 (20:20 +0200)]
arm64: dts: imx8mp: Add UART1 and RTC wake up source on DH i.MX8M Plus DHCOM SoM

Turn Console UART1 and dedicated RTC into wake up sources, to make
it possible to wake on UART and RTC alarm.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx8mp: Switch WiFI enable signal to mmc-pwrseq-simple on i.MX8MP DHCOM SoM
Marek Vasut [Thu, 31 Aug 2023 18:20:19 +0000 (20:20 +0200)]
arm64: dts: imx8mp: Switch WiFI enable signal to mmc-pwrseq-simple on i.MX8MP DHCOM SoM

The reset-gpio is connected to WL_REG_EN signal of the WiFi MAC, the
mmc-pwrseq-simple driver is better suited to operate this signal as
it is tied to the slot instead of the MAC, and it can enable the MAC
before the brcmfmac driver binds to it. Make use of the MMC power
sequencer.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx8mp: Fix property indent on DH i.MX8M Plus DHCOM PDK3
Marek Vasut [Thu, 31 Aug 2023 18:20:18 +0000 (20:20 +0200)]
arm64: dts: imx8mp: Fix property indent on DH i.MX8M Plus DHCOM PDK3

Fix indent to use tab indent. No functional change.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx8mp: Describe VDD_ARM run and standby voltage for DH i.MX8M Plus DHCOM SoM
Marek Vasut [Thu, 31 Aug 2023 18:20:17 +0000 (20:20 +0200)]
arm64: dts: imx8mp: Describe VDD_ARM run and standby voltage for DH i.MX8M Plus DHCOM SoM

Describe VDD_ARM (BUCK2) run and standby voltage in DT.

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx8mp: Describe VDD_ARM run and standby voltage for Data Modul i.MX8M...
Marek Vasut [Thu, 31 Aug 2023 18:18:50 +0000 (20:18 +0200)]
arm64: dts: imx8mp: Describe VDD_ARM run and standby voltage for Data Modul i.MX8M Plus eDM SBC

Describe VDD_ARM (BUCK2) run and standby voltage in DT.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoriscv: dts: starfive: visionfive 2: correct spi's ss pin
Nam Cao [Thu, 12 Oct 2023 09:17:29 +0000 (11:17 +0200)]
riscv: dts: starfive: visionfive 2: correct spi's ss pin

The ss pin of spi0 is the same as sck pin. According to the
visionfive 2 documentation, it should be pin 49 instead of 48.

Fixes: 74fb20c8f05d ("riscv: dts: starfive: Add spi node and pins configuration")
Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Signed-off-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
20 months agoARM: tegra: Drop unit-address from parallel RGB output port
Maxim Schwalm [Mon, 7 Aug 2023 14:35:11 +0000 (17:35 +0300)]
ARM: tegra: Drop unit-address from parallel RGB output port

Fix the following W=1 build warning:
"Warning (unit_address_vs_reg): /host1x@50000000/dc@54200000/rgb/port@0:
 node has a unit name, but no reg or ranges property"

Signed-off-by: Maxim Schwalm <maxim.schwalm@gmail.com>
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
20 months agodt-bindings: arm: tegra: pmc: Relicense and move into soc/tegra directory
Thierry Reding [Wed, 26 Jul 2023 16:27:44 +0000 (18:27 +0200)]
dt-bindings: arm: tegra: pmc: Relicense and move into soc/tegra directory

Dual-license this binding for consistency with other Tegra bindings and
move it into the soc/tegra directory.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
20 months agodt-bindings: arm: tegra: pmc: Reformat example
Thierry Reding [Wed, 26 Jul 2023 16:27:43 +0000 (18:27 +0200)]
dt-bindings: arm: tegra: pmc: Reformat example

Reformat the example using 4 spaces for indentation.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
20 months agodt-bindings: arm: tegra: pmc: Restructure pad configuration node schema
Thierry Reding [Wed, 26 Jul 2023 16:27:42 +0000 (18:27 +0200)]
dt-bindings: arm: tegra: pmc: Restructure pad configuration node schema

The pad configuration node schema in its current form can accidentally
match other properties as well. Restructure the schema to better match
how the device trees are using these.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
20 months agodt-bindings: arm: tegra: pmc: Increase maximum number of clocks per powergate
Thierry Reding [Wed, 26 Jul 2023 16:27:41 +0000 (18:27 +0200)]
dt-bindings: arm: tegra: pmc: Increase maximum number of clocks per powergate

Some powergate definitions need more than 8 clocks, so bump the number
up to 10, which is the current maximum in any known device tree file.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
20 months agodt-bindings: arm: tegra: pmc: Move additionalProperties
Thierry Reding [Wed, 26 Jul 2023 16:27:40 +0000 (18:27 +0200)]
dt-bindings: arm: tegra: pmc: Move additionalProperties

For indented subschemas it can be difficult to understand which block an
additionalProperties property belongs to. Moving it closer to the
beginning of a block is a good way to clarify this.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
20 months agodt-bindings: arm: tegra: pmc: Remove useless boilerplate descriptions
Thierry Reding [Wed, 26 Jul 2023 16:27:39 +0000 (18:27 +0200)]
dt-bindings: arm: tegra: pmc: Remove useless boilerplate descriptions

The descriptions for the clocks and resets properties are no longer
useful in the context of json-schema, so drop them.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
20 months agodt-bindings: arm: tegra: pmc: Improve property descriptions
Thierry Reding [Wed, 26 Jul 2023 16:27:38 +0000 (18:27 +0200)]
dt-bindings: arm: tegra: pmc: Improve property descriptions

Reformat the description of various properties to make them more
consistent with existing ones. Make use of json-schema's ability to
provide a description for individual list items to make improve the
documentation further.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
20 months agoarm64: tegra: Mark Tegra234 SPI as compatible with Tegra114
Thierry Reding [Thu, 17 Aug 2023 14:14:07 +0000 (16:14 +0200)]
arm64: tegra: Mark Tegra234 SPI as compatible with Tegra114

According to the bindings, both Tegra210 and Tegra114 compatible strings
need to be specified since the version of this hardware block found in
Tegra210 is backwards-compatible.

Signed-off-by: Thierry Reding <treding@nvidia.com>
20 months agoarm64: tegra: Add dmas and dma-names for Tegra234 UARTE
Thierry Reding [Thu, 17 Aug 2023 14:14:06 +0000 (16:14 +0200)]
arm64: tegra: Add dmas and dma-names for Tegra234 UARTE

Commit 940acdac99b2 ("arm64: tegra: Add UARTE device tree node on
Tegra234") added the device tree node for the UARTE on Tegra234 but
didn't include the "dmas" and "dma-names" properties required for this
device when it's used in high-speed mode.

Signed-off-by: Thierry Reding <treding@nvidia.com>
20 months agoarm64: tegra: Use correct format for clocks property
Thierry Reding [Thu, 17 Aug 2023 14:14:05 +0000 (16:14 +0200)]
arm64: tegra: Use correct format for clocks property

phandle and clock specifier pairs should be enclosed in angular
brackets.

Signed-off-by: Thierry Reding <treding@nvidia.com>
20 months agoarm64: tegra: Remove duplicate nodes on Jetson Orin NX
Thierry Reding [Thu, 17 Aug 2023 14:14:04 +0000 (16:14 +0200)]
arm64: tegra: Remove duplicate nodes on Jetson Orin NX

The SBSA UART and TCU as well as the TCU alias and the stdout-path are
configured via the P3768 carrier board DTS include, so the can be
removed from the system DTS file.

Signed-off-by: Thierry Reding <treding@nvidia.com>
20 months agoarm64: tegra: Add missing current-speed for SBSA UART
Thierry Reding [Thu, 17 Aug 2023 14:14:03 +0000 (16:14 +0200)]
arm64: tegra: Add missing current-speed for SBSA UART

The SBSA UART device tree bindings require a current-speed property that
specifies the baud rate configured by the firmware. Add it on Jetson AGX
Orin and Jetson Orin Nano/NX.

Signed-off-by: Thierry Reding <treding@nvidia.com>
20 months agoarm64: tegra: Add display panel node on Smaug
Diogo Ivo [Mon, 7 Aug 2023 13:33:05 +0000 (14:33 +0100)]
arm64: tegra: Add display panel node on Smaug

The Google Pixel C has a JDI LPM102A188A display panel, so add a
DT node for it.

Signed-off-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Signed-off-by: Thierry Reding <treding@nvidia.com>
20 months agoarm64: tegra: Add backlight node on Smaug
Diogo Ivo [Mon, 7 Aug 2023 13:33:04 +0000 (14:33 +0100)]
arm64: tegra: Add backlight node on Smaug

The Google Pixel C has a TI LP8557 backlight controller, so add a
DT node for it.

Signed-off-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Signed-off-by: Thierry Reding <treding@nvidia.com>
20 months agoarm64: tegra: Add DSI/CSI regulator on Smaug
Diogo Ivo [Mon, 7 Aug 2023 13:33:03 +0000 (14:33 +0100)]
arm64: tegra: Add DSI/CSI regulator on Smaug

Add the node for the DSI/CSI regulator in the Pixel C.

Signed-off-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Signed-off-by: Thierry Reding <treding@nvidia.com>
20 months agoarm64: tegra: Enable IOMMU for host1x on Tegra132
Rayyan Ansari [Thu, 10 Aug 2023 21:45:41 +0000 (22:45 +0100)]
arm64: tegra: Enable IOMMU for host1x on Tegra132

Add the iommu property to the host1x node to register it with its
swgroup.

Signed-off-by: Rayyan Ansari <rayyan@ansari.sh>
Signed-off-by: Thierry Reding <treding@nvidia.com>
20 months agoarm64: tegra: Fix P3767 QSPI speed
Brad Griffis [Mon, 26 Jun 2023 18:09:20 +0000 (18:09 +0000)]
arm64: tegra: Fix P3767 QSPI speed

The QSPI device used on Jetson Orin NX and Nano modules (p3767) is
the same as Jetson AGX Orin (p3701) and should have a maximum speed of
102 MHz.

Fixes: 13b0aca303e9 ("arm64: tegra: Support Jetson Orin NX")
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
20 months agoarm64: tegra: Fix P3767 card detect polarity
Brad Griffis [Mon, 26 Jun 2023 18:09:19 +0000 (18:09 +0000)]
arm64: tegra: Fix P3767 card detect polarity

The SD card detect pin is active-low on all Orin Nano and NX SKUs that
have an SD card slot.

Fixes: 13b0aca303e9 ("arm64: tegra: Support Jetson Orin NX")
Signed-off-by: Brad Griffis <bgriffis@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
20 months agoARM: dts: imx7d-pico-pi: Disable USDHC1
Fabio Estevam [Sat, 7 Oct 2023 17:18:05 +0000 (14:18 -0300)]
ARM: dts: imx7d-pico-pi: Disable USDHC1

The imx7d-pico-pi board does not have an SD card slot
connected to the USDHC1 port. Only eMMC and Wifi SDIO ports
are used.

Disable the USDHC1 node.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoARM: dts: imx28: Fix dcp compatible
Fabio Estevam [Mon, 2 Oct 2023 02:00:23 +0000 (23:00 -0300)]
ARM: dts: imx28: Fix dcp compatible

Per fsl-dcp.yaml, passing "fsl,imx28-dcp", "fsl,imx23-dcp" is not
valid.

Change it to pass only "fsl,imx28-dcp" to fix the following
schema warning:

crypto@80028000: compatible: 'oneOf' conditional failed, one must be fixed:
['fsl,imx28-dcp', 'fsl,imx23-dcp'] is too long
'fsl,imx28-dcp' is not one of ['fsl,imx6sl-dcp', 'fsl,imx6ull-dcp']
'fsl,imx28-dcp' was expected

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Stefan Wahren <wahrenst@gmx.net>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoARM: dts: imx7s: Remove #power-domain-cells from gpcv2
Fabio Estevam [Sat, 30 Sep 2023 12:42:21 +0000 (09:42 -0300)]
ARM: dts: imx7s: Remove #power-domain-cells from gpcv2

Per fsl,imx-gpcv2.yaml, '#power-domain-cells' is not a valid
property for the top-level gpcv2 node. It is only valid
for its children nodes.

Remove it to fix the following schema warning:

gpc@303a0000: '#power-domain-cells' does not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/power/fsl,imx-gpcv2.yaml#

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoARM: dts: imx25: Remove clock-names from the watchdog
Fabio Estevam [Fri, 29 Sep 2023 02:01:42 +0000 (23:01 -0300)]
ARM: dts: imx25: Remove clock-names from the watchdog

Per fsl-imx-wdt, 'clock-names' is not a valid property.

Remove it to fix the following schema warning:

watchdog@53fdc000: Unevaluated properties are not allowed ('clock-names' was unexpected)
from schema $id: http://devicetree.org/schemas/watchdog/fsl-imx-wdt.yaml

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoARM: dts: imx25: Fix sram node
Fabio Estevam [Wed, 27 Sep 2023 20:33:18 +0000 (17:33 -0300)]
ARM: dts: imx25: Fix sram node

Per sram.yaml, address-cells, size-cells and ranges are mandatory.

Pass them to fix the following schema warnings:

sram@78000000: '#address-cells' is a required property
from schema $id: http://devicetree.org/schemas/sram/sram.yaml#
sram@78000000: '#size-cells' is a required property
from schema $id: http://devicetree.org/schemas/sram/sram.yaml#
sram@78000000: 'ranges' is a required property
from schema $id: http://devicetree.org/schemas/sram/sram.yaml#

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoARM: dts: imx25: Fix dryice node
Fabio Estevam [Wed, 27 Sep 2023 20:24:00 +0000 (17:24 -0300)]
ARM: dts: imx25: Fix dryice node

Per imxdi-rtc.yaml, there is only one valid compatible entry and
clock-names is not a valid property.

Change it to fix the following schema warnings:

dryice@53ffc000: compatible: ['fsl,imx25-dryice', 'fsl,imx25-rtc'] is too long
from schema $id: http://devicetree.org/schemas/rtc/imxdi-rtc.yaml#
dryice@53ffc000: 'clock-names' does not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/rtc/imxdi-rtc.yaml#

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoARM: dts: imx6qdl-gw5904: add dt props for populating eth MAC addrs
Tim Harvey [Tue, 26 Sep 2023 19:41:10 +0000 (12:41 -0700)]
ARM: dts: imx6qdl-gw5904: add dt props for populating eth MAC addrs

Add device-tree props to allow boot firmware to populate MAC addresses.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoARM: dts: vfxxx: Write dmas in a single line
Fabio Estevam [Tue, 26 Sep 2023 14:40:04 +0000 (11:40 -0300)]
ARM: dts: vfxxx: Write dmas in a single line

There is no need to split dmas in two lines.

Make it more readable by writing it in a single line.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx8mp-beacon: Add DMIC support
Adam Ford [Sun, 8 Oct 2023 14:02:38 +0000 (09:02 -0500)]
arm64: dts: imx8mp-beacon: Add DMIC support

The baseboard has a connector for a pulse density microphone.
This is connected via the micfil interface and uses the DMIC
audio codec with the simple-audio-card.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx8mn-beacon: Add DMIC support
Adam Ford [Sun, 8 Oct 2023 14:02:37 +0000 (09:02 -0500)]
arm64: dts: imx8mn-beacon: Add DMIC support

The baseboard has a connector for a pulse density microphone.
This is connected via the micfil interface and uses the DMIC
audio codec with the simple-audio-card.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx8mm-beacon: Add DMIC support
Adam Ford [Sun, 8 Oct 2023 14:02:36 +0000 (09:02 -0500)]
arm64: dts: imx8mm-beacon: Add DMIC support

The baseboard has a connector for a pulse density microphone.
This is connected via the micfil interface and uses the DMIC
audio codec with the simple-audio-card.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx8mm-beacon: Migrate sound card to simple-audio-card
Adam Ford [Sun, 8 Oct 2023 14:02:35 +0000 (09:02 -0500)]
arm64: dts: imx8mm-beacon: Migrate sound card to simple-audio-card

Instead of using a custom glue layer connecting the wm8962 CODEC
to the SAI3 sound-dai, migrate the sound card to simple-audio-card.
This also brings this board in line with the imx8mn-beacon and
imx8mp-beacon.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx8mn-evk: Remove codec clocks/clock-names
Fabio Estevam [Fri, 6 Oct 2023 20:43:38 +0000 (17:43 -0300)]
arm64: dts: imx8mn-evk: Remove codec clocks/clock-names

Per wlf,wm8524.yaml, 'clocks' and 'clock-names' are not valid
properties.

Remove them to fix the following schema warning:

audio-codec: Unevaluated properties are not allowed ('clock-names', 'clocks' were unexpected)
from schema $id: http://devicetree.org/schemas/sound/wlf,wm8524.yaml#

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx8mp-beacon: Configure 100MHz PCIe Ref Clk
Adam Ford [Wed, 4 Oct 2023 23:51:47 +0000 (18:51 -0500)]
arm64: dts: imx8mp-beacon: Configure 100MHz PCIe Ref Clk

There is a I2C controlled 100MHz Reference clock used by the PCIe
controller. Configure this clock's DIF1 output to be used by
the PCIe.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx8mn: Add sound-dai-cells to micfil node
Adam Ford [Wed, 4 Oct 2023 23:01:59 +0000 (18:01 -0500)]
arm64: dts: imx8mn: Add sound-dai-cells to micfil node

Per the DT bindings, the micfil node should have a sound-dai-cells
entry.

Fixes: cca69ef6eba5 ("arm64: dts: imx8mn: Add support for micfil")
Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx8mm: Add sound-dai-cells to micfil node
Adam Ford [Wed, 4 Oct 2023 23:01:58 +0000 (18:01 -0500)]
arm64: dts: imx8mm: Add sound-dai-cells to micfil node

Per the DT bindings, the micfil node should have a sound-dai-cells
entry.

Fixes: 3bd0788c43d9 ("arm64: dts: imx8mm: Add support for micfil")
Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: freescale: add initial device tree for TQMLS1088A
Gregor Herburger [Mon, 2 Oct 2023 08:43:54 +0000 (10:43 +0200)]
arm64: dts: freescale: add initial device tree for TQMLS1088A

This adds support for TQMLS1088A SOM on MBLS10xxA baseboard.

Signed-off-by: Gregor Herburger <gregor.herburger@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: freescale: add initial device tree for TQMLS1043A/TQMLS1046A
Gregor Herburger [Mon, 2 Oct 2023 08:43:52 +0000 (10:43 +0200)]
arm64: dts: freescale: add initial device tree for TQMLS1043A/TQMLS1046A

This adds support for the TQMLS1043A and TQMLS1046A SOM and the
MBLS10xxA baseboard. TQMLS1043A and TQMLS1046A share a common layout
and can be used on the MBLS10xxA.

Signed-off-by: Gregor Herburger <gregor.herburger@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: ls1043a: remove second dspi node
Gregor Herburger [Mon, 2 Oct 2023 08:43:50 +0000 (10:43 +0200)]
arm64: dts: ls1043a: remove second dspi node

According to the documentation the ls1043a has only one spi controller.
So remove the second one.

Signed-off-by: Gregor Herburger <gregor.herburger@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: freescale: Add support for LX2162 SoM & Clearfog Board
Josua Mayer [Sun, 1 Oct 2023 10:32:59 +0000 (12:32 +0200)]
arm64: dts: freescale: Add support for LX2162 SoM & Clearfog Board

Add support for the SolidRun LX2162A System on Module (SoM), and the
Clearfog evaluation board.

The SoM has few software-controllable features:
- AR8035 Ethernet PHY
- eMMC
- SPI Flash
- fan controller
- various eeproms

The Clearfog evaluation board provides:
- microSD connector
- USB-A
- 2x 10Gbps SFP+
- 2x 25Gbps SFP+ with a retimer
- 8x 2.5Gbps RJ45
- 2x mPCI (assembly option / disables 2xRJ45)

The 8x RJ45 ports are connected with an 8-port PHY: Marvell 88E2580
supporting up to 5Gbps, while SoC and magnetics are limited to 2.5Gbps.

However 2500 speed is untested due to documentation and drivier
limitations. To avoid confusion the phy nodes have been explicitly
limited to 1000 for now.

The PCI nodes are disabled, but explicitly added to mark that this board
can have pci.
It is expected that the bootloader will patch the status property
"okay" and disable 2x RJ45 ports, according to active serdes configuration.

Signed-off-by: Josua Mayer <josua@solid-run.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: lx2160a: describe the SerDes block #2
Josua Mayer [Sun, 1 Oct 2023 10:32:56 +0000 (12:32 +0200)]
arm64: dts: lx2160a: describe the SerDes block #2

Add description for the LX2160A second SerDes block.
It is functionally identical to the first one already added in
commit 3cbe93a1f540 ("arch: arm64: dts: lx2160a: describe the SerDes
block #1").

The SerDes driver currently updates the registers of all 8 lanes by
default during probe. Because currently this driver only supports
configuration of network protocols, this can lead to problems with
certain configurations.
Set status property to "disabled" by default so that existing boards are
not impacted.

Signed-off-by: Josua Mayer <josua@solid-run.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx93: update gpio node
Peng Fan [Sun, 1 Oct 2023 08:27:58 +0000 (16:27 +0800)]
arm64: dts: imx93: update gpio node

Per binding doc, i.MX93 GPIO supports two interrupts and one register
base, compatible with i.MX8ULP. The current fsl,imx7ulp-gpio compatible
could work for i.MX93 in gpio-vf610.c driver, it is based on the base
address are splited into two with offset added in device tree node.

Now following hardware design, using one register base in device tree node.

This may break users who use compatible fsl,imx7ulp-gpio to enable
i.MX93 GPIO.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx8ulp: update gpio node
Peng Fan [Sun, 1 Oct 2023 08:27:57 +0000 (16:27 +0800)]
arm64: dts: imx8ulp: update gpio node

The i.MX8ULP GPIO supports two interrupts and one register base,
the current fsl,imx7ulp-gpio compatible could work for i.MX8ULP in
gpio-vf610.c driver, it is based on the base address are splited
into two with offset added in device tree node. Now following
hardware design, using one register base in device tree node.

This may break users who use compatible fsl,imx7ulp-gpio to enable
i.MX8ULP GPIO.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx8mq-librem5: Fix tps65132 compatible
Fabio Estevam [Fri, 29 Sep 2023 13:25:41 +0000 (10:25 -0300)]
arm64: dts: imx8mq-librem5: Fix tps65132 compatible

The valid compatible string for the tps65132 regulator
is "ti,tps65132".

Change it.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx8mp-debix-model-a: Remove USB hub reset-gpios
Fabio Estevam [Fri, 29 Sep 2023 13:11:23 +0000 (10:11 -0300)]
arm64: dts: imx8mp-debix-model-a: Remove USB hub reset-gpios

The SAI2_TXC pin is left unconnected per the imx8mp-debix-model-a
schematics:

https://debix.io/Uploads/Temp/file/20230331/DEBIX%20Model%20A%20Schematics.pdf

Also, the RTS5411E USB hub chip does not have a reset pin.

Remove this pin description to properly describe the hardware.

This also fixes the following schema warning:

hub@1: 'reset-gpios' does not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/usb/realtek,rts5411.yaml#

Fixes: 0253e1cb6300 ("arm64: dts: imx8mp-debix: add USB host support")
Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx8-apalis-v1.1: Fix Ethernet PHY reset-names
Fabio Estevam [Fri, 29 Sep 2023 12:40:32 +0000 (09:40 -0300)]
arm64: dts: imx8-apalis-v1.1: Fix Ethernet PHY reset-names

Per ethernet-phy.yaml, the expected value for the 'reset-names'
property is "phy".

Change it accordingly to fix the following schema warning:

imx8qm-apalis-ixora-v1.1.dtb: ethernet-phy@7: reset-names:0: 'phy' was expected
from schema $id: http://devicetree.org/schemas/net/ethernet-phy.yaml#

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx8mm-venice-gw790: Remove phy-mode from switch node
Fabio Estevam [Fri, 29 Sep 2023 12:30:29 +0000 (09:30 -0300)]
arm64: dts: imx8mm-venice-gw790: Remove phy-mode from switch node

Per microchip,ksz.yaml, phy-mode is not a valid property in the
top-level switch node.

phy-mode = "rgmii-id" is already passed in the CPU port switch (port@5).

Remove it from the top-level switch node to fix the following
schema warning:

switch@5f: Unevaluated properties are not allowed ('phy-mode' was unexpected)
from schema $id: http://devicetree.org/schemas/net/dsa/microchip,ksz.yaml

Signed-off-by: Fabio Estevam <festevam@denx.de>
Acked-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx8mp-venice-gw73xx: add TPM device
Tim Harvey [Thu, 28 Sep 2023 20:13:54 +0000 (13:13 -0700)]
arm64: dts: imx8mp-venice-gw73xx: add TPM device

Add the TPM device found on the GW73xx revision F PCB.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx8mm-venice-gw73xx: add TPM device
Tim Harvey [Thu, 28 Sep 2023 20:13:28 +0000 (13:13 -0700)]
arm64: dts: imx8mm-venice-gw73xx: add TPM device

Add the TPM device found on the GW73xx revision F PCB.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx8mp-verdin: Remove invalid property from eqos
Fabio Estevam [Thu, 28 Sep 2023 02:34:53 +0000 (23:34 -0300)]
arm64: dts: imx8mp-verdin: Remove invalid property from eqos

Per nxp,dwmac-imx.yaml, it is not valid to pass 'phy-supply'.

The reg_module_eth1phy regulator is marked with 'regulator-always-on',
so it is safe to remove it from the eqos node.

Remove it to fix the following schema warning:

imx8mp-verdin-nonwifi-dahlia.dtb: ethernet@30bf0000: Unevaluated properties are not allowed ('phy-supply' was unexpected)
from schema $id: http://devicetree.org/schemas/net/nxp,dwmac-imx.yaml#

Signed-off-by: Fabio Estevam <festevam@denx.de>
Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx8qm-ss-img: Fix jpegenc compatible entry
Fabio Estevam [Tue, 26 Sep 2023 14:27:36 +0000 (11:27 -0300)]
arm64: dts: imx8qm-ss-img: Fix jpegenc compatible entry

The first compatible entry for the jpegenc should be 'nxp,imx8qm-jpgenc'.

Change it accordingly to fix the following schema warning:

imx8qm-apalis-eval.dtb: jpegenc@58450000: compatible: 'oneOf' conditional failed, one must be fixed:
'nxp,imx8qm-jpgdec' is not one of ['nxp,imx8qxp-jpgdec', 'nxp,imx8qxp-jpgenc']
'nxp,imx8qm-jpgenc' was expected
'nxp,imx8qxp-jpgdec' was expected

Fixes: 5bb279171afc ("arm64: dts: imx8: Add jpeg encoder/decoder nodes")
Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Mirela Rabulea <mirela.rabulea@nxp.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx93: Fix the dmas entries order
Fabio Estevam [Tue, 26 Sep 2023 14:18:54 +0000 (11:18 -0300)]
arm64: dts: imx93: Fix the dmas entries order

Per fsl-lpuart.yaml, the dmas and dma-names entries should be
'rx' followed by 'tx'.

Change the order to fix the following schema warning:

imx93-11x11-evk.dtb: serial@44380000: dma-names:0: 'rx' was expected
from schema $id: http://devicetree.org/schemas/serial/fsl-lpuart.yaml#
imx93-11x11-evk.dtb: serial@44380000: dma-names:1: 'tx' was expected
from schema $id: http://devicetree.org/schemas/serial/fsl-lpuart.yaml#

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx8mm-venice-gw790: Pass GSC address/size-cells
Fabio Estevam [Tue, 26 Sep 2023 12:44:16 +0000 (09:44 -0300)]
arm64: dts: imx8mm-venice-gw790: Pass GSC address/size-cells

Per gateworks-gsc.yaml, #address-cells and #size-cells are mandatory
properties.

Pass them to fix the following schema warning:

imx8mm-venice-gw7903.dtb: gsc@20: '#address-cells' is a required property
from schema $id: http://devicetree.org/schemas/mfd/gateworks-gsc.yaml#
imx8mm-venice-gw7903.dtb: gsc@20: '#size-cells' is a required property
from schema $id: http://devicetree.org/schemas/mfd/gateworks-gsc.yaml#

Signed-off-by: Fabio Estevam <festevam@denx.de>
Acked-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx8dxl: Pass fsl,imx8dxl-sc-wdt
Fabio Estevam [Tue, 26 Sep 2023 12:29:57 +0000 (09:29 -0300)]
arm64: dts: imx8dxl: Pass fsl,imx8dxl-sc-wdt

Pass 'fsl,imx8dxl-sc-wdt' to fix the following schema warning:

system-controller: watchdog:compatible:0: 'fsl,imx8qxp-sc-wdt' was expected
from schema $id: http://devicetree.org/schemas/firmware/fsl,scu.yaml#
system-controller: watchdog:compatible: ['fsl,imx-sc-wdt'] is too short
from schema $id: http://devicetree.org/schemas/firmware/fsl,scu.yaml#

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx8dxl: Pass fsl,imx8dxl-sc-thermal
Fabio Estevam [Tue, 26 Sep 2023 12:29:55 +0000 (09:29 -0300)]
arm64: dts: imx8dxl: Pass fsl,imx8dxl-sc-thermal

Pass 'fsl,imx8dxl-sc-thermal' to fix the following schema warning:

system-controller: thermal-sensor:compatible:0: 'fsl,imx8qxp-sc-thermal' was expected
from schema $id: http://devicetree.org/schemas/firmware/fsl,scu.yaml#
system-controller: thermal-sensor:compatible: ['fsl,imx-sc-thermal'] is too short
from schema $id: http://devicetree.org/schemas/firmware/fsl,scu.yaml#

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx8dxl: Remove wakeup-irq
Fabio Estevam [Tue, 26 Sep 2023 12:29:53 +0000 (09:29 -0300)]
arm64: dts: imx8dxl: Remove wakeup-irq

wakeup-irq is not documented, and not used anywhere.

Remove it.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx8dxl: Pass fsl,imx8dl-scu-pd
Fabio Estevam [Tue, 26 Sep 2023 12:29:52 +0000 (09:29 -0300)]
arm64: dts: imx8dxl: Pass fsl,imx8dl-scu-pd

Pass 'fsl,imx8dl-scu-pd' to fix the following schema warning:

system-controller: power-controller:compatible:0: 'fsl,scu-pd' is not one of ['fsl,imx8qm-scu-pd', 'fsl,imx8qxp-scu-pd']
from schema $id: http://devicetree.org/schemas/firmware/fsl,scu.yaml#

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx8qm-mek: enable 8qm lpuart2 and lpuart3
Frank Li [Mon, 25 Sep 2023 20:49:13 +0000 (16:49 -0400)]
arm64: dts: imx8qm-mek: enable 8qm lpuart2 and lpuart3

Enable uart2 and uart3 for imx8qm-mek board.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
20 months agoarm64: dts: imx8qxp-mek: enable 8qxp lpuart2 and lpuart3
Frank Li [Mon, 25 Sep 2023 20:49:12 +0000 (16:49 -0400)]
arm64: dts: imx8qxp-mek: enable 8qxp lpuart2 and lpuart3

Enable uart2 and uart3 for imx8qxp-mek board.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>