sfrench/cifs-2.6.git
6 years agoMerge tag 'renesas-dt2-for-v4.15' of https://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Mon, 30 Oct 2017 11:02:31 +0000 (12:02 +0100)]
Merge tag 'renesas-dt2-for-v4.15' of https://git./linux/kernel/git/horms/renesas into next/dt

Pull "Second Round of Renesas ARM Based SoC DT Updates for v4.15" from Simon Horman:

* r8a77430 (RZ/G1M) SoC
  - Add XHCI support to SoC DT. Boards may enable this as appropriate

* All Renesas ARM based SoCs
  - Add missing clocks for ARM CPU cores

    Geert Uytterhoeven says "This series improves DT hardware descriptions
    for Renesas arm32 SoCs by adding missing clocks properties to the
    device nodes corresponding to ARM CPU cores."

* R-Car Gen 1 and 2, and RZ/G SoCs
  - Use R-Car Fallback compat strings for GPIO

    Simon Horman says "Use newly added R-Car GPIO Gen 1, 2 and 3 fallback
    compat strings in peace of now deprecated non-generation specific R-Car
    GPIO fallback compat string in the DT of Renesas ARM and arm64 based
    SoCs.

    As noted in the changelogs for the r8a777[89] changes, this introduces
    an incompatibility with pre-v4.14 kernels used with new DTBs. There is
    no run-time effect for other SoCs updated by this changeset."

* r7s72100 (RZ/A1H) GR-Peach board
  - Add pin configuration subnode for ETHER pin group.
    This avoids relying on boot-loader configuration of these pins.

  - Enable ostm0 and ostm1 timers

    Jacopo Mondi says these are "to be used as clock source and clockevent
    source. The timers provides greater accuracy than the already enabled
    mtu2 one."

  - Correct leds node name indent

  - Enable MTU2 timer pulse unit

   Jacopo Mondi says "MTU2 multi-function/multi-channel timer/counter is
   not enabled for GR-Peach board. The timer is used as clock event source
   to schedule wake-ups, and without this enabled all sleeps not performed
   through busy waiting hang the board."

* r8a7743 (RZ/G1M) iW-RainboW-G20M-Qseven SoM
  - Add USB function support

* r8a7745 (RZ/G1E) iW-RainboW-G22D development platform
  - Add USB2.0 Host support

* r8a7743 (RZ/G1M) iW-RainboW-G20D-Qseven development platform
  - Rework DT architecture and add DT for camera DB

    Fabrizio Castro says "Some of the serial interfaces are exposed on the
    camera daughter board.  The camera daughter board can be connected to
    the carrier board by means of expansion connectors 1, 2 and 3. The
    carrier board may host an RZ/G1M or an RZ/G1N based SoM.

    While adding support for the serial interfaces on the camera daughter
    board we faced the dilemma of how to properly describe all of the
    possible HW configurations and how to maximize code reuse.

    The best option would be to use device tree overlays, however there is
    still some work to be done on that front before actually using them,
    therefore for the time being we decided to provide .dtsi files to
    describe the carrier board and the camera daughter board, and provide
    .dts files to describe the HW configurations we need to support."

* r8a779[0-4] R-Car Gen2 SoCs
  - Use generic node name for VSP1 nodes

    Geert Uytterhoeven says "This patch series replaces the specific node
    names used for the VSP1 nodes by the preferred generic node names, cfr.
    commit 0e1bfb72b076b07d ("v4l: vsp1: Use generic node name")."

* tag 'renesas-dt2-for-v4.15' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: (42 commits)
  ARM: dts: r8a7743: Add xhci support to SoC dtsi
  ARM: dts: r7s72100: Add clock for CA9 CPU core
  dt-bindings: clk: r7s72100: Add missing I and G clocks
  ARM: dts: sh73a0: Add clocks for CA9 CPU cores
  ARM: dts: r8a7794: Add missing clock for secondary CA7 CPU core
  ARM: dts: r8a7793: Add missing clock for secondary CA15 CPU core
  ARM: dts: r8a7792: Add missing clock for secondary CA15 CPU core
  ARM: dts: r8a7791: Add missing clock for secondary CA15 CPU core
  ARM: dts: r8a7790: Add clocks for CA7 CPU cores
  ARM: dts: r8a7790: Add missing clocks for secondary CA15 CPU cores
  ARM: dts: r8a7779: Add clocks for CA9 CPU cores
  ARM: dts: r8a7778: Add clock for CA9 CPU core
  ARM: dts: r8a7743: Add missing clock for secondary CA15 CPU core
  ARM: dts: r8a73a4: Add clock for CA15 CPU0 core
  ARM: dts: r8a7794: Use R-Car GPIO Gen2 fallback compat string
  ARM: dts: r8a7793: Use R-Car GPIO Gen2 fallback compat string
  ARM: dts: r8a7792: Use R-Car GPIO Gen2 fallback compat string
  ARM: dts: r8a7791: Use R-Car GPIO Gen2 fallback compat string
  ARM: dts: r8a7790: Use R-Car GPIO Gen2 fallback compat string
  ARM: dts: r8a7743: Use R-Car GPIO Gen2 fallback compat string
  ...

6 years agoMerge tag 'sunxi-dt-for-4.15' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Mon, 30 Oct 2017 10:46:58 +0000 (11:46 +0100)]
Merge tag 'sunxi-dt-for-4.15' of https://git./linux/kernel/git/sunxi/linux into next/dt

Pull "Allwinner DT changes for 4.15" from Maxime Ripard:

The most notable changes are:
  - Conversion to the last SoC (A10, A20) to the new clock framework
  - HDMI and dual pipeline support for the A10, A20 and A31 DRM driver
  - Support for the various power supplies on a number of boards
  - Fix of DTC warnings on a number of SoCs, but most of them still need
    some work
  - New boards: A20-OLinuXino-MICRO-eMMC, TBS A711, Banana Pi M2 Berry,
    Banana Pi M2 Ultra
  - New R40 SoC support

* tag 'sunxi-dt-for-4.15' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux: (63 commits)
  ARM: sun8i: r40: enable USB host for Banana Pi M2 Ultra
  ARM: sun8i: v40: add 5V regulator for Banana Pi M2 Berry
  ARM: sun8i: r40: add 5V regulator for Banana Pi M2 Ultra
  ARM: sun8i: r40: add USB host port nodes for R40
  ARM: dts: sun4i: Enable HDMI support on some A10 devices
  ARM: dts: sun7i: Enable HDMI support on some A20 devices
  ARM: dts: sun7i: Add device nodes for display pipelines
  ARM: dts: sun4i: Add device nodes for display pipelines
  ARM: dts: sun8i: r40: add watchdog device node
  ARM: dts: sun5i: reference-design-tablet: Enable AXP209 AC and battery
  ARM: dts: sun9i: Change node names to remove underscores
  ARM: dts: sun9i: Change node names to remove underscores
  ARM: dts: sun4i: Remove underscores from nodes names
  ARM: dts: sun4i: Provide default muxing for relevant controllers
  ARM: dts: sun4i: Change pinctrl nodes to avoid warning
  ARM: dts: sun6i: Enable HDMI support on some A31/A31s devices
  ARM: dts: sun6i: Add device node for HDMI controller
  ARM: dts: sun4i: Change LRADC node names to avoid warnings
  ARM: dts: sun4i: Remove skeleton and memory to avoid warnings
  ARM: dts: sun4i: Remove gpio-keys warnings
  ...

6 years agoARM: sun8i: r40: enable USB host for Banana Pi M2 Ultra
Icenowy Zheng [Wed, 18 Oct 2017 13:06:27 +0000 (21:06 +0800)]
ARM: sun8i: r40: enable USB host for Banana Pi M2 Ultra

Banana Pi M2 Ultra board features two USB host ports, connected to the
two USB host ports on the SoC.

Add support for them.

Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
6 years agoARM: sun8i: v40: add 5V regulator for Banana Pi M2 Berry
Icenowy Zheng [Wed, 18 Oct 2017 13:06:26 +0000 (21:06 +0800)]
ARM: sun8i: v40: add 5V regulator for Banana Pi M2 Berry

On the Banana Pi M2 Berry board, the 5V power output (used by HDMI, SATA
and USB) is controlled via a GPIO.

Add regulator node for it.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
6 years agoARM: sun8i: r40: add 5V regulator for Banana Pi M2 Ultra
Icenowy Zheng [Wed, 18 Oct 2017 13:06:25 +0000 (21:06 +0800)]
ARM: sun8i: r40: add 5V regulator for Banana Pi M2 Ultra

On newer revisions of the Banana Pi M2 Ultra boards, the 5V power output
(used by HDMI, SATA and USB) is controller via a GPIO.

Add the regulator node for it.

Older revisions just have the 5V power output always on, and the GPIO is
reserved on these boards. So it won't affect the older revisions.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
6 years agoARM: sun8i: r40: add USB host port nodes for R40
Icenowy Zheng [Wed, 18 Oct 2017 13:06:24 +0000 (21:06 +0800)]
ARM: sun8i: r40: add USB host port nodes for R40

Allwinner R40 SoC features a USB OTG port and two USB HOST ports.

Add support for the host ports in the DTSI file.

The OTG controller still cannot work with existing compatibles, and needs
more investigation. So it's not added yet.

Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
6 years agoMerge tag 'omap-for-v4.15/dt-signed' of git://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Thu, 19 Oct 2017 22:45:19 +0000 (00:45 +0200)]
Merge tag 'omap-for-v4.15/dt-signed' of git://git./linux/kernel/git/tmlind/linux-omap into next/dt

Pull "device tree changes for omaps for v4.15 merge window" from Tony Lindgren:

Device tree changes for omaps for v4.15 merge window to improve
support for omap35xx-evm, am34xx-epos-evm and dra7:

- A series of changes to fix support for omap35xx-evm

- A series of changes to add earlycon support for n8x0, pandaboard
  and omap5 boards

- A series of changes for am43xx-epos-evm pinctrl modes for default
  and sleep states

- A series of changes to correct pbias regulator voltage for dra7
  from 3V to 3.3V

- Use microchip compatible instead of deprecated mcp compatible for
  mcp23017

* tag 'omap-for-v4.15/dt-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: (22 commits)
  ARM: dts: omap3: Replace deprecated mcp prefix
  ARM: dts: dra7-evm: Move pcie RC node to common file
  ARM: dts: omap5: Increase max-voltage of pbias regulator
  ARM: dts: dra7: Increase max-voltage of pbias regulator
  ARM: dts: am43xx-epos-evm: Add default pinmux for unused pins
  ARM: dts: am43xx-epos-evm: Add default and sleep pinmux for usb2_phy1 and usb2_phy2
  ARM: dts: am43xx-epos-evm: Add default and sleep pinmux for uart0
  ARM: dts: am43xx-epos-evm: Add default and sleep pinmux for matrix_keypad0
  ARM: dts: am43xx-epos-evm: Add sleep pinmux for mmc1
  ARM: dts: am43xx-epos-evm: Add sleep pinmux for pixcir_ts
  ARM: dts: am43xx-epos-evm: Add sleep pinmux for gpmc
  ARM: dts: am43xx-epos-evm: Add sleep pinmux for ecap0
  ARM: dts: am43xx-epos-evm: Add sleep pinmux for qspi1
  ARM: dts: am43xx-epos-evm: Add sleep pinmux for spi0 and spi1
  ARM: dts: am43xx: Introduce additional pinmux definitions for DS0
  ARM: dts: Configure earlycon for omap5-common
  ARM: dts: Configure earlycon for pandaboard
  ARM: dts: Configure earlycon for n8x0
  ARM: dts: omap3-evm: Add DSS {vdds_dsi,vdda_video}-supply references
  ARM: dts: omap3: Add Sharp LS037V7DW01 'envdd' supply
  ...

6 years agoMerge tag 'omap-for-v4.15/fixes-dt-signed' of git://git.kernel.org/pub/scm/linux...
Arnd Bergmann [Thu, 19 Oct 2017 22:34:54 +0000 (00:34 +0200)]
Merge tag 'omap-for-v4.15/fixes-dt-signed' of git://git./linux/kernel/git/tmlind/linux-omap into next/soc

Pull "non-urgent device tree fixes for omaps for v4.15 merge window"
from Tony Lindgren

Non-urgent device tree fixes for omaps that can all wait for v4.15
merge window.

Turns out that we have many devices working just because we have
the legacy platform data still around. This is mostly an issue
for omap4, other SoCs just have minimal fixes needed.

As many of the missing device tree nodes and properties are for
devices that have no drivers in the mainline kernel, such as
slimbus, iss, mcasp, aess, fdif and gpu, we might as well start
using the new "ti,sysc" interconnect target module binding for
them so we can get the devices with no child device drivers idled.

This also makes it possible to drop unnecessary platform data
in later patches.

* tag 'omap-for-v4.15/fixes-dt-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  ARM: dts: Fix typo for omap4 mcasp rx path
  ARM: dts: Configure SmartReflex only to idle the interconnect target module
  ARM: dts: Add nodes for missing omap4 interconnect target modules
  dt-bindings: bus: Minimal TI sysc interconnect target module binding
  ARM: dts: Add missing hwmod related properties for dra7
  ARM: dts: Add missing hwmod related nodes for am33xx
  ARM: dts: Add missing dma hwmod property for omap5
  ARM: dts: Add missing wdt3 node for omap4
  ARM: dts: Add missing hsi node for omap4
  ARM: dts: Add missing onewire node for omap4
  ARM: dts: Add missing smartreflex node and binding for omap4
  ARM: dts: Add missing hwmods property for omap4 dma
  ARM: dts: Add missing properties for omap4 control modules
  ARM: dts: Configure pmu without interrupt for omap4430
  ARM: dts: Add missing dma hwmods property for omap3

6 years agoMerge tag 'v4.15-rockchip-dts64-1' of git://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Thu, 19 Oct 2017 22:33:55 +0000 (00:33 +0200)]
Merge tag 'v4.15-rockchip-dts64-1' of git://git./linux/kernel/git/mmind/linux-rockchip into next/soc

Pull "Rockchip dts64 updates for 4.15 part1" from Heiko Stübner:

The biggest step forward is probably the enablement of display support
on the rk3399-firefly, which got its default serial set as well and
got cec support as well.
Gru boards got their touchpad support refined to actually mark the button
correctly and also git their rt5514 dsp added.
And finally the rk3328 eval board got its cpu regulator and mmc nodes.

* tag 'v4.15-rockchip-dts64-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
  arm64: dts: rockchip: enable cec pin for rk3399 firefly
  arm64: dts: rockchip: add the cec clk for dw-mipi-hdmi on rk3399
  arm64: dts: rockchip: default serial for Firefly-RK3399
  arm64: dts: rockchip: enable touchpad button for rk3399-gru-kevin
  arm64: dts: rockchip: enable display subsystem on rk3399-firefly
  arm64: dts: rockchip: Add rt5514 dsp for rk3399 gru
  arm64: dts: rockchip: add cpu regulator for rk3328 evaluation board
  arm64: dts: rockchip: add mmc nodes for rk3328 evaluation board

6 years agoMerge tag 'v4.15-rockchip-dts32-1' of git://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Thu, 19 Oct 2017 22:32:53 +0000 (00:32 +0200)]
Merge tag 'v4.15-rockchip-dts32-1' of git://git./linux/kernel/git/mmind/linux-rockchip into next/soc

Pull "Rockchip dts32 updates for 4.15 part1" from Heiko Stübner:

One new board the Vyasa from Amarula Solutions using a rk3288
and core lvds node for the newly added driver+binding.
Also bindings + nodes for the Mali-Utgard GPUs found on some
Rockchip socs like rk3036 and rk3188. With the recently revived
Lima project they can even render a red triangle to a png file.

* tag 'v4.15-rockchip-dts32-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
  ARM: dts: rockchip: Enable thermal on rk3288-vyasa board
  ARM: dts: rockchip: fix mali400 ppmmu interrupt names
  ARM: dts: rockchip: Enable mali GPU node on rk3288-vyasa
  ARM: dts: rockchip: enable gpu on rk3188-radxarock
  ARM: dts: rockchip: add gpu nodes on rk3066/rk3188
  ARM: dts: rockchip: add rk322x gpu node
  ARM: dts: rockchip: enable the gpu on rk3036-kylin boards
  ARM: dts: rockchip: add rk3036 gpu node
  dt-bindings: gpu: mali-utgard: add optional power-domain reference
  dt-bindings: gpu: mali-utgard: add optional supply regulator
  dt-bindings: gpu: mali-utgard: Add Rockchip Utgard Malis
  ARM: dts: rockchip: enable vops and hdmi output on rk3288-vyasa
  ARM: dts: rockchip: Add rk3288 vyasa board
  dt-bindings: Add vendor prefix for Amarula Solutions
  ARM: dts: rockchip: add LVDS node for rk3288

6 years agoMerge tag 'stm32-dt-for-v4.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Thu, 19 Oct 2017 22:29:17 +0000 (00:29 +0200)]
Merge tag 'stm32-dt-for-v4.15-1' of git://git./linux/kernel/git/atorgue/stm32 into next/soc

Pull "STM32 DT updates for v4.15, round 1" from Alexandre Torgue:

Highlights:
----------
 -Add I2C1 support on STM32F746 SoC
 -Enable I2C1 on STM32F746 eval board
 -Add Timers support on STM32F746 SoC
 -Add USB HS and FS supports on STM32F746 Soc
 -Enable USB HS on STM32F746 disco and eval boards
 -Enable USB FS en STM32F746 disco board
 -Add Vrefbuf to STM32H743 SoC
 -Add LPTIMERS support on STM32H743 SoC
 -Add DMAMUX support on STM32H743 SoC
 -Enable STM32H743 clock driver
 -Add MDMA support on STM32H743 SoC
 -Change pinctrl pinmux entries for all SoC.

* tag 'stm32-dt-for-v4.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32:
  ARM: dts: stm32: Add MDMA support for STM32H743 SoC
  ARM: dts: stm32: Enable USB FS on stm32f746-disco
  ARM: dts: stm32: Add USB FS support for STM32F746 MCU
  ARM: dts: stm32: Enable USB HS on stm32f746-disco
  ARM: dts: stm32: Enable USB HS on stm32746g-eval
  ARM: dts: stm32: Add USB HS support for STM32F746 MCU
  ARM: dts: stm32: change pinctrl bindings definition
  ARM: dts: stm32: Enable STM32H743 clock driver
  ARM: dts: stm32: fix hse clock frequency on STM32H743 Eval board
  ARM: dts: stm32: add Timers driver for stm32f746 MCU
  ARM: dts: stm32: Add DMAMUX support for STM32H743 SoC
  ARM: dts: stm32: Add lptimer definitions to stm32h743
  ARM: dts: stm32: add vrefbuf to stm32h743
  ARM: dts: stm32: Add I2C1 support for STM32F746 eval board
  ARM: dts: stm32: Add I2C1 support for STM32F746 SoC

6 years agoMerge tag 'qcom-dts-for-4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/agross...
Arnd Bergmann [Thu, 19 Oct 2017 22:28:13 +0000 (00:28 +0200)]
Merge tag 'qcom-dts-for-4.15' of git://git./linux/kernel/git/agross/linux into next/soc

Pull "Qualcomm Device Tree Changes for v4.15" from Andy Gross:

* Add Support for MSM8974 based Fairphone 2 phone
* Add support for MSM8974 based Sony Xperia Z2 Tablet
* Add MSM8660 GSBI6/7 nodes
* Disable GSBI6 at APQ8064 platform level
* Fix phy cells on APQ8064

* tag 'qcom-dts-for-4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux:
  ARM: dts: msm8974-FP2: Add USB node
  ARM: dts: msm8974-FP2: Add sdhci1 node
  ARM: dts: msm8974-FP2: Add regulator nodes for FP2
  ARM: dts: msm8974-FP2: Introduce gpio-keys nodes
  ARM: dts: qcom: Add initial DTS file for Fairphone 2 phone
  ARM: dts: qcom: add MSM8660 GSBI6 and GSBI7
  ARM: dts: qcom: msm8974: Add Sony Xperia Z2 Tablet
  ARM: dts: qcom-apq8064: disable gsbi6 i2c by default at soc dtsi
  ARM: dts: qcom-apq8064: Fix dsi and hdmi phy cells

6 years agoMerge tag 'qcom-arm64-for-4.15' of git://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Thu, 19 Oct 2017 22:26:46 +0000 (00:26 +0200)]
Merge tag 'qcom-arm64-for-4.15' of git://git./linux/kernel/git/agross/linux into next/soc

Pull "Qualcomm ARM64 Updates for v4.15" from Andy Gross:

* Add PCIE support to relevant MSM8996 based boards
* Add RPM clock controller node on MSM8996
* Add dload address on MSM8916 and MSM8996
* Add MBHC button support on APQ8016 SBC
* Add RTMFS specific compatible for rmtfs memory node
* Fixups for MSM8916 GPIO line names and MDP address length

* tag 'qcom-arm64-for-4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux:
  arm64: dts: msm8916: Mark rmtfs node as qcom, rmtfs-mem compatible
  arm64: dts: msm8996: Add the rpm clock controller node
  arm64: dts: qcom: sbc: Name GPIO lines
  arm64: dts: qcom: msm8916: Shrink mdp address length for msm8916
  arm64: dts: apq8016-sbc: add mbhc buttons support
  arm64: dts: qcom: Specify dload address for msm8916 and msm8996
  arm64: dts: apq8096-db820c: never disable regulator on LS expansion
  arm64: dts: apq8096-db820c: Enable on board 3 pcie root complex
  arm64: dts: qcom: msm8996: add support to pcie

6 years agoMerge tag 'zynq-dt-for-4.15' of https://github.com/Xilinx/linux-xlnx into next/soc
Arnd Bergmann [Thu, 19 Oct 2017 22:26:04 +0000 (00:26 +0200)]
Merge tag 'zynq-dt-for-4.15' of https://github.com/Xilinx/linux-xlnx into next/soc

Pull "arm: Xilinx ZynqMP DT changes for v4.15" from Michal Simek:

- Change 24c08 compatible string

* tag 'zynq-dt-for-4.15' of https://github.com/Xilinx/linux-xlnx:
  ARM: dts: zynq: Add generic compatible string for I2C EEPROM

6 years agoMerge tag 'samsung-dt-4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk...
Arnd Bergmann [Thu, 19 Oct 2017 22:24:24 +0000 (00:24 +0200)]
Merge tag 'samsung-dt-4.15' of git://git./linux/kernel/git/krzk/linux into next/soc

Pull "Samsung DTS ARM changes for 4.15" from Krzysztof Kozłowski:

1. Add new board: Hardkernel Odroid HC1.
2. Fix incomplete Odroid-XU3/4 thermal-zones definition leading to
   possible overheat if first pair of A7+A15 cores is idle but rest of
   CPUs are busy.
3. Add capacity-dmips-mhz properties for CPUs of octa-core SoCs.
4. Add power button to Odroid XU3/4.
5. Improvements in Gscaler, HDMI and Mixer blocks on Exynos5.
6. Add suspend quirk to DWC3 USB controller to fix enumeration of
   SuperSpeed devices on Odroid XU4.
7. Add HDMI and MHL to Trats2.
8. Cleanups (redundant properties and nodes).

* tag 'samsung-dt-4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  dt-bindings: samsung: Document binding for new Odroid HC1 board
  ARM: dts: exynos: Add HDMI and Sil9234 to Trats2 board
  ARM: dts: exynos: Add support for Hardkernel's Odroid HC1 board
  ARM: dts: exynos: Move audio clocks configuration to odroidxu3-audio.dtsi
  ARM: dts: exynos: Add dwc3 SUSPHY quirk
  ARM: dts: exynos: Add status property to Exynos 542x Mixer nodes
  ARM: dts: exynos: Add status property to Exynos 5250 HDMI and Mixer nodes
  ARM: dts: exynos: Cleanup HDMI DCC definitions on Exynos5250 and Exynos542x boards
  ARM: dts: exynos: Move HDMI PHY node from boards to exynos5250.dtsi
  ARM: dts: exynos: Use specific compatibles for proper Gscaler limits on Exynos5250 and Exynos5420
  ARM: dts: exynos: Remove redundant interrupt properties in gpio-keys on Odroid boards
  ARM: dts: exynos: Add power button for Odroid XU3/4
  ARM: dts: exynos: Remove the display-timing and delay from Rinato
  ARM: dts: exynos: add exynos5422 cpu capacity-dmips-mhz information
  ARM: dts: exynos: add exynos5420 cpu capacity-dmips-mhz information
  ARM: dts: exynos: fix incomplete Odroid-XU3/4 thermal-zones definition

6 years agoMerge tag 'davinci-for-v4.15/dt' of git://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Thu, 19 Oct 2017 22:17:50 +0000 (00:17 +0200)]
Merge tag 'davinci-for-v4.15/dt' of git://git./linux/kernel/git/nsekhar/linux-davinci into next/soc

Pull "DaVinci DT updates for v4.15" from Sekhar Nori:

Add support for accessing DSP on DA850 SoC when using
device-tree.

* tag 'davinci-for-v4.15/dt' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci:
  ARM: davinci: da8xx-dt: Add OF_DEV_AUXDATA entry for DSP clock matching
  ARM: dts: da850-lcdk: Add and enable CMA reserved pool for DSP
  ARM: dts: da850: Add DSP node

6 years agoMerge tag 'hisi-arm64-dt-for-4.15' of git://github.com/hisilicon/linux-hisi into...
Arnd Bergmann [Thu, 19 Oct 2017 21:52:53 +0000 (23:52 +0200)]
Merge tag 'hisi-arm64-dt-for-4.15' of git://github.com/hisilicon/linux-hisi into next/soc

ARM64: DT: Hisilicon SoC DT updates for 4.15

- Add CoreSight related nodes for hi6220
- Add GPIO line names for hikey960
- Rectify the GPIO line names of the Poplar board to keep consistency
- Add thermal sensor binding doc and dt nodes for hi3660

* tag 'hisi-arm64-dt-for-4.15' of git://github.com/hisilicon/linux-hisi:
  arm64: dts: Register Hi3660's thermal sensor
  dt-bindings: Document the hi3660 thermal sensor binding
  arm64: dts: hisilicon: Standardize Poplar GPIO line names
  arm64: dts: hikey960: Update HiKey960 with GPIO line names
  arm64: dts: hi6220: add coresight dt nodes

6 years agoARM: dts: Add TVE200 to the Gemini SoC DTSI
Linus Walleij [Wed, 11 Oct 2017 17:45:19 +0000 (19:45 +0200)]
ARM: dts: Add TVE200 to the Gemini SoC DTSI

The Faraday TVE200 is present in the Gemini SoC, sometimes
under the name "TVC". Add it to the SoC DTSI file along with
its resources.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
6 years agoMerge tag 'juno-updates-4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep...
Arnd Bergmann [Thu, 19 Oct 2017 21:50:15 +0000 (23:50 +0200)]
Merge tag 'juno-updates-4.15' of git://git./linux/kernel/git/sudeep.holla/linux into next/soc

Pull "ARMv8 Vexpress/Juno DT update for v4.15" from Sudeep Holla:

Just single update to enable PSCI support on Foundation models

* tag 'juno-updates-4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux:
  arm64: dts: foundation-v8: Enable PSCI mode

6 years agoMerge tag 'aspeed-4.15-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Thu, 19 Oct 2017 21:45:49 +0000 (23:45 +0200)]
Merge tag 'aspeed-4.15-devicetree' of git://git./linux/kernel/git/joel/aspeed into next/soc

Pull "ASPEED devicetree updates for 4.15" from Joel Stanley:

 - Cleanups of the ASPEED device trees
 - Enable the i2c bus on all platforms
 - Turn VUART on for BMC platforms
 - Bind watchdog two for compatilbiy with shipping u-boot

* tag 'aspeed-4.15-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/aspeed:
  ARM: dts: aspeed-romulus: Enable VUART
  ARM: dts: aspeed-palmetto: Enable VUART
  ARM: dts: aspeed: Enable watchdog two
  ARM: dts: aspeed: Remove undocumented wdt properties
  ARM: dts: aspeed: Clean up UART nodes
  ARM: dts: aspeed: Correctly order UART nodes
  ARM: dts: aspeed: Add aliases for UARTs
  ARM: dts: aspeed-ast2500: Add I2C devices
  ARM: dts: aspeed-palmetto: Add I2C devices
  ARM: dts: aspeed-romulus: Add I2C devices
  ARM: dts: aspeed: Add I2C buses
  ARM: dts: aspeed: Reorder ADC node
  ARM: dts: aspeed: Move pinctrl subnodes to improve readability

6 years agoMerge tag 'socfpga_dts_for_v4.15_part1' of git://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Thu, 19 Oct 2017 21:44:06 +0000 (23:44 +0200)]
Merge tag 'socfpga_dts_for_v4.15_part1' of git://git./linux/kernel/git/dinguyen/linux into next/soc

Pull "SoCFPGA DTS updates for v4.15" from Dinh Nguyen:
- Stratix10 platform updates
  - Fix up gic register entry
  - Enable ethernet/SDMMC
  - Update reset manager properties

* tag 'socfpga_dts_for_v4.15_part1' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux:
  arm64: dts: stratix10: add reset property for various peripherals
  arm64: dts: stratix10: add the 'altr,modrst-off' property
  arm64: dts: stratix10: include the reset manager bindings
  arm64: dts: stratix10: add ethernet/sdmmc support to the S10 devkit
  arm64: dts: stratix10: fix up the gic register for the Stratix10 platform

6 years agoMerge tag 'renesas-dt-for-v4.15' of https://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Thu, 19 Oct 2017 21:41:57 +0000 (23:41 +0200)]
Merge tag 'renesas-dt-for-v4.15' of https://git./linux/kernel/git/horms/renesas into next/soc

Pull "Renesas ARM Based SoC DT Updates for v4.15" from Simon Horman:

* r7s72100 (RZ/A1) Peach board
  - Add pin groups for SCIF2 serial debug interface and Ethernet
    This avoids relying on bootloader settings
  - Support control of LED1 using gpio-leds

* r8a7743 (RZ/G1M) and r8a7745 (RZ/G1E) SoCs
  - Add MSIOF[012] support and define aliases for spi[0123]

* r8a7743 (RZ/G1M) SoC
  - Add I2C and IIC core nodes

* r8a7743 (RZ/G1M) iW-RainboW-G20D-Qseven development platform
   - Enable SDHI1 SD controller supporting high-speed and SDR50 transfers
   - Add chosen node to allow correct selection of serial console
     and the kernel command line
   - Enable RTC support
   - Enable USB2.0 host support
     This includes enabling USB PHY and internal PCI

* r8a7743 (RZ/G1M) iW-RainboW-G20M-Qseven and
  r8a7745 (RZ/G1E) iW-RainboW-G22M-SM SoMs
   - Enable Add SPI NOR support
     This devices is used to boot up the system to the SoM DT

* r8a7743 (RZ/G1M) iW-RainboW-G20M-Qseven SoM
  - Enable SDHI0 SD controller supporting high-speed transfers

* r8a7745 (RZ/G1E) iW-RainboW-G22D development platform
  - Add pnctl support for scif4
    This avoids reling on boot loader settings
  - Add EtherAVB support

* r8a7745 (RZ/G1E) iW-RainboW-G22M-SM SoM
  - Add basic SoM support
  - Enable MMCIF eMMC support
  - Enable RTC support
  - Enable SDHI1 SD controller supporting high-speed transfers

* r8a779[0-4] R-Car Gen2 SoCs
  - Add reset control properties
    Geert Uytterhoeven says:

    This patch series describes the reset topology on all R-Car Gen2 Socs,
    like was done before for R-Car Gen3 and RZ/G1.

    Resets usually match the corresponding module clocks.  Exceptions are:
      - The audio module has resets for the Serial Sound Interfaces only,
      - The display module has only a single reset for all DU channels, but
adding reset properties for the display is postponed upon request
from Laurent.

   - Convert to new CPG/MSSR bindings
     Geert Uytterhoven says:

     Currently Renesas R-Car Gen2 SoCs use the common clk-rcar-gen2,
     clk-mstp, and clk-div6 drivers, which depend on most clocks being
     described in DT.  Especially the module (MSTP) clocks are cumbersome
     and error prone, due to 3 arrays (clocks, clock-indices, and
     clock-output-names) to be kept in sync. In addition, the clk-mstp
     driver cannot be extended easily to also support module resets, which
     are provided by the same hardware module.

     Hence when developing support for R-Car Gen3 SoCs, another approach
     was chosen, which led to the CPG/MSSR driver core, and SoC-specific
     subdrivers (initially for R-Car Gen3, but later also for RZ/G1).

     This series converts the various R-Car Gen2 DTSes to migrate to the
     new CPG/MSSR drivers that were added in v4.13-rc1.

* r8a779[0,1,3,4] R-Car Gen2 SoCs
  - Stop grouping clocks under a "clocks" subnode
    Geert Uytterhoeven says:

    The current practice is to not group clocks under a "clocks" subnode,
    but just put them together with the other on-SoC devices.

    Hence this patch series implements this for the various R-Car Gen2
    DTSes that still need this (r8a7792.dtsi is OK).

* r8a7794 (E2) Alt board
  - Correct inverted sense of SD wip pins

* tag 'renesas-dt-for-v4.15' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: (48 commits)
  ARM: dts: r8a7743: Add MSIOF[012] support
  ARM: dts: r8a7745: Add MSIOF[012] support
  ARM: dts: iwg22d: Enable SDHI0 controller
  ARM: dts: iwg22m: Add SPI NOR support
  ARM: dts: r8a7745: Add QSPI support
  ARM: dts: iwg20m: Add SPI NOR support
  ARM: dts: r8a7743: Add QSPI support
  ARM: dts: iwg22m: Enable SDHI1 controller
  ARM: dts: r8a7745: Add SDHI controllers
  ARM: dts: r8a7794: Add reset control properties
  ARM: dts: r8a7793: Add reset control properties
  ARM: dts: r8a7792: Add reset control properties
  ARM: dts: r8a7791: Add reset control properties
  ARM: dts: r8a7790: Add reset control properties
  ARM: dts: r8a7743: Add IIC cores to dtsi
  ARM: dts: alt: use correct logic for SD WP pins
  ARM: dts: iwg20d-q7: Enable USB PHY
  ARM: dts: iwg20d-q7: Enable internal PCI
  ARM: dts: r8a7743: Link PCI USB devices to USB PHY
  ARM: dts: r8a7743: Add USB PHY DT support
  ...

6 years agoMerge tag 'renesas-dt-bindings-for-v4.15' of https://git.kernel.org/pub/scm/linux...
Arnd Bergmann [Thu, 19 Oct 2017 21:40:23 +0000 (23:40 +0200)]
Merge tag 'renesas-dt-bindings-for-v4.15' of https://git./linux/kernel/git/horms/renesas into next/soc

Pull "Renesas ARM Based SoC DT Bindings Updates for v4.15" from Simon Horman:

* Consistently do not use ';' in documentation of compat strings
  for boards. A misture of using and not using a trailing ';' had
  krept in over time with not using being dominant.

* Document bindings for
  - Eagle board and r8a77970 (V3M) SoC bindings.
    Eagle is a board for the V3M SoC
  - Document Kingfisher board bindings.
    Kingfisher is an extension board for the H3ULCB and M3ULCB boards.

* Add r8a77970 (V3M) SYSC power domain definitions

  Add macros usable by the device tree sources to reference r8a77970 SYSC
  power domains by index.

* Add Renesas SoC DT bindings doc to Renesas ARM section of MAINTAINERS file

* Drop bogus node name suffix from example of /renesas,dw-hdmi binding

* Document APMU and SMP enable method for r8a7745 (RZ/G1E) SoC

* tag 'renesas-dt-bindings-for-v4.15' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  ARM: shmobile: remove inconsistent ; from documentation
  arm64: renesas: document Eagle board bindings
  arm: shmobile: Document Kingfisher board DT bindings
  dt-bindings: power: add R8A77970 SYSC power domain definitions
  MAINTAINERS: Add Renesas SoC DT bindings doc to Renesas ARM sections
  ARM: shmobile: Document R-Car V3M SoC DT bindings
  dt-bindings: display: renesas: dw-hdmi: Drop bogus node name suffix
  dt-bindings: apmu: Document r8a7745 support

6 years agoMerge tag 'renesas-arm64-dt-for-v4.15' of https://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Thu, 19 Oct 2017 21:36:36 +0000 (23:36 +0200)]
Merge tag 'renesas-arm64-dt-for-v4.15' of https://git./linux/kernel/git/horms/renesas into next/soc

Pull "Renesas ARM64 Based SoC DT Updates for v4.15" from Simon Horman:

* r8a7795 (H3)
  - Use r8a7795-cpg-mssr and r8a7795-sysc bindings
    Hardcoded indicies are replaced with symbols now that they are available

  - Drop bogus HDMI node name suffixes
    Laurent Pinchart says: Node names should not use numerical suffixes if
    the nodes can be distinguished by unit-address

  - Update PFC node name to pin-controller
    Shimoda-san says the PFC node name is changed "from e6060000.pfc and
    pfc@e6060000 to e6060000.pin-controller and pin-controller@e6060000
    like other Renesas SoCs."

* r8a7795 (H3) ES1.0
  - Drop extra zero from XHCI unit address
    This corrects a typo were ee0400000 rather than ee040000 was used
    as the unit address.

* r8a7796 (M3-W)
  - Add FDP1 instance
    Laurent Pinchart says: The r8a7796 has a single FDP1 instance.

* r8a7795 (H3) and r8a7796 (M3-W) SoCs
  - Add USB3.0 peripheral device nodes
    Shimoda-san says that this is not enabled on the Salvator-X/XS boards
    for now as:
     + we need a special cable (USB type-A to A cross cable).
     + we can swap the role by renesas_usb3 driver even if we use a normal
cable and after usb3.0 host is running, but I think it's a special
use case.

* r8a7795 (H3) and r8a7796 (M3-W) ULCB boards
  - Enable display output
    Laurent Pinchart says: The DU is already wired up to the HDMI encoder,
    all we need to do is enable it.

* r8a77995 (D3) Draak board
  - Enable EthernetAVB and , USB2.0 Host and PHY

  - Add serial console pins.
    This is safe to do now that r8a77995 PFC driver support is present

* r8a77970 (V3M)
  - Add basic support for SoC and EtherAVB, [H]SCIF and SYS-DMAC nodes
    This is a step towards enabling EtherAVB and [H]SCIF with SYS-DMAC
    in the Eagle board support for which is under review

* tag 'renesas-arm64-dt-for-v4.15' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: (22 commits)
  arm64: dts: renesas: r8a7796: add USB3.0 peripheral device node
  arm64: dts: renesas: r8a7795: add USB3.0 peripheral device node
  arm64: dts: renesas: r8a77995: draak: enable EthernetAVB
  arm64: dts: renesas: r8a77995: draak: enable USB2.0 Host (EHCI/OHCI)
  arm64: dts: renesas: r8a77995: draak: enable USB2.0 PHY
  arm64: dts: renesas: r8a77995: add USB2.0 Host (EHCI/OHCI) device node
  arm64: dts: renesas: r8a77995: Add USB2.0 PHY device node
  arm64: dts: draak: Add serial console pins
  arm64: dts: renesas: r8a77970: add EtherAVB support
  arm64: dts: renesas: r8a77970: add [H]SCIF support
  arm64: dts: renesas: r8a77970: add SYS-DMAC support
  arm64: dts: renesas: initial R8A77970 SoC device tree
  arm64: dts: renesas: r8a77995: Add EthernetAVB device node
  arm64: dts: renesas: r8a77995: add GPIO device nodes
  arm64: dts: renesas: r8a77995: Use r8a7795-cpg-mssr binding definitions
  arm64: dts: renesas: r8a77995: Use r8a7795-sysc binding definitions
  arm64: renesas: Add Renesas R8A77970 Kconfig support
  arm64: dts: renesas: r8a7795: Drop bogus HDMI node names suffixes
  arm64: dts: renesas: ulcb: Enable display output
  arm64: dts: renesas: r8a77995: update PFC node name to pin-controller
  ...

6 years agoMerge tag 'integrator-pciv3-dts' of git://git.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Thu, 19 Oct 2017 21:30:36 +0000 (23:30 +0200)]
Merge tag 'integrator-pciv3-dts' of git://git./linux/kernel/git/linusw/linux-integrator into next/soc

Pull "DTS updates for the Integrator PCIv3 driver" from Linus Walleij:

These are the DTS file changes required to fix bugs and satisfy
requirements for the new PCIv3 driver in the PCI subsystem.
The binding changes have been merged to the PCI tree.

[arnd] Note: this is an incompatible DT binding change, so things
       will break during bisection or when using an old dtb file.
       Since integrator has no real users, we can make an exception
       for that.

* tag 'integrator-pciv3-dts' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator:
  ARM: dts: Update Integrator/AP PCI v3 compatible
  ARM: dts: integratorap: Fix PCI windows
  ARM: dts: add the PCI clock to the device tree

6 years agoarm64: dts: fix unit-address leading 0s
Rob Herring [Fri, 13 Oct 2017 17:54:52 +0000 (12:54 -0500)]
arm64: dts: fix unit-address leading 0s

Fix dtc warnings for 'simple_bus_reg' due to leading 0s. Converted using
the following command:

perl -p -i -e 's/\@0+([0-9a-f])/\@$1/g' `find arch/arm64/boot/dts -type -f -name '*.dts*'

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
6 years agoarm: dts: fix unit-address leading 0s
Rob Herring [Fri, 13 Oct 2017 17:54:51 +0000 (12:54 -0500)]
arm: dts: fix unit-address leading 0s

Fix dtc warnings for 'simple_bus_reg' due to leading 0s. Converted using
the following command:

perl -p -i -e 's/\@0+([0-9a-f])/\@$1/g' `find arch/arm/boot/dts -type -f -name '*.dts*'

Dropped changes to ARM, Ltd. boards LED nodes and manually fixed up some
occurrences of uppercase hex.

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
6 years agoarm: boot: dts: artpec6: Remove unnecessary interrupt-parent property from sub-nodes
Surender Polsani [Tue, 27 Jun 2017 12:15:35 +0000 (17:45 +0530)]
arm: boot: dts: artpec6: Remove unnecessary interrupt-parent property from sub-nodes

"interrupt-parent" property is declared in root node, so it is global
to all nodes. This property is re-declared in few sub-nodes. To avoid
duplication this property is removed from following sub-nodes:
pmu, amba@0, amba@0/ethernet.

Signed-off-by: Surender Polsani <surenderp@techveda.org>
Acked-by: Niklas Cassel <niklas.cassel@axis.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
6 years agoARM: dts: r8a7743: Add xhci support to SoC dtsi
Fabrizio Castro [Mon, 16 Oct 2017 10:12:49 +0000 (11:12 +0100)]
ARM: dts: r8a7743: Add xhci support to SoC dtsi

Add node for xhci. Boards DT files will enable it if needed.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoARM: dts: sun4i: Enable HDMI support on some A10 devices
Chen-Yu Tsai [Fri, 13 Oct 2017 03:26:48 +0000 (11:26 +0800)]
ARM: dts: sun4i: Enable HDMI support on some A10 devices

Various A10-based development boards have standard HDMI connectors
wired to the dedicated HDMI pins on the SoC.

Enable the display pipeline and HDMI output on boards I have or have
access to schematics:

  - Cubieboard
  - Olimex A10-OLinuXino-LIME

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
6 years agoARM: dts: sun7i: Enable HDMI support on some A20 devices
Chen-Yu Tsai [Tue, 17 Oct 2017 12:18:07 +0000 (20:18 +0800)]
ARM: dts: sun7i: Enable HDMI support on some A20 devices

All the A20 devices I own have standard HDMI connectors wired
to the dedicated HDMI pins on the SoC:

  - Bananapi M1+
  - Cubieboard 2
  - Cubietruck
  - Lamobo R1 (or Bananapi R1)

Development boards from Olimex also have standard HDMI connectors.
Schematics for them are publicly available. Enable HDMI on them as
well.

  - Olimex A20-OLinuXino-LIME
  - Olimex A20-OLinuXino-LIME2
  - Olimex A20-OLinuXino-MICRO

Enable the display pipeline and HDMI output for them.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Tested-by: Priit Laes <plaes@plaes.org> # Cubietruck, A20-OLinuXino-MICRO
Tested-by: Olliver Schinagl <oliver@schinagl.nl> # A20-OLinuXino-LIME2
Tested-by: Jonathan Liu <net147@gmail.com> # A20-OLinuXino-LIME
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
6 years agoARM: dts: sun7i: Add device nodes for display pipelines
Jonathan Liu [Tue, 17 Oct 2017 12:18:06 +0000 (20:18 +0800)]
ARM: dts: sun7i: Add device nodes for display pipelines

The A20 has two interconnected display pipelines, mirroring the A10.

Add all the device nodes for them, including the downstream HDMI
controller that we already support.

Signed-off-by: Jonathan Liu <net147@gmail.com>
[wens@csie.org: Squashed in HDMI and provided commit message]
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
6 years agoARM: dts: sun4i: Add device nodes for display pipelines
Chen-Yu Tsai [Tue, 17 Oct 2017 12:18:04 +0000 (20:18 +0800)]
ARM: dts: sun4i: Add device nodes for display pipelines

The A10 has two interconnected display pipelines, much like the A31,
but without the DRCs between the backend and TCONs.

Add all the device nodes for them, including the downstream HDMI
controller that we already support.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
6 years agoARM: dts: sun8i: r40: add watchdog device node
Icenowy Zheng [Fri, 13 Oct 2017 11:26:21 +0000 (19:26 +0800)]
ARM: dts: sun8i: r40: add watchdog device node

The R40 SoC has a watchdog like the one on A20, in the timer memory zone
(which is also the same on A20).

Add the device tree node for it.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
6 years agoARM: dts: stm32: Add MDMA support for STM32H743 SoC
Pierre-Yves MORDRET [Mon, 16 Oct 2017 16:21:39 +0000 (18:21 +0200)]
ARM: dts: stm32: Add MDMA support for STM32H743 SoC

This patch adds MDMA support for STM32H743 SoC.

Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
6 years agoARM: dts: stm32: Enable USB FS on stm32f746-disco
Amelie Delaunay [Mon, 16 Oct 2017 12:22:56 +0000 (14:22 +0200)]
ARM: dts: stm32: Enable USB FS on stm32f746-disco

This patch enables USB FS on stm32f746-disco (Host mode) with 5V VBUS
enable.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
6 years agoARM: dts: stm32: Add USB FS support for STM32F746 MCU
Amelie Delaunay [Mon, 16 Oct 2017 16:14:00 +0000 (18:14 +0200)]
ARM: dts: stm32: Add USB FS support for STM32F746 MCU

This patch adds the USB pins and nodes for USB FS core on STM32F746 SoC.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
6 years agoARM: dts: stm32: Enable USB HS on stm32f746-disco
Amelie Delaunay [Mon, 28 Aug 2017 14:20:00 +0000 (16:20 +0200)]
ARM: dts: stm32: Enable USB HS on stm32f746-disco

This patch enables USB HS on stm32f746-disco (Host mode).

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
6 years agoARM: dts: stm32: Enable USB HS on stm32746g-eval
Amelie Delaunay [Mon, 28 Aug 2017 14:20:00 +0000 (16:20 +0200)]
ARM: dts: stm32: Enable USB HS on stm32746g-eval

This patch enables USB HS on stm32746g-eval (Host mode).

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
6 years agoARM: dts: stm32: Add USB HS support for STM32F746 MCU
Amelie Delaunay [Mon, 16 Oct 2017 12:14:00 +0000 (14:14 +0200)]
ARM: dts: stm32: Add USB HS support for STM32F746 MCU

This patch adds the USB pins and nodes for USB HS core on STM32F746 SoC.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
6 years agoARM: dts: stm32: change pinctrl bindings definition
Alexandre Torgue [Mon, 16 Oct 2017 11:45:58 +0000 (13:45 +0200)]
ARM: dts: stm32: change pinctrl bindings definition

Initially each pin was declared in "include/dt-bindings/stm32<SOC>-pinfunc.h"
and each definition contained SOC names (ex: STM32F429_PA9_FUNC_USART1_TX).
Since this approach was approved, the number of supported MCU has
increased (STM32F429/STM32F469/STM32f746/STM32H743). To avoid to add a new
file in "include/dt-bindings" each time a new STM32 SOC arrives I propose
a new approach which consist to use a macro to define pin muxing in device
tree. All STM32 will use the common macro to define pinmux. Furthermore, it
will make STM32 maintenance and integration of new SOC easier .

Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
Reviewed-by: Vikas MANOCHA <vikas.manocha@st.com>
Reviewed-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
6 years agoARM: dts: stm32: Enable STM32H743 clock driver
Gabriel Fernandez [Fri, 6 Oct 2017 09:12:39 +0000 (11:12 +0200)]
ARM: dts: stm32: Enable STM32H743 clock driver

This patch enables clock driver for STM32H743 soc.

Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
6 years agoARM: dts: stm32: fix hse clock frequency on STM32H743 Eval board
Gabriel Fernandez [Thu, 28 Sep 2017 12:12:00 +0000 (14:12 +0200)]
ARM: dts: stm32: fix hse clock frequency on STM32H743 Eval board

Fix HSE frequency to 25Mhz for STM32H743 Eval Board

Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
6 years agoARM: dts: stm32: add Timers driver for stm32f746 MCU
Benjamin Gaignard [Fri, 6 Oct 2017 07:14:00 +0000 (09:14 +0200)]
ARM: dts: stm32: add Timers driver for stm32f746 MCU

Add Timers and it sub-nodes into DT for stm32f746 family.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
6 years agoARM: dts: stm32: Add DMAMUX support for STM32H743 SoC
Pierre-Yves MORDRET [Thu, 5 Oct 2017 15:50:34 +0000 (17:50 +0200)]
ARM: dts: stm32: Add DMAMUX support for STM32H743 SoC

This patch adds DMAMUX support for STM32H743 SoC.

Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
6 years agoARM: dts: stm32: Add lptimer definitions to stm32h743
Fabrice Gasnier [Thu, 5 Oct 2017 13:15:20 +0000 (15:15 +0200)]
ARM: dts: stm32: Add lptimer definitions to stm32h743

Add lptimer definitions, depending on features they provide:
- lptimer1 & 2 can act as PWM, trigger and encoder/counter
- lptimer3 can act as PWM and trigger
- lptimer4 & 5 can act as PWM

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
6 years agoARM: dts: stm32: add vrefbuf to stm32h743
Fabrice Gasnier [Thu, 5 Oct 2017 12:39:01 +0000 (14:39 +0200)]
ARM: dts: stm32: add vrefbuf to stm32h743

Add STM32H743 VREFBUF (Voltage Reference Buffer) definition.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
6 years agoARM: dts: stm32: Add I2C1 support for STM32F746 eval board
Pierre-Yves MORDRET [Mon, 16 Oct 2017 11:58:57 +0000 (13:58 +0200)]
ARM: dts: stm32: Add I2C1 support for STM32F746 eval board

This patch adds I2C1 support for STM32F746 eval board

Signed-off-by: M'boumba Cedric Madianga <cedric.madianga@gmail.com>
Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
6 years agoARM: dts: r7s72100: Add clock for CA9 CPU core
Geert Uytterhoeven [Thu, 12 Oct 2017 09:35:05 +0000 (11:35 +0200)]
ARM: dts: r7s72100: Add clock for CA9 CPU core

Improve hardware description by adding a clock property to the device
node corresponding to the CA9 CPU core.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agodt-bindings: clk: r7s72100: Add missing I and G clocks
Geert Uytterhoeven [Thu, 12 Oct 2017 09:35:04 +0000 (11:35 +0200)]
dt-bindings: clk: r7s72100: Add missing I and G clocks

Add the missing definitions for the I (CPU) and G (Image Processing)
clocks, so these clocks can be referred to from device nodes in DT.

Note that these clocks are already fully supported otherwise (DT
bindings, Linux driver, r7s72100.dtsi), they were just omitted from the
header file.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoARM: dts: sh73a0: Add clocks for CA9 CPU cores
Geert Uytterhoeven [Thu, 12 Oct 2017 09:35:16 +0000 (11:35 +0200)]
ARM: dts: sh73a0: Add clocks for CA9 CPU cores

Improve hardware description by adding clocks properties to the device
nodes corresponding to the CA9 CPU cores.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoARM: dts: r8a7794: Add missing clock for secondary CA7 CPU core
Geert Uytterhoeven [Thu, 12 Oct 2017 09:35:15 +0000 (11:35 +0200)]
ARM: dts: r8a7794: Add missing clock for secondary CA7 CPU core

Currently only the primary CPU in the CA7 cluster has a clocks property,
while the secondary CPU core is driven by the same clock.
Add the missing clocks property to fix this.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoARM: dts: r8a7793: Add missing clock for secondary CA15 CPU core
Geert Uytterhoeven [Thu, 12 Oct 2017 09:35:14 +0000 (11:35 +0200)]
ARM: dts: r8a7793: Add missing clock for secondary CA15 CPU core

Currently only the primary CPU in the CA15 cluster has a clocks
property, while the secondary CPU core is driven by the same clock.
Add the missing clocks property to fix this.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoARM: dts: r8a7792: Add missing clock for secondary CA15 CPU core
Geert Uytterhoeven [Thu, 12 Oct 2017 09:35:13 +0000 (11:35 +0200)]
ARM: dts: r8a7792: Add missing clock for secondary CA15 CPU core

Currently only the primary CPU in the CA15 cluster has a clocks
property, while the secondary CPU core is driven by the same clock.
Add the missing clocks property to fix this.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoARM: dts: r8a7791: Add missing clock for secondary CA15 CPU core
Geert Uytterhoeven [Thu, 12 Oct 2017 09:35:12 +0000 (11:35 +0200)]
ARM: dts: r8a7791: Add missing clock for secondary CA15 CPU core

Currently only the primary CPU in the CA15 cluster has a clocks
property, while the secondary CPU core is driven by the same clock.
Add the missing clocks property to fix this.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoARM: dts: r8a7790: Add clocks for CA7 CPU cores
Geert Uytterhoeven [Thu, 12 Oct 2017 09:35:11 +0000 (11:35 +0200)]
ARM: dts: r8a7790: Add clocks for CA7 CPU cores

Currently only the CPU cores in the CA15 cluster have clocks properties.
Add the missing clocks properties for the CPU cores in the CA7 cluster
to fix this.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoARM: dts: r8a7790: Add missing clocks for secondary CA15 CPU cores
Geert Uytterhoeven [Thu, 12 Oct 2017 09:35:10 +0000 (11:35 +0200)]
ARM: dts: r8a7790: Add missing clocks for secondary CA15 CPU cores

Currently only the primary CPU in the CA15 cluster has a clocks
property, while the secondary CPU cores are driven by the same clock.
Add the missing clocks properties to fix this.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoARM: dts: r8a7779: Add clocks for CA9 CPU cores
Geert Uytterhoeven [Thu, 12 Oct 2017 09:35:09 +0000 (11:35 +0200)]
ARM: dts: r8a7779: Add clocks for CA9 CPU cores

Improve hardware description by adding clocks properties to the device
nodes corresponding to the CA9 CPU cores.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoARM: dts: r8a7778: Add clock for CA9 CPU core
Geert Uytterhoeven [Thu, 12 Oct 2017 09:35:08 +0000 (11:35 +0200)]
ARM: dts: r8a7778: Add clock for CA9 CPU core

Improve hardware description by adding a clock property to the device
node corresponding to the CA9 CPU core.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoARM: dts: r8a7743: Add missing clock for secondary CA15 CPU core
Geert Uytterhoeven [Thu, 12 Oct 2017 09:35:07 +0000 (11:35 +0200)]
ARM: dts: r8a7743: Add missing clock for secondary CA15 CPU core

Currently only the primary CPU in the CA15 cluster has a clocks
property, while the secondary CPU core is driven by the same clock.
Add the missing clocks property to fix this.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Chris Paterson <chris.paterson2@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoARM: dts: r8a73a4: Add clock for CA15 CPU0 core
Geert Uytterhoeven [Thu, 12 Oct 2017 09:35:06 +0000 (11:35 +0200)]
ARM: dts: r8a73a4: Add clock for CA15 CPU0 core

Improve hardware description by adding a clocks property to the device
node corresponding to the primary CA15 CPU core, which is for now the
only one described.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoARM: dts: r8a7794: Use R-Car GPIO Gen2 fallback compat string
Simon Horman [Fri, 13 Oct 2017 12:33:09 +0000 (14:33 +0200)]
ARM: dts: r8a7794: Use R-Car GPIO Gen2 fallback compat string

Use newly added R-Car GPIO Gen2 fallback compat string
in place of now deprecated non-generation specific
R-Car GPIO fallback compat string in the DT of the r8a7794 SoC.

This should have no run-time effect as the driver matches against
the per-SoC compat string before considering the fallback compat string.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
6 years agoARM: dts: r8a7793: Use R-Car GPIO Gen2 fallback compat string
Simon Horman [Fri, 13 Oct 2017 12:33:08 +0000 (14:33 +0200)]
ARM: dts: r8a7793: Use R-Car GPIO Gen2 fallback compat string

Use newly added R-Car GPIO Gen2 fallback compat string
in place of now deprecated non-generation specific
R-Car GPIO fallback compat string in the DT of the r8a7793 SoC.

This should have no run-time effect as the driver matches against
the per-SoC compat string before considering the fallback compat string.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
6 years agoARM: dts: r8a7792: Use R-Car GPIO Gen2 fallback compat string
Simon Horman [Fri, 13 Oct 2017 12:33:07 +0000 (14:33 +0200)]
ARM: dts: r8a7792: Use R-Car GPIO Gen2 fallback compat string

Use newly added R-Car GPIO Gen2 fallback compat string
in place of now deprecated non-generation specific
R-Car GPIO fallback compat string in the DT of the r8a7792 SoC.

This should have no run-time effect as the driver matches against
the per-SoC compat string before considering the fallback compat string.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
6 years agoARM: dts: r8a7791: Use R-Car GPIO Gen2 fallback compat string
Simon Horman [Fri, 13 Oct 2017 12:33:06 +0000 (14:33 +0200)]
ARM: dts: r8a7791: Use R-Car GPIO Gen2 fallback compat string

Use newly added R-Car GPIO Gen2 fallback compat string
in place of now deprecated non-generation specific
R-Car GPIO fallback compat string in the DT of the r8a7791 SoC.

This should have no run-time effect as the driver matches against
the per-SoC compat string before considering the fallback compat string.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
6 years agoARM: dts: r8a7790: Use R-Car GPIO Gen2 fallback compat string
Simon Horman [Fri, 13 Oct 2017 12:33:05 +0000 (14:33 +0200)]
ARM: dts: r8a7790: Use R-Car GPIO Gen2 fallback compat string

Use newly added R-Car GPIO Gen2 fallback compat string
in place of now deprecated non-generation specific
R-Car GPIO fallback compat string in the DT of the r8a7790 SoC.

This should have no run-time effect as the driver matches against
the per-SoC compat string before considering the fallback compat string.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
6 years agoARM: dts: r8a7743: Use R-Car GPIO Gen2 fallback compat string
Simon Horman [Fri, 13 Oct 2017 12:33:04 +0000 (14:33 +0200)]
ARM: dts: r8a7743: Use R-Car GPIO Gen2 fallback compat string

Use newly added R-Car GPIO Gen2 fallback compat string
in place of now deprecated non-generation specific
R-Car GPIO fallback compat string in the DT of the r8a7743 SoC.

This should have no run-time effect as the driver matches against
the per-SoC compat string before considering the fallback compat string.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
6 years agoARM: dts: r8a7779: Use R-Car GPIO Gen1 fallback compat string
Simon Horman [Fri, 13 Oct 2017 12:33:03 +0000 (14:33 +0200)]
ARM: dts: r8a7779: Use R-Car GPIO Gen1 fallback compat string

Use newly added R-Car GPIO Gen1 fallback compat string
in place of now deprecated non-generation specific
R-Car GPIO fallback compat string in DT of r8a7779 SoC.

As the driver does not match on "renesas,gpio-r8a7779" there
are some run-time considerations for this patch:

* When a resulting DTB is used with kernels newer than v4.14 this should
  not have any run-time effect as renesas,rcar-gen1-gpio is matched by the
  driver since commit dbd1dad2ab8f ("gpio: rcar: add gen[123] fallback
  compatibility strings")

* However, when used with older kernels GPIO will be disabled as
  no compat string match will be made by the driver.

The regression documented above for the new DTB with old kernel case
is acceptable in my opinion.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
6 years agoARM: dts: r8a7778: Use R-Car GPIO Gen1 fallback compat string
Simon Horman [Fri, 13 Oct 2017 12:33:02 +0000 (14:33 +0200)]
ARM: dts: r8a7778: Use R-Car GPIO Gen1 fallback compat string

Use newly added R-Car GPIO Gen1 fallback compat string
in place of now deprecated non-generation specific
R-Car GPIO fallback compat string in DT of r8a7778 SoC.

As the driver does not match on "renesas,gpio-r8a7778" there
are some run-time considerations for this patch:

* When a resulting DTB is used with kernels newer than v4.14 this should
  not have any run-time effect as renesas,rcar-gen1-gpio is matched by the
  driver since commit dbd1dad2ab8f ("gpio: rcar: add gen[123] fallback
  compatibility strings")

* However, when used with older kernels GPIO will be disabled as
  no compat string match will be made by the driver.

The regression documented above for the new DTB with old kernel case
is acceptable in my opinion.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
6 years agoarm64: dts: rockchip: enable cec pin for rk3399 firefly
Pierre-Hugues Husson [Fri, 13 Oct 2017 22:53:37 +0000 (00:53 +0200)]
arm64: dts: rockchip: enable cec pin for rk3399 firefly

Add a pinctrl setting to configure the cec pin to the correct function.

Signed-off-by: Pierre-Hugues Husson <phh@phh.me>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
6 years agoarm64: dts: rockchip: add the cec clk for dw-mipi-hdmi on rk3399
Pierre-Hugues Husson [Fri, 13 Oct 2017 22:53:36 +0000 (00:53 +0200)]
arm64: dts: rockchip: add the cec clk for dw-mipi-hdmi on rk3399

Add the HDMI CEC controller main clock coming from the CRU.

Signed-off-by: Pierre-Hugues Husson <phh@phh.me>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
6 years agodt-bindings: samsung: Document binding for new Odroid HC1 board
Krzysztof Kozlowski [Sun, 8 Oct 2017 12:26:28 +0000 (14:26 +0200)]
dt-bindings: samsung: Document binding for new Odroid HC1 board

Document the binding for new Hardkernel Odroid HC1 board.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Rob Herring <robh@kernel.org>
6 years agoarm64: dts: rockchip: default serial for Firefly-RK3399
Heinrich Schuchardt [Sat, 30 Sep 2017 04:06:40 +0000 (06:06 +0200)]
arm64: dts: rockchip: default serial for Firefly-RK3399

The Firefly-RK3399 uses serial2 with 1,500,000 baud by default
for communication in U-Boot and in the vendor provided distros.

So let us set the same default in the Linux kernel.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
6 years agoarm64: dts: rockchip: enable touchpad button for rk3399-gru-kevin
Emil Renner Berthing [Mon, 9 Oct 2017 18:40:28 +0000 (20:40 +0200)]
arm64: dts: rockchip: enable touchpad button for rk3399-gru-kevin

Adding the linux,gpio-keymap entry also has
the side-effect of making the driver register
the touchpad as a touchpad rather than another
touchscreen.

The index for BTN_LEFT was found by trial and error.

Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
6 years agoARM: dts: rockchip: Enable thermal on rk3288-vyasa board
Michael Trimarchi [Fri, 13 Oct 2017 17:33:32 +0000 (23:03 +0530)]
ARM: dts: rockchip: Enable thermal on rk3288-vyasa board

Enable thermal on rk3288-vyasa board, TSHUT is high active.

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
6 years agoARM: dts: Fix typo for omap4 mcasp rx path
Tony Lindgren [Fri, 13 Oct 2017 16:43:22 +0000 (09:43 -0700)]
ARM: dts: Fix typo for omap4 mcasp rx path

As reported by Peter Ujfalusi <peter.ujfalusi@ti.com>, the rx path on macsp
is disabled and only tx is usable if the davinci-mcasp driver is updated for
it.

Reported-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
6 years agoARM: dts: sun5i: reference-design-tablet: Enable AXP209 AC and battery
Chen-Yu Tsai [Thu, 12 Oct 2017 08:05:42 +0000 (16:05 +0800)]
ARM: dts: sun5i: reference-design-tablet: Enable AXP209 AC and battery

The reference design tablet has the DC jack wired to AXP209's ACIN.
As a tablet, it also has an internal LiPo battery, wired to the PMIC's
battery charger.

Enable both.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
6 years agoARM: dts: sun9i: Change node names to remove underscores
Maxime Ripard [Thu, 5 Oct 2017 07:17:28 +0000 (09:17 +0200)]
ARM: dts: sun9i: Change node names to remove underscores

Some boards have had node names with underscores. Remove them in favour of
hyphens in order to reduce the DTC warnings.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
6 years agoARM: dts: sun9i: Change node names to remove underscores
Maxime Ripard [Thu, 5 Oct 2017 07:17:40 +0000 (09:17 +0200)]
ARM: dts: sun9i: Change node names to remove underscores

Some node names in the A80 DTSI still have underscores in them. Remove them
in favour of hyphens to remove DTC warnings.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
6 years agoARM: dts: sun4i: Remove underscores from nodes names
Maxime Ripard [Wed, 4 Oct 2017 18:07:23 +0000 (20:07 +0200)]
ARM: dts: sun4i: Remove underscores from nodes names

Some GPIO pinctrl nodes cannot be easily removed, because they would also
change the pin configuration, for example to add a pull resistor or change
the current delivered by the pin.

Those nodes still have underscores and unit-addresses in their node names
in our DTs, so adjust their name to remove the warnings. Use that occasion
to also fix some poorly chosen node-names.

Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
6 years agoARM: dts: sun4i: Provide default muxing for relevant controllers
Maxime Ripard [Thu, 5 Oct 2017 08:43:28 +0000 (10:43 +0200)]
ARM: dts: sun4i: Provide default muxing for relevant controllers

The I2C's, MMC0 and EMAC controllers have only one muxing option in the
SoC. In such a case, we can just move the muxing into the DTSI, and remove
it from the DTS.

Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
6 years agoARM: dts: sun4i: Change pinctrl nodes to avoid warning
Maxime Ripard [Wed, 4 Oct 2017 16:02:14 +0000 (18:02 +0200)]
ARM: dts: sun4i: Change pinctrl nodes to avoid warning

All our pinctrl nodes were using a node name convention with a unit-address
to differentiate the different muxing options. However, since those nodes
didn't have a reg property, they were generating warnings in DTC.

In order to accomodate for this, convert the old nodes to the syntax we've
been using for the new SoCs, including removing the letter suffix of the
node labels to the bank of those pins to make things more readable.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
6 years agoARM: dts: gr-peach: Enable ostm0 and ostm1 timers
Jacopo Mondi [Mon, 9 Oct 2017 08:48:35 +0000 (10:48 +0200)]
ARM: dts: gr-peach: Enable ostm0 and ostm1 timers

Enable ostm0 and ostm1 timers to be used as clock source and clockevent
source. The timers provides greater accuracy than the already enabled
mtu2 one.

With these enabled:

clocksource: ostm: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 57352151442 ns
sched_clock: 32 bits at 33MHz, resolution 30ns, wraps every 64440619504ns
ostm: used for clocksource
ostm: used for clock events

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Suggested-by: Chris Brandt <chris.brandt@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoARM: dts: gr-peach: Add ETHER pin group
Jacopo Mondi [Mon, 9 Oct 2017 08:48:34 +0000 (10:48 +0200)]
ARM: dts: gr-peach: Add ETHER pin group

Add pin configuration subnode for ETHER pin group.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoARM: dts: r8a7743: Enable DMA for HSUSB
Biju Das [Mon, 9 Oct 2017 13:21:21 +0000 (14:21 +0100)]
ARM: dts: r8a7743: Enable DMA for HSUSB

This patch adds DMA properties to the HSUSB node.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-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>
6 years agoARM: dts: r8a7743: Add USB-DMAC device nodes
Biju Das [Mon, 9 Oct 2017 13:21:20 +0000 (14:21 +0100)]
ARM: dts: r8a7743: Add USB-DMAC device nodes

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-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>
6 years agoARM: dts: iwg20d-q7: Enable HS-USB
Biju Das [Wed, 11 Oct 2017 09:04:33 +0000 (10:04 +0100)]
ARM: dts: iwg20d-q7: Enable HS-USB

Enable HS-USB device for the iWave G20D-Q7 carrier board based on
RZ/G1M.
Also disable the host mode support on usb otg port by default to avoid
pin conflicts.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-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>
6 years agoARM: dts: r8a7743: Add HS-USB device node
Biju Das [Mon, 9 Oct 2017 13:21:18 +0000 (14:21 +0100)]
ARM: dts: r8a7743: Add HS-USB device node

Define the R8A7743 generic part of the HS-USB device node. It is up to the
board file to enable the device.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-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>
6 years agoARM: dts: iwg22d-sodimm: Enable USB PHY
Biju Das [Mon, 9 Oct 2017 13:59:01 +0000 (14:59 +0100)]
ARM: dts: iwg22d-sodimm: Enable USB PHY

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-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>
6 years agoARM: dts: iwg22d-sodimm: Enable internal PCI
Biju Das [Mon, 9 Oct 2017 13:59:00 +0000 (14:59 +0100)]
ARM: dts: iwg22d-sodimm: Enable internal PCI

Enable internal AHB-PCI bridges for the USB EHCI/OHCI controllers
attached to them.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-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>
6 years agoARM: dts: r8a7745: Link PCI USB devices to USB PHY
Biju Das [Mon, 9 Oct 2017 13:58:59 +0000 (14:58 +0100)]
ARM: dts: r8a7745: Link PCI USB devices to USB PHY

Describe the PCI USB devices that are behind the PCI bridges, adding
necessary links to the USB PHY device.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-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>
6 years agoARM: dts: r8a7745: Add USB PHY DT support
Biju Das [Mon, 9 Oct 2017 13:58:58 +0000 (14:58 +0100)]
ARM: dts: r8a7745: Add USB PHY DT support

Define the r8a7745 generic part of the USB PHY device node.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-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>
6 years agoARM: dts: r8a7745: Add internal PCI bridge nodes
Biju Das [Mon, 9 Oct 2017 13:58:57 +0000 (14:58 +0100)]
ARM: dts: r8a7745: Add internal PCI bridge nodes

Add device nodes for the r8a7745 internal PCI bridge devices.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-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>
6 years agoARM: dts: r8a7790: add cpu capacity-dmips-mhz information
Dietmar Eggemann [Wed, 30 Aug 2017 14:41:20 +0000 (15:41 +0100)]
ARM: dts: r8a7790: add cpu capacity-dmips-mhz information

The following 'capacity-dmips-mhz' dt property values are used:

Cortex-A15: 1024, Cortex-A7: 539

They have been derived form the cpu_efficiency values:

Cortex-A15: 3891, Cortex-A7: 2048

by scaling them so that the Cortex-A15s (big cores) use 1024.

The cpu_efficiency values were originally derived from the "Big.LITTLE
Processing with ARM Cortex™-A15 & Cortex-A7" white paper
(http://www.cl.cam.ac.uk/~rdm34/big.LITTLE.pdf). Table 1 lists 1.9x
(3891/2048) as the Cortex-A15 vs Cortex-A7 performance ratio for the
Dhrystone benchmark.

The following platform is affected once cpu-invariant accounting
support is re-connected to the task scheduler:

r8a7790-lager

Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
6 years agoarm64: dts: msm8916: Mark rmtfs node as qcom, rmtfs-mem compatible
Bjorn Andersson [Wed, 11 Oct 2017 05:08:57 +0000 (22:08 -0700)]
arm64: dts: msm8916: Mark rmtfs node as qcom, rmtfs-mem compatible

Now that we have a binding defined for the shared file system memory use
this to describe the rmtfs memory region.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
6 years agoarm64: dts: msm8996: Add the rpm clock controller node
Rajendra Nayak [Tue, 10 Oct 2017 08:57:14 +0000 (14:27 +0530)]
arm64: dts: msm8996: Add the rpm clock controller node

Add the rpm clock controller node for msm8996 devices

Cc: Andy Gross <andy.gross@linaro.org>
Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
6 years agoarm64: dts: qcom: sbc: Name GPIO lines
Linus Walleij [Mon, 9 Oct 2017 09:28:44 +0000 (11:28 +0200)]
arm64: dts: qcom: sbc: Name GPIO lines

This names the GPIO lines on the APQ8016 "SBC" also known
as the DragonBoard 410c, according to the schematic. This
is necessary for a conforming userspace looking across
all GPIO chips for the GPIO lines named "GPIO-A" thru
"GPIO-L".

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
6 years agoarm64: dts: qcom: msm8916: Shrink mdp address length for msm8916
Craig Tatlor [Fri, 6 Oct 2017 15:57:51 +0000 (16:57 +0100)]
arm64: dts: qcom: msm8916: Shrink mdp address length for msm8916

This shrinks the address size down to 89000 from its previous 90000
which was mistakenly pulled from downstream.

Signed-off-by: Craig Tatlor <ctatlor97@gmail.com>
Acked-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
6 years agoarm64: dts: apq8016-sbc: add mbhc buttons support
Srinivas Kandagatla [Mon, 18 Sep 2017 11:14:59 +0000 (13:14 +0200)]
arm64: dts: apq8016-sbc: add mbhc buttons support

This patch adds voltage thresholds configuration required for getting
audio headsets button support.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
6 years agoarm64: dts: qcom: Specify dload address for msm8916 and msm8996
Bjorn Andersson [Mon, 14 Aug 2017 22:46:19 +0000 (15:46 -0700)]
arm64: dts: qcom: Specify dload address for msm8916 and msm8996

On msm8916 and msm8996 boards a secure io-write is used to write the
magic for selecting "download mode", specify this address in the
DeviceTree.

Note that qcom_scm.download_mode=1 must be specified on the kernel
command line for the kernel to attempt selecting download mode.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>