OSDN Git Service

tomoyo/tomoyo-test1.git
18 months agoMerge tag 'tegra-for-6.3-arm64-dt' of git://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Mon, 30 Jan 2023 17:16:35 +0000 (18:16 +0100)]
Merge tag 'tegra-for-6.3-arm64-dt' of git://git./linux/kernel/git/tegra/linux into arm/dt

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

There are two big changes in this: one is to bump the #address-cells and
the #size-cells properties to 2 so that bus address translations work
correctly and another to sort nodes according to a scheme that we've
been trying to follow, but where some inconsistencies have accumulated
over the years.

As for the rest, this adds mostly new things on Tegra234, such as USB
host and device support and identification EEPROMs found on Jetson AGX
Orin.

Some cleanups are also included, such as the removal of unneeded
properties or duplicated nodes.

* tag 'tegra-for-6.3-arm64-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  arm64: tegra: Drop I2C iommus and dma-coherent properties
  arm64: tegra: Mark host1x as dma-coherent on Tegra194/234
  arm64: tegra: Populate the XUDC node for Tegra234
  arm64: tegra: Add dma-coherent property for Tegra194 XUDC
  arm64: tegra: Populate Jetson AGX Orin EEPROMs
  arm64: tegra: Populate address/size cells for Tegra234 I2C
  arm64: tegra: Enable XUSB host function on Jetson AGX Orin
  arm64: tegra: Sort nodes by unit-address, then alphabetically
  arm64: tegra: Bump #address-cells and #size-cells
  arm64: tegra: Sort includes
  arm64: tegra: Fix duplicate regulator on Jetson TX1
  arm64: tegra: Fix typo in gpio-ranges property

Link: https://lore.kernel.org/r/20230127163719.460954-3-thierry.reding@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
18 months agoMerge tag 'tegra-for-6.3-arm-dt' of git://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Mon, 30 Jan 2023 17:15:48 +0000 (18:15 +0100)]
Merge tag 'tegra-for-6.3-arm-dt' of git://git./linux/kernel/git/tegra/linux into arm/dt

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

Just a single patch to properly sort nodes and make the DTS files easier
to read.

* tag 'tegra-for-6.3-arm-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  ARM: tegra: Sort nodes by unit-address, then alphabetically

Link: https://lore.kernel.org/r/20230127163719.460954-2-thierry.reding@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
18 months agoMerge tag 'tegra-for-6.3-dt-bindings' of git://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Mon, 30 Jan 2023 17:15:19 +0000 (18:15 +0100)]
Merge tag 'tegra-for-6.3-dt-bindings' of git://git./linux/kernel/git/tegra/linux into arm/dt

dt-bindings: Changes for v6.3-rc1

Device tree files for 64-bit ARM Tegra SoCs have recently had to bump
the #address-cells and #size-cells to 2 in order to support bus address
translations across the entire device tree hierarchy. Explicitly allow
this in DT schemas to prevent validation errors.

* tag 'tegra-for-6.3-dt-bindings' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  dt-bindings: tegra: Allow #{address,size}-cells = <2>

Link: https://lore.kernel.org/r/20230127163719.460954-1-thierry.reding@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
18 months agoMerge tag 'renesas-dts-for-v6.3-tag2' of git://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Mon, 30 Jan 2023 17:14:15 +0000 (18:14 +0100)]
Merge tag 'renesas-dts-for-v6.3-tag2' of git://git./linux/kernel/git/geert/renesas-devel into arm/dt

Renesas DT updates for v6.3 (take two)

  - High Performance mode (1.8 GHz) support for the Cortex-A76 CPU cores
    on R-Car V4H,
  - GPIO interrupt support for the RZ/G2UL SoC and the RZ/G2UL SMARC EVK
    development board,
  - USB Function support for the RZ/N1D SoC,
  - Generic Sound Card driver examples for the Renesas R-Car Starter Kit
    Premier/Pro and Shimafugi Kingfisher development board stack,
  - Universal Flash Storage support for the Renesas Spider development
    board,
  - External Power Sequence Controller (PWC) support for the RZ/V2M SoC
    and the RZ/V2M Evaluation Kit 2.0,
  - IOMMU support for MMC on the R-Car S4-8 SoC,
  - Miscellaneous fixes and improvements.

* tag 'renesas-dts-for-v6.3-tag2' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel: (25 commits)
  arm64: dts: renesas: r8a779f0: Add iommus to MMC node
  arm64: dts: renesas: v2mevk2: Add PWC support
  arm64: dts: renesas: r9a09g011: Add PWC support
  arm64: dts: renesas: r9a09g011: Reword ethernet status
  arm64: dts: renesas: r8a774[be]1-beacon: Sync aliases with RZ/G2M
  arm64: dts: renesas: beacon-renesom: Fix audio clock rate
  arm64: dts: renesas: beacon-renesom: Update Ethernet PHY ID
  arm64: dts: renesas: beacon-renesom: Fix gpio expander reference
  arm64: dts: renesas: spider-cpu: Enable UFS device
  arm64: dts: renesas: Add ulcb{-kf} Simple Audio Card MIX + TDM Split dtsi
  arm64: dts: renesas: Add ulcb{-kf} Audio Graph Card MIX + TDM Split dtsi
  arm64: dts: renesas: Add ulcb{-kf} Audio Graph Card2 MIX + TDM Split dtsi
  arm64: dts: renesas: Add ulcb{-kf} Simple Audio Card dtsi
  arm64: dts: renesas: Add ulcb{-kf} Audio Graph Card2 dtsi
  arm64: dts: renesas: Add ulcb{-kf} Audio Graph Card dtsi
  arm64: dts: renesas: #sound-dai-cells is used when simple-card
  ARM: dts: renesas: #sound-dai-cells is used when simple-card
  arm64: dts: renesas: eagle: Add SCIF_CLK support
  ARM: dts: r9a06g032: Add the USBF controller node
  arm64: dts: renesas: rzg2ul-smarc-som: Add PHY interrupt support for ETH{0/1}
  ...

Link: https://lore.kernel.org/r/cover.1674815099.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
18 months agoMerge tag 'renesas-dt-bindings-for-v6.3-tag1' of git://git.kernel.org/pub/scm/linux...
Arnd Bergmann [Mon, 30 Jan 2023 17:12:34 +0000 (18:12 +0100)]
Merge tag 'renesas-dt-bindings-for-v6.3-tag1' of git://git./linux/kernel/git/geert/renesas-devel into arm/dt

Renesas DT binding updates for v6.3

  - Document support for the Renesas RZ/V2M External Power Sequence
    Controller (PWC).

* tag 'renesas-dt-bindings-for-v6.3-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
  dt-bindings: soc: renesas: Add RZ/V2M PWC

Link: https://lore.kernel.org/r/cover.1674815097.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
18 months agoMerge tag 'qcom-arm64-for-6.3' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Mon, 30 Jan 2023 16:52:35 +0000 (17:52 +0100)]
Merge tag 'qcom-arm64-for-6.3' of https://git./linux/kernel/git/qcom/linux into arm/dt

Qualcomm ARM64 Devicetree updates for v6.3

This introduces support for the new Snapdragon 8 Gen 2 (SM8550)
platform.  In addition to the adding support for the MTP on this
platform, support the following devices is introduced:
 - GPLUS FL8005A
 - Google Zombie with LTE and NVMe
 - Google Zombie with NVMe
 - Lenovo Tab P11
 - Motorola G5 Plus
 - Motorola G7 Power
 - Motorola Moto G6
 - Samsung Galaxy J5 (2016)
 - Samsung Galaxy Tab A 8.0
 - Samsung Galaxy Tab A 9.7
 - Xiaomi Mi A1
 - Xiaomi Mi A2 Lite
 - Xiaomi Redmi 5 Plus
 - Xiaomi Redmi Note 4X

On IPQ8074 the PCIe PHY register regions and PHY clock names are
corrected.

On MSM8916 DMA for the I2C controllers are introduced and blsp_dma is
unconditionally enabled. Per-sensor calibration data is provided for the
thermal sensor (tsens) block. The GPLUS FL8005A device is introduced and
gains support for touchscreen and flash LED. An additional Samsung
Galaxy J5 variant is added, and support is added for hall sensor and
MUIC.

Per-sensor calibration information is introduced for the thermal sensor
on MSM8956 as well.

On MSM8996, GPLL0 is added as a possible Kryo clock controller input, a
carveout is added to get modem metadata out of System RAM. Missing bus
clocks are added for agnoc2.
SDHCI1 is enabled on the Sony Xperia Tone platform and USB is limited to
high-speed, to make USB work.

MSM8998 gains the same modem carveout as other platforms, and the
description of the clock hierarchy is improved.

On QCS404 the clock hierarchy description is improved, the CDSP PAS node
is adjusted to match the binding and the thermal sensor (tsens) gains
per-sensor calibration information.

On SC7180 the Data Capture and Compare block is intorduced, and a
carveout for the modem metadata is introduced, to get this out of System
RAM. Pazquel360 gains touchscreen support, the regulator off-on-time is
adjusted for the Trogdor eDP and touchscreen.
Data lane and frequency properties are introduced for the DisplayPort
links.

SC7280 also gets Data Capture and Compare support, as well as the
dedicated modem metadata region. Herobrine gains DP audio support.
IPA description is updated so that it's only active on boards with a
modem.

On SC8280XP the display subsystem is introduced, currently with support
for most of the DisplayPort controllers. GPR, SoundWire and LPASS is
introduced, for audio support. Missing I2C and SPI controllers are
introduced.
Support for EDP is introduced for the CRD, the Lenovo ThinkPad X13s and
the SA8295P ADP automotive board. The SA8540P Ride platform enables one
i2c and pcie controllers.
A CMA region is defined for the CRD and X13s, to avoid allocation issues
from the NVMe support.

Fairphone FP3 gains NFC support and the Sony Xperia Nile platform gains
a description of simplefb.
SDM670 gains QFPROM definition.

SDM845 gains a carveout for the modem metadata and support for the Data
Capture and Compare block is introduced.  Lenovo Yoga C630 firmware
paths are aligned with all other Qualcomm platforms.

On SM6125 apss SMMU is introduced and streams are defined for USB and
SDHCI controllers. GPI DMA description is introduced, as well as missing
SPI and I2C serial engines.
On Sony Xperia 10 IIa regulator definitions are improved, SDHCI2 is
introduced, and I2C and related GPI DMA blocks are enabled.

On SM6350 IPA is introduced. DDR and L3 scaling is introduced based on
CPUfreq.

Fairphone FP4, on SM7225 also has IPA enabled, and the Flash LED is
enabled as well.

On SM8150 the display subsystem is introduced, with clock controller,
DPU and two DSI controllers. The Data Capture and Compare block is
introduced.
For the Sony Xperia Kumano platform, GPIO keys and NFC support is
introduced.

For SM8350 PCIe is introduced, as is the display subsystem with display
clock controller, DPU and two DSI controllers. #interconnect-cells is
changed to 2, to align with other platforms and allow for active-only
votes. The display is enabled and the LT9611uxc found on the SM8350
Hardware Development Kit board is described, to provide HDMI output.

On SM8450 the display subsystem is introduced, with DPU and two DSI
controllers.  GIC-ITS support is introduced for both PCIe0 and PCIe1.
SPMI bus support is introduced and pmics are wired up across the various
devices.
The display subsystem is enabled and the LT9611uxc is described to
provide HDMI output on the SM8450 Hardware Development Kit.
On Sony Xperia Nagara platform, GPIO keys and GPIO line names are
introduced. As is the SLG51000 PMIC and camera regulators are defined.

Support for SM8550 is introduced, with support for storage, USB,
remoteprocs, PCIe, low-speed buses, crypto and display subsystem. These
blocks are enabled on the MTP.

Lastly, the work continue to align Devicetree source with bindings
across all platforms.

* tag 'qcom-arm64-for-6.3' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux: (320 commits)
  arm64: dts: qcom: sc7280: Add a carveout for modem metadata
  arm64: dts: qcom: sc7180: Add a carveout for modem metadata
  arm64: dts: qcom: sdm845: Add a carveout for modem metadata
  arm64: dts: qcom: msm8998: Add a carveout for modem metadata
  arm64: dts: qcom: msm8996: Add a carveout for modem metadata
  arm64: dts: qcom: ipq8074: correct PCIe QMP PHY output clock names
  arm64: dts: qcom: ipq8074: fix Gen3 PCIe node
  arm64: dts: qcom: ipq8074: set Gen2 PCIe pcie max-link-speed
  arm64: dts: qcom: ipq8074: correct Gen2 PCIe ranges
  arm64: dts: qcom: ipq8074: fix Gen3 PCIe QMP PHY
  arm64: dts: qcom: ipq8074: fix Gen2 PCIe QMP PHY
  arm64: dts: qcom: sdm845-db845c: drop label from I2C controllers
  arm64: dts: qcom: msm8996: support using GPLL0 as kryocc input
  arm64: dts: qcom: sm8450: Allow both GIC-ITS and internal MSI controller
  arm64: dts: qcom: sm8550-mtp: Add USB PHYs and HC nodes
  arm64: dts: qcom: sm8550: Add USB PHYs and controller nodes
  arm64: dts: qcom: sm8250: drop unused properties from tx-macro
  arm64: dts: qcom: sm8250: drop unused clock-frequency from wsa-macro
  arm64: dts: qcom: align OPP table node name with DT schema
  arm64: dts: qcom: rename mdp nodes to display-controller
  ...

Link: https://lore.kernel.org/r/20230126202528.3691539-1-andersson@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
18 months agoMerge tag 'riscv-dt-for-v6.3-mw0' of https://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Mon, 30 Jan 2023 16:48:54 +0000 (17:48 +0100)]
Merge tag 'riscv-dt-for-v6.3-mw0' of https://git./linux/kernel/git/conor/linux into arm/dt

RISC-V Devicetrees for v6.3-mw0

Microchip:
A vendor prefix for Aldec and both a binding and Devicetree for the
Aldec TySoM devkit for PolarFire SoC. This Devicetree corresponds to
what they are shipping in the SDK for rev2 boards.

StarFive:
Just the binding for the new StarFive JH7110 SoC and its first-party
SDC the VisionFive 2.

Other:
I was expecting the Devicetree for the aforementioned board to be ready
for this window, as the pinctrl driver had seem some review prior to
v6.2 and both it & the base clock drivers are heavily based on the
existing drivers for the JH7110.
That didn't come to be.. Christmas, the RISC-V Summit in December and
the Lunar New Year all playing a part perhaps.
Because of that, both Palmer and I have the Kconfig.socs work in our
branches, although in hindsight it probably wasn't needed here as I
only added the TySoM Devicetree & the conflict would've been trivial.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
* tag 'riscv-dt-for-v6.3-mw0' of https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux:
  riscv: dts: microchip: add the Aldec TySoM's devicetree
  dt-bindings: riscv: microchip: document the Aldec TySoM
  dt-bindings: vendor-prefixes: Add entry for Aldec
  RISC-V: stop directly selecting drivers for SOC_CANAAN
  RISC-V: stop selecting SiFive clock and serial drivers directly
  RISC-V: stop selecting the PolarFire SoC clock driver
  RISC-V: kbuild: convert all use of SOC_FOO to ARCH_FOO
  RISC-V: kconfig.socs: convert usage of SOC_CANAAN to ARCH_CANAAN
  RISC-V: introduce ARCH_FOO kconfig aliases for SOC_FOO symbols
  dt-bindings: riscv: Add StarFive JH7110 SoC and VisionFive 2 board

Link: https://lore.kernel.org/r/Y9LP+Za1h0fkBa58@spud
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
18 months agoMerge tag 'qcom-dts-for-6.3' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom...
Arnd Bergmann [Mon, 30 Jan 2023 16:47:00 +0000 (17:47 +0100)]
Merge tag 'qcom-dts-for-6.3' of https://git./linux/kernel/git/qcom/linux into arm/dt

Qualcomm ARM DT updates for v6.3

This introduces support for Acer Iconia Talk S A1-724

The Samsung Galaxy Tab 4 10.1 gains ADSP and backlight support.

The Xperia Z2 Tablet gets charging enabled and the touchscreen is given
a little bit more time to start up.

APQ8064 and MSM8974 gains improvements in clock hierarchy. APQ8064
thermal sensor (tsens) driver gains per-censor calibration data.

Lastly a set of patches that improves DT binding compliance.

* tag 'qcom-dts-for-6.3' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux: (50 commits)
  ARM: dts: qcom: msm8226: add RPMCC node
  ARM: dts: qcom: apq8084: add clocks and clock-names to gcc device
  ARM: dts: qcom: align OPP table node name with DT schema
  ARM: dts: qcom: rename mdp nodes to display-controller
  ARM: dts: qcom-msm8974: rename mdss node to display-subsystem
  ARM: dts: qcom-msm8974: add SoC specific compat string to mdp5 node
  dt-bindings: qcom: Document samsung,gt58 and gt510
  dt-bindings: qcom: Document bindings for msm8916-samsung-j5x
  ARM: dts: qcom: use qcom,gsi-loader for IPA
  ARM: dts: qcom-apq8084: specify per-sensor calibration cells
  ARM: dts: qcom-msm8974: specify per-sensor calibration cells
  dt-bindings: arm: qcom: Document MSM8939 SoC binding
  ARM: dts: qcom: msm8974: add xo clock to rpm clock controller
  dt-bindings: qcom: Document msm8916-gplus-fl8005a
  dt-bindings: vendor-prefixes: Add GPLUS
  ARM: dts: qcom: apq8026-samsung-matisse-wifi: Add display backlight
  dt-bindings: arm: qcom: Add SM6115(P) and Lenovo Tab P11
  ARM: dts: qcom: add missing space before {
  dt-bindings: arm: qcom: add board-id/msm-id for MSM8956, SDM636 and SM4250
  dt-bindings: arm: qcom: Add zombie with NVMe
  ...

Link: https://lore.kernel.org/r/20230126174725.3681745-1-andersson@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
18 months agodt-bindings: tegra: Allow #{address,size}-cells = <2>
Thierry Reding [Thu, 17 Nov 2022 17:56:19 +0000 (18:56 +0100)]
dt-bindings: tegra: Allow #{address,size}-cells = <2>

Both 1 and 2 are valid values for #address-cells and #size-cells on the
various busses specified in these bindings, so explicitly allow 2.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
18 months agoarm64: tegra: Drop I2C iommus and dma-coherent properties
Thierry Reding [Mon, 17 Oct 2022 17:03:39 +0000 (19:03 +0200)]
arm64: tegra: Drop I2C iommus and dma-coherent properties

Drop the iommus and dma-coherent properties for the I2C controller
device tree nodes. These are only needed for the device tree nodes
that represent the GPC DMA controller, since that is the device
performing the direct memory accesses.

Signed-off-by: Thierry Reding <treding@nvidia.com>
18 months agoarm64: dts: renesas: r8a779f0: Add iommus to MMC node
Yoshihiro Shimoda [Mon, 23 Jan 2023 01:34:45 +0000 (10:34 +0900)]
arm64: dts: renesas: r8a779f0: Add iommus to MMC node

Add iommus property to the MMC node for r8a779f0.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230123013448.1250991-3-yoshihiro.shimoda.uh@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
18 months agoarm64: dts: renesas: v2mevk2: Add PWC support
Fabrizio Castro [Wed, 18 Jan 2023 14:47:46 +0000 (14:47 +0000)]
arm64: dts: renesas: v2mevk2: Add PWC support

The RZ/V2M EVK uses the PWC IP to control external power supplies
and the I/O voltage for the uSD card.

This patch enables the PWC node, and it also enables the poweroff
features since PWC is actually used to control the board power
rails.

Signed-off-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230118144747.24968-3-fabrizio.castro.jz@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
18 months agoarm64: dts: renesas: r9a09g011: Add PWC support
Fabrizio Castro [Wed, 18 Jan 2023 14:47:45 +0000 (14:47 +0000)]
arm64: dts: renesas: r9a09g011: Add PWC support

The RZ/V2M SoC contains an External Power Sequence Controller (PWC)
module. This module provides an external power supply on/off
sequence, on/off signal for the LPDDR4 core power supply, General
Purpose Outputs, and key input signals.

This patch adds PWC support to the SoC specific device tree.

Signed-off-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230118144747.24968-2-fabrizio.castro.jz@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
18 months agoarm64: dts: renesas: r9a09g011: Reword ethernet status
Fabrizio Castro [Wed, 18 Jan 2023 13:52:59 +0000 (13:52 +0000)]
arm64: dts: renesas: r9a09g011: Reword ethernet status

Although of_fdt_device_is_available returns true when the DT
property "status" is assigned "ok" or "okay", and false for every
other value, it's become common practice to assign "disabled"
when we want of_fdt_device_is_available to return false.
For some reason, the status property of the ethernet node was
assigned "disable" when originally added to the kernel. Change
it to "disabled" for consistency.

Signed-off-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230118135259.19249-1-fabrizio.castro.jz@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
18 months agoarm64: dts: renesas: r8a774[be]1-beacon: Sync aliases with RZ/G2M
Adam Ford [Tue, 17 Jan 2023 23:26:08 +0000 (17:26 -0600)]
arm64: dts: renesas: r8a774[be]1-beacon: Sync aliases with RZ/G2M

The Beacon Embedded RZ/G2[MNH] boards all have the same baseboard
and all share the same PCB.  To make sure all instances appear
the same, make the aliases for RZ/G2N and RZ/G2H match RZ/G2M to keep
them consistent.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230117232609.477247-1-aford173@gmail.com
Link: https://lore.kernel.org/r/20230117232609.477247-2-aford173@gmail.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
18 months agoarm64: dts: renesas: beacon-renesom: Fix audio clock rate
Adam Ford [Sat, 14 Jan 2023 22:56:47 +0000 (16:56 -0600)]
arm64: dts: renesas: beacon-renesom: Fix audio clock rate

The WM8962 is configured so the SoC is driving the clock, and it's
currently set to 24 MHz.  However, when playing audio it shows the
following message:
    wm8962 5-001a: Unsupported sysclk ratio 500

While not harmful, a better clock ratio is 512.  It makes the
message disappear, and it still plays sound.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230114225647.227972-3-aford173@gmail.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
18 months agoarm64: dts: renesas: beacon-renesom: Update Ethernet PHY ID
Adam Ford [Sat, 14 Jan 2023 22:56:46 +0000 (16:56 -0600)]
arm64: dts: renesas: beacon-renesom: Update Ethernet PHY ID

Due to the part shortage, the AR8031 PHY was replaced with a Micrel
KSZ9131.  Hard-coding the ID of the PHY makes this new PHY
non-operational on newer hardware.  Since previous hardware had only
shipped to a limited number of people, and they have not gone to
production, it should be safe to update the PHY ID.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230114225647.227972-2-aford173@gmail.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
18 months agoarm64: dts: renesas: beacon-renesom: Fix gpio expander reference
Adam Ford [Sat, 14 Jan 2023 22:56:45 +0000 (16:56 -0600)]
arm64: dts: renesas: beacon-renesom: Fix gpio expander reference

The board used to originally introduce the Beacon Embedded RZ/G2[M/N/H]
boards had a GPIO expander with address 20, but this was changed when
the final board went to production.

The production boards changed both the part itself and the address.
With the incorrect address, the LCD cannot come up.  If the LCD fails,
the rcar-du driver fails to come up, and that also breaks HDMI.

Pre-release board were not shipped to the general public, so it should
be safe to push this as a fix.  Anyone with a production board would
have video fail due to this GPIO expander change.

Fixes: a1d8a344f1ca ("arm64: dts: renesas: Introduce r8a774a1-beacon-rzg2m-kit")
Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230114225647.227972-1-aford173@gmail.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
18 months agoarm64: dts: renesas: spider-cpu: Enable UFS device
Yoshihiro Shimoda [Fri, 13 Jan 2023 13:46:39 +0000 (22:46 +0900)]
arm64: dts: renesas: spider-cpu: Enable UFS device

Enable UFS device for R-Car S4-8 Spider CPU board.

Note that the conditions of RC21012 on the Spider are:
 - OUT11 (for UFS30_REFCLK_V) is disabled as default.
 - OUT11 is controlled by GPIO0 pin.
 - The GPIO0 pin is inverted sense (low active) and pull-up enabled.

To output the clock, pin 4 of TCA9554 on the Spider board needs to
output low level so that using "gpio-gate-clock" for it.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230113134639.338908-1-yoshihiro.shimoda.uh@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
18 months agoarm64: dts: renesas: Add ulcb{-kf} Simple Audio Card MIX + TDM Split dtsi
Kuninori Morimoto [Fri, 13 Jan 2023 02:04:33 +0000 (02:04 +0000)]
arm64: dts: renesas: Add ulcb{-kf} Simple Audio Card MIX + TDM Split dtsi

ALSA SoC has many types of Generic Audio Card drivers (Simple Audio
Card, Audio Graph Card, Audio Graph Card2), and Renesas/Kuninori
Morimoto wants to test these.

The Generic Audio Card driver had been requested on ALSA SoC.
It supports many types of device connection methods, and historically,
the requested connection support range of the generic driver has been
upgraded.

Upgrading the connection support range itself could not be implemented
in the generic driver, because we need to keep compatibility with old
DTBs. This is one of the reasons why we have many types of Generic Audio
Card driver.

The ULCB/KF combo is a good board stack to test these.
Kuninori has been testing these Generic Audio Card drivers by using his
local patches to switching drivers.  But from an information sharing
point of view, it is a good idea to upstream these, because the DT
configuration is complex.  Hence this can be a good sample for the user.

Hence add a "Simple Audio Card + MIXer + TDM Split" DT setting file for
ULCB/KF.  Because of the limited number of subdevices, the HDMI output
is ignored.
This setting can be enabled by updating ulcb.dtsi / ulcb-kf.dtsi.

From a normal user point of view who doesn't need to test the driver,
everything should stay as-is, and nothing changes.

Note that because this needs "switching driver", and not "adding extra
feature", this does not use a Device Tree overlay.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/874jsvi40e.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
18 months agoarm64: dts: renesas: Add ulcb{-kf} Audio Graph Card MIX + TDM Split dtsi
Kuninori Morimoto [Fri, 13 Jan 2023 02:04:27 +0000 (02:04 +0000)]
arm64: dts: renesas: Add ulcb{-kf} Audio Graph Card MIX + TDM Split dtsi

ALSA SoC has many types of Generic Audio Card drivers (Simple Audio
Card, Audio Graph Card, Audio Graph Card2), and Renesas/Kuninori
Morimoto wants to test these.

The Generic Audio Card driver had been requested on ALSA SoC.
It supports many types of device connection methods, and historically,
the requested connection support range of the generic driver has been
upgraded.

Upgrading the connection support range itself could not be implemented
in the generic driver, because we need to keep compatibility with old
DTBs. This is one of the reasons why we have many types of Generic Audio
Card driver.

The ULCB/KF combo is a good board stack to test these.
Kuninori has been testing these Generic Audio Card drivers by using his
local patches to switching drivers.  But from an information sharing
point of view, it is a good idea to upstream these, because the DT
configuration is complex.  Hence this can be a good sample for the user.

Hence add an "Audio Graph Card + MIXer + TDM Split" DT setting file for
ULCB/KF.  Because of the limited number of subdevices, the HDMI output
is ignored.
This setting can be enabled by updating ulcb.dtsi / ulcb-kf.dtsi.

From a normal user point of view who doesn't need to test the driver,
everything should stay as-is, and nothing changes.

Note that because this needs "switching driver", and not "adding extra
feature", this does not use a Device Tree overlay.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/875ydbi40l.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
18 months agoarm64: dts: renesas: Add ulcb{-kf} Audio Graph Card2 MIX + TDM Split dtsi
Kuninori Morimoto [Fri, 13 Jan 2023 02:04:22 +0000 (02:04 +0000)]
arm64: dts: renesas: Add ulcb{-kf} Audio Graph Card2 MIX + TDM Split dtsi

ALSA SoC has many types of Generic Audio Card drivers (Simple Audio
Card, Audio Graph Card, Audio Graph Card2), and Renesas/Kuninori
Morimoto wants to test these.

The Generic Audio Card driver had been requested on ALSA SoC.
It supports many types of device connection methods, and historically,
the requested connection support range of the generic driver has been
upgraded.

Upgrading the connection support range itself could not be implemented
in the generic driver, because we need to keep compatibility with old
DTBs. This is one of the reasons why we have many types of Generic Audio
Card driver.

The ULCB/KF combo is a good board stack to test these.
Kuninori has been testing these Generic Audio Card drivers by using his
local patches to switching drivers.  But from an information sharing
point of view, it is a good idea to upstream these, because the DT
configuration is complex.  Hence this can be a good sample for the user.

Hence add an "Audio Graph Card2 + MIXer + TDM Split" DT setting file
for ULCB/KF.  Because of the limited number of subdevices, the HDMI
output is ignored.
This setting can be enabled by updating ulcb.dtsi / ulcb-kf.dtsi.

From a normal user point of view who doesn't need to test the driver,
everything should stay as-is, and nothing changes.

Note that because this needs "switching driver", and not "adding extra
feature", this does not use a Device Tree overlay.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/877cxri40q.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
18 months agoarm64: dts: renesas: Add ulcb{-kf} Simple Audio Card dtsi
Kuninori Morimoto [Fri, 13 Jan 2023 02:04:17 +0000 (02:04 +0000)]
arm64: dts: renesas: Add ulcb{-kf} Simple Audio Card dtsi

ALSA SoC has many types of Generic Audio Card drivers (Simple Audio
Card, Audio Graph Card, Audio Graph Card2), and Renesas/Kuninori
Morimoto wants to test these.

The Generic Audio Card driver had been requested on ALSA SoC.
It supports many types of device connection methods, and historically,
the requested connection support range of the generic driver has been
upgraded.

Upgrading the connection support range itself could not be implemented
in the generic driver, because we need to keep compatibility with old
DTBs. This is one of the reasons why we have many types of Generic Audio
Card driver.

The ULCB/KF combo is a good board stack to test these.
Kuninori has been testing these Generic Audio Card drivers by using his
local patches to switching drivers.  But from an information sharing
point of view, it is a good idea to upstream these, because the DT
configuration is complex.  Hence this can be a good sample for the user.

Hence add a "Simple Audio Card" DT setting file for ULCB/KF.
This can be enabled by updating ulcb.dtsi / ulcb-kf.dtsi.

From a normal user point of view who doesn't need to test the driver,
everything should stay as-is, and nothing changes.

Note that because this needs "switching driver", and not "adding extra
feature", this does not use a Device Tree overlay.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/878ri7i40u.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
18 months agoarm64: dts: renesas: Add ulcb{-kf} Audio Graph Card2 dtsi
Kuninori Morimoto [Fri, 13 Jan 2023 02:04:13 +0000 (02:04 +0000)]
arm64: dts: renesas: Add ulcb{-kf} Audio Graph Card2 dtsi

ALSA SoC has many types of Generic Audio Card drivers (Simple Audio
Card, Audio Graph Card, Audio Graph Card2), and Renesas/Kuninori
Morimoto wants to test these.

The Generic Audio Card driver had been requested on ALSA SoC.
It supports many types of device connection methods, and historically,
the requested connection support range of the generic driver has been
upgraded.

Upgrading the connection support range itself could not be implemented
in the generic driver, because we need to keep compatibility with old
DTBs. This is one of the reasons why we have many types of Generic Audio
Card driver.

The ULCB/KF combo is a good board stack to test these.
Kuninori has been testing these Generic Audio Card drivers by using his
local patches to switching drivers.  But from an information sharing
point of view, it is a good idea to upstream these, because the DT
configuration is complex.  Hence this can be a good sample for the user.

Hence add an "Audio Graph Card2" DT setting file for ULCB/KF,
and switch to use it.  You can switch to a different Generic Audio Graph
driver by updating ulcb.dtsi / ulcb-kf.dtsi.

From a normal user point of view who doesn't need to test the driver,
everything should stay as-is, and nothing changes.

Note that because this needs "switching driver", and not "adding extra
feature", this does not use a Device Tree overlay.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/87a62ni40z.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
18 months agoarm64: dts: renesas: Add ulcb{-kf} Audio Graph Card dtsi
Kuninori Morimoto [Fri, 13 Jan 2023 02:04:08 +0000 (02:04 +0000)]
arm64: dts: renesas: Add ulcb{-kf} Audio Graph Card dtsi

ALSA SoC has many types of Generic Audio Card drivers (Simple Audio
Card, Audio Graph Card, Audio Graph Card2), and Renesas/Kuninori
Morimoto wants to test these.

The Generic Audio Card driver had been requested on ALSA SoC.
It supports many types of device connection methods, and historically,
the requested connection support range of the generic driver has been
upgraded.

Upgrading the connection support range itself could not be implemented
in the generic driver, because we need to keep compatibility with old
DTBs. This is one of the reasons why we have many types of Generic Audio
Card driver.

The ULCB/KF combo is a good board stack to test these.
Kuninori has been testing these Generic Audio Card drivers by using his
local patches to switching drivers.  But from an information sharing
point of view, it is a good idea to upstream these, because the DT
configuration is complex.  Hence this can be a good sample for the user.

Hence add an "Audio Graph Card" DT setting file for ULCB/KF.
This can be enabled by updating ulcb.dtsi / ulcb-kf.dtsi.

From a normal user point of view who doesn't need to test the driver,
everything should stay as-is, and nothing changes.

Note that because this needs "switching driver", and not "adding extra
feature", this does not use a Device Tree overlay.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/87bkn3i414.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
18 months agoarm64: dts: renesas: #sound-dai-cells is used when simple-card
Kuninori Morimoto [Fri, 13 Jan 2023 02:04:03 +0000 (02:04 +0000)]
arm64: dts: renesas: #sound-dai-cells is used when simple-card

Current sound comment is indicating that #sound-dai-cells is required,
but it is needed only if board is using "simple-card".
Hence tidy up the comments.

As ulcb.dtsi and salvator-common.dtsi are already using "audio-graph",
the unneeded #sound-dai-cells are removed.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/87cz7ji418.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
18 months agoARM: dts: renesas: #sound-dai-cells is used when simple-card
Kuninori Morimoto [Fri, 13 Jan 2023 02:03:58 +0000 (02:03 +0000)]
ARM: dts: renesas: #sound-dai-cells is used when simple-card

Current sound comment is indicating that #sound-dai-cells is required,
but it is needed only if the board is using "simple-card".
Hence tidy up the comments.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/87edrzi41e.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
18 months agoarm64: dts: renesas: eagle: Add SCIF_CLK support
Geert Uytterhoeven [Mon, 9 Jan 2023 13:35:48 +0000 (14:35 +0100)]
arm64: dts: renesas: eagle: Add SCIF_CLK support

Describe the external SCIF clock crystal, which can be used as a clock
source for the (High Speed) Serial Communication Interfaces with FIFO.

This improves serial console accuracy from 115200-257 bps to
115200+0 bps.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/7dddaa362945118deab534ccfddfc0870abe8526.1673271243.git.geert+renesas@glider.be
18 months agoARM: dts: r9a06g032: Add the USBF controller node
Herve Codina [Thu, 5 Jan 2023 15:22:56 +0000 (16:22 +0100)]
ARM: dts: r9a06g032: Add the USBF controller node

Add the USBF controller available in the r9a06g032 SoC.

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230105152257.310642-5-herve.codina@bootlin.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
18 months agoarm64: dts: renesas: rzg2ul-smarc-som: Add PHY interrupt support for ETH{0/1}
Lad Prabhakar [Mon, 2 Jan 2023 22:18:15 +0000 (22:18 +0000)]
arm64: dts: renesas: rzg2ul-smarc-som: Add PHY interrupt support for ETH{0/1}

The PHY interrupt (INT_N) pin is connected to IRQ2 and IRQ7 for ETH0 and
ETH1 respectively.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230102221815.273719-7-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
18 months agoarm64: dts: renesas: r9a07g043u: Update pinctrl node to handle GPIO interrupts
Lad Prabhakar [Mon, 2 Jan 2023 22:18:14 +0000 (22:18 +0000)]
arm64: dts: renesas: r9a07g043u: Update pinctrl node to handle GPIO interrupts

Add required properties in pinctrl node to handle GPIO interrupts.

Note as IRQC is not enabled in RZ/Five the phandle for interrupt-parent
is added in RZ/G2UL specific dtsi so that RZ/Five pinctrl driver
continues without waiting for IRQC to probe.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230102221815.273719-6-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
18 months agoarm64: dts: renesas: r9a07g043u: Add IRQC node
Lad Prabhakar [Mon, 2 Jan 2023 22:18:13 +0000 (22:18 +0000)]
arm64: dts: renesas: r9a07g043u: Add IRQC node

Add IRQC node to R9A07G043 (RZ/G2UL) SoC DTSI.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230102221815.273719-5-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
18 months agoriscv: dts: renesas: rzfive-smarc-som: Drop PHY interrupt support for ETH{0,1}
Lad Prabhakar [Mon, 2 Jan 2023 22:27:08 +0000 (22:27 +0000)]
riscv: dts: renesas: rzfive-smarc-som: Drop PHY interrupt support for ETH{0,1}

IRQC support for RZ/Five is still missing so drop the interrupts and
interrupt-parent properties from the PHY nodes of ETH{0,1}.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230102222708.274369-1-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
18 months agoarm64: dts: renesas: r8a779g0: Add Cortex-A76 1.8 GHz opp
Geert Uytterhoeven [Thu, 8 Dec 2022 09:57:00 +0000 (10:57 +0100)]
arm64: dts: renesas: r8a779g0: Add Cortex-A76 1.8 GHz opp

Add an operating point for running the Cortex-A76 CPU cores on R-Car
V4H at 1.8 GHz (High Performance mode).

Based on a patch in the BSP by Tho Vu.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/cc2bae27776523f499d01655ef18fe463a3ae1ae.1670492384.git.geert+renesas@glider.be
18 months agoarm64: tegra: Mark host1x as dma-coherent on Tegra194/234
Mikko Perttunen [Thu, 19 Jan 2023 13:38:58 +0000 (15:38 +0200)]
arm64: tegra: Mark host1x as dma-coherent on Tegra194/234

Ensure appropriate configuration is done to make the host1x device
and context devices DMA coherent by adding the dma-coherent flag.

Fixes: b35f5b53a87b ("arm64: tegra: Add context isolation domains on Tegra234")
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
18 months agoMerge tag 'ux500-dts-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw...
Arnd Bergmann [Thu, 26 Jan 2023 09:06:05 +0000 (10:06 +0100)]
Merge tag 'ux500-dts-v6.3' of git://git./linux/kernel/git/linusw/linux-nomadik into arm/dt

Some Ux500 DTS updates for the v6.3 kernel:

- Fix up LED node names

- Add a clkout-node for the external clock

* tag 'ux500-dts-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik:
  ARM: dts: ux500: Add clkout-clock node
  ARM: dts: ste: align LED node names with dtschema

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
18 months agoARM: dts: ux500: Add clkout-clock node
Linus Walleij [Sun, 13 Mar 2022 23:03:54 +0000 (00:03 +0100)]
ARM: dts: ux500: Add clkout-clock node

This adds the DTS node and picks up the include file from the
bindings required to obtain externally routed CLKOUT1 and CLKOUT2
clocks.

Cc: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
18 months agoARM: dts: ste: align LED node names with dtschema
Krzysztof Kozlowski [Fri, 25 Nov 2022 14:41:14 +0000 (15:41 +0100)]
ARM: dts: ste: align LED node names with dtschema

The node names should be generic and DT schema expects certain pattern.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221125144114.476849-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
18 months agoMerge tag 'dt-cleanup-6.3' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk...
Arnd Bergmann [Wed, 25 Jan 2023 16:00:47 +0000 (17:00 +0100)]
Merge tag 'dt-cleanup-6.3' of https://git./linux/kernel/git/krzk/linux-dt into arm/dt

Minor improvements in ARM DTS for v6.3

1. Drop 0x from unit address (socpfga).
2. Align HDMI CEC and LED nodes with bindings (stih410, keystone, dove,
   at91).

* tag 'dt-cleanup-6.3' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-dt:
  ARM: dts: at91: align LED node names with dtschema
  ARM: dts: dove: align LED node names with dtschema
  ARM: dts: keystone: align LED node names with dtschema
  ARM: dts: stih410: align HDMI CEC node names with dtschema
  ARM: dts: socfpga: drop 0x from unit address

Link: https://lore.kernel.org/r/20230122121541.29312-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
18 months agoARM: dts: intel-ixp42x-welltech-epbx100: add ethernet node
Corentin Labbe [Wed, 25 Jan 2023 07:58:38 +0000 (08:58 +0100)]
ARM: dts: intel-ixp42x-welltech-epbx100: add ethernet node

Add ethernet node for the first port of intel-ixp42x-welltech-epbx100.

Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Link: https://lore.kernel.org/r/20221005105510.3512132-1-clabbe@baylibre.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20230125075838.2801020-1-linus.walleij@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
18 months agoMerge tag 'gemini-dts-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw...
Arnd Bergmann [Wed, 25 Jan 2023 15:55:32 +0000 (16:55 +0100)]
Merge tag 'gemini-dts-v6.3' of git://git./linux/kernel/git/linusw/linux-nomadik into arm/dt

Gemini DTS additions and fixes for the v6.3 kernel cycle:

- Fix a schema warning by pushing down flash address/size to
  each device tree.

- Use RedBoot partition parsing properly on Wiliboard devices.

- Fix the FOTG200 USB block version.

- Activate device mode on the DNS-313 now that we merged the
  necessary USB changes.

* tag 'gemini-dts-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik:
  ARM: dts: gemini: Enable DNS313 FOTG210 as periph
  ARM: dts: gemini: Fix USB block version
  ARM: dts: gemini: wbd222: Use RedBoot partion parser
  ARM: dts: gemini: wbd111: Use RedBoot partion parser
  ARM: dts: gemini: Push down flash address/size cells

Link: https://lore.kernel.org/r/CACRpkdb=dDD-y91jdEM01iuioJVDgDwMgS8F46iN84vw_V8BvA@mail.gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
18 months agoMerge patch series "Add a devicetree for the Aldec PolarFire SoC TySoM"
Conor Dooley [Wed, 25 Jan 2023 11:09:32 +0000 (11:09 +0000)]
Merge patch series "Add a devicetree for the Aldec PolarFire SoC TySoM"

As it says on the tin, add a DT for this board. It's been sitting on my
desk for a while, so may as well have it upstream...

The DT is only partially complete, as it needs the fabric content added.
Unfortunately, I don't have a reference design in RTL or SmartDesign
for it and therefore don't know what that fabric content is.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
18 months agoriscv: dts: microchip: add the Aldec TySoM's devicetree
Conor Dooley [Wed, 11 Jan 2023 12:41:07 +0000 (12:41 +0000)]
riscv: dts: microchip: add the Aldec TySoM's devicetree

The TySOM-M-MPFS250 is a compact SoC prototyping board featuring
a Microchip PolarFire SoC MPFS250T-FCG1152. Features include:
- 16 Gib FPGA DDR4
- 16 Gib MSS DDR4 with ECC
- eMMC
- SPI flash memory
- 2x Ethernet 10/100/1000
- USB 2.0
- PCIe x4 Gen2
- HDMI OUT
- 2x FMC connector (HPC and LPC)

Specifically flag this board as rev2, in case later boards have an
FPGA design revision with more features available in the future.

Link: https://www.aldec.com/en/products/emulation/tysom_boards/polarfire_microchip/tysom_m_mpfs250
[Fixed a mistake where I read 16 Gib as 16 GiB!]
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
18 months agoARM: dts: gemini: Enable DNS313 FOTG210 as periph
Linus Walleij [Mon, 23 Jan 2023 07:39:16 +0000 (08:39 +0100)]
ARM: dts: gemini: Enable DNS313 FOTG210 as periph

Add the GPIO-based VBUS phy, and enable the FOTG210
USB1 block for use as peripheral.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20230123073916.2350839-2-linus.walleij@linaro.org
18 months agoARM: dts: gemini: Fix USB block version
Linus Walleij [Mon, 23 Jan 2023 07:39:15 +0000 (08:39 +0100)]
ARM: dts: gemini: Fix USB block version

The FOTG version in the Gemini is the FOTG200, fix this
up.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20230123073916.2350839-1-linus.walleij@linaro.org
18 months agoARM: dts: gemini: wbd222: Use RedBoot partion parser
Linus Walleij [Sun, 4 Dec 2022 19:02:30 +0000 (20:02 +0100)]
ARM: dts: gemini: wbd222: Use RedBoot partion parser

This is clearly a RedBoot partitioned device with 0x20000
sized erase blocks.

Link: https://lore.kernel.org/r/20221204190230.3345590-3-linus.walleij@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
18 months agoARM: dts: gemini: wbd111: Use RedBoot partion parser
Linus Walleij [Sun, 4 Dec 2022 19:02:29 +0000 (20:02 +0100)]
ARM: dts: gemini: wbd111: Use RedBoot partion parser

This is clearly a RedBoot partitioned device with 0x20000
sized erase blocks.

Link: https://lore.kernel.org/r/20221204190230.3345590-2-linus.walleij@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
18 months agoARM: dts: gemini: Push down flash address/size cells
Linus Walleij [Sun, 4 Dec 2022 19:02:28 +0000 (20:02 +0100)]
ARM: dts: gemini: Push down flash address/size cells

The platforms not defining any OF partions complain like
this:

../arch/arm/boot/dts/gemini.dtsi:19.25-28.5: Warning
 (avoid_unnecessary_addr_size): /soc/flash@30000000: unnecessary
 #address-cells/#size-cells without "ranges" or child "reg" property

Get rid of this by only defining the address-cells and
size-cells where it is actually used by OF partitions.

Link: https://lore.kernel.org/r/20221204190230.3345590-1-linus.walleij@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
18 months agoMerge tag 'samsung-drivers-6.3' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Tue, 24 Jan 2023 20:57:52 +0000 (21:57 +0100)]
Merge tag 'samsung-drivers-6.3' of https://git./linux/kernel/git/krzk/linux into arm/dt

Samsung SoC bindings changes for v6.3

1. System Controller: use dedicated/specific compatibles to identify
   different controllers with different register layout (Exynos, Tesla
   FSD). Extend the bindings with missing clocks.
2. Correct maintainers entry for Tesla FSD DTS.

* tag 'samsung-drivers-6.3' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  MAINTAINERS: arm64: tesla: correct pattern for directory
  dt-bindings: soc: samsung: exynos-sysreg: correct indentation for deprecated
  dt-bindings: soc: samsung: exynos-sysreg: add dedicated SYSREG compatibles to Exynosautov9
  dt-bindings: soc: samsung: exynos-sysreg: add dedicated SYSREG compatibles to Exynos850
  dt-bindings: soc: samsung: exynos-sysreg: Add tesla FSD sysreg compatibles
  dt-bindings: soc: samsung: exynos-sysreg: add clocks for Exynos850
  dt-bindings: soc: samsung: exynos-sysreg: add dedicated SYSREG compatibles to Exynos5433
  dt-bindings: soc: samsung: exynos-sysreg: split from syscon

Link: https://lore.kernel.org/r/20230122122605.30720-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
18 months agoMerge tag 'omap-for-v6.3/dt-signed' of git://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Tue, 24 Jan 2023 17:08:04 +0000 (18:08 +0100)]
Merge tag 'omap-for-v6.3/dt-signed' of git://git./linux/kernel/git/tmlind/linux-omap into arm/dt

Devicetree related changes for omaps for v6.3

Updates for am335x-nano, n900, and gta04 for the connected peripherals.
Also few corrections for node names.

* tag 'omap-for-v6.3/dt-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  ARM: dts: omap: gta04a5: cleanup i2c node names
  ARM: dts: omap: gta04: add BNO055 IMU chip
  ARM: dts: n900: use iio driver for accelerometer
  ARM: dts: n900: rename accelerometer node
  ARM: dts: am335x-nano: Enable USB host
  ARM: dts: am335x-nano: Fix GPIO settings for MMC pins
  ARM: dts: am335x-nano: Enable I2C temperature sensor
  ARM: dts: am335x-nano: Enable RS485 mode for UART3 & 4
  ARM: dts: am335x-nano: Fix GPIO settings for RTS/CTS pins on UART3 & 4
  ARM: dts: ti: Fix pca954x i2c-mux node names
  ARM: dts: omap: Use new media bus type macros

Link: https://lore.kernel.org/r/pull-1674566471-434733@atomide.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
18 months agoMerge tag 'samsung-dt64-6.3' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk...
Arnd Bergmann [Tue, 24 Jan 2023 17:07:12 +0000 (18:07 +0100)]
Merge tag 'samsung-dt64-6.3' of https://git./linux/kernel/git/krzk/linux into arm/dt

Samsung DTS ARM64 changes for v6.3

1. Add L2 cache properties (Exynos, Tesla FSD).
2. Tesla FSD: add Bosch MCAN (CAN bus), sound card (audio card with
   codec and I2S controllers), system controller nodes.
3. Tesla FSD: correct pin pull up/down properties to match
   recommendation in user manual.
4. Minor cleanups: use dedicated/specific sysreg compatibles, fix
   dtbs_check warnings, drop unsupported properties1

* tag 'samsung-dt64-6.3' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  arm64: dts: fsd: Add sound card node for Tesla FSD
  arm64: dts: fsd: Add codec node for Tesla FSD
  arm64: dts: fsd: Add I2S DAI node for Tesla FSD
  arm64: dts: exynos: drop unsupported I2C properties in Espresso
  arm64: dts: fsd: fix PUD values as per FSD HW UM
  arm64: dts: exynos: add dedicated SYSREG compatibles to Exynosautov9
  arm64: dts: exynos: add dedicated SYSREG compatibles to Exynos850
  arm64: dts: fsd: add sysreg device node
  arm64: dts: exynos: correct properties of MAX98504 in TM2
  arm64: dts: exynos: drop clock-frequency from CPU nodes in TM2
  arm64: dts: exynos: drop pwm-names from MAX77843 haptic in TM2
  arm64: dts: exynos: use 8-bit for SPI IR LED duty-cycle in TM2
  arm64: dts: exynos: add dedicated SYSREG compatibles to Exynos5433
  arm64: dts: fsd: Add MCAN device node
  arm64: dts: fsd: Update cache properties
  arm64: dts: exynos: Update cache properties

Link: https://lore.kernel.org/r/20230122122605.30720-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
18 months agoMerge tag 'dt64-cleanup-6.3' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk...
Arnd Bergmann [Tue, 24 Jan 2023 17:06:42 +0000 (18:06 +0100)]
Merge tag 'dt64-cleanup-6.3' of https://git./linux/kernel/git/krzk/linux-dt into arm/dt

Minor improvements in ARM64 DTS for v6.3

1. Drop 0x from unit address (microchip).
2. Align HDMI CEC and LED nodes with bindings (hisilicon).

* tag 'dt64-cleanup-6.3' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-dt:
  arm64: dts: hisilicon: align LED node names with dtschema
  arm64: dts: microchip: drop 0x from unit address

Link: https://lore.kernel.org/r/20230122121541.29312-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
18 months agoMerge tag 'at91-dt-6.3' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux...
Arnd Bergmann [Tue, 24 Jan 2023 17:05:42 +0000 (18:05 +0100)]
Merge tag 'at91-dt-6.3' of https://git./linux/kernel/git/at91/linux into arm/dt

AT91 device tree updates for 6.3:

It contains:
- the addition of XISC (eXtended Image Sensor Controller) and CSI2DC (csi2
  demux controller) available in SAMA7G5

* tag 'at91-dt-6.3' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux:
  ARM: dts: at91: sama7g5: add nodes for video capture

Link: https://lore.kernel.org/r/20230119112903.43257-1-claudiu.beznea@microchip.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
18 months agoMerge tag 'renesas-dts-for-v6.3-tag1' of git://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Tue, 24 Jan 2023 17:03:20 +0000 (18:03 +0100)]
Merge tag 'renesas-dts-for-v6.3-tag1' of git://git./linux/kernel/git/geert/renesas-devel into arm/dt

Renesas DT updates for v6.3

  - Enable watchdog and timer (OSTM) support for the RZ/Five SMARC EVK
    development board,
  - Add operating points for the Cortex-A55 CPU cores on the R-Car S4-8
    SoC,
  - Add display support for the R-Car V4H SoC and the White-Hawk
    development board,
  - Add eMMC and SDHI support for the RZ/V2M SoC,
  - Miscellaneous fixes and improvements.

* tag 'renesas-dts-for-v6.3-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
  arm64: dts: renesas: condor-i: add HS400 support for eMMC
  arm64: boot: dts: r8a774[a/b/e]1-beacon: Consolidate sound clocks
  riscv: dts: renesas: rzfive-smarc-som: Enable OSTM nodes
  arm64: dts: renesas: ulcb-kf: Fix pca9548 i2c-mux node names
  arm64: dts: renesas: r9a09g011: Add eMMC and SDHI support
  arm64: dts: renesas: white-hawk-cpu: Add DP output support
  arm64: dts: renesas: r8a779g0: Add display related nodes
  arm64: dts: renesas: r8a779f0: Add CA55 operating points
  riscv: dts: renesas: rzfive-smarc-som: Enable WDT

Link: https://lore.kernel.org/r/cover.1673702293.git.geert+renesas@glider.be
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
18 months agoarm64: tegra: Populate the XUDC node for Tegra234
Jon Hunter [Thu, 19 Jan 2023 10:42:08 +0000 (10:42 +0000)]
arm64: tegra: Populate the XUDC node for Tegra234

Populate the Tegra XUSB device controller (XUDC) node for Tegra234.

This is based upon a patch from Wayne Chang <waynec@nvidia.com>.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
18 months agoarm64: tegra: Add dma-coherent property for Tegra194 XUDC
Jon Hunter [Thu, 19 Jan 2023 10:42:05 +0000 (10:42 +0000)]
arm64: tegra: Add dma-coherent property for Tegra194 XUDC

DMA operations for XUSB device controller (XUDC) are coherent for
Tegra194 and so add the 'dma-coherent' property for this device.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
18 months agoARM: tegra: Sort nodes by unit-address, then alphabetically
Thierry Reding [Tue, 22 Nov 2022 10:21:18 +0000 (11:21 +0100)]
ARM: tegra: Sort nodes by unit-address, then alphabetically

Nodes in device tree should be sorted by unit-address, followed by nodes
without a unit-address, sorted alphabetically. Some exceptions are the
top-level aliases, chosen, firmware, memory and reserved-memory nodes,
which are expected to come first.

These rules apply recursively with some exceptions, such as pinmux nodes
or regulator nodes, which often follow more complicated ordering (often
by "importance").

While at it, change the name of some of the nodes to follow standard
naming conventions, which helps with the sorting order and reduces the
amount of warnings from the DT validation tools.

Signed-off-by: Thierry Reding <treding@nvidia.com>
18 months agoARM: dts: renesas: Use new media bus type macros
Laurent Pinchart [Wed, 15 Jun 2022 22:14:09 +0000 (01:14 +0300)]
ARM: dts: renesas: Use new media bus type macros

Now that a header exists with macros for the media interface bus-type
values, replace hardcoding numerical constants with the corresponding
macros in the DT sources.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20220615221410.27459-6-laurent.pinchart@ideasonboard.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
18 months agodt-bindings: soc: renesas: Add RZ/V2M PWC
Fabrizio Castro [Fri, 6 Jan 2023 12:58:15 +0000 (12:58 +0000)]
dt-bindings: soc: renesas: Add RZ/V2M PWC

The Renesas RZ/V2M External Power Sequence Controller (PWC) IP
is capable of:
* external power supply on/off sequence generation
* on/off signal generation for the LPDDR4 core power supply (LPVDD)
* key input signals processing
* general-purpose output pins

Add the corresponding dt-bindings.

Signed-off-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20230106125816.10600-2-fabrizio.castro.jz@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
18 months agodt-bindings: riscv: microchip: document the Aldec TySoM
Conor Dooley [Wed, 11 Jan 2023 12:41:06 +0000 (12:41 +0000)]
dt-bindings: riscv: microchip: document the Aldec TySoM

The TySOM-M-MPFS250 is a compact SoC prototyping board featuring
a Microchip PolarFire SoC MPFS250T-FCG1152.
Document rev2 of this board.

Link: https://www.aldec.com/en/products/emulation/tysom_boards/polarfire_microchip/tysom_m_mpfs250
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
18 months agodt-bindings: vendor-prefixes: Add entry for Aldec
Conor Dooley [Wed, 11 Jan 2023 12:41:05 +0000 (12:41 +0000)]
dt-bindings: vendor-prefixes: Add entry for Aldec

Per their website:
Aldec, Inc. is an industry-leading Electronic Design Automation (EDA)
company delivering innovative design creation, simulation and
verification solutions to assist in the development of complex FPGA,
ASIC, SoC and embedded system designs.

Link: https://www.aldec.com/
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
18 months agoARM: dts: omap: gta04a5: cleanup i2c node names
Andreas Kemnade [Tue, 17 Jan 2023 22:30:59 +0000 (23:30 +0100)]
ARM: dts: omap: gta04a5: cleanup i2c node names

Use generic node names.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Message-Id: <20230117223059.2609390-1-andreas@kemnade.info>
Signed-off-by: Tony Lindgren <tony@atomide.com>
18 months agoARM: dts: omap: gta04: add BNO055 IMU chip
Andreas Kemnade [Tue, 17 Jan 2023 22:30:02 +0000 (23:30 +0100)]
ARM: dts: omap: gta04: add BNO055 IMU chip

There is finally a driver upstreamed, so add the
device.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Message-Id: <20230117223002.2609301-1-andreas@kemnade.info>
Signed-off-by: Tony Lindgren <tony@atomide.com>
18 months agoARM: dts: n900: use iio driver for accelerometer
Sicelo A. Mhlongo [Thu, 29 Dec 2022 17:13:48 +0000 (19:13 +0200)]
ARM: dts: n900: use iio driver for accelerometer

The accelerometer in the N900 is supported by the iio-framework since commit
8a7449d68670a8f9 ("iio: accel: add support for LIS302DL variant). This commit
switches to it and updates node properties to match the bindings of the new
compatible.

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Sicelo A. Mhlongo <absicsz@gmail.com>
Message-Id: <20221229171348.3543327-3-absicsz@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
18 months agoARM: dts: n900: rename accelerometer node
Sicelo A. Mhlongo [Thu, 29 Dec 2022 17:13:47 +0000 (19:13 +0200)]
ARM: dts: n900: rename accelerometer node

Use generic node naming for lis302dl accelerometer, and drop its
label that is not used anywhere else.

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Sicelo A. Mhlongo <absicsz@gmail.com>
Message-Id: <20221229171348.3543327-2-absicsz@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
18 months agoARM: dts: am335x-nano: Enable USB host
Mark Jackson [Wed, 30 Nov 2022 14:05:47 +0000 (14:05 +0000)]
ARM: dts: am335x-nano: Enable USB host

Add missing entry to enable the USB host.

Signed-off-by: Mark Jackson <mpfj@newflow.co.uk>
Message-Id: <20221130140547.295859-6-mpfj@newflow.co.uk>
Signed-off-by: Tony Lindgren <tony@atomide.com>
18 months agoARM: dts: am335x-nano: Fix GPIO settings for MMC pins
Mark Jackson [Wed, 30 Nov 2022 14:05:46 +0000 (14:05 +0000)]
ARM: dts: am335x-nano: Fix GPIO settings for MMC pins

The MMC slot uses GPIO pins for Write Protext and Card Detect.
Define these so everything works correctly.

Signed-off-by: Mark Jackson <mpfj@newflow.co.uk>
Message-Id: <20221130140547.295859-5-mpfj@newflow.co.uk>
Signed-off-by: Tony Lindgren <tony@atomide.com>
18 months agoARM: dts: am335x-nano: Enable I2C temperature sensor
Mark Jackson [Wed, 30 Nov 2022 14:05:45 +0000 (14:05 +0000)]
ARM: dts: am335x-nano: Enable I2C temperature sensor

The NanoBone platform supports a temperature sensor on the I2C bus.

Signed-off-by: Mark Jackson <mpfj@newflow.co.uk>
Message-Id: <20221130140547.295859-4-mpfj@newflow.co.uk>
Signed-off-by: Tony Lindgren <tony@atomide.com>
18 months agoARM: dts: am335x-nano: Enable RS485 mode for UART3 & 4
Mark Jackson [Wed, 30 Nov 2022 14:05:44 +0000 (14:05 +0000)]
ARM: dts: am335x-nano: Enable RS485 mode for UART3 & 4

UART3 & 4 are both RS485 ports.
So we need to configure and enable this by default.

Signed-off-by: Mark Jackson <mpfj@newflow.co.uk>
Message-Id: <20221130140547.295859-3-mpfj@newflow.co.uk>
Signed-off-by: Tony Lindgren <tony@atomide.com>
18 months agoARM: dts: am335x-nano: Fix GPIO settings for RTS/CTS pins on UART3 & 4
Mark Jackson [Wed, 30 Nov 2022 14:05:43 +0000 (14:05 +0000)]
ARM: dts: am335x-nano: Fix GPIO settings for RTS/CTS pins on UART3 & 4

The NanoBone platform uses GPIO pins for RTS/CTS control.
The DTS still uses the hardware RTS/CTS pins so this needs fixing.

Signed-off-by: Mark Jackson <mpfj@newflow.co.uk>
Message-Id: <20221130140547.295859-2-mpfj@newflow.co.uk>
Signed-off-by: Tony Lindgren <tony@atomide.com>
18 months agoARM: dts: ti: Fix pca954x i2c-mux node names
Geert Uytterhoeven [Fri, 2 Dec 2022 16:49:16 +0000 (17:49 +0100)]
ARM: dts: ti: Fix pca954x i2c-mux node names

"make dtbs_check":

    arch/arm/boot/dts/am3874-iceboard.dtb: pca9548@70: $nodename:0: 'pca9548@70' does not match '^(i2c-?)?mux'
    From schema: Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml
    arch/arm/boot/dts/am3874-iceboard.dtb: pca9548@70: Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'i2c@0', 'i2c@1', 'i2c@2', 'i2c@3', 'i2c@4', 'i2c@5', 'i2c@6', 'i2c@7' were unexpected)
    From schema: Documentation/devicetree/bindings/i2c/i2c-mux-pca954x.yaml
    ...

Fix this by renaming PCA954x nodes to "i2c-mux", to match the I2C bus
multiplexer/switch DT bindings and the Generic Names Recommendation in
the Devicetree Specification.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Message-Id: <bc964109db8a5f29124580165e925bd3bfe36661.1669999298.git.geert+renesas@glider.be>
Signed-off-by: Tony Lindgren <tony@atomide.com>
18 months agoARM: dts: omap: Use new media bus type macros
Laurent Pinchart [Wed, 15 Jun 2022 22:14:08 +0000 (01:14 +0300)]
ARM: dts: omap: Use new media bus type macros

Now that a header exists with macros for the media interface bus-type
values, replace hardcoding numerical constants with the corresponding
macros in the DT sources.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Message-Id: <20220615221410.27459-5-laurent.pinchart@ideasonboard.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
18 months agoarm64: dts: qcom: sc7280: Add a carveout for modem metadata
Sibi Sankar [Tue, 17 Jan 2023 08:58:40 +0000 (14:28 +0530)]
arm64: dts: qcom: sc7280: Add a carveout for modem metadata

Add a new carveout for modem metadata on SC7280 SoCs.

Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230117085840.32356-12-quic_sibis@quicinc.com
18 months agoarm64: dts: qcom: sc7180: Add a carveout for modem metadata
Sibi Sankar [Tue, 17 Jan 2023 08:58:39 +0000 (14:28 +0530)]
arm64: dts: qcom: sc7180: Add a carveout for modem metadata

Add a new carveout for modem metadata on SC7180 SoCs.

Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230117085840.32356-11-quic_sibis@quicinc.com
18 months agoarm64: dts: qcom: sdm845: Add a carveout for modem metadata
Sibi Sankar [Tue, 17 Jan 2023 08:58:38 +0000 (14:28 +0530)]
arm64: dts: qcom: sdm845: Add a carveout for modem metadata

Add a new carveout for modem metadata on SDM845 SoCs.

Tested-by: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230117085840.32356-10-quic_sibis@quicinc.com
18 months agoarm64: dts: qcom: msm8998: Add a carveout for modem metadata
Sibi Sankar [Tue, 17 Jan 2023 08:58:37 +0000 (14:28 +0530)]
arm64: dts: qcom: msm8998: Add a carveout for modem metadata

Add a new carveout for modem metadata on MSM8998 SoCs.

Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230117085840.32356-9-quic_sibis@quicinc.com
18 months agoarm64: dts: qcom: msm8996: Add a carveout for modem metadata
Sibi Sankar [Tue, 17 Jan 2023 08:58:36 +0000 (14:28 +0530)]
arm64: dts: qcom: msm8996: Add a carveout for modem metadata

Add a new carveout for modem metadata on MSM8996 SoCs.

Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230117085840.32356-8-quic_sibis@quicinc.com
18 months agoarm64: dts: qcom: ipq8074: correct PCIe QMP PHY output clock names
Robert Marko [Fri, 13 Jan 2023 16:44:49 +0000 (17:44 +0100)]
arm64: dts: qcom: ipq8074: correct PCIe QMP PHY output clock names

Current PCIe QMP PHY output name were changed in ("arm64: dts: qcom: Fix
IPQ8074 PCIe PHY nodes") however it did not account for the fact that GCC
driver is relying on the old names to match them as they are being used as
the parent for the gcc_pcie0_pipe_clk and gcc_pcie1_pipe_clk.

This broke parenting as GCC could not find the parent clock, so fix it by
changing to the names that driver is expecting.

Fixes: 942bcd33ed45 ("arm64: dts: qcom: Fix IPQ8074 PCIe PHY nodes")
Signed-off-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230113164449.906002-9-robimarko@gmail.com
18 months agoarm64: dts: qcom: ipq8074: fix Gen3 PCIe node
Robert Marko [Fri, 13 Jan 2023 16:44:48 +0000 (17:44 +0100)]
arm64: dts: qcom: ipq8074: fix Gen3 PCIe node

IPQ8074 comes in 2 silicon versions:
* v1 with 2x Gen2 PCIe ports and QMP PHY-s
* v2 with 1x Gen3 and 1x Gen2 PCIe ports and QMP PHY-s

v2 is the final and production version that is actually supported by the
kernel, however it looks like PCIe related nodes were added for the v1 SoC.

Finish the PCIe fixup by using the correct compatible, adding missing ATU
register space, declaring max-link-speed, use correct ranges, add missing
clocks and resets.

Fixes: 33057e1672fe ("ARM: dts: ipq8074: Add pcie nodes")
Signed-off-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230113164449.906002-8-robimarko@gmail.com
18 months agoarm64: dts: qcom: ipq8074: set Gen2 PCIe pcie max-link-speed
Robert Marko [Fri, 13 Jan 2023 16:44:44 +0000 (17:44 +0100)]
arm64: dts: qcom: ipq8074: set Gen2 PCIe pcie max-link-speed

Add the generic 'max-link-speed' property to describe the Gen2 PCIe link
generation limit.
This allows the generic DWC code to configure the link speed correctly.

Signed-off-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230113164449.906002-4-robimarko@gmail.com
18 months agoarm64: dts: qcom: ipq8074: correct Gen2 PCIe ranges
Robert Marko [Fri, 13 Jan 2023 16:44:43 +0000 (17:44 +0100)]
arm64: dts: qcom: ipq8074: correct Gen2 PCIe ranges

Current ranges property set in Gen2 PCIe node is incorrect, replace it
with the downstream 5.4 QCA kernel value.

Fixes: 33057e1672fe ("ARM: dts: ipq8074: Add pcie nodes")
Signed-off-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230113164449.906002-3-robimarko@gmail.com
18 months agoarm64: dts: qcom: ipq8074: fix Gen3 PCIe QMP PHY
Robert Marko [Fri, 13 Jan 2023 16:44:42 +0000 (17:44 +0100)]
arm64: dts: qcom: ipq8074: fix Gen3 PCIe QMP PHY

IPQ8074 comes in 2 silicon versions:
* v1 with 2x Gen2 PCIe ports and QMP PHY-s
* v2 with 1x Gen3 and 1x Gen2 PCIe ports and QMP PHY-s

v2 is the final and production version that is actually supported by the
kernel, however it looks like PCIe related nodes were added for the v1 SoC.

Now that we have Gen3 QMP PHY support, we can start fixing the PCIe support
by fixing the Gen3 QMP PHY node first.

Change the compatible to the Gen3 QMP PHY, correct the register space start
and size, add the missing misc PCS register space.

Fixes: 33057e1672fe ("ARM: dts: ipq8074: Add pcie nodes")
Signed-off-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230113164449.906002-2-robimarko@gmail.com
18 months agoarm64: dts: qcom: ipq8074: fix Gen2 PCIe QMP PHY
Robert Marko [Fri, 13 Jan 2023 16:44:41 +0000 (17:44 +0100)]
arm64: dts: qcom: ipq8074: fix Gen2 PCIe QMP PHY

Serdes register space sizes are incorrect, update them to match the
actual sizes from downstream QCA 5.4 kernel.

Fixes: 942bcd33ed45 ("arm64: dts: qcom: Fix IPQ8074 PCIe PHY nodes")
Signed-off-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230113164449.906002-1-robimarko@gmail.com
18 months agoarm64: dts: qcom: sdm845-db845c: drop label from I2C controllers
Krzysztof Kozlowski [Fri, 13 Jan 2023 14:52:31 +0000 (15:52 +0100)]
arm64: dts: qcom: sdm845-db845c: drop label from I2C controllers

Geni I2C Controller node does not allow a "label" property and Linux
driver does not parse it:

  sdm845-db845c.dtb: i2c@a8c000: Unevaluated properties are not allowed ('label' was unexpected)

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230113145231.79280-1-krzysztof.kozlowski@linaro.org
18 months agoarm64: dts: qcom: msm8996: support using GPLL0 as kryocc input
Dmitry Baryshkov [Fri, 13 Jan 2023 12:05:44 +0000 (14:05 +0200)]
arm64: dts: qcom: msm8996: support using GPLL0 as kryocc input

In some cases the driver might need using GPLL0 to drive CPU clocks.
Bring it in through the sys_apcs_aux clock.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230113120544.59320-15-dmitry.baryshkov@linaro.org
18 months agoarm64: dts: qcom: sm8450: Allow both GIC-ITS and internal MSI controller
Manivannan Sadhasivam [Wed, 11 Jan 2023 12:30:04 +0000 (18:00 +0530)]
arm64: dts: qcom: sm8450: Allow both GIC-ITS and internal MSI controller

The devicetree should specify both MSI implementations and the OS/driver
should choose the one based on the platform requirements. Currently, Linux
DWC driver will choose GIC-ITS over the internal MSI controller.

Fixes: a11bbf6adef4 ("arm64: dts: qcom: sm8450: Use GIC-ITS for PCIe0 and PCIe1")
Suggested-by: Rob Herring <robh@kernel.org>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230111123004.21048-2-manivannan.sadhasivam@linaro.org
18 months agoARM: dts: qcom: msm8226: add RPMCC node
Rayyan Ansari [Wed, 18 Jan 2023 18:13:43 +0000 (18:13 +0000)]
ARM: dts: qcom: msm8226: add RPMCC node

Add a node for the RPM Clock Controller on MSM8226.

Signed-off-by: Rayyan Ansari <rayyan@ansari.sh>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230118181343.438373-1-rayyan@ansari.sh
18 months agoarm64: dts: qcom: sm8550-mtp: Add USB PHYs and HC nodes
Abel Vesa [Thu, 19 Jan 2023 00:45:33 +0000 (02:45 +0200)]
arm64: dts: qcom: sm8550-mtp: Add USB PHYs and HC nodes

Enable USB HC and PHYs nodes on SM8550 MTP board.

Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230119004533.1869870-3-abel.vesa@linaro.org
18 months agoarm64: dts: qcom: sm8550: Add USB PHYs and controller nodes
Abel Vesa [Thu, 19 Jan 2023 00:45:32 +0000 (02:45 +0200)]
arm64: dts: qcom: sm8550: Add USB PHYs and controller nodes

Add USB host controller and PHY nodes.

Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230119004533.1869870-2-abel.vesa@linaro.org
18 months agoARM: dts: qcom: apq8084: add clocks and clock-names to gcc device
Dmitry Baryshkov [Wed, 11 Jan 2023 06:04:02 +0000 (08:04 +0200)]
ARM: dts: qcom: apq8084: add clocks and clock-names to gcc device

Add clocks and clock-names nodes to the gcc device to bind clocks using
the DT links.

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230111060402.1168726-13-dmitry.baryshkov@linaro.org
18 months agoarm64: dts: qcom: sm8250: drop unused properties from tx-macro
Krzysztof Kozlowski [Mon, 9 Jan 2023 11:22:21 +0000 (12:22 +0100)]
arm64: dts: qcom: sm8250: drop unused properties from tx-macro

Neither qcom,sm8250-lpass-tx-macro bindings nor the driver use
"clock-frequency" and address/size cells properties.

  sm8250-mtp.dtb: txmacro@3220000: Unevaluated properties are not allowed ('clock-frequency', '#address-cells', '#size-cells' were unexpected)

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230109112221.102473-4-krzysztof.kozlowski@linaro.org
18 months agoarm64: dts: qcom: sm8250: drop unused clock-frequency from wsa-macro
Krzysztof Kozlowski [Mon, 9 Jan 2023 11:22:20 +0000 (12:22 +0100)]
arm64: dts: qcom: sm8250: drop unused clock-frequency from wsa-macro

Neither qcom,sm8250-lpass-wsa-macro bindings nor the driver use
"clock-frequency" property.

  sm8250-hdk.dtb: codec@3240000: Unevaluated properties are not allowed ('clock-frequency' was unexpected)

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230109112221.102473-3-krzysztof.kozlowski@linaro.org
18 months agoarm64: dts: qcom: align OPP table node name with DT schema
Krzysztof Kozlowski [Mon, 9 Jan 2023 11:22:19 +0000 (12:22 +0100)]
arm64: dts: qcom: align OPP table node name with DT schema

Bindings expect OPP tables to start with "opp-table".

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230109112221.102473-2-krzysztof.kozlowski@linaro.org
18 months agoARM: dts: qcom: align OPP table node name with DT schema
Krzysztof Kozlowski [Mon, 9 Jan 2023 11:22:18 +0000 (12:22 +0100)]
ARM: dts: qcom: align OPP table node name with DT schema

Bindings expect OPP tables to start with "opp-table".

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230109112221.102473-1-krzysztof.kozlowski@linaro.org
18 months agoARM: dts: qcom: rename mdp nodes to display-controller
Dmitry Baryshkov [Mon, 9 Jan 2023 05:14:02 +0000 (07:14 +0200)]
ARM: dts: qcom: rename mdp nodes to display-controller

Follow the schema change and rename mdp nodes to generic name
'display-controller'.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230109051402.317577-7-dmitry.baryshkov@linaro.org
18 months agoARM: dts: qcom-msm8974: rename mdss node to display-subsystem
Dmitry Baryshkov [Mon, 9 Jan 2023 05:14:00 +0000 (07:14 +0200)]
ARM: dts: qcom-msm8974: rename mdss node to display-subsystem

Follow the schema change and rename mdss node to generic name
'display-subsystem'.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230109051402.317577-5-dmitry.baryshkov@linaro.org
18 months agoarm64: dts: qcom: rename mdp nodes to display-controller
Dmitry Baryshkov [Mon, 9 Jan 2023 05:14:01 +0000 (07:14 +0200)]
arm64: dts: qcom: rename mdp nodes to display-controller

Follow the schema change and rename mdp nodes to generic name
'display-controller'.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230109051402.317577-6-dmitry.baryshkov@linaro.org
18 months agoarm64: dts: qcom: rename mdss nodes to display-subsystem
Dmitry Baryshkov [Mon, 9 Jan 2023 05:13:59 +0000 (07:13 +0200)]
arm64: dts: qcom: rename mdss nodes to display-subsystem

Follow the schema change and rename mdss nodes to generic name
'display-subsystem'.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230109051402.317577-4-dmitry.baryshkov@linaro.org
18 months agoARM: dts: qcom-msm8974: add SoC specific compat string to mdp5 node
Dmitry Baryshkov [Mon, 9 Jan 2023 05:01:51 +0000 (07:01 +0200)]
ARM: dts: qcom-msm8974: add SoC specific compat string to mdp5 node

Add SoC-specific compat string to the MDP5 device node to ease
distinguishing between various platforms.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230109050152.316606-4-dmitry.baryshkov@linaro.org
18 months agoarm64: dts: qcom: add SoC specific compat strings to mdp5 nodes
Dmitry Baryshkov [Mon, 9 Jan 2023 05:01:52 +0000 (07:01 +0200)]
arm64: dts: qcom: add SoC specific compat strings to mdp5 nodes

Add SoC-specific compat string to the MDP5 device nodes to ease
distinguishing between various platforms.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230109050152.316606-5-dmitry.baryshkov@linaro.org