platform/kernel/linux-starfive.git
5 years agoMerge tag 'sunxi-dt-for-4.21' of https://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Wed, 12 Dec 2018 20:48:57 +0000 (12:48 -0800)]
Merge tag 'sunxi-dt-for-4.21' of https://git./linux/kernel/git/sunxi/linux into next/dt

Allwinner DT changes for 4.21

This is a quite big pull request this time, with a huge number of changes
(and patches) due to us fixing the vast majority of the DTC warnings our DT
had.

We also have a bunch of other good, more meaningful, changes:
  - Support for the new Allwinner T3 (rebranded R40) and f1c100s (armv5)
    SoCs
  - AXP803 PMIC AC Power supply support
  - Rework of the oscillators tree
  - Two new boards: the t3-cqa3t-bv3 and Lichee Pi Nano

Plus a few enhancements here and there.

* tag 'sunxi-dt-for-4.21' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux: (84 commits)
  ARM: dts: sunxi: Fix PMU compatible strings
  ARM: dts: sun8i: r40: Add RTC device node
  ARM: dts: sunxi: h3/h5: Fix up RTC device node and clock references
  ARM: dts: sun8i: a23/a33: Fix up RTC device node
  ARM: dts: sun8i: r40: Add clock accuracy for external oscillators
  ARM: dts: sunxi: h3/h5: Add clock accuracy for external oscillators
  ARM: dts: sun8i: a33: Drop audio codec oversampling rate to 128 fs
  ARM: dts: sun8i: h3: Remove unnecessary reserved memory node
  ARM: dts: sun8i: a33: Remove unnecessary reserved memory node
  ARM: dts: suniv: Add device tree for Lichee Pi Nano
  ARM: dts: suniv: add initial DTSI file for F1C100s
  ARM: dts: axp81x: add AC power supply subnode
  ARM: dts: sun8i: v3s: Remove skeleton and memory to avoid warnings
  ARM: dts: sun8i: v3s: Provide default muxing for relevant controllers
  ARM: dts: sun8i: v3s: Change pinctrl nodes to avoid warning
  ARM: dts: sun8i: v3s: Change LRADC node names to avoid warnings
  ARM: dts: sun8i: h3: Remove leading zeros from unit-addresses
  ARM: dts: sun8i: BPI-M2M: Remove i2c nodes
  ARM: dts: sun8i: a23/a33: Provide default muxing for relevant controllers
  ARM: dts: sunxi: reference: Move the muxing back to the common DTSI
  ...

Signed-off-by: Olof Johansson <olof@lixom.net>
5 years agoMerge tag 'tegra-for-4.21-arm64-dt' of git://git.kernel.org/pub/scm/linux/kernel...
Olof Johansson [Tue, 11 Dec 2018 16:10:09 +0000 (08:10 -0800)]
Merge tag 'tegra-for-4.21-arm64-dt' of git://git./linux/kernel/git/tegra/linux into next/dt

arm64: tegra: Device tree change for v4.21-rc1

These changes add a bunch of features for Tegra194 and Tegra186, such as
wake events, on-die RTC, temperature sensors, HDA for audio over HDMI
and fan support on Jetson Xavier to allow cooling of the device.

* tag 'tegra-for-4.21-arm64-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux: (29 commits)
  arm64: tegra: Set reg property for display-hub on Tegra194
  arm64: tegra: Set reg property for display-hub on Tegra186
  arm64: dts: tegra186: Enable IOMMU for SDHCI
  arm64: tegra: Enable HDA controller on Jetson TX1
  arm64: tegra: Add CEC controller on Tegra194
  arm64: tegra: Enable HDA on Jetson Xavier
  arm64: tegra: Add HDA controller on Tegra194
  arm64: tegra: Add CEC controller on Tegra186
  arm64: tegra: Enable HDA on Jetson TX2
  arm64: tegra: Add HDA controller on Tegra186
  arm64: tegra: Add temperature sensor on P2888
  arm64: tegra: Add gpio-keys on Jetson Xavier
  arm64: tegra: Add AON GPIO controller on Tegra194
  arm64: tegra: p2888: Enable on-die RTC
  arm64: tegra: Add RTC support on Tegra194
  arm64: tegra: Enable PMC wake events on Tegra194
  arm64: tegra: p3310: Enable on-die RTC
  arm64: tegra: Add RTC support on Tegra186
  arm64: tegra: Enable PMC wake events on Tegra186
  arm64: tegra: Fix power key interrupt type on Jetson TX2
  ...

Signed-off-by: Olof Johansson <olof@lixom.net>
5 years agoMerge tag 'tegra-for-4.21-arm-dt' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Tue, 11 Dec 2018 16:06:35 +0000 (08:06 -0800)]
Merge tag 'tegra-for-4.21-arm-dt' of git://git./linux/kernel/git/tegra/linux into next/dt

ARM: tegra: Device tree changes for v4.21-rc1

These changes add the external memory controller on Tegra20 as well as
the VIC on Tegra124.

* tag 'tegra-for-4.21-arm-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  ARM: tegra: Add VIC on Tegra124
  ARM: dts: tegra20: Add clock entry to External Memory Controller
  ARM: dts: tegra20: Add interrupt entry to External Memory Controller

Signed-off-by: Olof Johansson <olof@lixom.net>
5 years agoMerge tag 'tegra-for-4.21-dt-bindings' of git://git.kernel.org/pub/scm/linux/kernel...
Olof Johansson [Tue, 11 Dec 2018 16:05:17 +0000 (08:05 -0800)]
Merge tag 'tegra-for-4.21-dt-bindings' of git://git./linux/kernel/git/tegra/linux into next/dt

dt-bindings: Changes for v4.21-rc1

This contains a few cleanups of and additions to existing device tree
bindings, such as XUSB, EMC, PMC and thermal.

* tag 'tegra-for-4.21-dt-bindings' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  dt-bindings: tegra186-pmc: Add interrupt controller properties
  dt-bindings: thermal: tegra-bpmp: Add Tegra194 support
  dt: bindings: Move tegra20-emc binding to memory-controllers directory
  dt: bindings: tegra20-emc: Document clock property
  dt: bindings: tegra20-emc: Document interrupt property
  dt-bindings: usb: xhci-tegra: Add power-domain details

Signed-off-by: Olof Johansson <olof@lixom.net>
5 years agoMerge tag 'renesas-dt-bindings-for-v4.21' of https://git.kernel.org/pub/scm/linux...
Olof Johansson [Tue, 11 Dec 2018 16:05:01 +0000 (08:05 -0800)]
Merge tag 'renesas-dt-bindings-for-v4.21' of https://git./linux/kernel/git/horms/renesas into next/dt

Renesas ARM Based SoC DT Bindings Updates for v4.21

* Move 'renesas,prr' binding to its own document
  - Prepration for converting board-level bindings to json-schema

* Document iW-RainboW-G20D-Qseven-RZG1N board and iWave RZ/G1N SOM

* tag 'renesas-dt-bindings-for-v4.21' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  dt-bindings: arm: renesas: Move 'renesas,prr' binding to its own doc
  dt-bindings: arm: renesas: Document iW-RainboW-G20D-Qseven-RZG1N board
  dt-bindings: arm: renesas: Document iWave RZ/G1N SOM

Signed-off-by: Olof Johansson <olof@lixom.net>
5 years agoMerge tag 'renesas-arm-dt2-for-v4.21' of https://git.kernel.org/pub/scm/linux/kernel...
Olof Johansson [Tue, 11 Dec 2018 16:03:48 +0000 (08:03 -0800)]
Merge tag 'renesas-arm-dt2-for-v4.21' of https://git./linux/kernel/git/horms/renesas into next/dt

Second Round of Renesas ARM Based SoC DT Updates for v4.21

* RZ/G1N (r8a7744) SoC
  - Describe in DT: SYS-DMAC, GPIO, Ethernet AVB, SMP, [H]SCIF{A|B},
    I2C, USB 2.0 and 3.0 hosts, USB-DMAC, HSUSB, RWDT, Audio, CAN, IRQC,
    thermal, CMT, VIN, VSP, IPMMU, PMU, TPU, QSPI MSIOF, and PCIE
  - iWave G20D-Q7 board
    - Initial support
    - Enable eMMC, SDHI and SPIO NOR support
  - Add camera daughterboard

* RZ/G1M (r8a7743) SoC
  - Remove legacy "renesas,rcar-thermal" compatibility

* tag 'renesas-arm-dt2-for-v4.21' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: (34 commits)
  ARM: dts: r8a7744-iwg20m: Add SPI NOR support
  ARM: dts: iwg20d-q7-common: Move cmt/rwdt node out of RZ/G1M SOM
  ARM: dts: r8a7744: Add PCIe Controller device node
  ARM: dts: r8a7744: Add xhci support
  ARM: dts: r8a7744: Add MSIOF[012] support
  ARM: dts: r8a7744: Add QSPI support
  ARM: dts: r8a7744-iwg20d-q7-dbcm-ca: Add device tree for camera DB
  ARM: dts: r8a7744: Add TPU support
  ARM: dts: r8a7744: Add PWM SoC support
  ARM: dts: r8a7744: Add IPMMU DT nodes
  ARM: dts: r8a7744: Add VSP support
  ARM: dts: r8a7744: add VIN dt support
  ARM: dts: r8a7744: Add CMT SoC specific support
  ARM: dts: r8a7744: Add thermal device to DT
  ARM: dts: r8a7744: Add IRQC support
  ARM: dts: r8a7744: Add CAN support
  ARM: dts: r8a7744: Add audio support
  ARM: dts: r8a7744: Add RWDT node
  ARM: dts: r8a7744: Add USB-DMAC and HSUSB device nodes
  ARM: dts: r8a7744: USB 2.0 host support
  ...

Signed-off-by: Olof Johansson <olof@lixom.net>
5 years agoMerge tag 'renesas-arm64-dt2-for-v4.21' of https://git.kernel.org/pub/scm/linux/kerne...
Olof Johansson [Tue, 11 Dec 2018 16:01:55 +0000 (08:01 -0800)]
Merge tag 'renesas-arm64-dt2-for-v4.21' of https://git./linux/kernel/git/horms/renesas into next/dt

Second Round of Renesas ARM64 Based SoC DT Updates for v4.21

* R-Car D3 (r8a77995) SoC based Draak board
  - Add the backlight device for the LVDS1 output

* R-Car H3 (r8a7795) ES1.0 SoC
  - Add missing power domains to IPMMU nodes

* R-Car M3-N (r8a77965) SoC
  - Remove non-existent IPMMU-IR

* tag 'renesas-arm64-dt2-for-v4.21' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  arm64: dts: renesas: r8a77995: draak: Add backlight
  arm64: dts: renesas: r8a7795-es1: Add missing power domains to IPMMU nodes
  arm64: dts: renesas: r8a77965: Remove non-existent IPMMU-IR

Signed-off-by: Olof Johansson <olof@lixom.net>
5 years agoMerge tag 'aspeed-4.21-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Tue, 11 Dec 2018 15:59:16 +0000 (07:59 -0800)]
Merge tag 'aspeed-4.21-devicetree' of git://git./linux/kernel/git/joel/aspeed into next/dt

ASPEED device tree updates for 4.20

 - New machine: Facebook Backpack-CMM BMC and flash layout

 - OpenPower reference systems (Palmetto P8, Romulus P9) move to the
   ColdFire based FSI driver

 - Misc device tree updates from the OpenBMC project

* tag 'aspeed-4.21-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/aspeed:
  ARM: dts: aspeed: Add Facebook Backpack-CMM BMC
  ARM: dts: Add Facebook BMC flash layout
  ARM: dts: aspeed: wspoon: Enable iio-hwmon battery
  ARM: dts: aspeed: romulus: Enable iio-hwmon-battery
  ARM: dts: aspeed: Enable VHUB on Romulus
  ARM: dts: aspeed-palmetto: Add LPC control node
  ARM: dts: aspeed: Palmetto system can use coprocessor for FSI
  ARM: dts: aspeed: Romulus system can use coprocessor for FSI

Signed-off-by: Olof Johansson <olof@lixom.net>
5 years agoMerge tag 'pxa-dt-4.21' of https://github.com/rjarzmik/linux into next/dt
Olof Johansson [Tue, 11 Dec 2018 15:43:46 +0000 (07:43 -0800)]
Merge tag 'pxa-dt-4.21' of https://github.com/rjarzmik/linux into next/dt

This device-tree pxa update brings :
 - various fixes from Daniel (W=12 issues mainly)
 - support for the first pxa3xx devicetree pxa board

* tag 'pxa-dt-4.21' of https://github.com/rjarzmik/linux:
  ARM: dts: pxa3xx: Add Raumfeld DTS files
  ARM: dts: pxa: clean up USB controller nodes
  ARM: dts: pxa3xx: clean up pxa3xx clock controller node name
  ARM: dts: pxa3xx: order timer and gcu nodes under /pxabus
  ARM: dts: pxa2xx: fix hwuart memory range
  ARM: dts: pxa3xx: drop #address-cells and #size-cells from pinctrl node
  ARM: dts: pxa2xx: drop #address-cells and #size-cells from /cpus
  ARM: dts: pxa3xx: add gcu node

Signed-off-by: Olof Johansson <olof@lixom.net>
5 years agoARM: dts: sunxi: Fix PMU compatible strings
Rob Herring [Thu, 6 Dec 2018 19:11:42 +0000 (13:11 -0600)]
ARM: dts: sunxi: Fix PMU compatible strings

"arm,cortex-a15-pmu" is not a valid fallback compatible string for an
Cortex-A7 PMU, so drop it.

Cc: Maxime Ripard <maxime.ripard@bootlin.com>
Cc: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
5 years agoarm64: tegra: Set reg property for display-hub on Tegra194
Thierry Reding [Thu, 6 Dec 2018 18:00:17 +0000 (19:00 +0100)]
arm64: tegra: Set reg property for display-hub on Tegra194

Technically the display-hub driver could access registers via the
specified region, though it practice it will do so via the display
controllers' register regions.

Signed-off-by: Thierry Reding <treding@nvidia.com>
5 years agoarm64: tegra: Set reg property for display-hub on Tegra186
Thierry Reding [Thu, 6 Dec 2018 18:00:16 +0000 (19:00 +0100)]
arm64: tegra: Set reg property for display-hub on Tegra186

Technically the display-hub driver could access registers via the
specified region, though it practice it will do so via the display
controllers' register regions.

Signed-off-by: Thierry Reding <treding@nvidia.com>
5 years agoARM: dts: sun8i: r40: Add RTC device node
Chen-Yu Tsai [Mon, 3 Dec 2018 14:58:24 +0000 (22:58 +0800)]
ARM: dts: sun8i: r40: Add RTC device node

The R40 has an RTC hardware block, which has additional registers
that are not related to RTC or clock functions, and is otherwise
compatible with the H3's RTC.

Add a device node for it, and fix up any references to the LOSC.

Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
5 years agoARM: dts: sunxi: h3/h5: Fix up RTC device node and clock references
Chen-Yu Tsai [Mon, 3 Dec 2018 14:58:22 +0000 (22:58 +0800)]
ARM: dts: sunxi: h3/h5: Fix up RTC device node and clock references

The RTC module on the H3 was claimed to be the same as on the A31, when
in fact it is not. The A31 does not have an RTC external clock output,
and its internal RC oscillator's average clock rate is not in the same
range. The H5's RTC has some extra crypto-related registers compared to
the H3. Their exact functions are not clear. Also the RTC-VIO regulator
has different settings.

This patch fixes the compatible string and clock properties to conform
to the updated bindings. The device node for the internal oscillator is
removed, as it is internalized into the RTC device. Clock references to
the IOSC and LOSC are also fixed.

Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
5 years agoARM: dts: sun8i: a23/a33: Fix up RTC device node
Chen-Yu Tsai [Mon, 3 Dec 2018 14:58:20 +0000 (22:58 +0800)]
ARM: dts: sun8i: a23/a33: Fix up RTC device node

The RTC module on the A23 was claimed to be the same as on the A31, when
in fact it is not. The A31 does not have an RTC external clock output,
and its internal RC oscillator's average clock rate is not in the same
range. The A33's RTC is the same as the A23.

This patch fixes the compatible string and clock properties to conform
to the updated bindings. The register range is also fixed.

Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
5 years agodt-bindings: arm: renesas: Move 'renesas,prr' binding to its own doc
Rob Herring [Mon, 3 Dec 2018 21:32:14 +0000 (15:32 -0600)]
dt-bindings: arm: renesas: Move 'renesas,prr' binding to its own doc

In preparation to convert board-level bindings to json-schema, move
various misc SoC bindings out to their own file.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agodt-bindings: arm: renesas: Document iW-RainboW-G20D-Qseven-RZG1N board
Biju Das [Wed, 26 Sep 2018 10:44:46 +0000 (11:44 +0100)]
dt-bindings: arm: renesas: Document iW-RainboW-G20D-Qseven-RZG1N board

Document the iW-RainboW-G20D-Qseven-RZG1N device tree bindings,
listing it as a supported board.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Chris Paterson <Chris.Paterson2@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agodt-bindings: arm: renesas: Document iWave RZ/G1N SOM
Biju Das [Wed, 26 Sep 2018 08:21:44 +0000 (09:21 +0100)]
dt-bindings: arm: renesas: Document iWave RZ/G1N SOM

Document the iW-RainboW-G20M-RZ/G1N Qseven device tree bindings,
listing it as a supported system on module.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Chris Paterson <Chris.Paterson2@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoarm64: dts: tegra186: Enable IOMMU for SDHCI
Krishna Reddy [Wed, 17 Oct 2018 02:06:48 +0000 (19:06 -0700)]
arm64: dts: tegra186: Enable IOMMU for SDHCI

Enable IOMMU for all SDHCI controllers in Tegra186.

Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
5 years agoarm64: tegra: Enable HDA controller on Jetson TX1
Thierry Reding [Thu, 6 Dec 2018 16:50:22 +0000 (17:50 +0100)]
arm64: tegra: Enable HDA controller on Jetson TX1

The HDA controller can be used for audio playback over HDMI.

Signed-off-by: Thierry Reding <treding@nvidia.com>
5 years agoarm64: tegra: Add CEC controller on Tegra194
Thierry Reding [Thu, 6 Dec 2018 16:50:21 +0000 (17:50 +0100)]
arm64: tegra: Add CEC controller on Tegra194

The CEC controller found on Tegra194 can be used to control consumer
devices using the HDMI CEC pin.

Signed-off-by: Thierry Reding <treding@nvidia.com>
5 years agoarm64: tegra: Enable HDA on Jetson Xavier
Thierry Reding [Thu, 6 Dec 2018 16:50:20 +0000 (17:50 +0100)]
arm64: tegra: Enable HDA on Jetson Xavier

Enable the HDA controller on Jetson Xavier so that it can be used for
audio playback over HDMI.

Signed-off-by: Thierry Reding <treding@nvidia.com>
5 years agoarm64: tegra: Add HDA controller on Tegra194
Sameer Pujar [Tue, 4 Dec 2018 12:14:22 +0000 (17:44 +0530)]
arm64: tegra: Add HDA controller on Tegra194

The HDA controller found on Tegra194 can be used for audio playback over
HDMI.

Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
5 years agoarm64: tegra: Add CEC controller on Tegra186
Thierry Reding [Thu, 6 Dec 2018 16:50:18 +0000 (17:50 +0100)]
arm64: tegra: Add CEC controller on Tegra186

The CEC controller found on Tegra186 can be used to control consumer
devices using the HDMI CEC pin.

Signed-off-by: Thierry Reding <treding@nvidia.com>
5 years agoarm64: tegra: Enable HDA on Jetson TX2
Thierry Reding [Thu, 6 Dec 2018 16:50:17 +0000 (17:50 +0100)]
arm64: tegra: Enable HDA on Jetson TX2

Enable the HDA controller on Jetson TX2 so that it can be used for audio
playback over HDMI.

Signed-off-by: Thierry Reding <treding@nvidia.com>
5 years agoarm64: tegra: Add HDA controller on Tegra186
Thierry Reding [Thu, 6 Dec 2018 16:50:16 +0000 (17:50 +0100)]
arm64: tegra: Add HDA controller on Tegra186

The HDA controller found on Tegra186 can be used for audio playback over
HDMI.

Signed-off-by: Thierry Reding <treding@nvidia.com>
5 years agoARM: dts: sun8i: r40: Add clock accuracy for external oscillators
Chen-Yu Tsai [Mon, 3 Dec 2018 14:58:23 +0000 (22:58 +0800)]
ARM: dts: sun8i: r40: Add clock accuracy for external oscillators

The R40 datasheet specifies a tolerance range for the external
oscillators used. Add them to the device tree as the clock accuracy.

Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
5 years agoARM: dts: sunxi: h3/h5: Add clock accuracy for external oscillators
Chen-Yu Tsai [Mon, 3 Dec 2018 14:58:21 +0000 (22:58 +0800)]
ARM: dts: sunxi: h3/h5: Add clock accuracy for external oscillators

The H3 datasheet specifies a tolerance range for the external
oscillators used. Add them to the device tree as the clock accuracy.
The internal oscillator is left unchanged, as it will be removed later.

Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
5 years agoARM: dts: r8a7744-iwg20m: Add SPI NOR support
Biju Das [Wed, 5 Dec 2018 09:06:52 +0000 (09:06 +0000)]
ARM: dts: r8a7744-iwg20m: Add SPI NOR support

Add support for the SPI NOR device used to boot up the system
to the iWave RZ/G1N Qseven System On Module DT.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoarm64: dts: renesas: r8a77995: draak: Add backlight
Laurent Pinchart [Sun, 25 Nov 2018 14:40:30 +0000 (16:40 +0200)]
arm64: dts: renesas: r8a77995: draak: Add backlight

Add the backlight device for the LVDS1 output, in preparation for panel
support.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: iwg20d-q7-common: Move cmt/rwdt node out of RZ/G1M SOM
Biju Das [Wed, 5 Dec 2018 09:06:51 +0000 (09:06 +0000)]
ARM: dts: iwg20d-q7-common: Move cmt/rwdt node out of RZ/G1M SOM

The iWave RZ/G1N board is almost identical to RZ/G1M. cmt and rwdt modules
are SoC specific and should be part of board dts rather than SoM dtsi. By
moving these nodes to the common dtsi it allows cmt and rwdt to be enabled
on both of these boards with less lines of code.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: sun8i: a33: Drop audio codec oversampling rate to 128 fs
Chen-Yu Tsai [Wed, 5 Dec 2018 10:11:52 +0000 (18:11 +0800)]
ARM: dts: sun8i: a33: Drop audio codec oversampling rate to 128 fs

The current oversampling rate of 512 means that for 48 kHz 16 bit
stereo, the MCLK is running at the same rate as the module clock,
so there is no head room to support higher sampling rates. The codec
however supports up to 192 kHz for playback.

This patch drops the oversampling rate from 512 to 128, so that 192 kHz
audio can be played back directly without downsampling. Ideally we
should be using different oversampling rates for different sampling
rates, but that's not possible without a platform-specific machine
driver.

Fixes: 870f1bd1f5e9 ("ARM: dts: sun8i: Add audio codec, dai and card for A33")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
5 years agoARM: dts: sun8i: h3: Remove unnecessary reserved memory node
Paul Kocialkowski [Wed, 5 Dec 2018 09:24:32 +0000 (10:24 +0100)]
ARM: dts: sun8i: h3: Remove unnecessary reserved memory node

Just like on the A33, the video engine on the H3 can map any address in
memory, so there is no particular need to have reserved memory at a fixed
address.

As a result, remove the reserved memory node and let the kernel allocate
the CMA pool wherever it sees fit.

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
5 years agoARM: dts: sun8i: a33: Remove unnecessary reserved memory node
Paul Kocialkowski [Wed, 5 Dec 2018 09:24:31 +0000 (10:24 +0100)]
ARM: dts: sun8i: a33: Remove unnecessary reserved memory node

While we believed that the memory for the video engine had to be kept
in the first 256 MiBs of DRAM, this is no longer true starting with the
A33 and any address can be mapped.

As a result, remove the reserved memory node and let the kernel allocate
the CMA pool wherever it sees fit.

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
5 years agoARM: dts: r8a7744: Add PCIe Controller device node
Biju Das [Tue, 27 Nov 2018 11:56:35 +0000 (11:56 +0000)]
ARM: dts: r8a7744: Add PCIe Controller device node

Add a device node for the PCIe controller on the Renesas
RZ/G1N (r8a7744) SoC.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: r8a7744: Add xhci support
Biju Das [Tue, 27 Nov 2018 11:56:34 +0000 (11:56 +0000)]
ARM: dts: r8a7744: Add xhci support

Add a device node for the xhci controller on the Renesas
RZ/G1N (r8a7744) SoC.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: r8a7744: Add MSIOF[012] support
Biju Das [Tue, 27 Nov 2018 11:56:33 +0000 (11:56 +0000)]
ARM: dts: r8a7744: Add MSIOF[012] support

Add the DT nodes needed by MSIOF[012] interfaces to the SoC dtsi.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: r8a7744: Add QSPI support
Biju Das [Tue, 27 Nov 2018 11:56:31 +0000 (11:56 +0000)]
ARM: dts: r8a7744: Add QSPI support

Add the DT node for the QSPI interface to the SoC dtsi.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: r8a7744-iwg20d-q7-dbcm-ca: Add device tree for camera DB
Biju Das [Tue, 27 Nov 2018 11:56:25 +0000 (11:56 +0000)]
ARM: dts: r8a7744-iwg20d-q7-dbcm-ca: Add device tree for camera DB

This patch adds support for the camera daughter board which is
connected to iWave's RZ/G1N Qseven carrier board.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: r8a7744: Add TPU support
Biju Das [Wed, 28 Nov 2018 16:38:31 +0000 (16:38 +0000)]
ARM: dts: r8a7744: Add TPU support

Add TPU support to SoC DT.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: r8a7744: Add PWM SoC support
Biju Das [Wed, 28 Nov 2018 16:38:30 +0000 (16:38 +0000)]
ARM: dts: r8a7744: Add PWM SoC support

Add the definitions for pwm[0123456] to the SoC dtsi.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: r8a7744: Add IPMMU DT nodes
Biju Das [Wed, 28 Nov 2018 16:38:29 +0000 (16:38 +0000)]
ARM: dts: r8a7744: Add IPMMU DT nodes

Add the six IPMMU instances found in the r8a7744 to DT with a disabled
status.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: r8a7744: Add VSP support
Biju Das [Wed, 28 Nov 2018 16:38:28 +0000 (16:38 +0000)]
ARM: dts: r8a7744: Add VSP support

Add VSP support to SoC DT.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: r8a7744: add VIN dt support
Biju Das [Wed, 28 Nov 2018 16:38:27 +0000 (16:38 +0000)]
ARM: dts: r8a7744: add VIN dt support

Add VIN[012] support to SoC dt.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: r8a7744: Add CMT SoC specific support
Biju Das [Fri, 30 Nov 2018 15:26:35 +0000 (15:26 +0000)]
ARM: dts: r8a7744: Add CMT SoC specific support

Add CMT[01] support to SoC DT.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: r8a7744: Add thermal device to DT
Biju Das [Fri, 30 Nov 2018 15:26:34 +0000 (15:26 +0000)]
ARM: dts: r8a7744: Add thermal device to DT

This patch instantiates the thermal sensor module with thermal-zone
support.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: r8a7744: Add IRQC support
Biju Das [Fri, 30 Nov 2018 15:26:33 +0000 (15:26 +0000)]
ARM: dts: r8a7744: Add IRQC support

Describe the IRQC interrupt controller in the r8a7744 device tree.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: r8a7744: Add CAN support
Biju Das [Fri, 30 Nov 2018 15:26:32 +0000 (15:26 +0000)]
ARM: dts: r8a7744: Add CAN support

Add the definitions for can0 and can1 to the r8a7744 SoC dtsi.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: r8a7744: Add audio support
Biju Das [Fri, 30 Nov 2018 15:26:31 +0000 (15:26 +0000)]
ARM: dts: r8a7744: Add audio support

Add sound support for the RZ/G1N SoC (a.k.a. R8A7744).

This work is based on similar work done on the R8A7743 SoC.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: r8a7744: Add RWDT node
Biju Das [Fri, 30 Nov 2018 15:26:30 +0000 (15:26 +0000)]
ARM: dts: r8a7744: Add RWDT node

Add a device node for the Watchdog Timer (RWDT) controller on the Renesas
RZ/G1N (r8a7744) SoC.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: r8a7744: Add USB-DMAC and HSUSB device nodes
Biju Das [Fri, 30 Nov 2018 15:26:29 +0000 (15:26 +0000)]
ARM: dts: r8a7744: Add USB-DMAC and HSUSB device nodes

Add usb dmac and hsusb device nodes on RZ/G1N SoC dtsi.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: r8a7744: USB 2.0 host support
Biju Das [Fri, 30 Nov 2018 15:26:28 +0000 (15:26 +0000)]
ARM: dts: r8a7744: USB 2.0 host support

Describe internal PCI bridge devices, USB phy device and
link PCI USB devices to USB phy.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: r8a7744-iwg20m: Enable SDHI0 controller
Biju Das [Fri, 30 Nov 2018 15:26:27 +0000 (15:26 +0000)]
ARM: dts: r8a7744-iwg20m: Enable SDHI0 controller

Enable the SDHI0 controller on iWave RZ/G1N Qseven System On Module.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: r8a7744-iwg20m: Add eMMC support
Biju Das [Fri, 30 Nov 2018 15:26:26 +0000 (15:26 +0000)]
ARM: dts: r8a7744-iwg20m: Add eMMC support

Add eMMC support for iWave RZ/G1N Qseven System On Module.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: r8a7744: Add MMC node
Biju Das [Fri, 30 Nov 2018 15:26:25 +0000 (15:26 +0000)]
ARM: dts: r8a7744: Add MMC node

Add MMC node to the DT of the r8a7744 SoC.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: r8a7744: Add SDHI nodes
Biju Das [Fri, 30 Nov 2018 15:26:24 +0000 (15:26 +0000)]
ARM: dts: r8a7744: Add SDHI nodes

Add SDHI nodes to the DT of the r8a7744 SoC.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: r8a7744: Add I2C and IIC support
Biju Das [Fri, 30 Nov 2018 15:26:23 +0000 (15:26 +0000)]
ARM: dts: r8a7744: Add I2C and IIC support

Add the I2C[0-5] and IIC[0,1,3] devices nodes to the R8A7744 device tree.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: r8a7744: Add [H]SCIF{A|B} support
Biju Das [Fri, 30 Nov 2018 15:26:22 +0000 (15:26 +0000)]
ARM: dts: r8a7744: Add [H]SCIF{A|B} support

Describe [H]SCIF{|A|B} ports in the R8A7744 device tree.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: r8a7744: Add SMP support
Biju Das [Fri, 30 Nov 2018 15:26:21 +0000 (15:26 +0000)]
ARM: dts: r8a7744: Add SMP support

Add DT node for the Advanced Power Management Unit (APMU), add the
second CPU core, and use "renesas,apmu" as "enable-method".

Also add cpu1 phandle node to the PMU interrupt-affinity property.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: r8a7744: Add Ethernet AVB support
Biju Das [Fri, 30 Nov 2018 15:26:20 +0000 (15:26 +0000)]
ARM: dts: r8a7744: Add Ethernet AVB support

Add Ethernet AVB support for R8A7744 SoC.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: r8a7744: Add GPIO support
Biju Das [Fri, 30 Nov 2018 15:26:19 +0000 (15:26 +0000)]
ARM: dts: r8a7744: Add GPIO support

Describe GPIO blocks in the R8A7744 device tree.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: r8a7744: Add SYS-DMAC support
Biju Das [Fri, 30 Nov 2018 15:26:18 +0000 (15:26 +0000)]
ARM: dts: r8a7744: Add SYS-DMAC support

Describe SYS-DMAC0/1 in the R8A7744 device tree.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: r8a7744-iwg20d-q7: Add support for iWave G20D-Q7 board based on RZ/G1N
Biju Das [Fri, 30 Nov 2018 15:26:17 +0000 (15:26 +0000)]
ARM: dts: r8a7744-iwg20d-q7: Add support for iWave G20D-Q7 board based on RZ/G1N

Add support for iWave RainboW-G20D-Qseven board based on RZ/G1N.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: r8a7744: Initial SoC device tree
Biju Das [Fri, 30 Nov 2018 15:26:16 +0000 (15:26 +0000)]
ARM: dts: r8a7744: Initial SoC device tree

Basic support for the RZ/G1N (R8A7744) SoC. Added placeholders
to avoid compilation error with the common platform code.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: r8a7744-iwg20m: Add iWave RZ/G1N Qseven SOM
Biju Das [Fri, 30 Nov 2018 15:26:15 +0000 (15:26 +0000)]
ARM: dts: r8a7744-iwg20m: Add iWave RZ/G1N Qseven SOM

Add support for iWave RZ/G1N Qseven System On Module.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: r8a7743: Remove legacy "renesas,rcar-thermal" compatibility
Geert Uytterhoeven [Mon, 3 Dec 2018 15:04:47 +0000 (16:04 +0100)]
ARM: dts: r8a7743: Remove legacy "renesas,rcar-thermal" compatibility

The thermal hardware description for the RZ/G1M SoC was added to its DTS
after the introduction of support for thermal zones, and included a
thermal-zones node from the beginning.

Hence there is no need to claim compatibility with
"renesas,rcar-thermal", which would be needed only for backwards
compatibility with kernels predating thermal zone support.

Fixes: 6c76b4f7d89e89f0 ("ARM: dts: r8a7743: Add thermal device to DT")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
5 years agoARM: dts: suniv: Add device tree for Lichee Pi Nano
Mesih Kilinc [Sun, 2 Dec 2018 20:23:51 +0000 (23:23 +0300)]
ARM: dts: suniv: Add device tree for Lichee Pi Nano

Lichee Pi Nano is a F1C100s board by Lichee Pi.

Add initial device tree for it.

Signed-off-by: Mesih Kilinc <mesihkilinc@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
5 years agoARM: dts: suniv: add initial DTSI file for F1C100s
Mesih Kilinc [Sun, 2 Dec 2018 20:23:50 +0000 (23:23 +0300)]
ARM: dts: suniv: add initial DTSI file for F1C100s

F1C100s is one product with the suniv die, which has a 32MiB co-packaged
DDR1 DRAM chip. As we have the support for suniv pin controller and CCU now, add a
initial DTSI for it.

Signed-off-by: Mesih Kilinc <mesihkilinc@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
5 years agoARM: dts: pxa3xx: Add Raumfeld DTS files
Daniel Mack [Fri, 30 Nov 2018 17:55:43 +0000 (18:55 +0100)]
ARM: dts: pxa3xx: Add Raumfeld DTS files

This patch adds a set of DTS files that support all PXA3xx based Raumfeld
audio hardware devices.

Common nodes are factored out into 'common' and 'tuneable-clock' include
files to keep the top-level DTS files smaller.

Signed-off-by: Daniel Mack <daniel@zonque.org>
[Robert: Reordered Makefile in alphabetical order]
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
5 years agoMerge tag 'qcom-dts-for-4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/agross...
Olof Johansson [Mon, 3 Dec 2018 21:04:49 +0000 (13:04 -0800)]
Merge tag 'qcom-dts-for-4.21' of git://git./linux/kernel/git/agross/linux into next/dt

Qualcomm Device Tree Changes for v4.21

* Add entry for Qualcomm TSENS thermal drivers
* Update msm8974 thermal entries
* Fix msm8974 Hammerhead magnetometer gpios
* Add SoC specific compatibles for SDHC nodes
* Remove Arrow SD600 eval board

* tag 'qcom-dts-for-4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux:
  ARM: dts: qcom: Remove Arrow SD600 eval board
  ARM: dts: qcom: Add SoC-specific string for sdhci-msm-v4 nodes
  ARM: dts: qcom: msm8974-hammerhead: correct gpios property on magnetometer
  ARM: dts: msm8974: thermal: Add "qcom,sensors" property
  ARM: dts: msm8974: thermal: split address space into two
  MAINTAINERS: Add entry for Qualcomm TSENS thermal drivers

Signed-off-by: Olof Johansson <olof@lixom.net>
5 years agoMerge tag 'qcom-arm64-for-4.21' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Mon, 3 Dec 2018 21:04:14 +0000 (13:04 -0800)]
Merge tag 'qcom-arm64-for-4.21' of git://git./linux/kernel/git/agross/linux into next/dt

Qualcomm ARM64 Updates for v4.21

* Add QCS404 base platform and nodes
* Add QCS404 EVB boards
* Add external SD and dependencies for MSM8998-mtp
* Add default scm compatible for MSM8998
* Fix XO clk name on MSM8998
* Add prng-ee nodes for SDM845 and MSM8996
* Add ADC die temp node for pm8998
* Fix documentation on QCOM ADC sample

* tag 'qcom-arm64-for-4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux: (34 commits)
  arm64: dts: qcom: msm8998: Fix compatible of scm node
  arm64: dts: qcom: msm8998: Add SDC2 control pins
  arm64: dts: qcom: msm8998-mtp: Add external SD
  arm64: dts: qcom: msm8998: Add SDCC2
  arm64: dts: qcom: msm8998: correct xo clock name
  arm64: dts: qcom: pms405: Add pon and pwrkey nodes
  arm64: dts: qcom: qcs404: Use BAM DMA for serial uart2
  arm64: dts: qcom: qcs404: Add BAM DMA node
  arm64: dts: qcom: qcs404: add prng-ee node
  arm64: dts: qcom: qcs404: Add remoteproc nodes
  arm64: dts: qcom: qcs404: Add scm firmware node
  arm64: dts: qcom: pms405: add gpios
  arm64: dts: qcom: pms405: add rtc node
  arm64: dts: qcom: qcs404: add spmi node
  arm64: dts: qcom: pms405: add spmi node
  arm64: dts: qcom: qcs404: Add sdcc1 node
  arm64: dts: qcom: qcs404: Add TLMM pinctrl node
  arm64: dts: qcom: qcs404: add smp2p nodes
  arm64: dts: qcom: qcs404: Add PMS405 RPM regulators
  arm64: dts: qcom: qcs404: Add RPM GLINK related nodes
  ...

Signed-off-by: Olof Johansson <olof@lixom.net>
5 years agoARM: mmp2: DT: be compatible with mrvl,mmp2
Lubomir Rintel [Sun, 2 Dec 2018 11:38:48 +0000 (12:38 +0100)]
ARM: mmp2: DT: be compatible with mrvl,mmp2

There are more boards that can work with mmp2-dt than just Brownstone.
The OLPC XO-1.75 device tree root is compatible with "mrvl,mmp2" only.

The "mrvl,mmp2-brownstone" string is safe to remove: the Brownstone
device tree contains the "mrvl,mmp2" compatible string too.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Olof Johansson <olof@lixom.net>
5 years agoMerge tag 'arm-soc/for-4.21/devicetree' of https://github.com/Broadcom/stblinux into...
Olof Johansson [Mon, 3 Dec 2018 20:50:41 +0000 (12:50 -0800)]
Merge tag 'arm-soc/for-4.21/devicetree' of https://github.com/Broadcom/stblinux into next/dt

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

- Rafal relicenses a bunch of DTS files he wrote under the GPL 2.0+/MIT
  license and adds proper SPDX license tags in the process

- Rene adds support for the Linksys EA6500 v2 Wi-Fi router based on
  BCM4708 plus two BCM4360 and BCM4331 radios

- Phil documents and updates the vchiq mailbox compatible string in
  order to establish a correct agreement between the Raspberry Pi
  firmware and the ARM CPU's view of what an ARM CPU cache line size is,
  he also fixes the mailbox "reg" property to be correctly expressed in
  bytes

- Stefan updates the Raspberry Pi Zero DTS files to use SPDX tags

- Florian enables the SATA PHY and AHCI controller on the BCM63138 SoCs,
  he also does a bit of refactoring of aliases for the Northstar Plus
  DTS files

* tag 'arm-soc/for-4.21/devicetree' of https://github.com/Broadcom/stblinux:
  ARM: dts: BCM5301X: Describe Northstar pins mux controller
  ARM: dts: BCM5301X: Add basic DT for Linksys EA6500 V2
  ARM: dts: bcm2835-rpi-zero: Switch to SPDX identifier
  ARM: dts: bcm283x: Correct mailbox register sizes
  ARM: dts: bcm283x: Correct vchiq compatible string
  dt-bindings: soc: Document "brcm,bcm2836-vchiq"
  ARM: dts: NSP: Move aliases to bcm-nsp.dtsi
  ARM: dts: BCM53573: Relicense SoC file to the GPL 2.0+ / MIT
  ARM: dts: BCM63xx: Enable SATA AHCI and PHY for BCM963138DVT
  ARM: dts: BCM63xx: enable SATA PHY and AHCI controller
  ARM: dts: BCM53573: Relicense Tenda AC9 file to the GPL 2.0+ / MIT
  ARM: dts: BCM5301X: Relicense BCM47094 file to the GPL 2.0+ / MIT
  ARM: dts: BCM5301X: Relicense BCM47081/BCM4709 files to the GPL 2.0+ / MIT

Signed-off-by: Olof Johansson <olof@lixom.net>
5 years agoarm64: tegra: Add temperature sensor on P2888
Thierry Reding [Wed, 28 Nov 2018 17:26:34 +0000 (18:26 +0100)]
arm64: tegra: Add temperature sensor on P2888

The P2888 processor module contains a TI TMP451 temperature sensor with
two channels. These are used to measure the temperatures at different
locations on the module.

Signed-off-by: Thierry Reding <treding@nvidia.com>
5 years agoarm64: tegra: Add gpio-keys on Jetson Xavier
Thierry Reding [Wed, 28 Nov 2018 17:19:57 +0000 (18:19 +0100)]
arm64: tegra: Add gpio-keys on Jetson Xavier

The power and force recovery buttons found on Jetson Xavier are hooked
up to two Tegra GPIOs. The power button can also function as a wake-up
source.

Signed-off-by: Thierry Reding <treding@nvidia.com>
5 years agoarm64: tegra: Add AON GPIO controller on Tegra194
Thierry Reding [Wed, 28 Nov 2018 17:19:56 +0000 (18:19 +0100)]
arm64: tegra: Add AON GPIO controller on Tegra194

The AON GPIO controller is in an always-on power partition and typically
provides pins for functions that need to always work, such as the power
key for example.

Signed-off-by: Thierry Reding <treding@nvidia.com>
5 years agoarm64: tegra: p2888: Enable on-die RTC
Thierry Reding [Wed, 28 Nov 2018 16:50:50 +0000 (17:50 +0100)]
arm64: tegra: p2888: Enable on-die RTC

The on-die RTC isn't hooked up to a backup battery, so it isn't useful
to track time across reboots, but as long as power remains enabled, it
keeps track of time accurately and can be used to wake the system from
sleep, for example.

Signed-off-by: Thierry Reding <treding@nvidia.com>
5 years agoarm64: tegra: Add RTC support on Tegra194
Thierry Reding [Wed, 28 Nov 2018 16:50:49 +0000 (17:50 +0100)]
arm64: tegra: Add RTC support on Tegra194

The RTC on Tegra194 is very similar to the RTC on earlier generations.
One notable exception is that the source clock is now the 32 kHz clock
instead of a dedicated RTC clock and the RTC alarm is a wake event and
can be used to wake the system from sleep.

Signed-off-by: Thierry Reding <treding@nvidia.com>
5 years agoarm64: tegra: Enable PMC wake events on Tegra194
Thierry Reding [Wed, 28 Nov 2018 17:19:55 +0000 (18:19 +0100)]
arm64: tegra: Enable PMC wake events on Tegra194

Wake events are a feature that allows the interrupt and GPIO controllers
to be powered off as part of system sleep. The PMC which is always on is
monitoring these wake events and can power up subsequent controllers as
necessary to process them.

Signed-off-by: Thierry Reding <treding@nvidia.com>
5 years agoarm64: tegra: p3310: Enable on-die RTC
Thierry Reding [Wed, 28 Nov 2018 16:49:41 +0000 (17:49 +0100)]
arm64: tegra: p3310: Enable on-die RTC

The on-die RTC isn't hooked up to a backup battery, so it isn't useful
to track time across reboots, but as long as power remains enabled, it
keeps track of time accurately and can be used to wake the system from
sleep, for example.

Signed-off-by: Thierry Reding <treding@nvidia.com>
5 years agoarm64: tegra: Add RTC support on Tegra186
Thierry Reding [Wed, 28 Nov 2018 16:49:40 +0000 (17:49 +0100)]
arm64: tegra: Add RTC support on Tegra186

The RTC on Tegra186 is very similar to the RTC on earlier generations.
One notable exception is that the source clock is now the 32 kHz clock
instead of a dedicated RTC clock and the RTC alarm is a wake event and
can be used to wake the system from sleep.

Signed-off-by: Thierry Reding <treding@nvidia.com>
5 years agoarm64: tegra: Enable PMC wake events on Tegra186
Thierry Reding [Wed, 28 Nov 2018 17:19:54 +0000 (18:19 +0100)]
arm64: tegra: Enable PMC wake events on Tegra186

Wake events are a feature that allows the interrupt and GPIO controllers
to be powered off as part of system sleep. The PMC which is always on is
monitoring these wake events and can power up subsequent controllers as
necessary to process them.

Signed-off-by: Thierry Reding <treding@nvidia.com>
5 years agoarm64: tegra: Fix power key interrupt type on Jetson TX2
Thierry Reding [Wed, 28 Nov 2018 16:47:25 +0000 (17:47 +0100)]
arm64: tegra: Fix power key interrupt type on Jetson TX2

In order for the correct interrupt type to be configured, the event
action for the power key needs to be "asserted".

Signed-off-by: Thierry Reding <treding@nvidia.com>
5 years agoarm64: tegra: p2972: Enable the CPU, GPU and AUX thermal zones
Thierry Reding [Fri, 23 Nov 2018 12:18:39 +0000 (13:18 +0100)]
arm64: tegra: p2972: Enable the CPU, GPU and AUX thermal zones

Enable these thermal zones to be able to monitor their temperatures and
control the fan to cool down the system if necessary.

Signed-off-by: Thierry Reding <treding@nvidia.com>
5 years agoarm64: tegra: Add thermal zones on Tegra194
Thierry Reding [Fri, 23 Nov 2018 12:18:38 +0000 (13:18 +0100)]
arm64: tegra: Add thermal zones on Tegra194

The NVIDIA Tegra194 SoC defines six thermal zones. Define all of them in
device tree.

Signed-off-by: Thierry Reding <treding@nvidia.com>
5 years agoarm64: tegra: Enable HDMI on P2972-0000
Thierry Reding [Fri, 23 Nov 2018 12:31:38 +0000 (13:31 +0100)]
arm64: tegra: Enable HDMI on P2972-0000

Add the 5V HDMI regulator and hook up the VDD_1V0 and VDD_1V8HS supplies
from the PMIC to the display block. Also enable the display hub which is
responsible for instantiating the display controllers. Finally, enable
the third SOR that drives the TMDS signals to the HDMI connector.

Signed-off-by: Thierry Reding <treding@nvidia.com>
5 years agoarm64: tegra: Add VIC support on Tegra194
Thierry Reding [Fri, 23 Nov 2018 12:31:37 +0000 (13:31 +0100)]
arm64: tegra: Add VIC support on Tegra194

Tegra194 has a version of VIC that is very similar to that on Tegra186.
Add the device tree node for it that is enabled by default.

Signed-off-by: Thierry Reding <treding@nvidia.com>
5 years agoarm64: tegra: Add display support on Tegra194
Thierry Reding [Fri, 23 Nov 2018 12:31:36 +0000 (13:31 +0100)]
arm64: tegra: Add display support on Tegra194

Tegra194 contains a display architecture very similar to that found on
the Tegra186. One notable exception is that DSI is no longer a supported
output. Instead there are four display controllers and four SORs (with a
DPAUX associated to each of them) that can drive HDMI or DP.

Signed-off-by: Thierry Reding <treding@nvidia.com>
5 years agoARM: dts: aspeed: Add Facebook Backpack-CMM BMC
Tao Ren [Fri, 9 Nov 2018 00:50:46 +0000 (16:50 -0800)]
ARM: dts: aspeed: Add Facebook Backpack-CMM BMC

Add initial version of device tree file for Facebook Backpack CMM
(Chasis Management Module) ast2500 BMC.

Signed-off-by: Tao Ren <taoren@fb.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
5 years agoARM: dts: Add Facebook BMC flash layout
Tao Ren [Fri, 9 Nov 2018 00:50:34 +0000 (16:50 -0800)]
ARM: dts: Add Facebook BMC flash layout

This is the layout used by Facebook BMC systems. It describes the fixed
flash layout of a 32MB mtd device.

Signed-off-by: Tao Ren <taoren@fb.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
5 years agoARM: dts: aspeed: wspoon: Enable iio-hwmon battery
Matt Spinler [Fri, 12 Oct 2018 15:29:15 +0000 (10:29 -0500)]
ARM: dts: aspeed: wspoon: Enable iio-hwmon battery

The BMC can read the RTC battery voltage via ADC
channel 12.

Signed-off-by: Matt Spinler <spinler@linux.vnet.ibm.com>
Reviewed-by: Lei YU <mine260309@gmail.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
5 years agoARM: dts: aspeed: romulus: Enable iio-hwmon-battery
Lei YU [Wed, 22 Aug 2018 07:47:28 +0000 (15:47 +0800)]
ARM: dts: aspeed: romulus: Enable iio-hwmon-battery

Add iio-hwmon-battery using adc channel 12 and enable adc to make
adc running. This channel is used to read RTC battery voltage.

Note with Romulus hardware design, it requires GPIOR3 to be pulled
high to read the voltage, otherwise the reading is 0.
When GPIOR3 is high, it consumes battery and impacts the battery life.
So it is left for user space to toggle the GPIO when trying to read the
voltage.

Signed-off-by: Lei YU <mine260309@gmail.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
5 years agoARM: dts: aspeed: Enable VHUB on Romulus
Joel Stanley [Wed, 4 Jul 2018 06:25:41 +0000 (16:25 +1000)]
ARM: dts: aspeed: Enable VHUB on Romulus

The Romulus USB bus is connected to the Power9's PCIe USB controller.

Signed-off-by: Joel Stanley <joel@jms.id.au>
5 years agoARM: dts: aspeed-palmetto: Add LPC control node
Joel Stanley [Mon, 27 Aug 2018 23:15:19 +0000 (16:15 -0700)]
ARM: dts: aspeed-palmetto: Add LPC control node

This adds the required LPC node with phandles to the reserved memory
region and the mtd device.

Signed-off-by: Joel Stanley <joel@jms.id.au>
5 years agoARM: dts: aspeed: Palmetto system can use coprocessor for FSI
Benjamin Herrenschmidt [Tue, 24 Jul 2018 04:24:04 +0000 (14:24 +1000)]
ARM: dts: aspeed: Palmetto system can use coprocessor for FSI

This allows userspace to switch away from bitbanging to use kernel
FSI with the coprocessor.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Joel Stanley <joel@jms.id.au>
5 years agoARM: dts: aspeed: Romulus system can use coprocessor for FSI
Benjamin Herrenschmidt [Tue, 24 Jul 2018 04:24:03 +0000 (14:24 +1000)]
ARM: dts: aspeed: Romulus system can use coprocessor for FSI

This replaces the FSI compatible with the ColdFire FSI compatible.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Joel Stanley <joel@jms.id.au>
5 years agoARM: dts: pxa: clean up USB controller nodes
Daniel Mack [Sat, 1 Dec 2018 13:54:51 +0000 (14:54 +0100)]
ARM: dts: pxa: clean up USB controller nodes

PXA25xx SoCs don't have a USB controller, so drop the node from the
common pxa2xx.dtsi base file. Both pxa27x and pxa3xx have a dedicated
node already anyway.

While at it, unify the names for the nodes across all pxa platforms.

Signed-off-by: Daniel Mack <daniel@zonque.org>
Reported-by: Sergey Yanovich <ynvich@gmail.com>
Link: https://patchwork.kernel.org/patch/8375421/
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
5 years agoARM: dts: pxa3xx: clean up pxa3xx clock controller node name
Daniel Mack [Fri, 30 Nov 2018 17:55:42 +0000 (18:55 +0100)]
ARM: dts: pxa3xx: clean up pxa3xx clock controller node name

The clock controller node does not need a unit slave designator as it does
not have a reg property. Also, remove the underscore from the name.

Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
5 years agoARM: dts: pxa3xx: order timer and gcu nodes under /pxabus
Daniel Mack [Fri, 30 Nov 2018 17:55:41 +0000 (18:55 +0100)]
ARM: dts: pxa3xx: order timer and gcu nodes under /pxabus

These are devices on the PXA bus, so make the device tree structure
reflect that.

Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
5 years agoARM: dts: pxa2xx: fix hwuart memory range
Daniel Mack [Fri, 30 Nov 2018 17:55:39 +0000 (18:55 +0100)]
ARM: dts: pxa2xx: fix hwuart memory range

The memory range for the hwuart is at 0x41600000, not 0x41100000.
This also solves a conflict with the MMC controller node.

Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>