]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/log
mirror_ubuntu-eoan-kernel.git
5 years agoMerge tag 'mvebu-dt64-4.21-1' of git://git.infradead.org/linux-mvebu into next/dt
Olof Johansson [Wed, 12 Dec 2018 20:51:46 +0000 (12:51 -0800)]
Merge tag 'mvebu-dt64-4.21-1' of git://git.infradead.org/linux-mvebu into next/dt

mvebu dt64 for 4.21 (part 1)

 - complete the description of the clearfog-gt-8k board (Armada 8040
   based board)
 - declare eMMC on espressobin (Armada 3720 based board) which still
   need to be enable by the bootloader as it is not present on all the
   board.
 - add a new version of the Macchiatobin (Armada 8040 based board): the
   Single Shot (without the 10G 3310 PHYs).

* tag 'mvebu-dt64-4.21-1' of git://git.infradead.org/linux-mvebu:
  arm64: dts: clearfog-gt-8k: describe mini-PCIe CON2 USB
  arm64: dts: add support for Macchiatobin Single Shot board
  arm64: dts: marvell: armada-37xx: Enable emmc on espressobin
  arm64: dts: marvell: armada37xx: Add emmc/sdio pinctrl definition
  arm64: dts: clearfog-gt-8k: enable mini-PCIe CON2 USB
  arm64: dts: clearfog-gt-8k: 1G eth PHY reset signal
  arm64: dts: clearfog-gt-8k: fix USB regulator gpio polarity

Signed-off-by: Olof Johansson <olof@lixom.net>
5 years agoMerge tag 'qcom-arm64-for-4.21-2' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Wed, 12 Dec 2018 20:50:46 +0000 (12:50 -0800)]
Merge tag 'qcom-arm64-for-4.21-2' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux into next/dt

Qualcomm ARM64 Updates for v4.21 Part 2

* Switch to use dwc3-qcom glue driver on MSM8996
* Fix issue with xo clk name on MSM8998
* Add cooling maps on MSM8916
* Add UART nodes on SDM845
* Add camera subsystem support on MSM8996 and MSM8916

* tag 'qcom-arm64-for-4.21-2' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux:
  arm64: dts: msm8996: Use dwc3-qcom glue driver for USB
  arm64: dts: qcom: msm8998: Fixup clock to use xo_board
  arm64: dts: qcom: sdm845: Add UART nodes
  arm64: dts: qcom: msm8996: Add CAMSS support
  arm64: dts: qcom: msm8996: Add VFE SMMU node
  arm64: dts: qcom: Add pinctrls for camera sensors
  arm64: dts: qcom: Add Camera Control Interface pinctrls
  arm64: dts: qcom: msm8916: Add CAMSS support
  arm64: dts: qcom: msm8916: Add IOMMU sub-node for VFE context bank
  arm64: dts: msm8916: Add all CPUs in cooling maps

Signed-off-by: Olof Johansson <olof@lixom.net>
5 years agoMerge tag 'sunxi-dt64-for-4.21' of https://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Wed, 12 Dec 2018 20:50:00 +0000 (12:50 -0800)]
Merge tag 'sunxi-dt64-for-4.21' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into next/dt

Allwinner arm64 DT changes for 4.21

Our usual set of arm64 DT changes, with the biggest additions being:
  - Support for the video decoding engine in the A64
  - Support for the audio codec in the A64
  - USB Support in the H6
  - HDMI Support in the H6
  - EMAC Support in the H6
  - New board: Orange Pi Lite2

* tag 'sunxi-dt64-for-4.21' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux: (27 commits)
  arm64: dts: allwinner: a64: Fix up RTC device node and clock references
  arm64: dts: allwinner: a64: Add Video Engine node
  arm64: dts: allwinner: a64: Add support for the SRAM C1 section
  arm64: dts: allwinner: a64: pinebook: enable power supplies
  arm64: dts: allwinner: a64: sopine-baseboard: enable power supplies
  arm64: dts: allwinner: axp803: add AC and battery power supplies
  arm64: dts: allwinner: a64: bananapi-m64: Enable audio codec
  arm64: dts: allwinner: a64: enable sound on Pinebook
  arm64: dts: allwinner: a64: enable sound on Pine64 and SoPine
  arm64: dts: allwinner: a64: add nodes necessary for analog sound support
  arm64: dts: allwinner: h6: orangepi: Add device nodes for LEDs
  arm64: dts: allwinner: h6: orangepi: Enable USB 2.0 host and OTG ports
  arm64: dts: allwinner: h6: orangepi: Add board-wide 5V regulator
  arm64: dts: allwinner: h6: fix EMAC compatible string sequence
  arm64: dts: allwinner: a64: Add device node for Mali-400 GPU
  dt-bindings: gpu: mali-utgard: Add compatible for A64 Mali
  arm64: dts: allwinner: h6: enable USB2 on Pine H64
  arm64: dts: allwinner: h6: add USB Vbus regulator for Pine H64
  arm64: dts: allwinner: h6: add USB2-related device nodes
  arm64: dts: allwinner: h6: Enable HDMI output on Pine H64 board
  ...

Signed-off-by: Olof Johansson <olof@lixom.net>
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.kernel.org/pub/scm/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.kernel.org/pub/scm/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.kernel.org/pub/scm/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.kernel.org/pub/scm/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.kernel.org/pub/scm/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.kernel.org/pub/scm/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.kernel.org/pub/scm/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.kernel.org/pub/scm/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 agoarm64: dts: clearfog-gt-8k: describe mini-PCIe CON2 USB
Baruch Siach [Thu, 6 Dec 2018 11:19:09 +0000 (13:19 +0200)]
arm64: dts: clearfog-gt-8k: describe mini-PCIe CON2 USB

Enable the USB3 peripheral that is wired to CON2 on the Clearfog GT-8K
board.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
5 years agoarm64: dts: add support for Macchiatobin Single Shot board
Russell King [Mon, 5 Nov 2018 17:25:41 +0000 (17:25 +0000)]
arm64: dts: add support for Macchiatobin Single Shot board

Add DT support for the Macchiatobin Single Shot board from SolidRun,
which is similar to the Double Shot board, but does not have the
10G 3310 PHYs - the two ethernet ports are instead connected directly
to the SFP+ cages.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
5 years agoarm64: dts: marvell: armada-37xx: Enable emmc on espressobin
Ding Tao [Fri, 26 Oct 2018 11:50:28 +0000 (11:50 +0000)]
arm64: dts: marvell: armada-37xx: Enable emmc on espressobin

The ESPRESSObin board has a emmc interface available on U11: declare it
and let the bootloader enable it if the emmc is present.

[gregory.clement@bootlin.com: disable the emmc by default]
Signed-off-by: Ding Tao <miyatsu@qq.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
5 years agoarm64: dts: msm8996: Use dwc3-qcom glue driver for USB
Manu Gautam [Thu, 31 May 2018 10:47:10 +0000 (16:17 +0530)]
arm64: dts: msm8996: Use dwc3-qcom glue driver for USB

Move from dwc3-of-simple to dwc3-qcom glue driver to
support peripheral mode which requires qscratch wrapper
programming on VBUS event.

Fixes: a4333c3a6ba9 ("usb: dwc3: Add Qualcomm DWC3 glue driver")
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
Tested-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
5 years agoarm64: dts: qcom: msm8998: Fixup clock to use xo_board
Andy Gross [Fri, 7 Dec 2018 18:27:48 +0000 (12:27 -0600)]
arm64: dts: qcom: msm8998: Fixup clock to use xo_board

This patch sets the msm8998 xo clock name back to xo_board.  Recent
clock tree changes fixed the clock tree and the change to the xo name
is causing issues where msm8998 boards do not boot properly.  Let's
change it back and leave the xo label on it.

Fixes: 634da3307b08 (arm64: dts: qcom: msm8998: correct xo clock name)
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Reviewed-by: Jeffrey Hugo <jhugo@codeaurora.org>
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 agoarm64: dts: allwinner: a64: Fix up RTC device node and clock references
Chen-Yu Tsai [Mon, 3 Dec 2018 14:58:25 +0000 (22:58 +0800)]
arm64: dts: allwinner: a64: Fix up RTC device node and clock references

The RTC module on the A64 was claimed to be the same as on the A31, when
in fact it is not. It is actually compatible to the H3's RTC. The A64's
RTC has some extra crypto-related registers which the H3's does not, but
the exact function of these is not clear.

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>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
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 agoarm64: dts: qcom: sdm845: Add UART nodes
Matthias Kaehlcke [Thu, 4 Oct 2018 00:24:09 +0000 (17:24 -0700)]
arm64: dts: qcom: sdm845: Add UART nodes

This adds nodes for all possible UARTs to sdm845.dtsi. By default
only configure the RX/TX lines with pinctrl. Boards that use UARTs
with flow control can overwrite the configuration in the
<board>.dtsi.

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
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 agoarm64: dts: allwinner: a64: Add Video Engine node
Paul Kocialkowski [Wed, 5 Dec 2018 09:24:44 +0000 (10:24 +0100)]
arm64: dts: allwinner: a64: Add Video Engine node

This adds the Video Engine node for the A64. Since it can map the whole
DRAM range, there is no particular need for a reserved memory node
(unlike platforms preceding the A33).

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 agoarm64: dts: allwinner: a64: Add support for the SRAM C1 section
Paul Kocialkowski [Wed, 5 Dec 2018 09:24:39 +0000 (10:24 +0100)]
arm64: dts: allwinner: a64: Add support for the SRAM C1 section

Add the description for the SRAM C1 section to the A64 device-tree.

Since there is no entry for this section in the A64 manual, the base
address and size were only verified to be consistent empirically.

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: 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 agoarm64: dts: qcom: msm8996: Add CAMSS support
Todor Tomov [Mon, 19 Nov 2018 09:25:37 +0000 (11:25 +0200)]
arm64: dts: qcom: msm8996: Add CAMSS support

Add a node for the Camera Subsystem present on the Qualcomm
MSM8996 SoC.

Signed-off-by: Todor Tomov <todor.tomov@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
5 years agoarm64: dts: qcom: msm8996: Add VFE SMMU node
Todor Tomov [Mon, 19 Nov 2018 09:25:36 +0000 (11:25 +0200)]
arm64: dts: qcom: msm8996: Add VFE SMMU node

Add VFE SMMU node.

Signed-off-by: Todor Tomov <todor.tomov@linaro.org>
Reviewed-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
5 years agoarm64: dts: qcom: Add pinctrls for camera sensors
Todor Tomov [Tue, 13 Nov 2018 09:19:13 +0000 (11:19 +0200)]
arm64: dts: qcom: Add pinctrls for camera sensors

Add pinctrls required for camera sensors:
- power down signal;
- reset signal;
- camera external clock.

Signed-off-by: Todor Tomov <todor.tomov@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
5 years agoarm64: dts: qcom: Add Camera Control Interface pinctrls
Todor Tomov [Tue, 13 Nov 2018 09:19:12 +0000 (11:19 +0200)]
arm64: dts: qcom: Add Camera Control Interface pinctrls

Add pinctrls required for Camera Control Interface.

Signed-off-by: Todor Tomov <todor.tomov@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
5 years agoarm64: dts: qcom: msm8916: Add CAMSS support
Todor Tomov [Fri, 26 Oct 2018 15:37:16 +0000 (18:37 +0300)]
arm64: dts: qcom: msm8916: Add CAMSS support

Add a node for the Camera Subsystem present on the Qualcomm
MSM8916 SoC.

Signed-off-by: Todor Tomov <todor.tomov@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
5 years agoarm64: dts: qcom: msm8916: Add IOMMU sub-node for VFE context bank
Todor Tomov [Fri, 26 Oct 2018 15:37:15 +0000 (18:37 +0300)]
arm64: dts: qcom: msm8916: Add IOMMU sub-node for VFE context bank

Add IOMMU sub-node for VFE secure context bank.

Signed-off-by: Todor Tomov <todor.tomov@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
5 years agoarm64: dts: msm8916: Add all CPUs in cooling maps
Viresh Kumar [Fri, 16 Nov 2018 10:04:30 +0000 (15:34 +0530)]
arm64: dts: msm8916: Add all CPUs in cooling maps

Each CPU can (and does) participate in cooling down the system but the
DT only captures a handful of them, normally CPU0, in the cooling maps.
Things work by chance currently as under normal circumstances its the
first CPU of each cluster which is used by the operating systems to
probe the cooling devices. But as soon as this CPU ordering changes and
any other CPU is used to bring up the cooling device, we will start
seeing failures.

Also the DT is rather incomplete when we list only one CPU in the
cooling maps, as the hardware doesn't have any such limitations.

Update cooling maps to include all devices affected by individual trip
points.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
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.kernel.org/pub/scm/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.kernel.org/pub/scm/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>