linux.git
15 months agoMerge tag 'v6.8-rockchip-dts64-2' of git://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Tue, 2 Jan 2024 09:53:55 +0000 (10:53 +0100)]
Merge tag 'v6.8-rockchip-dts64-2' of git://git./linux/kernel/git/mmind/linux-rockchip into soc/dt

One new boards, the CoolPi CM5 SoM and 4B SBC. Basic node for the rk3588
display controller and a bunch of small improvements for different boards,

* tag 'v6.8-rockchip-dts64-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: (21 commits)
  arm64: dts: rockchip: Fix led pinctrl of lubancat 1
  arm64: dts: rockchip: correct gpio_pwrctrl1 typo on nanopc-t6
  arm64: dts: rockchip: correct gpio_pwrctrl1 typo on rock-5b
  arm64: dts: rockchip: support poweroff on the rock-5b
  arm64: dts: rockchip: Support poweroff on Orange Pi 5
  arm64: dts: rockchip: nanopc-t6 sdmmc beautification
  arm64: dts: rockchip: Fix rk3588 USB power-domain clocks
  arm64: dts: rockchip: configure eth pad driver strength for orangepi r1 plus lts
  arm64: dts: rockchip: Support poweroff on NanoPC-T6
  arm64: dts: rockchip: rk3308-rock-pi-s gpio-line-names cleanup
  arm64: dts: rockchip: Add support for rk3588 based board Cool Pi CM5 EVB
  dt-bindings: arm: rockchip: Add Cool Pi CM5
  arm64: dts: rockchip: Add support for rk3588s based board Cool Pi 4B
  dt-bindings: arm: rockchip: Add Cool Pi 4B
  dt-bindings: vendor-prefixes: Add Cool Pi
  arm64: dts: rockchip: add gpio-line-names to rk3328-rock-pi-e
  arm64: dts: rockchip: make use gpio-keys for buttons on puma-haikou
  arm64: dts: rockchip: expose BIOS Disable feedback pin on rk3399-puma
  arm64: dts: rockchip: fix misleading comment in rk3399-puma-haikou.dts
  arm64: dts: rockchip: Add vop on rk3588
  ...

Link: https://lore.kernel.org/r/3711719.VqM8IeB0Os@diego
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoMerge tag 'qcom-arm64-for-6.8-2' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Tue, 2 Jan 2024 09:52:24 +0000 (10:52 +0100)]
Merge tag 'qcom-arm64-for-6.8-2' of https://git./linux/kernel/git/qcom/linux into soc/dt

A few more Qualcomm Arm64 DeviceTree updates for v6.8

This corrects the rate of the UTMI clock on IPQ6018 USB0. The SDHCI
controller on SC7280 gains missing markings for being cache-coherent.
For SC8180X a typo in assignment of PCIe refgen clocks is corrected, PCI
controllers are marked cache-coherent, and the USB SS PHY interrupts are
corrected to allow wakeup.

Similarly USB HS PHY and SS PHY interrupts are corrected to allow
wakeup on SDM670.

On SM8550 the X3 cluster idle state is properly described, and the
latency numbers are adjusted for all the idle states.

The PM8550 regulator supplies on X1E are corrected to match the driver
and binding, and the timer node is updated to avoid an unnecessary
validation error.

* tag 'qcom-arm64-for-6.8-2' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux:
  arm64: dts: qcom: sc8180x: Fix up PCIe nodes
  arm64: dts: qcom: sc8180x: Mark PCIe hosts cache-coherent
  arm64: dts: qcom: x1e80100-qcp: Fix supplies for some LDOs in PM8550
  arm64: dts: qcom: sm8550: Update idle state time requirements
  arm64: dts: qcom: sm8550: Separate out X3 idle state
  arm64: dts: qcom: ipq6018: fix clock rates for GCC_USB0_MOCK_UTMI_CLK
  arm64: dts: qcom: x1e80100: align mem timer size cells with bindings
  arm64: dts: qcom: sc7280: Mark SDHCI hosts as cache-coherent
  arm64: dts: qcom: sc8180x: fix USB SS wakeup
  arm64: dts: qcom: sdm670: fix USB SS wakeup
  arm64: dts: qcom: sdm670: fix USB DP/DM HS PHY interrupts

Link: https://lore.kernel.org/r/20231231034108.3262678-1-andersson@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoMerge tag 'qcom-arm32-for-6.8-2' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Tue, 2 Jan 2024 09:51:38 +0000 (10:51 +0100)]
Merge tag 'qcom-arm32-for-6.8-2' of https://git./linux/kernel/git/qcom/linux into soc/dt

A few more Qualcomm Arm32 DeviceTree updates fr v6.8

The recently introduced changes to the SDX55 USB controller interrupt
flags prevents the USB controller from probing. These patches corrects
the PDC's interrupt-cells, so that appropriate interrupt controller
(which supports both-edge interrupts) can be used instead, which
resolves the issue.

The SDX55 PCIe PHY base address is also adjusted, from a mistake when
the node recently was transitioned to the modernized DeviceTree binding.

* tag 'qcom-arm32-for-6.8-2' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux:
  ARM: dts: qcom: sdx55: Fix the base address of PCIe PHY
  ARM: dts: qcom: sdx55: fix USB SS wakeup
  ARM: dts: qcom: sdx55: fix USB DP/DM HS PHY interrupts
  ARM: dts: qcom: sdx55: fix pdc '#interrupt-cells'

Link: https://lore.kernel.org/r/20231231033153.3262575-1-andersson@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoMerge tag 'arm-soc/for-6.8/devicetree' of https://github.com/Broadcom/stblinux into...
Arnd Bergmann [Tue, 2 Jan 2024 09:47:50 +0000 (10:47 +0100)]
Merge tag 'arm-soc/for-6.8/devicetree' of https://github.com/Broadcom/stblinux into soc/dt

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

- Rafal adds a Device Tree node for the BCM63138 high-speed UART used
  for Bluetooth devices

* tag 'arm-soc/for-6.8/devicetree' of https://github.com/Broadcom/stblinux:
  ARM: dts: broadcom: Add BCM63138's high speed UART

Link: https://lore.kernel.org/r/20231228085822.3656546-1-florian.fainelli@broadcom.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoMerge tag 'sprd-dt-6.8-rc1' of https://github.com/lyrazhang/linux into soc/dt
Arnd Bergmann [Tue, 2 Jan 2024 09:42:01 +0000 (10:42 +0100)]
Merge tag 'sprd-dt-6.8-rc1' of https://github.com/lyrazhang/linux into soc/dt

ARM: sprd: DTS and bindings for v6.8-rc1

Unisoc ARM64 DTS and bindings changes are:
- Fixed a few dtb_check warnings
- Add bindings for a new SoC - UMS9620
- Fixed an issue on UMS512

* tag 'sprd-dt-6.8-rc1' of https://github.com/lyrazhang/linux:
  arm64: dts: sprd: Change UMS512 idle-state nodename to match bindings
  arm64: dts: sprd: Add clock reference for pll2 on UMS512
  arm64: dts: sprd: Removed unused clock references from etm nodes
  arm64: dts: sprd: Add support for Unisoc's UMS9620
  dt-bindings: arm: Add compatible strings for Unisoc's UMS9620
  arm64: dts: sprd: fix the cpu node for UMS512

Link: https://lore.kernel.org/r/20231228084958.1439115-1-chunyan.zhang@unisoc.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoarm64: dts: rockchip: Fix led pinctrl of lubancat 1
Andy Yan [Mon, 25 Dec 2023 00:50:55 +0000 (08:50 +0800)]
arm64: dts: rockchip: Fix led pinctrl of lubancat 1

According to the schematics, the gpio control sys_led is GPIO0_C5.

Fixes: 8d94da58de53 ("arm64: dts: rockchip: Add EmbedFire LubanCat 1")
Reported-by: Zhang Ning <zhangn1985@outlook.com>
Closes: https://lore.kernel.org/linux-rockchip/OS0P286MB06412D049D8BF7B063D41350CD95A@OS0P286MB0641.JPNP286.PROD.OUTLOOK.COM/T/#u
Signed-off-by: Andy Yan <andyshrk@163.com>
Link: https://lore.kernel.org/r/20231225005055.3102743-1-andyshrk@163.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
15 months agoarm64: dts: rockchip: correct gpio_pwrctrl1 typo on nanopc-t6
John Clark [Mon, 25 Dec 2023 22:32:16 +0000 (22:32 +0000)]
arm64: dts: rockchip: correct gpio_pwrctrl1 typo on nanopc-t6

Both rk806_dvs1_null and rk806_dvs2_null duplicate gpio_pwrctrl2 and
gpio_pwrctrl1 is not set. This patch sets gpio_pwrctrl1.

Signed-off-by: John Clark <inindev@gmail.com>
Link: https://lore.kernel.org/r/20231225223226.17690-1-inindev@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
15 months agoarm64: dts: rockchip: correct gpio_pwrctrl1 typo on rock-5b
John Clark [Mon, 25 Dec 2023 22:28:20 +0000 (22:28 +0000)]
arm64: dts: rockchip: correct gpio_pwrctrl1 typo on rock-5b

Both rk806_dvs1_null and rk806_dvs2_null duplicate gpio_pwrctrl2 and
gpio_pwrctrl1 is not set. This patch sets gpio_pwrctrl1.

Signed-off-by: John Clark <inindev@gmail.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20231225222859.17153-2-inindev@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
15 months agoarm64: dts: rockchip: support poweroff on the rock-5b
John Clark [Mon, 25 Dec 2023 22:28:19 +0000 (22:28 +0000)]
arm64: dts: rockchip: support poweroff on the rock-5b

Allow the rock-5b to poweroff its pmic. When issuing a "shutdown -h now"
on the rock-5b it reboots instead. Defining 'system-power-controller'
allows the rk806 to power down.

Commit c699fbfdfd54 ("arm64: dts: rockchip: Support poweroff on
NanoPC-T6") similarly resolves this issue for the nanopc-t6.

Signed-off-by: John Clark <inindev@gmail.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20231225222859.17153-1-inindev@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
15 months agoarm64: dts: rockchip: Support poweroff on Orange Pi 5
Jimmy Hon [Wed, 27 Dec 2023 20:32:11 +0000 (14:32 -0600)]
arm64: dts: rockchip: Support poweroff on Orange Pi 5

The RK806 on the Orange Pi 5 can be used to power on/off the whole board.
Mark it as the system power controller.

Signed-off-by: Jimmy Hon <honyuenkwun@gmail.com>
Link: https://lore.kernel.org/r/20231227203211.1047-1-honyuenkwun@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
15 months agoarm64: dts: rockchip: nanopc-t6 sdmmc beautification
John Clark [Thu, 28 Dec 2023 17:29:35 +0000 (17:29 +0000)]
arm64: dts: rockchip: nanopc-t6 sdmmc beautification

drop max-frequency = <200000000> as it is already defined in rk3588s.dtsi
order no-sdio & no-mmc properties while we are here

Signed-off-by: John Clark <inindev@gmail.com>
Link: https://lore.kernel.org/r/20231228173011.2863-1-inindev@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
15 months agoarm64: dts: sprd: Change UMS512 idle-state nodename to match bindings
Chunyan Zhang [Thu, 21 Dec 2023 09:28:24 +0000 (17:28 +0800)]
arm64: dts: sprd: Change UMS512 idle-state nodename to match bindings

Fix below dtbs_check warning:

idle-states: 'core-pd' does not match any of the regexes: '^(cpu|cluster)-', 'pinctrl-[0-9]+'

Link: https://lore.kernel.org/r/20231221092824.1169453-3-chunyan.zhang@unisoc.com
Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com>
15 months agoarm64: dts: sprd: Add clock reference for pll2 on UMS512
Chunyan Zhang [Thu, 21 Dec 2023 09:28:23 +0000 (17:28 +0800)]
arm64: dts: sprd: Add clock reference for pll2 on UMS512

Fix below dtbs_check warning:

'clocks' is a dependency of 'clock-names'

Link: https://lore.kernel.org/r/20231221092824.1169453-2-chunyan.zhang@unisoc.com
Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com>
15 months agoarm64: dts: sprd: Removed unused clock references from etm nodes
Chunyan Zhang [Thu, 21 Dec 2023 09:28:22 +0000 (17:28 +0800)]
arm64: dts: sprd: Removed unused clock references from etm nodes

Remove these unused clock references to fix dtbs_check warnings:

etm@3f740000: clocks: [[11], [35, 34], [36, 8]] is too long
etm@3f740000: clock-names:1: 'atclk' was expected
etm@3f740000: clock-names: ['apb_pclk', 'clk_cs', 'cs_src'] is too long

Link: https://lore.kernel.org/r/20231221092824.1169453-1-chunyan.zhang@unisoc.com
Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com>
15 months agoarm64: dts: sprd: Add support for Unisoc's UMS9620
Chunyan Zhang [Mon, 18 Dec 2023 10:02:34 +0000 (18:02 +0800)]
arm64: dts: sprd: Add support for Unisoc's UMS9620

Add basic support for Unisoc's UMS9620, with this patch,
the board ums9620-2h10 can run into console.

Link: https://lore.kernel.org/r/20231218100234.1102916-4-chunyan.zhang@unisoc.com
Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com>
15 months agodt-bindings: arm: Add compatible strings for Unisoc's UMS9620
Chunyan Zhang [Mon, 18 Dec 2023 10:02:33 +0000 (18:02 +0800)]
dt-bindings: arm: Add compatible strings for Unisoc's UMS9620

Added bindings for Unisoc's UMS9620-2H10 board and UMS9620 SoC.

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231218100234.1102916-3-chunyan.zhang@unisoc.com
Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com>
15 months agoarm64: dts: sprd: fix the cpu node for UMS512
Cixi Geng [Tue, 11 Jul 2023 16:23:46 +0000 (00:23 +0800)]
arm64: dts: sprd: fix the cpu node for UMS512

The UMS512 Socs have 8 cores contains 6 a55 and 2 a75.
modify the cpu nodes to correct information.

Fixes: 2b4881839a39 ("arm64: dts: sprd: Add support for Unisoc's UMS512")
Cc: stable@vger.kernel.org
Signed-off-by: Cixi Geng <cixi.geng1@unisoc.com>
Link: https://lore.kernel.org/r/20230711162346.5978-1-cixi.geng@linux.dev
Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com>
15 months agoarm64: dts: rockchip: Fix rk3588 USB power-domain clocks
Sam Edwards [Sat, 16 Dec 2023 02:10:19 +0000 (19:10 -0700)]
arm64: dts: rockchip: Fix rk3588 USB power-domain clocks

The QoS blocks saved/restored when toggling the PD_USB power domain are
clocked by ACLK_USB. Attempting to access these memory regions without
that clock running will result in an indefinite CPU stall.

The PD_USB node wasn't specifying this clock dependency, resulting in
hangs when trying to toggle the power domain (either on or off), unless
we get "lucky" and have ACLK_USB running for another reason at the time.
This "luck" can result from the bootloader leaving USB powered/clocked,
and if no built-in driver wants USB, Linux will disable the unused
PD+CLK on boot when {pd,clk}_ignore_unused aren't given. This can also
be unlucky because the two cleanup tasks run in parallel and race: if
the CLK is disabled first, the PD deactivation stalls the boot. In any
case, the PD cannot then be reenabled (if e.g. the driver loads later)
once the clock has been stopped.

Fix this by specifying a dependency on ACLK_USB, instead of only
ACLK_USB_ROOT. The child-parent relationship means the former implies
the latter anyway.

Fixes: c9211fa2602b8 ("arm64: dts: rockchip: Add base DT for rk3588 SoC")
Cc: stable@vger.kernel.org
Signed-off-by: Sam Edwards <CFSworks@gmail.com>
Link: https://lore.kernel.org/r/20231216021019.1543811-1-CFSworks@gmail.com
[changed to only include the missing clock, not dropping the root-clocks]
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
15 months agoarm64: dts: rockchip: configure eth pad driver strength for orangepi r1 plus lts
Tianling Shen [Sat, 16 Dec 2023 04:07:23 +0000 (12:07 +0800)]
arm64: dts: rockchip: configure eth pad driver strength for orangepi r1 plus lts

The default strength is not enough to provide stable connection
under 3.3v LDO voltage.

Fixes: 387b3bbac5ea ("arm64: dts: rockchip: Add Xunlong OrangePi R1 Plus LTS")
Cc: stable@vger.kernel.org # 6.6+
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
Link: https://lore.kernel.org/r/20231216040723.17864-1-cnsztl@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
15 months agoarm64: dts: rockchip: Support poweroff on NanoPC-T6
Hugh Cole-Baker [Sat, 16 Dec 2023 21:21:34 +0000 (21:21 +0000)]
arm64: dts: rockchip: Support poweroff on NanoPC-T6

The RK806 on the NanoPC-T6 can be used to power on/off the whole board.
Mark it as the system power controller.

Signed-off-by: Hugh Cole-Baker <sigmaris@gmail.com>
Link: https://lore.kernel.org/r/20231216212134.23314-1-sigmaris@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
15 months agoarm64: dts: rockchip: rk3308-rock-pi-s gpio-line-names cleanup
Trevor Woerner [Tue, 19 Dec 2023 17:38:13 +0000 (12:38 -0500)]
arm64: dts: rockchip: rk3308-rock-pi-s gpio-line-names cleanup

Perform the following cleanups on a previous patch:
- indent lines after "gpio-line-names"
- fix D0-D8 -> D0-D7
- sort phandle references

Fixes: c45de75d7a9a ("arm64: dts: rockchip: add gpio-line-names to rk3308-rock-pi-s")
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Link: https://lore.kernel.org/r/20231219173814.1569-1-twoerner@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
15 months agoarm64: dts: rockchip: Add support for rk3588 based board Cool Pi CM5 EVB
Andy Yan [Tue, 12 Dec 2023 12:44:07 +0000 (20:44 +0800)]
arm64: dts: rockchip: Add support for rk3588 based board Cool Pi CM5 EVB

Cool Pi CM5 EVB works as a mother board connect with CM5.

CM5 Specification:
- Rockchip RK3588
- LPDDR4 2/4/8/16 GB
- TF scard slot
- eMMC 8/32/64/128 GB module
- Gigabit ethernet x 1 with PHY YT8531
- Gigabit ethernet x 1 drived by PCIE with YT6801S

CM5 EVB Specification:
- HDMI Type A out x 2
- HDMI Type D in x 1
- USB 2.0 Host x 2
- USB 3.0 OTG x 1
- USB 3.0 Host x 1
- PCIE M.2 E Key for Wireless connection
- PCIE M.2 M Key for NVME connection
- 40 pin header

Signed-off-by: Andy Yan <andyshrk@163.com>
Link: https://lore.kernel.org/r/20231212124407.1897604-1-andyshrk@163.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
15 months agodt-bindings: arm: rockchip: Add Cool Pi CM5
Andy Yan [Tue, 12 Dec 2023 12:43:40 +0000 (20:43 +0800)]
dt-bindings: arm: rockchip: Add Cool Pi CM5

Add Cool Pi CM5, a board powered by RK3588

CM5 EVB works with a mother board connect with
CM5

Signed-off-by: Andy Yan <andyshrk@163.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231212124340.1897502-1-andyshrk@163.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
15 months agoarm64: dts: rockchip: Add support for rk3588s based board Cool Pi 4B
Andy Yan [Tue, 12 Dec 2023 12:42:53 +0000 (20:42 +0800)]
arm64: dts: rockchip: Add support for rk3588s based board Cool Pi 4B

CoolPi 4B is a rk3588s based SBC.
Specification:
- Rockchip RK3588S
- LPDDR4 2/4/8/16 GB
- TF scard slot
- eMMC 8/32/64/128 GB module
- Gigabit ethernet drived by PCIE with RTL8111HS
- HDMI Type D out
- Mini DP out
- USB 2.0 Host x 2
- USB 3.0 OTG x 1
- USB 3.0 Host x 1
- WIFI/BT module AIC8800
- 40 pin header

Signed-off-by: Andy Yan <andyshrk@163.com>
arm64: dts: rockchip: Add support for rk3588s based board Cool Pi 4B
Link: https://lore.kernel.org/r/20231212124253.1897438-1-andyshrk@163.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
15 months agodt-bindings: arm: rockchip: Add Cool Pi 4B
Andy Yan [Tue, 12 Dec 2023 12:42:37 +0000 (20:42 +0800)]
dt-bindings: arm: rockchip: Add Cool Pi 4B

Add Cool Pi 4B, a SBC powered by RK3588S

Signed-off-by: Andy Yan <andyshrk@163.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231212124237.1897378-1-andyshrk@163.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
15 months agodt-bindings: vendor-prefixes: Add Cool Pi
Andy Yan [Tue, 12 Dec 2023 12:42:23 +0000 (20:42 +0800)]
dt-bindings: vendor-prefixes: Add Cool Pi

Add vendor prefix for Cool Pi(https://cool-pi.com/)

Signed-off-by: Andy Yan <andyshrk@163.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231212124223.1897314-1-andyshrk@163.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
15 months agoarm64: dts: rockchip: add gpio-line-names to rk3328-rock-pi-e
Trevor Woerner [Wed, 13 Dec 2023 16:05:55 +0000 (11:05 -0500)]
arm64: dts: rockchip: add gpio-line-names to rk3328-rock-pi-e

Add names to the pins of the general-purpose expansion header as given
in the Radxa GPIO page[1] following the conventions in the kernel
documentation[2] to make it easier for users to correlate the pins with
functions when using utilities such as 'gpioinfo'.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Link: https://lore.kernel.org/r/20231213160556.14424-1-twoerner@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
15 months agoMerge tag 'qcom-arm64-for-6.8' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Fri, 22 Dec 2023 11:45:14 +0000 (11:45 +0000)]
Merge tag 'qcom-arm64-for-6.8' of https://git./linux/kernel/git/qcom/linux into soc/dt

Qualcomm ARM64 updates for v6.8

Support is added for the new Snapdragon 8 Gen 3 mobile platform, with
support for the MTP and QRD development devices, the new Snapdragon X
Elite compute platform with QCP and CRD development/references devices,
the QCS6590/QCM6490 platform with support for the IDP development device
and the Robotics RB3gen2 board, the Huawei Honor 5X/GR5 handset
built on MSM8939, and Xiaomi Pad 6 on SM8250.

On IPQ5018 and IPQ6018 platform support for CPUfreq, USB, and one
additional QUP SPI controller is added.

CPU OPP tables are selectively enabled based on fuses, for both IPQ5332
and IPQ6018. IPQ6018 gains description of a few more SPI and UART nodes.

Common elements of the IPQ9574 RDP boards are refactored into a common
include file. IPQ9574 also gains description of its LEDs and WPS
busttons.

MSM8916 finally gets the DSP-based audio described, and this is enabled
for a variety of boards. Acer Iconia Talk S and Loncheer L8910 gains
notification LED, battery and charger support is added to Loncheer
L8150, and GPU is enabled for Samsung Galaxy Tab A.

Similariy DSP-based audio is added on MSM8939, the BAM-DMUX support is
enabled as well. The Longcheer L9100 gains RGB notification LED support,
and the wireless subsystem is enabled.

Missing SPI controllers are described on MSM8953. On MSM8996 the MPM is
enabled, to allow using wakeup interrupts. Interconnect providers, MPM
and display are added to QCM2290.

UFS, remoteprocs and WiFi is enabled for Fairphone FP5.
On Fairphone FP3 audio, WiFi and Bluetooth are enabled.

On the Robotics RB1, HDMI and the CAN bus controller are added. On
Robotics RB2 Bluetooth, the modem remoteproc and WiFi are enabled.
Bluetooth is enabled on the Robotics RB5.

On SA8775P tsens and thermal is added, as well as the random number
generator.

Sound and RTC support is added for the Acer Aspire 1.

On SC7280 DeviceTree is refactored, in order to allow non-Chrome devices
to inherit the base dtsi. Support for UFS, crypto, TrustZone based
remoteprocs, the Camera Control Interface (CCI) and random number
generator support are added. Additionally a variety of smaller fixes are
introduced.

A variety of fixes are introduced for SC8180X, in particular missing
power-domains and interconnects.

On SC8280XP the camera clock controller is added, and a number of
smaller fixes are introduced.

The display subsystem in SDM670 is described.

On SDX75 interconnect providers are added, as is USB3 and the related
PHY, which is then enabled on the IDP device.

On SM6115 interconnect providers are added and existing clients are
wired up. A UART controller is added as well.

The MPM is added, to provide wakeup interrutps, on SM6375. The modem
subsystem, and WiFi are enabled on Sony Xperia 10 IV, a few regulator
supplies are corrected.

On SM8150 the DisplayPort controller is added, for USB Type-C output,
which together with the addition of HDMI is described on the HDK board.

GPU and random number generator support are added to SM8450, and enabled
on the HDK board.

On SM8550 GPU, IPA, random number generator, missing SoundWire ports are
added, and enabled on both MTP and QRD devices.

Additionally a large number of smaller functional and DeviceTree binding
validation issues are corrected across a variety of platforms.

* tag 'qcom-arm64-for-6.8' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux: (288 commits)
  arm64: dts: qcom: sc8180x-primus: Allow UFS regulators load/mode setting
  arm64: dts: qcom: sc8180x: Describe the GIC redistributor
  arm64: dts: qcom: sc8180x: Add interconnects to UFS
  arm64: dts: qcom: sc8180x: Add missing MDP clocks
  arm64: dts: qcom: sc8180x: Add UFS GDSC
  arm64: dts: qcom: sc7280*: move MPSS and WPSS memory to dtsi
  arm64: dts: qcom: sc7280: Rename reserved-memory nodes
  arm64: dts: qcom: sc7280: Remove unused second MPSS reg
  arm64: dts: qcom: sdm670: add display subsystem
  arm64: dts: qcom: sm8150-hdk: enable DisplayPort and USB-C altmode
  arm64: dts: qcom: sm8150: add USB-C ports to the OTG USB host
  arm64: dts: qcom: sm8150: add USB-C ports to the USB+DP QMP PHY
  arm64: dts: qcom: sm8150: add DisplayPort controller
  arm64: dts: qcom: sm8150-hdk: fix SS USB regulators
  arm64: dts: qcom: sm8150-hdk: enable HDMI output
  arm64: dts: qcom: sm8150: make dispcc cast minimal vote on MMCX
  arm64: dts: qcom: sm8650: add fastrpc-compute-cb nodes
  arm64: dts: qcom: sm8550-qrd: add PM8010 regulators
  arm64: dts: qcom: sm8550-mtp: Add pm8010 regulators
  arm64: dts: qcom: qcm2290: Hook up MPM
  ...

Link: https://lore.kernel.org/r/20231219145402.874161-1-andersson@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoMerge tag 'riscv-dt-for-v6.8' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Thu, 21 Dec 2023 17:09:34 +0000 (17:09 +0000)]
Merge tag 'riscv-dt-for-v6.8' of https://git./linux/kernel/git/conor/linux into soc/dt

RISC-V Devicetrees for v6.8

StarFive:
Key peripheral support for the jh7100 that depended on the non-standard
non-coherent DMA operations, namely mmc, sdcard and sdio wifi. This
platform has long been supported out of tree by Emil and Ubuntu etc ship
images for it, so having mainline support for a wider range of
peripherals (at last) is great.

Microchip:
The flash used by Auto Update support and the corresponding QSPI
controller are added. On publicly available Icicle kits this flash is
not usable (engineering sample silicon issues) but in the future Icicle
kits will be available that have production silicon.

T-Head:
Jisheng is busy with RL this cycle and hence T-Head appears here. The
Lichee Pi and BeagleV both grow eMMC and uSD support.

Sopgho:
Support for the Huashan Pi and the cv1812h SoC it uses. The cv1812h is
almost identical to the existing cv1800b SoC. These SoCs are intended
for use in IP camera type systems but also appear on SBCs, with the last
digit denoting the amount integrated DDR3 the device has. The difference
between the cv1812h and the existing cv180x devices appears to be the
addition of video output interfaces.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
* tag 'riscv-dt-for-v6.8' of https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux:
  riscv: dts: starfive: Enable SDIO wifi on JH7100 boards
  riscv: dts: starfive: Enable SD-card on JH7100 boards
  riscv: dts: starfive: Add JH7100 MMC nodes
  riscv: dts: starfive: Add pool for coherent DMA memory on JH7100 boards
  riscv: dts: starfive: Add JH7100 cache controller
  riscv: dts: starfive: Mark the JH7100 as having non-coherent DMAs
  riscv: dts: starfive: Group tuples in interrupt properties
  riscv: dts: thead: Enable LicheePi 4A eMMC and microSD
  riscv: dts: thead: Enable BeagleV Ahead eMMC and microSD
  riscv: dts: thead: Add TH1520 mmc controllers and sdhci clock
  riscv: dts: microchip: add the mpfs' system controller qspi & associated flash
  riscv: dts: sophgo: add Huashan Pi board device tree
  riscv: dts: sophgo: add initial CV1812H SoC device tree
  riscv: dts: sophgo: cv18xx: Add gpio devices
  riscv: dts: sophgo: Separate compatible specific for CV1800B soc
  dt-bindings: riscv: Add SOPHGO Huashan Pi board compatibles
  dt-bindings: timer: Add SOPHGO CV1812H clint
  dt-bindings: interrupt-controller: Add SOPHGO CV1812H plic

Link: https://lore.kernel.org/r/20231221-skimmed-boxy-b78aed8afdc4@spud
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoMerge tag 'amlogic-arm64-dt-for-v6.8' of https://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Thu, 21 Dec 2023 17:07:47 +0000 (17:07 +0000)]
Merge tag 'amlogic-arm64-dt-for-v6.8' of https://git./linux/kernel/git/amlogic/linux into soc/dt

Amlogic ARM64 DT changes for v6.8:
- DT cleanups
 - s4 uart node
 - drop redundant status=okay
 - minor whitespace cleanup around '='
- Watchdog nodes for S4 & C4 SoCs
- Clock, I2C, SPICC, NAND, Ethernet nodes for S4 And the AQ222 dev board
- Add EEPROM on the jethub-jxx boards
- Update of the amlogic,meson-gx-hhi-sysctrl bindings

* tag 'amlogic-arm64-dt-for-v6.8' of https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux:
  arm64: dts: amlogic: fix format for s4 uart node
  arm64: dts: amlogic: drop redundant status=okay
  arm64: dts: amlogic: enable some nodes for board AQ222
  arm64: dts: amlogic: add some device nodes for S4
  arm64: dts: meson-axg: jethub-jxx add support for EEPROM
  arm64: dts: amlogic: meson-axg: pinctrl node for NAND
  arm64: dts: amlogic: minor whitespace cleanup around '='
  arm64: dts: Add watchdog node for Amlogic S4 SoCs
  arm64: dts: Add watchdog node for Amlogic C3 SoCs
  dt-bindings: soc: amlogic,meson-gx-hhi-sysctrl: add example covering meson-axg-hhi-sysctrl

Link: https://lore.kernel.org/r/e38724be-c9f0-4916-bfd0-d20b316db2da@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoMerge tag 'mvebu-dt64-6.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/gclemen...
Arnd Bergmann [Thu, 21 Dec 2023 17:06:16 +0000 (17:06 +0000)]
Merge tag 'mvebu-dt64-6.8-1' of git://git./linux/kernel/git/gclement/mvebu into soc/dt

mvebu dt64 for 6.8 (part 1)

Add devices tree for CN9130 and CN9131 COM Express Boards
Fix device tree for Turris Mox and for switch nodes

* tag 'mvebu-dt64-6.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu:
  arm64: dts: cn913x: add device trees for COM Express boards
  dt-bindings: arm64: add Marvell COM Express boards
  MAINTAINERS: add ac5 to list of maintained Marvell dts files
  arm64: dts: armada-3720-turris-mox: set irq type for RTC
  ARM64: dts: Add special compatibles for the Turris Mox
  ARM64: dts: marvell: Fix some common switch mistakes

Link: https://lore.kernel.org/r/87le9obypx.fsf@BL-laptop
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoMerge tag 'mvebu-dt-6.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/gclement...
Arnd Bergmann [Thu, 21 Dec 2023 17:05:33 +0000 (17:05 +0000)]
Merge tag 'mvebu-dt-6.8-1' of git://git./linux/kernel/git/gclement/mvebu into soc/dt

mvebu dt for 6.8 (part 1)

Fix dt for gpio and switch nodes

* tag 'mvebu-dt-6.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu:
  ARM: dts: marvell: make dts use gpio-fan matrix instead of array
  ARM: dts: marvell: Fix some common switch mistakes

Link: https://lore.kernel.org/r/87o7ekbyv2.fsf@BL-laptop
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoMerge tag 'samsung-dt64-6.8-2' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Thu, 21 Dec 2023 17:04:33 +0000 (17:04 +0000)]
Merge tag 'samsung-dt64-6.8-2' of https://git./linux/kernel/git/krzk/linux into soc/dt

Samsung DTS ARM64 changes for v6.8, part two

1. Tesla FSD: Add Multi Format Codec (MFC) device nodes, for accelerated
   video de/encoding.

2. Add initial Google Tensor GS101 SoC support. The GS101 SoC can be
   found on Google Pixel 6 phones.  Currently the DTS brings only basic
   support: core clock controllers, pin controllers, serial, watchdog
   and ARM core blocks.

* tag 'samsung-dt64-6.8-2' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  MAINTAINERS: adjust file entry in GOOGLE TENSOR SoC SUPPORT
  MAINTAINERS: add entry for Google Tensor SoC
  arm64: dts: exynos: google: Add initial Oriole/pixel 6 board support
  arm64: dts: exynos: google: Add initial Google gs101 SoC support
  dt-bindings: arm: google: Add bindings for Google ARM platforms
  arm64: dts: fsd: Add MFC related DT enteries

Link: https://lore.kernel.org/r/20231220084722.22149-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoMerge tag 'qcom-arm32-for-6.8' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Thu, 21 Dec 2023 17:03:07 +0000 (17:03 +0000)]
Merge tag 'qcom-arm32-for-6.8' of https://git./linux/kernel/git/qcom/linux into soc/dt

Qualcomm ARM32 DeviceTree updates for v6.8

Support is added for HTC One Mini 2, Nokia Lumia 630, Microsoft Lumia
640, Microsoft Lumia 640 XL, Nokia Lumia 735, Nokia Lumia 830, and
Motorola Moto G 4G, all built on the MSM8226 platform.

The GPU in MSM8226 is described, and MSM8974 gains watchdog support.

The PMICs are transitioned to use interrupts-extended to properly
reference the PMIC interrupt controller, in accordance with the
DeviceTree specification.

In addition to this, a variety of stylistic and DeviceTree validation
issues are corrected.

* tag 'qcom-arm32-for-6.8' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux: (60 commits)
  ARM: dts: qcom: msm8974*: Re-enable remoteprocs on various boards
  ARM: dts: qcom: msm8974: Remove bogus cd-gpio pinctrl
  ARM: dts: qcom: msm8974-klte: Remove unused property
  ARM: dts: qcom: msm8926-motorola-peregrine: Add initial device tree
  ARM: dts: qcom: ipq4019: add dedicated SDHCI compatible
  ARM: dts: qcom: Use "pcie" as the node name instead of "pci"
  ARM: dts: qcom: msm8226: Add GPU
  ARM: dts: qcom: Disable pm8941 & pm8226 smbb charger by default
  ARM: dts: qcom: minor whitespace cleanup around '='
  ARM: dts: qcom: sdx55: fix USB wakeup interrupt types
  ARM: dts: qcom: Add support for HTC One Mini 2
  ARM: dts: qcom: msm8974: Add watchdog node
  ARM: dts: qcom: sdx65: correct SPMI node name
  ARM: dts: qcom: sdx65: add missing GCC clocks
  ARM: dts: qcom: sdx65: correct PCIe EP phy-names
  ARM: dts: qcom: mdm9615: drop qcom, prefix from SSBI node name
  ARM: dts: qcom: ipq8064: drop qcom, prefix from SSBI node name
  ARM: dts: qcom: apq8060-dragonboard: rename mpp ADC channels to adc-channel
  ARM: dts: qcom: pm8921: Disable keypad by default
  ARM: dts: qcom: msm8974: move regulators to board files
  ...

Link: https://lore.kernel.org/r/20231219042914.732684-1-andersson@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoMerge tag 'ti-k3-dt-for-v6.8' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Thu, 21 Dec 2023 17:01:15 +0000 (17:01 +0000)]
Merge tag 'ti-k3-dt-for-v6.8' of https://git./linux/kernel/git/ti/linux into soc/dt

TI K3 device tree updates for v6.8

New features across K3 SoCs:
- ov5640 and imx219 sensor overlays added to various am62x/am62a boards.
- TP6594 and family support for J7200, j721s2,j721e, am69/j784s4 boards

Generic Fixes:
- minor white space cleanups
- Addition of optional regs for more complete DMA description across all K3
  SoCs.

Misc:
- chip_id node moves under wkup_conf bus.
- COMPILE_TEST+OF_ALL_DTBS is now standard usage for testing overlays.

SoC specific Fixes/Features:
AM62A
 - gpio pin count fixups.
AM625
 - Adds verdin am62x-mallow board
 - Adds IMG's AXE-RGX GPU support
 - Adds gpio-ranges support for main domain GPIOs.
 - SK now defaults to mcu gpio marked as reserved to cater to MCU use cases
AM64
 - EVM/SK now defaults to mcu gpio marked as reserved to cater to MCU use cases
AM65
 - Fix for DSS Irq trigger type, proper fixup for dss-oldi-io-ctrl node
 - misc splitup to make AM652 device variant reusable
J7200
 - mmc: itap delay fixups for DDR52
J721S2/AM68
 - mmc: itap delay fixups for DDR50
J784S4/AM69
 - mmc: itap delay fixups for DDR50

Board specific fixes/Features:
- iot2050 cleanups for enabling icssg-prueth nodes, runtime pinmuxing,
  dropping ecap0pwm nodes, misc cleanups.
- am62x-verdin adds uart2, minor fixups for spi1 chip-select pinctrl
- am62-phycore adds hdmi support
- am64-phycore adds R5F support.
- am62x-beagleplay renames console uart pinmuxes.

* tag 'ti-k3-dt-for-v6.8' of https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux: (56 commits)
  arm64: dts: ti: k3-j784s4-main: Add Itap Delay Value For DDR50 speed mode
  arm64: dts: ti: k3-j721s2-main: Add Itap Delay Value For DDR50 speed mode
  arm64: dts: ti: k3-j7200-main: Add Itap Delay Value For DDR52 speed mode
  arm64: dts: ti: k3-am6*: Add additional regs for DMA components
  arm64: dts: ti: k3-j7*: Add additional regs for DMA components
  arm64: dts: ti: k3-am65: Add additional regs for DMA components
  arm64: dts: ti: k3-am62-main: Add GPU device node
  arm64: dts: ti: k3-j721s2-evm: Add overlay for PCIE1 Endpoint Mode
  arm64: dts: ti: k3-j721e-evm: Add overlay for PCIE0 Endpoint Mode
  arm64: dts: ti: k3-j721e-sk: Add TPS6594 family PMICs
  arm64: dts: ti: k3-am69-sk: Add support for TPS6594 PMIC
  arm64: dts: ti: k3-j784s4-evm: Add support for TPS6594 PMIC
  arm64: dts: ti: k3-j721e-som-p0: Add TP6594 family PMICs
  arm64: dts: ti: k3-j721s2-som-p0: Add TP6594 family PMICs
  arm64: dts: ti: k3-j7200-som-p0: Add TP6594 family PMICs
  arm64: dts: ti: Add verdin am62 mallow board
  dt-bindings: arm: ti: Add verdin am62 mallow board
  arm64: dts: ti: verdin-am62: Improve spi1 chip-select pinctrl
  arm64: dts: ti: k3-am625-phyboard-lyra-rdk: Remove HDMI Reset Line Name
  arm64: dts: ti: k3-am625-phyboard-lyra-rdk: Add HDMI support
  ...

Link: https://lore.kernel.org/r/20231218153115.szyd22tmoumqkn6g@occupier
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoMerge tag 'ti-keystone-dt-for-v6.8' of https://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Thu, 21 Dec 2023 17:00:48 +0000 (17:00 +0000)]
Merge tag 'ti-keystone-dt-for-v6.8' of https://git./linux/kernel/git/ti/linux into soc/dt

Keystone2 device tree updates for v6.8

Cosmetic cleanups:
* white space cleanup around '='

* tag 'ti-keystone-dt-for-v6.8' of https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux:
  ARM: dts: ti: keystone: minor whitespace cleanup around '='

Link: https://lore.kernel.org/r/20231218153039.dok52xazqshbr6ie@playroom
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoMerge tag 'zynqmp-dt-for-6.8' of https://github.com/Xilinx/linux-xlnx into soc/dt
Arnd Bergmann [Thu, 21 Dec 2023 16:47:31 +0000 (16:47 +0000)]
Merge tag 'zynqmp-dt-for-6.8' of https://github.com/Xilinx/linux-xlnx into soc/dt

arm64: ZynqMP DT changes for 6.8

- Fix overlay rules to remove KR260 targets
- Move ethernet phys to mdio node
- Fix couple of issues reported by W=1
 - Do not use _ in node names
 - Use lowercase in register address
 - Remove address/size-cells from nodes without child
 - Moved fixed clock to root on KV260
- Fix issues reported by dt-schema
 - additional compatible string for qspi on SOM
- Move arm/xilinx.yaml to soc vendor to cover also other archs
- Describe new Microblaze V qemu platform
- Add missing mailbox destination compatible string

* tag 'zynqmp-dt-for-6.8' of https://github.com/Xilinx/linux-xlnx:
  arm64: zynqmp: Add missing destination mailbox compatible
  arm64: zynqmp: Fix clock node name in kv260 cards
  arm64: zynqmp: Move fixed clock to / for kv260
  dt-bindings: soc: Add new board description for MicroBlaze V
  dt-bindings: soc: xilinx: Move xilinx.yaml from arm to soc
  arm64: xilinx: Remove address/size-cells from gem nodes
  arm64: xilinx: Remove address/size-cells from flash node
  arm64: xilinx: Put ethernet phys to mdio node
  arm64: xilinx: Remove mt25qu512a compatible string from SOM
  arm64: xilinx: Use lower case for partition address
  arm64: xilinx: Do not use '_' in DT node names
  arm64: dts: xilinx: Apply overlays to base dtbs

Link: https://lore.kernel.org/r/CAHTX3dLyA1Y9guLKSNJTChFVvkspMfTa0odULyAdcuFUSiSH3A@mail.gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoMerge tag 'imx-dt64-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo...
Arnd Bergmann [Thu, 21 Dec 2023 16:43:31 +0000 (16:43 +0000)]
Merge tag 'imx-dt64-6.8' of git://git./linux/kernel/git/shawnguo/linux into soc/dt

i.MX arm64 device tree for 6.8:

- New board support: MBa93xxCA starter kit, LX2160A based MBLX2160A,
  Dimonoff Gateway EVK, Verdin i.MX8M based Mallow, and SKOV i.MX8MP revB.
- A set of changes from Adam Ford to enable MIPI_DSI, overdrive mode and
  NPU support for Beacon i.MX8M boards.
- A number of changes from Alexander Stein to add CCM interrupts for
  CCM, 'chassis-type' property, and enable VPU and LVDS display for
  TQ-Systems boards.
- i.MX93 update for AUDIO, I3C, ANATOP and uSDHC.
- A couple of changes from David Heidelberg to correct dt-schema check
  errors for 'fsl,tmu-calibration' and 'gpio-fan,speed-map'.
- A bunch of nice dt-schema check fix-ups from Fabio Estevam.
- A couple of debix-som update from Kieran Bingham adding heartbeat LED
  and CSI power regulators.
- White-space cleanup from Krzysztof Kozlowski.
- Add display support for imx8mn-bsh-smm-s2/pro board.
- A series from Tim Harvey to add TPM support for i.MX8M Venice devices.

* tag 'imx-dt64-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: (69 commits)
  arm64: dts: freescale: fix the schema check errors for fsl,tmu-calibration
  arm64: dts: freescale: imx8qxp: Disable dsp reserved memory by default
  arm64: dts: imx8qxp: Add VPU subsystem file
  arm64: dts: imx8qxp-mek: Move port under USB connector
  arm64: dts: imx8mn-bsh-smm-s2/pro: add display setup
  arm64: dts: imx8mp-dhcom-pdk3: Describe the USB-C connector
  arm64: dts: imx8mn-var-som-symphony: Describe the USB-C connector
  arm64: dts: imx8mp-tqma8mpql-mba8mpxl: Fix USB connector description
  arm64: dts: imx8mp-venice: Fix USB connector description
  arm64: dts: imx8mp-verdin: Fix USB connector description
  arm64: dts: imx8dxl-ss-conn: Move clk_dummy out of USB node
  arm64: dts: imx8mn-evk: Move port under USB connector
  arm64: dts: imx8mm-evk: Move port under USB connector
  arm64: dts: freescale: introduce dimonoff-gateway-evk board
  arm64: dts: imx8m*-tqma8m*: Add chassis-type
  arm64: dts: imx8mn-beacon: Support overdrive mode
  arm64: dts: imx8mn: Enable Overdrive mode
  arm64: dts: imx8mm-beacon: Enable overdrive mode
  arm64: dts: imx8mm: Add optional overdrive DTSI
  arm64: dts: imx8mm: Reduce GPU to nominal speed
  ...

Link: https://lore.kernel.org/r/20231216064605.876196-5-shawnguo@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoMerge tag 'imx-dt-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo...
Arnd Bergmann [Thu, 21 Dec 2023 16:37:27 +0000 (16:37 +0000)]
Merge tag 'imx-dt-6.8' of git://git./linux/kernel/git/shawnguo/linux into soc/dt

i.MX ARM device tree for 6.8:

- A bunch of changes from Fabio Estevam cleaning up dt-schema warnings.
- A number of i.MX7 related small fixes and peripheral addition from
  Alexander Stein.
- A set of changes from Hiago De Franco adding usdhc aliases for Apalis
  and Colibri boards.
- A white-space cleanup from Krzysztof Kozlowski.
- A change from Linus Walleij to correct errors in the Marvell MV88E6xxx
  switch descriptions.
- Fix a couple of typo in comment for MBA6 and MBA6ULX board.
- Add on-chip memory and enable MIPI-DSI support for i.MX7.
- Add LM75A sensor for TQMA7 board.

* tag 'imx-dt-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: (41 commits)
  ARM: dts: imx27-phytec-phycore-som: Use 'rtc' as node name
  ARM: dts: imx25: Remove unneeded keypad properties
  ARM: dts: imx23/28: Fix the DMA controller node name
  ARM: dts: imx23-sansa: Use preferred i2c-gpios properties
  ARM: dts: imx27-apf27dev: Fix LED name
  ARM: dts: imx25/27: Pass timing0
  ARM: dts: imx25: Fix the iim compatible string
  ARM: dts: imx25: Move usbphy nodes out of simple-bus
  ARM: dts: imx1: Use 'bus' for AIPI bus
  ARM: dts: imx27-phytec-phycore-rdk: Move usbphy nodes out of simple-bus
  ARM: dts: imx27-pdk: Move usbphy0 out of simple-bus
  ARM: dts: imx27: Use 'bus' for EMI bus
  ARM: dts: imx27: Use 'bus' for AIPI bus
  ARM: dts: imx27-phytec-phycore-som: Use the mux- prefix
  ARM: dts: imx1: Fix sram node
  ARM: dts: imx27: Fix sram node
  ARM: dts: imx: Use flash@0,0 pattern
  ARM: dts: imx25/27-eukrea: Fix RTC node name
  ARM: dts: imx25-pdk: Pass #sound-dai-cells
  ARM: dts: imx25: Pass I2C clock-names property
  ...

Link: https://lore.kernel.org/r/20231216064605.876196-4-shawnguo@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoMerge tag 'imx-bindgins-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/shawngu...
Arnd Bergmann [Thu, 21 Dec 2023 16:35:59 +0000 (16:35 +0000)]
Merge tag 'imx-bindgins-6.8' of git://git./linux/kernel/git/shawnguo/linux into soc/dt

i.MX DT bindings for 6.8:

- New vendor prefix for Dimonoff and echarge Véhicule Électrique (RVE).
- New board compatible for TQ-Systems LX2160A, RVE gateway, Dimonoff
  gateway EVK, i.MX8M Mallow and SKOV i.MX8MP RevB board.

* tag 'imx-bindgins-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  dt-bindings: arm: fsl: add Dimonoff gateway EVK board
  dt-bindings: vendor-prefixes: add dimonoff
  dt-bindings: arm: fsl: Add TQ-Systems LX2160A based boards
  dt-bindings: arm: fsl: add verdin imx8mp mallow board
  dt-bindings: arm: fsl: add verdin imx8mm mallow board
  dt-bindings: arm: Add compatible for SKOV i.MX8MP RevB board
  dt-bindings: arm: fsl: add RVE gateway board
  dt-bindings: vendor-prefixes: add rve

Link: https://lore.kernel.org/r/20231216064605.876196-3-shawnguo@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoMerge tag 'ux500-dts-soc-for-v6.8' of git://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Thu, 21 Dec 2023 16:33:56 +0000 (16:33 +0000)]
Merge tag 'ux500-dts-soc-for-v6.8' of git://git./linux/kernel/git/linusw/linux-integrator into soc/dt

More Ux500 device tree updates for v6.8

The HREF520 reference design had the wrong analog baseband
defined causing a boot regression.

Was AB8500, but this board has AB8505.

Rearrange the device trees to make it possible to define
a different AB and slot it in.

* tag 'ux500-dts-soc-for-v6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator:
  ARM: dts: ux500-href: Switch HREF520 to AB8505
  ARM: dts: ux500-href: Push AB8500 config out
  ARM: dts: ux500-href: Push AB8500 inclusion to the top

Link: https://lore.kernel.org/r/CACRpkdZ9wCV7oohF2KX6MFwmuSPR_i7et8O5SH=op6gyQ4mOvQ@mail.gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoMerge tag 'renesas-dts-for-v6.8-tag2' of git://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Thu, 21 Dec 2023 16:25:46 +0000 (16:25 +0000)]
Merge tag 'renesas-dts-for-v6.8-tag2' of git://git./linux/kernel/git/geert/renesas-devel into soc/dt

Renesas DTS updates for v6.8 (take two)

  - Add IA55 interrupt controller and Ethernet support for the RZ/G3S
    SoC and the RZ/G3S SMARC SoM,
  - Miscellaneous fixes and improvements.

* tag 'renesas-dts-for-v6.8-tag2' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
  arm64: dts: renesas: white-hawk-cpu: Fix missing serial console pin control
  arm64: dts: renesas: rzg3s-smarc-som: Enable the Ethernet interfaces
  arm64: dts: renesas: rzg3s-smarc-som: Use switches' names to select on-board functionalities
  arm64: dts: renesas: r9a08g045: Add Ethernet nodes
  arm64: dts: renesas: r9a08g045: Add IA55 interrupt controller node

Link: https://lore.kernel.org/r/cover.1702642342.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoMerge tag 'stm32-dt-for-v6.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Thu, 21 Dec 2023 16:17:22 +0000 (16:17 +0000)]
Merge tag 'stm32-dt-for-v6.8-1' of git://git./linux/kernel/git/atorgue/stm32 into soc/dt

STM32 DT for v6.8, round 1

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

- MCU:
  -  Add SPI support on STM32F746.
  -  Better describe vcc_3v3 for SD and DSI on stm32f469-disco.

- MPU:
  - STM32MP13:
    - Add DCMIPP (Digital Camera Memory Interface Piwel Processor)  on STM32MP135.

  - STMP32MP15:
    - Change "phys" affectation from board to Soc dtsi file for USB host as it is hard  linked
      to the port 0 of usbphyc.
    - Fix SCMI and No-SCMI compatible in boards.

  - STM32MP25:
    - Add BSEC support to read the device part number OTP and the package data register OTP.

* tag 'stm32-dt-for-v6.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32:
  ARM: dts: stm32: add dcmipp support to stm32mp135
  arm64: dts: st: add bsec support to stm32mp25
  ARM: dts: stm32: Consolidate usbh_[eo]hci phy properties on stm32mp15
  ARM: dts: stm32: don't mix SCMI and non-SCMI board compatibles
  dt-bindings: arm: stm32: don't mix SCMI and non-SCMI board compatibles
  ARM: dts: stm32: minor whitespace cleanup around '='
  ARM: dts: stm32: add SPI support on STM32F746
  ARM: dts: stm32: add STM32F746 syscfg clock
  ARM: dts: stm32: use the same 3v3 for SD and DSI nodes on stm32f469-disco

Link: https://lore.kernel.org/r/9363227b-1c44-4a20-b245-efbbbf9ab1dd@foss.st.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoMerge tag 'sunxi-dt-for-6.8-1' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Thu, 21 Dec 2023 15:59:19 +0000 (15:59 +0000)]
Merge tag 'sunxi-dt-for-6.8-1' of https://git./linux/kernel/git/sunxi/linux into soc/dt

- new boards: Orange Pi Zero 2W, Transpeed 8K618-T

* tag 'sunxi-dt-for-6.8-1' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux:
  arm64: dts: allwinner: h618: add Transpeed 8K618-T TV box
  dt-bindings: arm: sunxi: document Transpeed 8K618-T board name
  dt-bindings: vendor-prefixes: add Transpeed
  arm64: dts: allwinner: h616: add Orange Pi Zero 2W support
  dt-bindings: arm: sunxi: add Orange Pi Zero 2W

Link: https://lore.kernel.org/r/ZXtWFk-Bne835txP@archlinux
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoMerge tag 'at91-dt-6.8' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux...
Arnd Bergmann [Thu, 21 Dec 2023 15:57:59 +0000 (15:57 +0000)]
Merge tag 'at91-dt-6.8' of https://git./linux/kernel/git/at91/linux into soc/dt

Microchip AT91 device tree updates for v6.8

It contains:
- IRQ support for Ethernet PHYs on SAM9X60-EK and SAM9X60-Curiosity
  boards
- removal of the mmc-ddr-3_3v property from SD controllers connected to SD
  slots, for SAMA5D27-WLSOM1-EK and SAMA5D27-SOM1-EK boards, as this
  property is for eMMC devices

* tag 'at91-dt-6.8' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux:
  ARM: dts: microchip: sama5d27_som1_ek: Remove mmc-ddr-3_3v property from sdmmc0 node
  ARM: dts: microchip: sama5d27_wlsom1_ek: Remove mmc-ddr-3_3v property from sdmmc0 node
  ARM: dts: microchip: sam9x60ek: Add IRQ support for ethernet PHY
  ARM: dts: microchip: sam9x60_curiosity: Add IRQ support for ethernet PHY

Link: https://lore.kernel.org/r/20231214174954.3045355-1-claudiu.beznea@tuxon.dev
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoMerge tag 'juno-update-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep...
Arnd Bergmann [Thu, 21 Dec 2023 15:57:22 +0000 (15:57 +0000)]
Merge tag 'juno-update-6.8' of git://git./linux/kernel/git/sudeep.holla/linux into soc/dt

Arm Vexpress/Juno update for v6.8

Just a single update to align the thermal zone names with bindings matching
[alphanumericals]*-thermal pattern.

* tag 'juno-update-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux:
  arm64: dts: juno: Align thermal zone names with bindings

Link: https://lore.kernel.org/r/20231213115826.3577764-1-sudeep.holla@arm.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoMerge tag 'v6.8-rockchip-dts32-1' of git://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Thu, 21 Dec 2023 15:56:00 +0000 (15:56 +0000)]
Merge tag 'v6.8-rockchip-dts32-1' of git://git./linux/kernel/git/mmind/linux-rockchip into soc/dt

New boards are the Geniatech XPI-3128 (RK3128), Sonoff iHost (rv1109)

One "new" soc is the rv1109 which is a two-core variant of the rv1126
and everything else is identical.

Lots of love for the old rk3128 (power-domains, gpu, gmac, usb) and
rv1126 (uart pins, i2c2 special case) and rework of aliases to have
core busses that are hard-numbered in boards and documentation centrally
in the dtsi, but the per board aliases in the boards (ethernet).

Plus the rk3036 got a yaml hdmi binding which required some small fixes.

* tag 'v6.8-rockchip-dts32-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: (24 commits)
  ARM: dts: rockchip: add hdmi-connector node to rk3036-kylin
  ARM: dts: rockchip: fix rk3036 hdmi ports node
  ARM: dts: rockchip: add gpio alias for gpio dt nodes
  ARM: dts: rockchip: Move uart aliases to SoC dtsi for RK3128
  ARM: dts: rockchip: Move i2c aliases to SoC dtsi for RK3128
  ARM: dts: rockchip: Move gpio aliases to SoC dtsi for RK3128
  ARM: dts: rockchip: Add Sonoff iHost Smart Home Hub
  dt-bindings: arm: rockchip: Add Sonoff iHost
  ARM: dts: rockchip: Add rv1109 SoC
  ARM: dts: rockchip: Split up rgmii1 pinctrl on rv1126
  ARM: dts: rockchip: Add i2c2 node to rv1126
  ARM: dts: rockchip: Serial aliases for rv1126
  ARM: dts: rockchip: Add alternate UART pins to rv1126
  ARM: dts: rockchip: Enable GPU for XPI-3128
  ARM: dts: rockchip: Add GPU node for RK3128
  ARM: dts: rockchip: Add power-controller for RK3128
  ARM: dts: rockchip: Enable gmac for XPI-3128
  ARM: dts: rockchip: Add gmac node for RK3128
  ARM: dts: rockchip: Make usbphy the parent of SCLK_USB480M for RK3128
  ARM: dts: rockchip: Add dwc2 otg fifo siztes for RK3128
  ...

Link: https://lore.kernel.org/r/3197878.5fSG56mABF@phil
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoMerge tag 'v6.8-rockchip-dts64-1' of git://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Thu, 21 Dec 2023 15:46:17 +0000 (15:46 +0000)]
Merge tag 'v6.8-rockchip-dts64-1' of git://git./linux/kernel/git/mmind/linux-rockchip into soc/dt

New boards are the Anberic RG351V handheld (rk3326), Theobroma Systems Jaguar
SBC (rk3588), Powkiddy X55 and RK2023 handheld (rk3566), Edgeble-Neu6b (rk3588)

The rk3588 got attention with one working usb3 host on Rock-5a/5b, Orangepi-5
and audio for the EVB1.

Some smaller improvements for the other socs (fifo-depths on rk3328,
gpio-line-names on rk3308-rock-pi-s, gpu power-coefficients on rk3399,
and a fix for the newly converted gpio-fan yaml binding).

Also a number of aliases were moved. Always-numbered core busses can have their
aliases in the soc dtsi, as is done in a number of cases already and other alises
like ethernet really should be per board.

* tag 'v6.8-rockchip-dts64-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: (31 commits)
  arm64: dts: rockchip: Add Anbernic RG351V
  arm64: dts: rockchip: Split RG351M from Odroid Go Advance
  dt-bindings: arm: rockchip: Add Anbernic RG351V
  arm64: dts: rockchip: Add ethernet0 alias to the dts for RK3588(S) boards
  arm64: dts: rockchip: Add ethernet0 alias to the dts for RK3566 boards
  arm64: dts: rockchip: Remove ethernet0 alias from the SoC dtsi for PX30
  arm64: dts: rockchip: Remove ethernetX aliases from the SoC dtsi for RK3328
  arm64: dts: rockchip: Remove ethernet0 alias from the SoC dtsi for RK3368
  arm64: dts: rockchip: Remove ethernet0 alias from the SoC dtsi for RK3399
  arm64: dts: rockchip: make dts use gpio-fan matrix instead of array
  arm64: dts: rockchip: add gpio alias for gpio dt nodes
  arm64: dts: rockchip: Add dynamic-power-coefficient to rk3399 GPU
  arm64: dts: rockchip: add rk3588 spi aliases to soc dtsi
  arm64: dts: rockchip: add rk3588 gpio aliases to soc dtsi
  arm64: dts: rockchip: add rk3588 i2c aliases to soc dtsi
  arm64: dts: rockchip: move rk3588 serial aliases to soc dtsi
  arm64: dts: rockchip: add Theobroma Jaguar SBC
  dt-bindings: arm: rockchip: Add Theobroma-Systems Jaguar SBC
  arm64: dts: rockchip: Add Powkiddy X55
  dt-bindings: arm: rockchip: Add Powkiddy X55
  ...

Link: https://lore.kernel.org/r/3535836.iIbC2pHGDl@phil
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoMerge tag 'mtk-dts64-for-v6.8' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Thu, 21 Dec 2023 15:44:11 +0000 (15:44 +0000)]
Merge tag 'mtk-dts64-for-v6.8' of https://git./linux/kernel/git/mediatek/linux into soc/dt

MediaTek ARM64 DeviceTree updates for v6.8

This adds devicetree bindings and nodes for:
 - Media Data Path 3 (MDP3) bindings and enablement on MT8195
 - Smart Voltage Scaling (SVS) on MT8195
 - LVTS SoC thermal on MT8192
 - MT8188 SoC along with its resets, display bindings, and more
 - MT8183 hardware video decoder (mtk-vcodec-dec)

Adds the following new machines:
 - MT8188 Evaluation Board (EVB)
 - MT8183 Chromebooks: Kukui-Katsu, Jacuzzi-Makomo, Pico, Pico6

Performs cleanups for various MediaTek SoCs and PMICs, and also
includes some spare fixes.

* tag 'mtk-dts64-for-v6.8' of https://git.kernel.org/pub/scm/linux/kernel/git/mediatek/linux: (60 commits)
  arm64: dts: mediatek: mt8192: Add Smart Voltage Scaling node
  arm64: dts: mediatek: mt8195: Add SVS node and reduce LVTS_AP iospace
  arm64: dts: mediatek: mt8183: Change iospaces for thermal and svs
  arm64: dts: mediatek: mt8186: fix address warning for ADSP mailboxes
  arm64: dts: mediatek: mt8186: Fix alias prefix for ovl_2l0
  arm64: dts: mt6358: Drop bogus "regulator-fixed" compatible properties
  arm64: dts: mt8183: kukui-jacuzzi: Drop bogus anx7625 panel_flag property
  arm64: dts: Add MediaTek MT8188 dts and evaluation board and Makefile
  dt-bindings: soc: mediatek: pwrap: Modify compatible for MT8188
  dt-bindings: arm: mediatek: Add mt8188 pericfg compatible
  dt-bindings: arm: Add compatible for MediaTek MT8188
  arm64: dts: mediatek: mt8195: add DSI and MIPI DPHY nodes
  dt-bindings: display: mediatek: dsi: add compatible for MediaTek MT8195
  arm64: dts: mediatek: mt6358: Merge ldo_vcn33_* regulators
  dt-bindings: arm: mediatek: convert audsys and mt2701-afe-pcm to yaml
  arm64: dts: mediatek: mt8195: add MDP3 nodes
  arm64: dts: mediatek: mt8195: revise VDOSYS RDMA node name
  arm64: dts: mediatek: mt8183: correct MDP3 DMA-related nodes
  dt-bindings: display: mediatek: padding: add compatible for MT8195
  dt-bindings: display: mediatek: split: add compatible for MT8195
  ...

Link: https://lore.kernel.org/r/20231212114515.121695-1-angelogioacchino.delregno@collabora.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoMerge tag 'samsung-dt-6.8' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk...
Arnd Bergmann [Thu, 21 Dec 2023 15:42:39 +0000 (15:42 +0000)]
Merge tag 'samsung-dt-6.8' of https://git./linux/kernel/git/krzk/linux into soc/dt

Samsung DTS ARM changes for v6.8

1. Exynos4212 and Exynos4412: Final fixes for dtbs_check warnings.
   Replace duplicate PMU node in FIMC IS node with syscon phandle.  The
   old solution of duplicated PMU node was not a correct representation of
   the hardware and could have concurrent access issues.

   The DTS change depends on media FIMC IS drivers changes already
   merged in previous cycle, thus it is not fully
   backwards-compatible.  It is a necessary trade-off in fixing wrong
   description in DTS.

   With this fix, `make dtbs_check` status looks like:
   S3C6410: no warnings
   Exynos: no warnings, one undocumented compatible
   S5PV210: one warning, one undocumented compatible

2. Exynos4210, Exynos4212, Exynos4412, S5PV210:
   Correct FIMC IS camera ranges and IO addresses to silence dtc W=1
   warnings.  No functional impact expected.
   After this fix, there are no dtc W=1 warnings on all ARMv7 platforms.

3. Galaxy I9100: Fix 12-second hang during boot by enabling regulator
   (real cause not really known), add touch keys and accelerometer.

* tag 'samsung-dt-6.8' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  ARM: dts: samsung: exynos4210-i9100: Add accelerometer node
  ARM: dts: samsung: exynos4210-i9100: Add node for touch keys
  ARM: dts: samsung: exynos4210-i9100: Unconditionally enable LDO12
  ARM: dts: samsung: s5pv210: fix camera unit addresses/ranges
  ARM: dts: samsung: exynos4: fix camera unit addresses/ranges
  ARM: dts: samsung: exynos4x12: replace duplicate pmu node with phandle

Link: https://lore.kernel.org/r/20231212093105.13938-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoMerge tag 'samsung-dt64-6.8' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk...
Arnd Bergmann [Thu, 21 Dec 2023 15:41:22 +0000 (15:41 +0000)]
Merge tag 'samsung-dt64-6.8' of https://git./linux/kernel/git/krzk/linux into soc/dt

Samsung DTS ARM64 changes for v6.8

Two (and a half) major items are coming with this pull request:
1. Add specific compatibles to all Samsung Exynos and Tesla FSD blocks,
   because that's what guidelines expect [1] and is generally
   recommended practice.  Existing compatibles are left untouched, thus
   no driver changes are needed.  The work only cleans things up, so any
   future contributions will use recommended style: specific and
   fallback compatibles.

   Since no driver changes are needed in this work and the DTS is
   directly affected by bindings change (running tests with `make
   dtbs_check`), this pull includes all bindings changes, even though
   usual practice is that bindings come via driver subsystem.  Keeping
   everything here makes review and testing easier.  Also will allow us
   to avoid conflicts related to new platforms (see below).

2. Add ExynosAutov920 SoC and SADK board (Samsung Automotive Development
   Kit) with minimal support so far: serial console, GPIO-based keys and
   PWM fan.

3. Add few bindings for upcoming Google GS101 SoC.  This pull request
   does not include its DTS yet, just few reviewed dependencies.  DTS
   will be coming soon.

[1] Documentation/devicetree/bindings/writing-bindings.rst

* tag 'samsung-dt64-6.8' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux: (38 commits)
  arm64: dts: exynos: add minimal support for exynosautov920 sadk board
  arm64: dts: exynos: add initial support for exynosautov920 SoC
  dt-bindings: samsung: exynos-sysreg: combine exynosautov920 with other enum
  dt-bindings: soc: google: exynos-sysreg: add dedicated SYSREG compatibles to GS101
  dt-bindings: clock: Add Google gs101 clock management unit bindings
  dt-bindings: soc: samsung: exynos-pmu: Add gs101 compatible
  arm64: dts: fsd: add specific compatibles for Tesla FSD
  dt-bindings: watchdog: samsung: add specific compatible for Tesla FSD
  dt-bindings: samsung: exynos-pmu: add specific compatible for Tesla FSD
  dt-bindings: serial: samsung: add specific compatible for Tesla FSD
  dt-bindings: pwm: samsung: add specific compatible for Tesla FSD
  dt-bindings: i2c: exynos5: add specific compatible for Tesla FSD
  arm64: dts: exynosautov9: use Exynos7 fallbacks for pin wake-up controller
  arm64: dts: exynos850: use Exynos7 fallbacks for pin wake-up controllers
  dt-bindings: hwinfo: samsung,exynos-chipid: add exynosautov920 compatible
  dt-bindings: arm: samsung: Document exynosautov920 SADK board binding
  dt-bindings: pwm: samsung: add exynosautov920 compatible
  dt-bindings: serial: samsung: add exynosautov920-uart compatible
  dt-bindings: samsung: usi: add exynosautov920-usi compatible
  dt-bindings: samsung: exynos-pmu: add exynosautov920 compatible
  ...

Link: https://lore.kernel.org/r/20231212093105.13938-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoARM: dts: ste: minor whitespace cleanup around '='
Krzysztof Kozlowski [Mon, 11 Dec 2023 23:39:25 +0000 (00:39 +0100)]
ARM: dts: ste: minor whitespace cleanup around '='

The DTS code coding style expects exactly one space before and after '='
sign.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20231212-ux500-dts-v1-1-5a31b6742d85@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoMerge tag 'omap-for-v6.8/dt-signed' of git://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Thu, 21 Dec 2023 15:38:28 +0000 (15:38 +0000)]
Merge tag 'omap-for-v6.8/dt-signed' of git://git./linux/kernel/git/tmlind/linux-omap into soc/dt

Devicetree changes for omaps

- A series of patches to reorganize Motorola Mapphone related files to add
  support for tablets as the peripherals are different compared to the
  phones

- Apply am57xx-idk overlays to base dtbs

- Extcon update to use id-gpios and vbus-gpios

- Update omap4-epson-embt2ws to enable wlan clock and bluetooth-gnss

- Update for logicpd-torpedo to use bluetooth-gnss node name

* tag 'omap-for-v6.8/dt-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  ARM: dts: omap4-embt2ws: Add Bluetooth
  ARM: dts: omap: logicpd-torpedo: do not disguise GNSS device
  ARM: dts: omap4-embt2ws: enable 32K clock on WLAN
  ARM: dts: ti/omap: Replace deprecated extcon-usb-gpio id-gpio/vbus-gpio properties
  arm: dts: omap: Apply am57xx-idk overlays to base dtbs
  ARM: dts: motorola-mapphone: Add basic support for mz609 and mz617
  ARM: dts: motorola-mapphone: Move handset devices to a common file
  ARM: dts: motorola-mapphone: Move LCD to common file for xt875 and xt894
  dt-bindings: omap: Add Motorola mapphone mz609 and mz617 tablets

Link: https://lore.kernel.org/r/pull-1702037869-295608@atomide.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoMerge tag 'hisi-arm64-dt-for-6.8' of https://github.com/hisilicon/linux-hisi into...
Arnd Bergmann [Thu, 21 Dec 2023 15:37:23 +0000 (15:37 +0000)]
Merge tag 'hisi-arm64-dt-for-6.8' of https://github.com/hisilicon/linux-hisi into soc/dt

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

- Merge the hi3620-clock binding into hisilicon,sysctrl
- Clean up the hikey970 PMIC dtsi

* tag 'hisi-arm64-dt-for-6.8' of https://github.com/hisilicon/linux-hisi:
  arm64: dts: hisilicon: hikey970-pmic: clean up SPMI node
  arm64: dts: hisilicon: hikey970-pmic: fix regulator cells properties
  dt-bindings: hisilicon: Merge hi3620-clock into hisilicon,sysctrl binding

Link: https://lore.kernel.org/r/6572C4C8.6050401@hisilicon.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
15 months agoarm64: dts: qcom: sc8180x: Fix up PCIe nodes
Konrad Dybcio [Tue, 19 Dec 2023 13:05:06 +0000 (14:05 +0100)]
arm64: dts: qcom: sc8180x: Fix up PCIe nodes

Duplicated clock output names cause probe errors and wrong clocks cause
hardware not to work. Fix such issues.

Fixes: d20b6c84f56a ("arm64: dts: qcom: sc8180x: Add PCIe instances")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231219-topic-8180_pcie-v1-1-c2acbba4723c@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: qcom: sc8180x: Mark PCIe hosts cache-coherent
Konrad Dybcio [Tue, 19 Dec 2023 18:40:21 +0000 (19:40 +0100)]
arm64: dts: qcom: sc8180x: Mark PCIe hosts cache-coherent

The PCIe controllers on 8180 are cache-coherent. Mark them as such.

Fixes: d20b6c84f56a ("arm64: dts: qcom: sc8180x: Add PCIe instances")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231219-topic-8180_pcie_dmac-v1-1-5d00fc1b23fd@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: qcom: x1e80100-qcp: Fix supplies for some LDOs in PM8550
Abel Vesa [Mon, 18 Dec 2023 16:36:40 +0000 (18:36 +0200)]
arm64: dts: qcom: x1e80100-qcp: Fix supplies for some LDOs in PM8550

The LDOs 1, 4 and 10 from PM8550 share the same supply, the SMPS 4
from PM8550ve. This needs to be done through shared supply approach
otherwise the parsing will fail. Also fix a bindings check failure.

Fixes: af16b00578a7 ("arm64: dts: qcom: Add base X1E80100 dtsi and the QCP dts")
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231218-x1e80100-qcp-dts-fix-pm8550-regulators-supplies-v1-1-0a313ce87745@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: qcom: sm8550: Update idle state time requirements
Konrad Dybcio [Mon, 18 Dec 2023 16:02:13 +0000 (17:02 +0100)]
arm64: dts: qcom: sm8550: Update idle state time requirements

The idle state entry/exit/residency times differ from what shipped on
production devices, mostly being overly optimistic in entry times and
overly pessimistic in minimal residency times. Align them with
downstream sources.

Fixes: ffc50b2d3828 ("arm64: dts: qcom: Add base SM8550 dtsi")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231218-topic-8550_fixes-v1-12-ce1272d77540@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: qcom: sm8550: Separate out X3 idle state
Konrad Dybcio [Mon, 18 Dec 2023 16:02:12 +0000 (17:02 +0100)]
arm64: dts: qcom: sm8550: Separate out X3 idle state

The X3 core has different entry/exit/residency time requirements than
the big cluster. Denote them to stop confusing the scheduler.

Fixes: ffc50b2d3828 ("arm64: dts: qcom: Add base SM8550 dtsi")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231218-topic-8550_fixes-v1-11-ce1272d77540@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoARM: dts: qcom: sdx55: Fix the base address of PCIe PHY
Manivannan Sadhasivam [Mon, 11 Dec 2023 17:24:11 +0000 (22:54 +0530)]
ARM: dts: qcom: sdx55: Fix the base address of PCIe PHY

While convering the binding to new format, serdes address specified in the
old binding was used as the base address. This causes a boot hang as the
driver tries to access memory region outside of the specified address. Fix
it!

Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: stable@vger.kernel.org # 6.6
Fixes: bb56cff4ac03 ("ARM: dts: qcom-sdx55: switch PCIe QMP PHY to new style of bindings")
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20231211172411.141289-1-manivannan.sadhasivam@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: qcom: ipq6018: fix clock rates for GCC_USB0_MOCK_UTMI_CLK
Chukun Pan [Mon, 18 Dec 2023 15:08:05 +0000 (23:08 +0800)]
arm64: dts: qcom: ipq6018: fix clock rates for GCC_USB0_MOCK_UTMI_CLK

The downstream QSDK kernel [1] and GCC_USB1_MOCK_UTMI_CLK are both 24MHz.
Adjust GCC_USB0_MOCK_UTMI_CLK to 24MHz to avoid the following error:

clk: couldn't set gcc_usb0_mock_utmi_clk clk rate to 20000000 (-22), current rate: 24000000

1. https://git.codelinaro.org/clo/qsdk/oss/kernel/linux-ipq-5.4/-/commit/486c8485f59

Fixes: 5726079cd486 ("arm64: dts: ipq6018: Use reference clock to set dwc3 period")
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: https://lore.kernel.org/r/20231218150805.1228160-1-amadeus@jmu.edu.cn
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: qcom: x1e80100: align mem timer size cells with bindings
Krzysztof Kozlowski [Mon, 18 Dec 2023 15:06:56 +0000 (16:06 +0100)]
arm64: dts: qcom: x1e80100: align mem timer size cells with bindings

The ARMv7 memory mapped architected timer bindings expect MMIO sizes up
to 32-bit.  Keep 64-bit addressing but change the size of memory mapping
to 32-bit (size-cells=1) and adjust the ranges to match this.

This fixes dtbs_check warnings like:

  x1e80100-qcp.dtb: timer@17800000: #size-cells:0:0: 1 was expected

Fixes: af16b00578a7 ("arm64: dts: qcom: Add base X1E80100 dtsi and the QCP dts")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20231218150656.72892-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: qcom: sc7280: Mark SDHCI hosts as cache-coherent
Konrad Dybcio [Mon, 18 Dec 2023 14:38:33 +0000 (15:38 +0100)]
arm64: dts: qcom: sc7280: Mark SDHCI hosts as cache-coherent

The SDHCI hosts on SC7280 are cache-coherent, just like on most fairly
recent Qualcomm SoCs. Mark them as such.

Fixes: 298c81a7d44f ("arm64: dts: qcom: sc7280: Add nodes for eMMC and SD card")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231218-topic-7280_dmac_sdhci-v1-1-97af7efd64a1@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoARM: dts: qcom: sdx55: fix USB SS wakeup
Johan Hovold [Wed, 13 Dec 2023 17:31:31 +0000 (18:31 +0100)]
ARM: dts: qcom: sdx55: fix USB SS wakeup

The USB SS PHY interrupt needs to be provided by the PDC interrupt
controller in order to be able to wake the system up from low-power
states.

Fixes: fea4b41022f3 ("ARM: dts: qcom: sdx55: Add USB3 and PHY support")
Cc: stable@vger.kernel.org # 5.12
Cc: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20231213173131.29436-4-johan+linaro@kernel.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoARM: dts: qcom: sdx55: fix USB DP/DM HS PHY interrupts
Johan Hovold [Wed, 13 Dec 2023 17:31:30 +0000 (18:31 +0100)]
ARM: dts: qcom: sdx55: fix USB DP/DM HS PHY interrupts

The USB DP/DM HS PHY interrupts need to be provided by the PDC interrupt
controller in order to be able to wake the system up from low-power
states and to be able to detect disconnect events, which requires
triggering on falling edges.

A recent commit updated the trigger type but failed to change the
interrupt provider as required. This leads to the current Linux driver
failing to probe instead of printing an error during suspend and USB
wakeup not working as intended.

Fixes: d0ec3c4c11c3 ("ARM: dts: qcom: sdx55: fix USB wakeup interrupt types")
Fixes: fea4b41022f3 ("ARM: dts: qcom: sdx55: Add USB3 and PHY support")
Cc: stable@vger.kernel.org # 5.12
Cc: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20231213173131.29436-3-johan+linaro@kernel.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoARM: dts: qcom: sdx55: fix pdc '#interrupt-cells'
Johan Hovold [Wed, 13 Dec 2023 17:31:29 +0000 (18:31 +0100)]
ARM: dts: qcom: sdx55: fix pdc '#interrupt-cells'

The Qualcomm PDC interrupt controller binding expects two cells in
interrupt specifiers.

Fixes: 9d038b2e62de ("ARM: dts: qcom: Add SDX55 platform and MTP board support")
Cc: stable@vger.kernel.org # 5.12
Cc: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20231213173131.29436-2-johan+linaro@kernel.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: qcom: sc8180x: fix USB SS wakeup
Johan Hovold [Thu, 14 Dec 2023 07:43:19 +0000 (08:43 +0100)]
arm64: dts: qcom: sc8180x: fix USB SS wakeup

The USB SS PHY interrupt needs to be provided by the PDC interrupt
controller in order to be able to wake the system up from low-power
states.

Fixes: b080f53a8f44 ("arm64: dts: qcom: sc8180x: Add remoteprocs, wifi and usb nodes")
Cc: stable@vger.kernel.org # 6.5
Cc: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231214074319.11023-4-johan+linaro@kernel.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: qcom: sdm670: fix USB SS wakeup
Johan Hovold [Thu, 14 Dec 2023 07:43:18 +0000 (08:43 +0100)]
arm64: dts: qcom: sdm670: fix USB SS wakeup

The USB SS PHY interrupt needs to be provided by the PDC interrupt
controller in order to be able to wake the system up from low-power
states.

Fixes: 07c8ded6e373 ("arm64: dts: qcom: add sdm670 and pixel 3a device trees")
Cc: stable@vger.kernel.org # 6.2
Cc: Richard Acayan <mailingradian@gmail.com>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Tested-by: Richard Acayan <mailingradian@gmail.com>
Link: https://lore.kernel.org/r/20231214074319.11023-3-johan+linaro@kernel.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: qcom: sdm670: fix USB DP/DM HS PHY interrupts
Johan Hovold [Thu, 14 Dec 2023 07:43:17 +0000 (08:43 +0100)]
arm64: dts: qcom: sdm670: fix USB DP/DM HS PHY interrupts

The USB DP/DM HS PHY interrupts need to be provided by the PDC interrupt
controller in order to be able to wake the system up from low-power
states and to be able to detect disconnect events, which requires
triggering on falling edges.

A recent commit updated the trigger type but failed to change the
interrupt provider as required. This leads to the current Linux driver
failing to probe instead of printing an error during suspend and USB
wakeup not working as intended.

Fixes: de3b3de30999 ("arm64: dts: qcom: sdm670: fix USB wakeup interrupt types")
Fixes: 07c8ded6e373 ("arm64: dts: qcom: add sdm670 and pixel 3a device trees")
Cc: stable@vger.kernel.org # 6.2
Cc: Richard Acayan <mailingradian@gmail.com>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Tested-by: Richard Acayan <mailingradian@gmail.com>
Link: https://lore.kernel.org/r/20231214074319.11023-2-johan+linaro@kernel.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: amlogic: fix format for s4 uart node
Xianwei Zhao [Fri, 15 Dec 2023 08:28:00 +0000 (16:28 +0800)]
arm64: dts: amlogic: fix format for s4 uart node

Aliases use lowercase letters and place status in end.

Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20231215-s4-dts-v1-1-7831ab6972be@amlogic.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
15 months agoarm64: dts: amlogic: drop redundant status=okay
Krzysztof Kozlowski [Sat, 9 Dec 2023 12:44:01 +0000 (13:44 +0100)]
arm64: dts: amlogic: drop redundant status=okay

New device nodes are enabled by default, so no need for status=okay.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20231209124401.93814-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
15 months agoarm64: dts: amlogic: enable some nodes for board AQ222
Xianwei Zhao [Fri, 8 Dec 2023 07:16:27 +0000 (15:16 +0800)]
arm64: dts: amlogic: enable some nodes for board AQ222

Add reserved memory for board AQ222 which is used by ATF.
Enable NAND, SPICC nodes for board AQ222.

Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20231208-s4-dts-v2-2-5a93fa356c5d@amlogic.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
15 months agoarm64: dts: amlogic: add some device nodes for S4
Xianwei Zhao [Fri, 8 Dec 2023 07:16:26 +0000 (15:16 +0800)]
arm64: dts: amlogic: add some device nodes for S4

Add some device nodes for SoC S4, including periphs clock controller
node, PLL clock controller node, I2C nodes, SPICC node, NAND
controller node, Ethernet MAC and PHY node.

Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20231208-s4-dts-v2-1-5a93fa356c5d@amlogic.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
15 months agoMAINTAINERS: adjust file entry in GOOGLE TENSOR SoC SUPPORT
Lukas Bulwahn [Mon, 18 Dec 2023 10:12:25 +0000 (11:12 +0100)]
MAINTAINERS: adjust file entry in GOOGLE TENSOR SoC SUPPORT

Commit 0a910f160638 ("dt-bindings: clock: Add Google gs101 clock
management unit bindings") adds the file google,gs101.h in
include/dt-bindings/clock/. However, commit 9d71df3e6eb7 ("MAINTAINERS:
add entry for Google Tensor SoC") wrongly refers to the file
google,clk-gs101.h in that directory.

Hence, ./scripts/get_maintainer.pl --self-test=patterns complains about a
broken reference.

Adjust the file entry to the actual file in GOOGLE TENSOR SoC SUPPORT.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Link: https://lore.kernel.org/r/20231218101225.27637-1-lukas.bulwahn@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
15 months agoarm64: dts: qcom: sc8180x-primus: Allow UFS regulators load/mode setting
Konrad Dybcio [Thu, 14 Dec 2023 18:13:43 +0000 (19:13 +0100)]
arm64: dts: qcom: sc8180x-primus: Allow UFS regulators load/mode setting

The UFS driver expects to be able to set load (and by extension, mode)
on the supplied regulators. Add the necessary properties to make that
possible.

Fixes: 2ce38cc1e8fe ("arm64: dts: qcom: sc8180x: Introduce Primus")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231214-topic-sc8180_fixes-v1-6-421904863006@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: qcom: sc8180x: Describe the GIC redistributor
Konrad Dybcio [Thu, 14 Dec 2023 18:13:42 +0000 (19:13 +0100)]
arm64: dts: qcom: sc8180x: Describe the GIC redistributor

The redistributor properties were absent in the initial submission,
add them.

Fixes: 8575f197b077 ("arm64: dts: qcom: Introduce the SC8180x platform")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231214-topic-sc8180_fixes-v1-5-421904863006@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: qcom: sc8180x: Add interconnects to UFS
Konrad Dybcio [Thu, 14 Dec 2023 18:13:41 +0000 (19:13 +0100)]
arm64: dts: qcom: sc8180x: Add interconnects to UFS

To ensure the required paths don't collapse, add interconnect properties
to the UFS controller.

Fixes: 8575f197b077 ("arm64: dts: qcom: Introduce the SC8180x platform")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231214-topic-sc8180_fixes-v1-4-421904863006@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: qcom: sc8180x: Add missing MDP clocks
Konrad Dybcio [Thu, 14 Dec 2023 18:13:40 +0000 (19:13 +0100)]
arm64: dts: qcom: sc8180x: Add missing MDP clocks

The ROT clock is required for the MDP block to function (looks like some
others depend on it), and whike the LUT clock's purpose is not clear,
it's likely better to turn on all of MDP's dependencies rather than not
doing so.

Add these clocks under the MDP node. This also makes Primus work without
clk_ignore_unused (as far as the dmesg-visible errors go, anyway).

Fixes: 494dec9b6f54 ("arm64: dts: qcom: sc8180x: Add display and gpu nodes")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231214-topic-sc8180_fixes-v1-3-421904863006@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: qcom: sc8180x: Add UFS GDSC
Konrad Dybcio [Thu, 14 Dec 2023 18:13:39 +0000 (19:13 +0100)]
arm64: dts: qcom: sc8180x: Add UFS GDSC

To make sure the UFS controller and some relevant clocks have power
flowing to them, hook up the forgotten-about GDSC.

Fixes: 8575f197b077 ("arm64: dts: qcom: Introduce the SC8180x platform")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231214-topic-sc8180_fixes-v1-2-421904863006@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: qcom: sc7280*: move MPSS and WPSS memory to dtsi
Luca Weiss [Fri, 8 Dec 2023 15:08:00 +0000 (16:08 +0100)]
arm64: dts: qcom: sc7280*: move MPSS and WPSS memory to dtsi

It appears that all SC7280-based devices so far have mpss_mem and
wpss_mem on the same reg with the same size.

Also these memory regions are referenced already in sc7280.dtsi so
that's where they should also be defined.

Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Link: https://lore.kernel.org/r/20231208-sc7280-remoteprocs-v3-4-6aa394d33edf@fairphone.com
[bjorn: delete-node &wpss_mem in qcs6490 rb3gen2, and qcm6490 idp]
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoARM: dts: qcom: msm8974*: Re-enable remoteprocs on various boards
Luca Weiss [Sun, 17 Dec 2023 15:22:55 +0000 (16:22 +0100)]
ARM: dts: qcom: msm8974*: Re-enable remoteprocs on various boards

Even though a previous patch re-added the supplies to the adsp and modem
remoteprocs, due to timing differences in the meantime the remoteprocs
were disabled by default, but the commit re-adding the supplies didn't
enable them.

Enable them now to hopefully properly resolve the fallout now.

Fixes: 6d933c0ec171 ("ARM: dts: qcom: msm8974-*: re-add remoteproc supplies")
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Link: https://lore.kernel.org/r/20231217-msm8974-misc-v1-3-bece1ba2667d@z3ntu.xyz
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoARM: dts: qcom: msm8974: Remove bogus cd-gpio pinctrl
Luca Weiss [Sun, 17 Dec 2023 15:22:54 +0000 (16:22 +0100)]
ARM: dts: qcom: msm8974: Remove bogus cd-gpio pinctrl

No board in mainline uses GPIO 54 for card-detect on sdhc_2, and this
also causes conflict when both sdhc_2 and blsp2_uart4 are used, such as
on qcom-msm8974-lge-nexus5-hammerhead.

Fixes: 1dfe967ec7cf ("ARM: dts: qcom-msm8974*: Consolidate I2C/UART/SDHCI")
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Link: https://lore.kernel.org/r/20231217-msm8974-misc-v1-2-bece1ba2667d@z3ntu.xyz
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoARM: dts: qcom: msm8974-klte: Remove unused property
Alexey Minnekhanov [Sun, 17 Dec 2023 15:22:53 +0000 (16:22 +0100)]
ARM: dts: qcom: msm8974-klte: Remove unused property

Panel driver samsung,s6e3fa2 does not use te-gpios. The pin is already
configured properly through pinctrl.

Fixes: 3657b677d20d ("ARM: dts: qcom: msm8974-klte: add support for display")
Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
[luca: adjust commit message, add Fixes tag]
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Link: https://lore.kernel.org/r/20231217-msm8974-misc-v1-1-bece1ba2667d@z3ntu.xyz
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: qcom: sc7280: Rename reserved-memory nodes
Luca Weiss [Fri, 8 Dec 2023 15:07:59 +0000 (16:07 +0100)]
arm64: dts: qcom: sc7280: Rename reserved-memory nodes

It was clarified a while ago that reserved-memory nodes shouldn't be
called memory@ but should have a descriptive name. Update sc7280.dtsi to
follow that.

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Link: https://lore.kernel.org/r/20231208-sc7280-remoteprocs-v3-3-6aa394d33edf@fairphone.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: qcom: sc7280: Remove unused second MPSS reg
Luca Weiss [Fri, 8 Dec 2023 15:07:58 +0000 (16:07 +0100)]
arm64: dts: qcom: sc7280: Remove unused second MPSS reg

The bindings for sc7280-mpss-pas neither expects a second reg nor a
reg-names property, which is only required by the sc7280-mss-pil
bindings.

Move it to sc7280-herobrine-lte-sku.dtsi, the only place where that
other compatible is used.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Link: https://lore.kernel.org/r/20231208-sc7280-remoteprocs-v3-2-6aa394d33edf@fairphone.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: qcom: sdm670: add display subsystem
Richard Acayan [Tue, 17 Oct 2023 02:18:13 +0000 (22:18 -0400)]
arm64: dts: qcom: sdm670: add display subsystem

The Snapdragon 670 has a display subsystem for controlling and
outputting to the display. Add support for it in the device tree.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Acayan <mailingradian@gmail.com>
Link: https://lore.kernel.org/r/20231017021805.1083350-15-mailingradian@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: qcom: sm8150-hdk: enable DisplayPort and USB-C altmode
Dmitry Baryshkov [Fri, 15 Dec 2023 17:40:39 +0000 (19:40 +0200)]
arm64: dts: qcom: sm8150-hdk: enable DisplayPort and USB-C altmode

Enable the USB-C related functionality for the USB-C port on this board.
This includes OTG, PowerDelivery and DP AltMode. Also enable the
DisplayPort itself.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20231215174152.315403-8-dmitry.baryshkov@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: qcom: sm8150: add USB-C ports to the OTG USB host
Dmitry Baryshkov [Fri, 15 Dec 2023 17:40:38 +0000 (19:40 +0200)]
arm64: dts: qcom: sm8150: add USB-C ports to the OTG USB host

Expand first USB host controller device node with the OF ports required
to support USB-C / DisplayPort switching.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20231215174152.315403-7-dmitry.baryshkov@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: qcom: sm8150: add USB-C ports to the USB+DP QMP PHY
Dmitry Baryshkov [Fri, 15 Dec 2023 17:40:37 +0000 (19:40 +0200)]
arm64: dts: qcom: sm8150: add USB-C ports to the USB+DP QMP PHY

Expand Combo USB+DP QMP PHY device node with the OF ports required to
support USB-C / DisplayPort switching.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20231215174152.315403-6-dmitry.baryshkov@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: qcom: sm8150: add DisplayPort controller
Dmitry Baryshkov [Fri, 15 Dec 2023 17:40:36 +0000 (19:40 +0200)]
arm64: dts: qcom: sm8150: add DisplayPort controller

Add device tree node for the DisplayPort controller and link it to the
display controller interface.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20231215174152.315403-5-dmitry.baryshkov@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: qcom: sm8150-hdk: fix SS USB regulators
Dmitry Baryshkov [Fri, 15 Dec 2023 17:40:35 +0000 (19:40 +0200)]
arm64: dts: qcom: sm8150-hdk: fix SS USB regulators

The SM8150-HDK uses two different regulators to power up SuperSpeed USB
PHYs. The L5A regulator is used for the second USB host, while the first
(OTG) USB host uses different regulator, L18A. Fix the regulator for the
usb_1 QMPPHY and (to remove possible confusion) drop the
usb_ss_dp_core_1/_2 labels.

Fixes: 0ab1b2d10afe ("arm64: dts: qcom: add sm8150 hdk dts")
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20231215174152.315403-4-dmitry.baryshkov@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: qcom: sm8150-hdk: enable HDMI output
Dmitry Baryshkov [Fri, 15 Dec 2023 17:40:34 +0000 (19:40 +0200)]
arm64: dts: qcom: sm8150-hdk: enable HDMI output

Add DSI outputs and link them to the onboard Lontium LT9611 DSI-to-HDMI
bridge, enabling HDMI output on this board. While adding the display
resources, also drop the headless ("amd,imageon") compat string from the
GPU node, since the board now has output.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20231215174152.315403-3-dmitry.baryshkov@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: qcom: sm8150: make dispcc cast minimal vote on MMCX
Dmitry Baryshkov [Fri, 15 Dec 2023 17:40:33 +0000 (19:40 +0200)]
arm64: dts: qcom: sm8150: make dispcc cast minimal vote on MMCX

Add required-opps property to the display clock controller. This makes
it cast minimal vote on the MMCX lane and prevents further 'clock stuck'
errors when enabling the display.

Fixes: 2ef3bb17c45c ("arm64: dts: qcom: sm8150: Add DISPCC node")
Acked-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20231215174152.315403-2-dmitry.baryshkov@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: qcom: sm8650: add fastrpc-compute-cb nodes
Neil Armstrong [Fri, 15 Dec 2023 11:45:53 +0000 (12:45 +0100)]
arm64: dts: qcom: sm8650: add fastrpc-compute-cb nodes

Add the missing aDSP and cDSP fastrpc compute-cb nodes for the SM8650 SoC.

Fixes: 10e024671295 ("arm64: dts: qcom: sm8650: add interconnect dependent device nodes")
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231215-topic-sm8650-upstream-dt-fastrpc-v1-1-5016f685ab5a@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: qcom: sm8550-qrd: add PM8010 regulators
Fenglin Wu [Fri, 15 Dec 2023 08:01:46 +0000 (16:01 +0800)]
arm64: dts: qcom: sm8550-qrd: add PM8010 regulators

Add PM8010 regulator device nodes for sm8550-qrd board.

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Fenglin Wu <quic_fenglinw@quicinc.com>
Link: https://lore.kernel.org/r/20231215-pm8010-regulator-v3-2-1bfc4b7ee5ab@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: qcom: sm8550-mtp: Add pm8010 regulators
Fenglin Wu [Fri, 15 Dec 2023 08:01:45 +0000 (16:01 +0800)]
arm64: dts: qcom: sm8550-mtp: Add pm8010 regulators

Add PM8010 regulator device nodes for sm8550-mtp board.

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Fenglin Wu <quic_fenglinw@quicinc.com>
Link: https://lore.kernel.org/r/20231215-pm8010-regulator-v3-1-1bfc4b7ee5ab@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: qcom: qcm2290: Hook up MPM
Konrad Dybcio [Fri, 15 Dec 2023 00:01:10 +0000 (01:01 +0100)]
arm64: dts: qcom: qcm2290: Hook up MPM

Wire up MPM and the interrupts it provides.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231215-topic-mpm_dt-v1-3-c6636fc75ce3@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: qcom: msm8996: Hook up MPM
Konrad Dybcio [Fri, 15 Dec 2023 00:01:09 +0000 (01:01 +0100)]
arm64: dts: qcom: msm8996: Hook up MPM

Wire up MPM and the interrupts it provides.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231215-topic-mpm_dt-v1-2-c6636fc75ce3@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agoarm64: dts: qcom: sm6375: Hook up MPM
Konrad Dybcio [Fri, 15 Dec 2023 00:01:08 +0000 (01:01 +0100)]
arm64: dts: qcom: sm6375: Hook up MPM

Add a node for MPM and wire it up on consumers that use it. This also
fixes a very bad and sad assumption I made when initially porting this
SoC that the downstream MPM-TLMM mappings were 1-1. That apparently
changed some time ago, so with this patch the MPM consumers will actually
be hooked up to the correct interrupt lines.

Fixes: 59d34ca97f91 ("arm64: dts: qcom: Add initial device tree for SM6375")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231215-topic-mpm_dt-v1-1-c6636fc75ce3@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
15 months agodt-bindings: arm: qcom: Add Motorola Moto G 4G (2013)
André Apitzsch [Thu, 14 Dec 2023 20:59:33 +0000 (21:59 +0100)]
dt-bindings: arm: qcom: Add Motorola Moto G 4G (2013)

Document the compatible for the MSM8926-based Motorola Moto G 4G
smartphone released in 2013.

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: André Apitzsch <git@apitzsch.eu>
Link: https://lore.kernel.org/r/20231214-peregrine-v2-1-a35102268442@apitzsch.eu
Signed-off-by: Bjorn Andersson <andersson@kernel.org>