OSDN Git Service

android-x86/kernel.git
6 years agoMerge tag 'imx-dt64-4.16' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/shawn...
Arnd Bergmann [Fri, 5 Jan 2018 16:11:29 +0000 (17:11 +0100)]
Merge tag 'imx-dt64-4.16' of ssh://gitolite./linux/kernel/git/shawnguo/linux into next/dt

Pull "Freescale arm64 device tree updates for 4.16" from Shawn Guo:

 - LS1088A updates: add device support for DCFG, qoriq-mc, and USB.
 - Add power monitor device INA220 for ls208xa-rdb board.

* tag 'imx-dt64-4.16' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  arm64: dts: ls208xa: add power monitor chip node
  arm64: dts: ls1088a: Add USB support
  arm64: dts: ls1088a: add fsl-mc hardware resource manager node
  arm64: dts: ls1088a: Added dcfg node in ls1088a dtsi

6 years agoMerge tag 'imx-dt-4.16' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/shawngu...
Arnd Bergmann [Fri, 5 Jan 2018 16:07:32 +0000 (17:07 +0100)]
Merge tag 'imx-dt-4.16' of ssh://gitolite./linux/kernel/git/shawnguo/linux into next/dt

Pull "i.MX device tree changes for 4.16" from Shawn Guo:

 - A few random updates for vf610-zii board: correct switch EEPROM size,
   enable edma1, correct GPIO expander interrupt, add PHYs for switch2
   device.
 - LS1021A device tree updates: add reboot and QSPI device nodes, label
   USB controllers, specify interrupt-affinity for PMU, fix TMR_FIPER1
   setting, enable esdhc device, add Moxa UC-8410A board support.
 - A bunch of patches from Fabio: fix reg - unit address mismatches,
   remove leading zero in unit address, move regulators out of
   simple-bus, move nodes with no reg property out of bus, remove extra
   clock cell, add missing phy-cells to usb-nop-xceiv, etc.
 - A couple series from Hummingboard developers: re-organise device tree
   files for better handling various board versions, and then add the
   new hummingboard2 board support on top of that.
 - Disable AC'97 input pins pad and add support for powering off for
   imx6qdl-udoo board.
 - Convert from fbdev to drm bindings for imx6sx-sdb and imx6sl-evk
   board.
 - Add device tree for Variscite DART-MX6 SoM and Carrier-board support.
 - Add new board support of TS-4600 and TS-7970 from Technologic
   Systems.
 - A series from Stefan to update imx7-colibri device tree and then add
   new version of Toradex Colibri iMX7D board with eMMC support.
 - Other random updates on various board support.

* tag 'imx-dt-4.16' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: (126 commits)
  ARM: dts: imx7s: Avoid using label in unit address and reg
  ARM: dts: imx51-zii-rdu1: Add missing #phy-cells to usb-nop-xceiv
  ARM: dts: imx6qdl-hummingboard2: Remove leading zero in unit address
  ARM: dts: ls1021a: add support for Moxa UC-8410A open platform
  ARM: dts: imx51-babbage: Fix the 26MHz clock modelling
  ARM: dts: vf610-zii-dev-rev-b: add PHYs for switch2
  ARM: dts: vf610-zii-dev-rev-b: fix interrupt for GPIO expander
  ARM: dts: vf610-zii-dev: enable edma1
  ARM: dts: ls1021a-twr: Remove extra clock cell
  ARM: dts: ls1021a-qds: Remove extra clock cell
  ARM: dts: imx53: add srtc node
  dt-bindings: imx-gpcv2: Fix the unit address
  ARM: imx: dts: Use lower case for bindings notation
  ARM: dts: imx6q-h100: use usdhc2 VSELECT
  ARM: dts: imx6sx: Add support for PCI power domain
  ARM: dts: imx6sx: Fix PCI non-prefetchable memory range
  ARM: dts: imx6qdl-hummingboard2: rename regulators to match schematic
  ARM: dts: imx6qdl-hummingboard2: add v1.5 som with eMMC
  ARM: dts: imx6qdl-hummingboard2: add v1.5 som without eMMC
  ARM: dts: imx6qdl-hummingboard2: add PWM3 support
  ...

6 years agoMerge tag 'aspeed-4.16-devicetree' of ssh://gitolite.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Fri, 5 Jan 2018 16:06:04 +0000 (17:06 +0100)]
Merge tag 'aspeed-4.16-devicetree' of ssh://gitolite./linux/kernel/git/joel/aspeed into next/dt

Pull "ASPEED device tree updates for 4.16" from Joel Stanley:

Clock driver support:

 Rework all platforms to use proper clock bindings. Linux should now boot
 upstream kernels on ast2400 and ast2500 platforms without out of tree
 patches.

New systems:

 Witherspoon: OpenPower Power9 server manufactured by IBM that uses the ASPEED ast2500
 Zaius: OpenPower Power9 server manufactured by Invatech that uses the ASPEED ast2500
 Q71L: Intel Xeon server manufactured by Qanta that uses the ASPEED ast2400

 We also see updates to the Palmetto and Romulus systems to bring them in
 line with the functionality of those above.

 The systems take advantage of recently added drivers for LPC Snoop
 device and the PWM/Tachometer fan controller.

OpenBMC flash layout:

 The flash layout used OpenBMC systems is added and the device trees now
 use it.

* tag 'aspeed-4.16-devicetree' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/joel/aspeed:
  ARM: dts: aspeed-evb: Add unit name to memory node
  ARM: dts: aspeed-plametto: Add flash layout and fix memory node
  ARM: dts: aspeed-romulus: Update Romulus system
  ARM: dts: aspeed: Add Qanta Q71L BMC machine
  ARM: dts: aspeed: Add Ingrasys Zaius BMC machine
  ARM: dts: aspeed: Add Witherspoon BMC machine
  ARM: dts: aspeed: Sort ASPEED entries in makefile
  ARM: dts: Add OpenBMC flash layout
  ARM: dts: aspeed: Update license headers
  ARM: dts: aspeed: Remove skeleton.dtsi
  ARM: dts: aspeed: Add LPC Snoop device
  ARM: dts: aspeed: Add PWM and tachometer node
  ARM: dts: aspeed: Add clock phandle to GPIO
  ARM: dts: aspeed: Add flash controller clocks
  ARM: dts: aspeed: Add watchdog clocks
  ARM: dts: aspeed: Add MAC clocks
  ARM: dts: aspeed: Add proper clock references
  ARM: dts: aspeed: Add LPC and child devices
  dt-bindings: gpio: Add ASPEED constants
  dt-bindings: clock: Add ASPEED constants

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
6 years agoMerge tag 'amlogic-dt64-2' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Fri, 5 Jan 2018 11:28:48 +0000 (12:28 +0100)]
Merge tag 'amlogic-dt64-2' of ssh://gitolite./linux/kernel/git/khilman/linux-amlogic into next/dt

Pull "Amlogic 64-bit DT updates for v4.16, round 2" from Kevin Hilman:

This adds a few more basics (clock, pinctrl, PWM, reset) for the new AXG
family of Amlogic SoCs.

* tag 'amlogic-dt64-2' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic:
  arm64: dts: meson-axg: add new reset DT node
  ARM64: dts: meson-axg: add PWM DT info for Meson-Axg SoC
  ARM64: dts: meson-axg: add pinctrl DT info for Meson-AXG SoC
  documentation: Add compatibles for Amlogic Meson AXG pin controllers
  arm64: dts: meson-axg: add clock DT info for Meson AXG SoC

6 years agoMerge tag 'qcom-dts-for-4.16' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git...
Arnd Bergmann [Fri, 5 Jan 2018 10:45:45 +0000 (11:45 +0100)]
Merge tag 'qcom-dts-for-4.16' of ssh://gitolite./linux/kernel/git/agross/linux into next/dt

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

* Add uSD slot nodes on msm8974-FP2 board

* tag 'qcom-dts-for-4.16' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/agross/linux:
  ARM: dts: msm8974-FP2: Add uSD slot nodes

6 years agoMerge tag 'qcom-arm64-for-4.16' of ssh://gitolite.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Fri, 5 Jan 2018 10:44:20 +0000 (11:44 +0100)]
Merge tag 'qcom-arm64-for-4.16' of ssh://gitolite./linux/kernel/git/agross/linux into next/dt

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

* Assorted cleanups for msm8916
* Fix IPC references for smsm

* tag 'qcom-arm64-for-4.16' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/agross/linux:
  arm64: dts: qcom: msm8916-pins: keep cdc_dmic pins in suspend mode
  arm64: dts: qcom: msm8916-pins: move sdhc2 cd node with its siblings
  arm64: dts: qcom: msm8916: normalize I2C and SPI nodes
  arm64: dts: qcom: msm8916: drop unused board-specific nodes
  arm64: dts: qcom: msm8916-pins: remove assignments to bias-disable
  arm64: dts: qcom: pm8916: fix wcd_codec indentation
  arm64: dts: msm8916: Correct ipc references for smsm
  arm64: dts: msm8916: Add missing #phy-cells

6 years agoARM: dts: Delete bogus reference to the charlcd
Linus Walleij [Tue, 2 Jan 2018 07:57:17 +0000 (08:57 +0100)]
ARM: dts: Delete bogus reference to the charlcd

The EB MP board probably has a character LCD but the board manual does
not really state which IRQ it has assigned to this device. The invalid
assignment was a mistake by me during submission of the DTSI where I was
looking for the reference, didn't find it and didn't fill it in.

Delete this for now: it can probably be fixed but that requires access
to the actual board for some trial-and-error experiments.

Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoMerge tag 'at91-ab-4.16-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni...
Olof Johansson [Fri, 5 Jan 2018 07:30:28 +0000 (23:30 -0800)]
Merge tag 'at91-ab-4.16-dt' of git://git./linux/kernel/git/abelloni/linux into next/dt

DT for 4.16

 - New boards:
   - Axentia Nattis with Natte power
   - sama5d2 PTC ek
 - Document and use extended TCB bindings

* tag 'at91-ab-4.16-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: (50 commits)
  ARM: dts: at91: sama5d2_ptc_ek: use TCB0 as timers
  ARM: dts: at91: sama5d27_som1_ek: use TCB0 as timers
  ARM: dts: at91: sama5d2 Xplained: use TCB0 as timers
  ARM: dts: at91: sama5d2: TC blocks are also simple-mfd and syscon devices
  ARM: dts: at91: vinco: use TCB2 as timers
  ARM: dts: at91: ma5d4: use TCB2 as timers
  ARM: dts: at91: sama5d4 Xplained: use TCB2 as timers
  ARM: dts: at91: sama5d4ek: use TCB2 as timers
  ARM: dts: at91: sama5d4: Add TCB2
  ARM: dts: at91: sama5d4: TC blocks are also simple-mfd and syscon devices
  ARM: dts: at91: linea/tse850-3: use TCB0 as timers
  ARM: dts: at91: sama5d3xek_cmp: use TCB0 as timers
  ARM: dts: at91: kizbox2: use TCB0 as timers
  ARM: dts: at91: sama5d3 Xplained: use TCB0 as timers
  ARM: dts: at91: sama5d3xek: use TCB0 as timers
  ARM: dts: at91: sama5d3: TC blocks are also simple-mfd and syscon devices
  ARM: dts: at91: kizboxmini: use TCB0 as timers
  ARM: dts: at91: cosino: use TCB0 as timers
  ARM: dts: at91: acme/g25: use TCB0 as timers
  ARM: dts: at91: at91sam9x5cm: use TCB0 as timers
  ...

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoMerge tag 'uniphier-dt64-v4.16' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Fri, 5 Jan 2018 07:29:34 +0000 (23:29 -0800)]
Merge tag 'uniphier-dt64-v4.16' of git://git./linux/kernel/git/masahiroy/linux-uniphier into next/dt

UniPhier ARM64 SoC DT updates for v4.16

- clean up gpios properties by macro
- add GPIO hog for PXs3 reference node
- add has-transaction-translator property to generic-ehci nodes
- enable more serial ports for PXs3 reference node

* tag 'uniphier-dt64-v4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier:
  arm64: dts: uniphier: enable more serial ports for PXs3 ref board
  arm64: dts: uniphier: add has-transaction-translator property to usb node for LD11
  arm64: dts: uniphier: add GPIO hog definition for PXs3
  arm64: dts: uniphier: use macros in dt-bindings header

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoMerge tag 'uniphier-dt-v4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/masahi...
Olof Johansson [Fri, 5 Jan 2018 07:28:00 +0000 (23:28 -0800)]
Merge tag 'uniphier-dt-v4.16' of git://git./linux/kernel/git/masahiroy/linux-uniphier into next/dt

UniPhier ARM SoC DT updates for v4.16

- clean up gpios properties by macro
- add efuse nodes
- add has-transaction-translator property to generic-ehci nodes

* tag 'uniphier-dt-v4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier:
  ARM: dts: uniphier: add has-transaction-translator property to usb node for LD4, sLD8 and Pro4
  ARM: dts: uniphier: add efuse node for UniPhier 32bit SoC
  ARM: dts: uniphier: use macros in dt-bindings header

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoMerge tag 'sunxi-dt64-for-4.16' of https://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Fri, 5 Jan 2018 07:18:15 +0000 (23:18 -0800)]
Merge tag 'sunxi-dt64-for-4.16' of https://git./linux/kernel/git/sunxi/linux into next/dt

Allwinner DT64 changes for 4.16

There are two important changes in this round.

The first removes the redundant pinctrl setting for the MMC card detect
GPIO. We are moving to strict pinctrl/GPIO exclusion, i.e. GPIO usage
will block other pin muxing usage, and vice versa. The usage of pinmux
for guarding GPIO pins in the device tree prevents us from doing so.
This is part of an ongoing effort to clean up the existing device trees.

The other important change enables the PMIC on the Orangepi Win. The
PMIC provides power to most of the external onboard peripherals.
Enabling it will allow us to enable Ethernet or WiFi support later on.

The remaining changes in this round enable some peripheral, such as
Ethernet, an external WiFi chip, or LEDs.

* tag 'sunxi-dt64-for-4.16' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux:
  arm64: dts: allwinner: a64: bananapi-m64: Add LED device node
  arm64: dts: a64-olinuxino: Enable RTL8723BS WiFi
  arm64: dts: allwinner: h5: NanoPi NEO Plus2 : add EMAC support
  arm64: dts: allwinner: H5: remove redundant MMC0 card detect pin
  arm64: allwinner: a64: Enable AXP803 for Orangepi Win
  arm64: dts: orange-pi-zero-plus2: enable AP6212a WiFi/BT combo

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoMerge tag 'sunxi-dt-for-4.16' of https://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Fri, 5 Jan 2018 07:17:16 +0000 (23:17 -0800)]
Merge tag 'sunxi-dt-for-4.16' of https://git./linux/kernel/git/sunxi/linux into next/dt

Allwinner DT changes for 4.16

A random assortment of improvements.

GPIO device nodes are added for the AXP813/AXP818 PMICs, meaning we can
finally use the GPIO pins on the PMICs. The LDOs on the GPIO pins can
also be properly muxed and guarded.

EMAC Ethernet support is enabled for more H3 boards, and also for the
A83T, following the return of the bindings in 4.15, after a last minute
revert in 4.13. This will make the H3/A83T boards much more useful in
headless applications.

Two new boards are introduced. The Orange Pi R1 is a small board with
two Ethernet interfaces (one EMAC-based and one USB-based) and a WiFi
chip. This board is fully supported, with the exception of TV-out on
the expansion header, which will not be enabled by default. The WiFi
chip (RTL8189FTV) requires an out-of-tree driver. The Libre Computer
Board ALL-H3-CC H3 version is a newcomer to the Allwinner SBC space,
which was mostly represented by a bunch of fruit-Pis. It is mostly
supported, with the exception of HDMI and camera sensor interface,
which have not been implemented yet.

Two minor patches enable the audio codec on the A13 Olinuxino, and
HDMI output on the pcDuino3 Nano.

* tag 'sunxi-dt-for-4.16' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux:
  ARM: dts: sun8i: h3: nanopi-m1-plus: fix missing ethernet 0 in aliases
  ARM: dts: sun8i: h3: Enable dwmac-sun8i on the Nanopi M1
  ARM: dts: sun7i: Enable HDMI on pcDuino3 Nano
  ARM: dts: sun8i: a83t: Add I2C device nodes and pinmux settings
  ARM: dts: sun8i: a83t: Add I2S controller device nodes
  ARM: dts: sun8i-h3: Remove allwinner,leds-active-low for non internal PHY
  ARM: dts: sun8i: a83t: Enable Ethernet on two boards
  ARM: dts: sun8i: a83t: add dwmac-sun8i device node
  ARM: dts: sun8i: h3: enable USB OTG for NanoPi Neo board
  ARM: dts: sun8i: h3: Add dts file for Libre Computer Board ALL-H3-CC H3 ver.
  ARM: dtsi: axp81x: set pinmux for GPIO0/1 when used as LDOs
  ARM: dtsi: axp81x: add GPIO DT node
  ARM: dts: sun8i: add support for Orange Pi R1
  ARM: dts: sunxi: Add codec for A13 Olinuxino

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoMerge tag 'keystone_dts_for_4.16' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Fri, 5 Jan 2018 07:12:16 +0000 (23:12 -0800)]
Merge tag 'keystone_dts_for_4.16' of git://git./linux/kernel/git/ssantosh/linux-keystone into next/dt

ARM: Keystone DTS update for 4.16

 - Enable GPIO bank2 for K2L
 - Enable QSPI for K2G & K2G-EVM
 - Enable UART1/2 for K2G & K2G-EVM
 - Enable peripherals for K2G-ICE
 - Fix C1 and C2 DTS warnings

* tag 'keystone_dts_for_4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone:
  ARM: dts: keystone-k2l-clocks: Add missing unit name to clock nodes that have regs
  ARM: dts: keystone-k2e-clocks: Add missing unit name to clock nodes that have regs
  ARM: dts: keystone-hk-clocks: Add missing unit name to clock nodes that have regs
  ARM: dts: keystone-clocks: Add missing unit name to clock nodes that have regs
  ARM: dts: keystone: Add missing unit name to interrupt controller
  ARM: dts: keystone: Get rid of usage of skeleton.dtsi
  ARM: dts: keystone*: Use a single soc0 instance
  ARM: dts: keystone*: Standardize license with SPDX tag
  ARM: dts: k2g-evm: Enable UART 2
  ARM: dts: k2g: Add UART 1 and 2 instances
  ARM: dts: keystone: Add generic compatible string for I2C EEPROM
  ARM: dts: keystone-k2g-ice: Add DT nodes for few peripherals
  ARM: dts: keystone-k2g-evm: Add QSPI DT node.
  ARM: dts: keystone-k2g: Move ti,non-removable property to board dts
  ARM: dts: keystone-k2g-evm: Fix botched up merge
  ARM: dts: keystone-k2g: Add QSPI DT entry
  ARM: dts: keystone-k2l: Add the second gpio bank node

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoMerge tag 'omap-for-v4.16/dt-pt2-v2-signed' of git://git.kernel.org/pub/scm/linux...
Olof Johansson [Fri, 5 Jan 2018 07:06:32 +0000 (23:06 -0800)]
Merge tag 'omap-for-v4.16/dt-pt2-v2-signed' of git://git./linux/kernel/git/tmlind/linux-omap into next/dt

Second set of device tree changes for omaps for v4.16 merge window

This branch mostly configures more hardware support:

- Clean-up dts files to remove leading 0x and 0s from binding notation
  to remove more dtc compiler warnings

- A series of am437x updates for backlight, to fix inverted pad
  pull macro, and to configure power management related OPPs

- Configure n950 and droid 4 command mode LCD panels

- Updates to pandora and gta04 LCD panels

- Add support for am574x-idk

- A series of changes to configure more dra7 related PCIe features

- A series of fixes for am335x-boneblue for WLAN, UARTs and CAN
  configuration

- A series of changes to configure dra7 OPPs and VDD supplies

* tag 'omap-for-v4.16/dt-pt2-v2-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: (29 commits)
  Revert "ARM: dts: dra7: Add properties to enable PCIe x2 lane mode"
  ARM: dts: am572x-idk: Add cpu0 vdd supply
  ARM: dts: am571x-idk: Add cpu0 vdd supply
  ARM: dts: dra72-evm-tps65917: Add cpu0 vdd supply
  ARM: dts: dra7-evm: Add cpu0 vdd supply
  ARM: dts: am57xx-beagle-x15-common: Add cpu0 vdd supply
  ARM: dts: dra7: Enable 1.5 GHz operation for the CPU
  ARM: dts: dra7: Add MPU OPP supply node
  ARM: dts: dra7: Add vbb-supply to cpu and additional voltages
  ARM: dts: am335x-boneblue: enable can
  ARM: dts: am335x-boneblue: enable usarts
  ARM: dts: am335x-boneblue: fix wl1835 IRQ pin
  ARM: dts: dra7: Remove deprecated PCI compatible string
  ARM: dts: dra76-evm: Enable x2 PCIe lanes
  ARM: dts: DRA72x: Use PCIe compatible specific to dra72
  ARM: dts: DRA74x: Use PCIe compatible specific to dra74
  ARM: dts: dra7: Add properties to enable PCIe x2 lane mode
  ARM: dts: am57xx: Add support for am574x-idk
  ARM: dts: am43x-epos-evm: Hook dcdc2 as the cpu0-supply
  ARM: dts: am437x-idk-evm: Disable OPP50 for MPU
  ...

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoMerge tag 'mvebu-dt64-4.16-1' of git://git.infradead.org/linux-mvebu into next/dt
Olof Johansson [Fri, 5 Jan 2018 06:58:00 +0000 (22:58 -0800)]
Merge tag 'mvebu-dt64-4.16-1' of git://git.infradead.org/linux-mvebu into next/dt

mvebu dt64 for 4.16 (part 1)

Add the NAND support on the Marvell 8040-DB board
Add the thermal support for Martvell A7K/A8K Socs
Add nodes allowing cpufreq support on Aramda 3700 SoCs

* tag 'mvebu-dt64-4.16-1' of git://git.infradead.org/linux-mvebu:
  ARM64: dts: marvell: Add thermal support for A7K/A8K
  arm64: dts: marvell: armada-37xx: add nodes allowing cpufreq support
  arm64: dts: marvell: add NAND support on the 8040-DB board

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoMerge tag 'mvebu-dt-4.16-1' of git://git.infradead.org/linux-mvebu into next/dt
Olof Johansson [Fri, 5 Jan 2018 06:52:45 +0000 (22:52 -0800)]
Merge tag 'mvebu-dt-4.16-1' of git://git.infradead.org/linux-mvebu into next/dt

mvebu dt for 4.16 (part 1)

Fix potential dtc warnings on kirkwoods files
Declare a new pin (RB) usbale for NAND controller on Armada 38x

* tag 'mvebu-dt-4.16-1' of git://git.infradead.org/linux-mvebu:
  arm: kirkwood: dts: Use lower case for bindings notation
  ARM: dts: armada-38x: Add NAND RB pinctrl information

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoMerge tag 'renesas-dt2-for-v4.16' of https://git.kernel.org/pub/scm/linux/kernel...
Olof Johansson [Fri, 5 Jan 2018 06:51:06 +0000 (22:51 -0800)]
Merge tag 'renesas-dt2-for-v4.16' of https://git./linux/kernel/git/horms/renesas into next/dt

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

* r8a7745 (RZ/G1E) SoC
  - Enable SMP

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

* r8a7743 (RZ/G1M) SoC
  - Add node for thermal sensor module with thermal-zone support

* r8a7743 (RZ/G1M) and r8a7745 (RZ/G1E) SoCs
  - Add:
    + Renesas Core Match Timer (CMT) support
    + Renesas Timer Pulse Unit PWM Controller (TPU) support
    + Renesas PWM Timer Controller (PWM) support

* r8a7743 (RZ/G1M) iW-RainboW-G20D-Qseven and
  r8a7745 (RZ/G1E) iW-RainboW-G22D development platforms
  - Add sound support

* r8a7743 (RZ/G1M), r8a7745 (RZ/G1E) and r8a7792 (R-Car V2H) SoCs
  - Allow DTBs of boards of these SoCs to build without any warnings when
    compiled with W=1 using gcc-linaro-5.4.1-2017.05
    + Move nodes which have no reg property out of bus, they don't belong there
    + Also sort sub-nodes of root node to allow for easier maintenance

* r8a7790 (R-Car H2), r8a7791 (R-Car M2-W) and r8a7793 (R-Car M2-N) SoCs
  - Correct critical CPU temperature

    Chris Paterson says "The current R-Car Gen2 device trees define the CPU
    critical temperature as 115°C.

    The R-Car hardware manuals state that Tc = –40°C to +105°C. The thermal
    sensor has an accuracy of ±5°C and there can be a temperature
    difference of 1 or 2 degrees between Tjmax and the thermal sensor due
    to the location of the latter.

    This means that 95°C is a safer value to use.

    This value should also apply to r8a7792 but thermal sensor support has
    not been added yet."

* r8a7740 (R-Mobile A1) SoC
  - Correct TPU register block size

    Geert Uytterhoven says "The Timer Pulse Unit has registers that lie
    outside the declared register block.  Enlarge the register block size to
    fix this.

    This was probably based on the old platform code, which also assumed a
    register block size of 0x100."

* tag 'renesas-dt2-for-v4.16' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: (37 commits)
  ARM: dts: r8a7745: Add missing clock for secondary CA7 CPU core
  ARM: dts: iwg22d-sodimm: Sound DMA support via DVC on DTS
  ARM: dts: iwg22d-sodimm: Sound DMA support via SRC on DTS
  ARM: dts: iwg22d-sodimm: Sound DMA support via BUSIF on DTS
  ARM: dts: iwg22d-sodimm: Sound DMA support on DTS
  ARM: dts: iwg22d-sodimm: Sound PIO support
  ARM: dts: iwg22d-sodimm: Enable SGTL5000 audio codec
  ARM: dts: r8a7745: Add sound support
  ARM: dts: r8a7745: Add audio DMAC support
  ARM: dts: r8a7745: Add audio clocks
  ARM: dts: r8a7740: Correct TPU register block size
  ARM: dts: r8a7743: move timer and thermal-zones nodes out of bus
  ARM: dts: r8a7743: sort root sub-nodes alphabetically
  ARM: dts: iwg20d-q7-common: Sound DMA support via DVC on DTS
  ARM: dts: iwg20d-q7-common: Sound DMA support via SRC on DTS
  ARM: dts: iwg20d-q7-common: Sound DMA support via BUSIF on DTS
  ARM: dts: iwg20d-q7-common: Sound DMA support on DTS
  ARM: dts: iwg20d-q7-common: Sound PIO support
  ARM: dts: iwg20d-q7-common: Enable SGTL5000 audio codec
  ARM: dts: r8a7792: move timer node out of bus
  ...

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoMerge tag 'renesas-arm64-dt2-for-v4.16' of https://git.kernel.org/pub/scm/linux/kerne...
Olof Johansson [Fri, 5 Jan 2018 06:38:49 +0000 (22:38 -0800)]
Merge tag 'renesas-arm64-dt2-for-v4.16' of https://git./linux/kernel/git/horms/renesas into next/dt

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

* Add usb3_phy node to r8a7795 (R-Car H3) and r8a7796 (R-Car M3-W) SoCs, and
  enable usb3_peri0 on salvator boards

* Allow DTBs of boards of r8a7795 (R-Car H3) and r8a7796 SoCs to build
  without any warnings when compiled with W=1 using gcc-linaro-5.4.1-2017.05
  - Move nodes which have no reg property out of bus, they don't belong there
  - Add reg properties to dummy pciec[01] nodes
  - Also sort sub-nodes of root node to allow for easier maintenance

* Add Add EthernetAVB PHY reset to r8a7795 (R-Car H3) and r8a7796 SoCs boards.

  Geert Uytterhoeven says "... add properties to describe the EthernetAVB
  PHY reset topology to the common Salvator-X/XS and ULCB DTS files, which
  solves two issues:
    1. On Salvator-XS, the enable pin of the regulator providing PHY power
       is connected to PRESETn, and PSCI powers down the SoC during system
       suspend.  Hence a PHY reset is needed to restore network
       functionality after system resume.
    2. Linux should not rely on the boot loader having reset the PHY, but
       should reset the PHY during driver probe."

* tag 'renesas-arm64-dt2-for-v4.16' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  arm64: dts: renesas: salvator-common: enable usb3_peri0
  arm64: dts: renesas: salvator-common: enable usb3_phy0 node
  arm64: dts: renesas: r8a7796: add usb3_phy node
  arm64: dts: renesas: r8a7795: add usb3_phy node
  arm64: dts: renesas: r8a7796: add reg properties to pciec[01] nodes
  arm64: dts: renesas: r8a7796: move nodes which have no reg property out of bus
  arm64: dts: renesas: r8a7796: sort subnodes of root node alphabetically
  arm64: dts: renesas: r8a7795: sort subnodes of root node alphabetically
  arm64: dts: renesas: ulcb: Add EthernetAVB PHY reset
  arm64: dts: renesas: salvator-common: Add EthernetAVB PHY reset
  arm64: dts: renesas: r8a7795: Move nodes which have no reg property out of bus

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoMerge tag 'actions-arm64-dt-for-4.16' of git://git.kernel.org/pub/scm/linux/kernel...
Olof Johansson [Fri, 5 Jan 2018 06:36:42 +0000 (22:36 -0800)]
Merge tag 'actions-arm64-dt-for-4.16' of git://git./linux/kernel/git/afaerber/linux-actions into next/dt

Actions Semi arm64 based SoC DT for v4.16

This adds S700 SoC and CubieBoard7.

* tag 'actions-arm64-dt-for-4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/afaerber/linux-actions:
  arm64: dts: actions: Add S700 and CubieBoard7
  dt-bindings: power: Add Actions Semi S700 SPS
  dt-bindings: arm: actions: Add S700 and CubieBoard7

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoMerge tag 'actions-arm-dt-for-4.16' of git://git.kernel.org/pub/scm/linux/kernel...
Olof Johansson [Fri, 5 Jan 2018 06:36:19 +0000 (22:36 -0800)]
Merge tag 'actions-arm-dt-for-4.16' of git://git./linux/kernel/git/afaerber/linux-actions into next/dt

Actions Semi arm based SoC DT for v4.16

This adds a DT for the Allo.com Sparky SBC.

* tag 'actions-arm-dt-for-4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/afaerber/linux-actions:
  arm: dts: owl-s500: Add Sparky
  dt-bindings: arm: actions: Add Sparky
  dt-bindings: Add vendor prefix for Allo.com

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoMerge tag 'hisi-arm64-dt-for-4.16-v2' of git://github.com/hisilicon/linux-hisi into...
Olof Johansson [Fri, 5 Jan 2018 06:35:13 +0000 (22:35 -0800)]
Merge tag 'hisi-arm64-dt-for-4.16-v2' of git://github.com/hisilicon/linux-hisi into next/dt

ARM64: DT: Hisilicon SoC DT updates for 4.16

- Add SD card support for the hi3798cv200-poplar board
- Replace the PMU node with exact match for the hi3660 SoC
- Add cpu capacity-dmips-mhz information for the hi3660 SoC

* tag 'hisi-arm64-dt-for-4.16-v2' of git://github.com/hisilicon/linux-hisi:
  arm64: dts: hisilicon: Add hi3660 cpu capacity-dmips-mhz information
  arm64: dts: hi3660: improve pmu description
  arm64: dts: hi3798cv200: add SD card support

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoMerge tag 'arm-soc/for-4.16/devicetree' of http://github.com/Broadcom/stblinux into...
Olof Johansson [Fri, 5 Jan 2018 06:30:10 +0000 (22:30 -0800)]
Merge tag 'arm-soc/for-4.16/devicetree' of github.com/Broadcom/stblinux into next/dt

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

- Stefan updates the BCM283x DTS to make consistent use of the existing GPIO
  defines for the polarity specifier

* tag 'arm-soc/for-4.16/devicetree' of http://github.com/Broadcom/stblinux:
  ARM: dts: bcm283x: Use GPIO polarity defines consistently

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoarm64: dts: sprd: remove broken header inclusion
Arnd Bergmann [Thu, 4 Jan 2018 22:55:52 +0000 (23:55 +0100)]
arm64: dts: sprd: remove broken header inclusion

The added header inclusion broke the 'allmodconfig' build in
arm-soc, presumably since the file is added in a different tree:

In file included from arch/arm64/boot/dts/sprd/sp9860g-1h10.dts:11:0:
arch/arm64/boot/dts/sprd/sc9860.dtsi:10:10: fatal error: dt-bindings/clock/sprd,sc9860-clk.h: No such file or directory

It turns out we don't actually need to include it at all, so
I'm removing the line again to fix the build.

Fixes: 22f37a242925 ("arm64: dts: add clocks for SC9860")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
6 years agoMerge tag 'gemini-dts-update-2' of ssh://gitolite.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Thu, 4 Jan 2018 16:55:54 +0000 (17:55 +0100)]
Merge tag 'gemini-dts-update-2' of ssh://gitolite./linux/kernel/git/linusw/linux-nomadik into next/dt

Pull "A second set of Gemini DTS updates for v4.16" from Linus Walleij:

- Use Open Drain flags properly for emulated I2C

- Add the PCI bus to WBD111 and WBD222

- Enable the TVE and panel on DIR-685; the panel driver and
  bindings have been merged into the DRI subsystem.

* tag 'gemini-dts-update-2' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik:
  ARM: dts: Add TVE/TVC and ILI9322 panel to DIR-685
  ARM: dts: Add PCI to WBD111 and WBD222
  ARM: dts: Flags D-Link DIR-685 I2C bus gpios

6 years agoarm64: dts: add clocks for SC9860
Chunyan Zhang [Thu, 7 Dec 2017 12:57:15 +0000 (20:57 +0800)]
arm64: dts: add clocks for SC9860

Some clocks on SC9860 are in the same address area with syscon devices,
those are what have a property of 'sprd,syscon' which would refer to
syscon devices, others would have a reg property indicated their address
ranges.

Signed-off-by: Chunyan Zhang <chunyan.zhang@spreadtrum.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
6 years agoarm64: dts: add syscon for whale2 platform
Chunyan Zhang [Thu, 7 Dec 2017 12:57:14 +0000 (20:57 +0800)]
arm64: dts: add syscon for whale2 platform

Some clocks on SC9860 are in the same address area with syscon
devices, the proper syscon node will be quoted under the
definitions of those clocks in DT.

Signed-off-by: Chunyan Zhang <chunyan.zhang@spreadtrum.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
6 years agoarm64: dts: qcom: msm8916-pins: keep cdc_dmic pins in suspend mode
Damien Riegel [Thu, 7 Dec 2017 15:19:35 +0000 (10:19 -0500)]
arm64: dts: qcom: msm8916-pins: keep cdc_dmic pins in suspend mode

This node was the only one that didn't have the same set of pins in
active and suspend mode.

Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
6 years agoarm64: dts: qcom: msm8916-pins: move sdhc2 cd node with its siblings
Damien Riegel [Thu, 7 Dec 2017 15:19:40 +0000 (10:19 -0500)]
arm64: dts: qcom: msm8916-pins: move sdhc2 cd node with its siblings

Nodes relative to the first sdhc node were interlaced with node of the
second sdhc. Move sdhc2_cd_pin with its siblings to prevent that. Also
rename the grouping node from sdhc2_cd_pin to pmx_sdc2_cd_pin, as
"pmx_sdc" is the prefix used by other nodes.

Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
6 years agoarm64: dts: qcom: msm8916: normalize I2C and SPI nodes
Damien Riegel [Thu, 7 Dec 2017 15:19:41 +0000 (10:19 -0500)]
arm64: dts: qcom: msm8916: normalize I2C and SPI nodes

The QUP core can be used either for I2C or SPI, so the same IP is mapped
by a driver or the other. SPI bindings use a leading 0 for the start
address and a size of 0x600, I2C bindings don't have the leading 0 and
have a size 0x1000.

To make them more similar, add the leading 0 to I2C bindings and changes
the size to 0x500 for all of them, as this is the actual size of these
blocks. Also align the second entry of the clocks array.

Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
6 years agoarm64: dts: qcom: msm8916: drop unused board-specific nodes
Damien Riegel [Thu, 7 Dec 2017 15:19:36 +0000 (10:19 -0500)]
arm64: dts: qcom: msm8916: drop unused board-specific nodes

These nodes reserve and configure some pins as GPIOs. They are not
generic pinctrls, they actually belong to board files but they are not
used by any other node, so just drop them altogether.

Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
6 years agoarm64: dts: qcom: msm8916-pins: remove assignments to bias-disable
Damien Riegel [Thu, 7 Dec 2017 15:19:34 +0000 (10:19 -0500)]
arm64: dts: qcom: msm8916-pins: remove assignments to bias-disable

Drop assignments to bias-disable as the documentation [1] states that
this property doesn't take a value. Other occurrences of this property
respect that.

[1] Documentation/devicetree/bindings/pinctrl/qcom,msm8916-pinctrl.txt

Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
6 years agoarm64: dts: qcom: pm8916: fix wcd_codec indentation
Damien Riegel [Thu, 7 Dec 2017 15:19:33 +0000 (10:19 -0500)]
arm64: dts: qcom: pm8916: fix wcd_codec indentation

Indentation did not respect kernel standards, so fix that for the usual
indent with tabs, align with spaces. While at it, remove some empty
lines before and after the closing parenthesis of this block.

Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
6 years agoarm64: dts: msm8916: Correct ipc references for smsm
Bjorn Andersson [Fri, 1 Dec 2017 05:27:32 +0000 (21:27 -0800)]
arm64: dts: msm8916: Correct ipc references for smsm

SMSM is not symmetrical, the incoming bits from WCNSS are available at
index 6, but the outgoing host id for WCNSS is 3. Further more, upstream
references the base of APCS (in contrast to downstream), so the register
offset of 8 must be included.

Fixes: 1fb47e0a9ba4 ("arm64: dts: qcom: msm8916: Add smsm and smp2p nodes")
Cc: stable@vger.kernel.org
Reported-by: Ramon Fried <rfried@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
6 years agoarm64: dts: msm8916: Add missing #phy-cells
Bjorn Andersson [Wed, 8 Nov 2017 03:45:01 +0000 (19:45 -0800)]
arm64: dts: msm8916: Add missing #phy-cells

Add a missing #phy-cells to the dsi-phy, to silence dtc warning.

Cc: Archit Taneja <architt@codeaurora.org>
Fixes: 305410ffd1b2 ("arm64: dts: msm8916: Add display support")
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
6 years agoARM: dts: at91: sama5d2_ptc_ek: use TCB0 as timers
Nicolas Ferre [Wed, 20 Dec 2017 09:04:40 +0000 (10:04 +0100)]
ARM: dts: at91: sama5d2_ptc_ek: use TCB0 as timers

Use tcb0 for timers as selected in sama5_defconfig.

Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: sama5d27_som1_ek: use TCB0 as timers
Alexandre Belloni [Tue, 19 Dec 2017 21:23:19 +0000 (22:23 +0100)]
ARM: dts: at91: sama5d27_som1_ek: use TCB0 as timers

Use tcb0 for timers as selected in sama5_defconfig.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: sama5d2 Xplained: use TCB0 as timers
Alexandre Belloni [Tue, 7 Jun 2016 23:39:32 +0000 (01:39 +0200)]
ARM: dts: at91: sama5d2 Xplained: use TCB0 as timers

Use tcb0 for timers as selected in sama5_defconfig.

Tested-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: sama5d2: TC blocks are also simple-mfd and syscon devices
Alexandre Belloni [Tue, 7 Jun 2016 23:40:44 +0000 (01:40 +0200)]
ARM: dts: at91: sama5d2: TC blocks are also simple-mfd and syscon devices

Add simple-mfd and syscon to the TC blocks to allow to register one of the
channels as clocksource properly at boot time and free up the remaining
channels for other use.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: vinco: use TCB2 as timers
Alexandre Belloni [Tue, 7 Jun 2016 23:34:08 +0000 (01:34 +0200)]
ARM: dts: at91: vinco: use TCB2 as timers

As TCB2 doesn't have any output pins, use it for timers

Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: ma5d4: use TCB2 as timers
Alexandre Belloni [Tue, 7 Jun 2016 23:37:30 +0000 (01:37 +0200)]
ARM: dts: at91: ma5d4: use TCB2 as timers

As TCB2 doesn't have any output pins, use it for timers

Cc: Marek Vasut <marex@denx.de>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: sama5d4 Xplained: use TCB2 as timers
Alexandre Belloni [Thu, 5 May 2016 15:57:24 +0000 (17:57 +0200)]
ARM: dts: at91: sama5d4 Xplained: use TCB2 as timers

As TCB2 doesn't have any output pins, use for timers.

Tested-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: sama5d4ek: use TCB2 as timers
Alexandre Belloni [Tue, 7 Jun 2016 23:36:36 +0000 (01:36 +0200)]
ARM: dts: at91: sama5d4ek: use TCB2 as timers

As TCB2 doesn't have any output pins, use it for timers.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: sama5d4: Add TCB2
Alexandre Belloni [Thu, 5 May 2016 15:49:57 +0000 (17:49 +0200)]
ARM: dts: at91: sama5d4: Add TCB2

The third TC block is missing from the dtsi. It has no output pins but can
still be used for timers as the IRQ is wired.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: sama5d4: TC blocks are also simple-mfd and syscon devices
Alexandre Belloni [Thu, 5 May 2016 15:52:44 +0000 (17:52 +0200)]
ARM: dts: at91: sama5d4: TC blocks are also simple-mfd and syscon devices

Add simple-mfd and syscon to the TC blocks to allow to register one of the
channels as clocksource properly at boot time and free up the remaining
channels for other use.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: linea/tse850-3: use TCB0 as timers
Alexandre Belloni [Wed, 17 May 2017 21:20:37 +0000 (23:20 +0200)]
ARM: dts: at91: linea/tse850-3: use TCB0 as timers

Use tcb0 for timers as selected in sama5_defconfig.

Tested-by: Peter Rosin <peda@axentia.se>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: sama5d3xek_cmp: use TCB0 as timers
Alexandre Belloni [Wed, 17 May 2017 21:19:30 +0000 (23:19 +0200)]
ARM: dts: at91: sama5d3xek_cmp: use TCB0 as timers

Use tcb0 for timers as selected in sama5_defconfig.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: kizbox2: use TCB0 as timers
Alexandre Belloni [Tue, 7 Jun 2016 23:52:37 +0000 (01:52 +0200)]
ARM: dts: at91: kizbox2: use TCB0 as timers

Use tcb0 for timers as selected in sama5_defconfig.

Cc: Antoine Aubert <a.aubert@overkiz.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: sama5d3 Xplained: use TCB0 as timers
Alexandre Belloni [Tue, 7 Jun 2016 14:16:29 +0000 (16:16 +0200)]
ARM: dts: at91: sama5d3 Xplained: use TCB0 as timers

Use tcb0 for timers as selected in sama5_defconfig.

Tested-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: sama5d3xek: use TCB0 as timers
Alexandre Belloni [Tue, 7 Jun 2016 23:46:49 +0000 (01:46 +0200)]
ARM: dts: at91: sama5d3xek: use TCB0 as timers

Use tcb0 for timers as selected in sama5_defconfig.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: sama5d3: TC blocks are also simple-mfd and syscon devices
Alexandre Belloni [Tue, 7 Jun 2016 14:15:17 +0000 (16:15 +0200)]
ARM: dts: at91: sama5d3: TC blocks are also simple-mfd and syscon devices

Add simple-mfd and syscon to the TC blocks to allow to register one of the
channels as clocksource properly at boot time and free up the remaining
channels for other use.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: kizboxmini: use TCB0 as timers
Alexandre Belloni [Wed, 8 Jun 2016 16:12:31 +0000 (18:12 +0200)]
ARM: dts: at91: kizboxmini: use TCB0 as timers

Use tcb0 for timers as selected in at91_dt_defconfig.

Cc: Antoine Aubert <a.aubert@overkiz.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: cosino: use TCB0 as timers
Alexandre Belloni [Wed, 8 Jun 2016 16:12:31 +0000 (18:12 +0200)]
ARM: dts: at91: cosino: use TCB0 as timers

Use tcb0 for timers as selected in at91_dt_defconfig.

Cc: Rodolfo Giometti <giometti@linux.it>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: acme/g25: use TCB0 as timers
Alexandre Belloni [Wed, 8 Jun 2016 16:12:31 +0000 (18:12 +0200)]
ARM: dts: at91: acme/g25: use TCB0 as timers

Use tcb0 for timers as selected in at91_dt_defconfig.

Cc: Sergio Tanzilli <tanzilli@acmesystems.it>
Cc: Douglas Gilbert <dgilbert@interlog.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: at91sam9x5cm: use TCB0 as timers
Alexandre Belloni [Wed, 8 Jun 2016 16:12:31 +0000 (18:12 +0200)]
ARM: dts: at91: at91sam9x5cm: use TCB0 as timers

Use tcb0 for timers as selected in at91_dt_defconfig.

[tested on at91sam9x25ek and at91sam9x35ek]
Tested-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: at91sam9x5: TC blocks are also simple-mfd and syscon devices
Alexandre Belloni [Wed, 8 Jun 2016 15:06:13 +0000 (17:06 +0200)]
ARM: dts: at91: at91sam9x5: TC blocks are also simple-mfd and syscon devices

Add simple-mfd and syscon to the TC blocks to allow to register one of the
channels as clocksource properly at boot time and free up the remaining
channels for other use.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: at91sam9n12ek: use TCB0 as timers
Alexandre Belloni [Wed, 8 Jun 2016 16:12:31 +0000 (18:12 +0200)]
ARM: dts: at91: at91sam9n12ek: use TCB0 as timers

Use tcb0 for timers as selected in at91_dt_defconfig.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: at91sam9n12: TC blocks are also simple-mfd and syscon devices
Alexandre Belloni [Wed, 8 Jun 2016 15:06:13 +0000 (17:06 +0200)]
ARM: dts: at91: at91sam9n12: TC blocks are also simple-mfd and syscon devices

Add simple-mfd and syscon to the TC blocks to allow to register one of the
channels as clocksource properly at boot time and free up the remaining
channels for other use.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: at91sam9rlek: use TCB0 as timers
Alexandre Belloni [Wed, 8 Jun 2016 16:12:31 +0000 (18:12 +0200)]
ARM: dts: at91: at91sam9rlek: use TCB0 as timers

Use tcb0 for timers as selected in at91_dt_defconfig.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: at91sam9rl: TC blocks are also simple-mfd and syscon devices
Alexandre Belloni [Wed, 8 Jun 2016 15:06:13 +0000 (17:06 +0200)]
ARM: dts: at91: at91sam9rl: TC blocks are also simple-mfd and syscon devices

Add simple-mfd and syscon to the TC blocks to allow to register one of the
channels as clocksource properly at boot time and free up the remaining
channels for other use.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: pm9g45: use TCB0 as timers
Alexandre Belloni [Wed, 8 Jun 2016 16:12:31 +0000 (18:12 +0200)]
ARM: dts: at91: pm9g45: use TCB0 as timers

Use tcb0 for timers as selected in at91_dt_defconfig.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: at91sam9m10g45ek: use TCB0 as timers
Alexandre Belloni [Wed, 8 Jun 2016 16:12:31 +0000 (18:12 +0200)]
ARM: dts: at91: at91sam9m10g45ek: use TCB0 as timers

Use tcb0 for timers as selected in at91_dt_defconfig.

Tested-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: at91sam9g45: TC blocks are also simple-mfd and syscon devices
Alexandre Belloni [Wed, 8 Jun 2016 15:06:13 +0000 (17:06 +0200)]
ARM: dts: at91: at91sam9g45: TC blocks are also simple-mfd and syscon devices

Add simple-mfd and syscon to the TC blocks to allow to register one of the
channels as clocksource properly at boot time and free up the remaining
channels for other use.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: calao: use TCB0 as timers
Alexandre Belloni [Wed, 8 Jun 2016 16:11:33 +0000 (18:11 +0200)]
ARM: dts: at91: calao: use TCB0 as timers

Use tcb0 for timers as selected in at91_dt_defconfig.

[tested on usb_a9g20 and usb_a9263]
Tested-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: at91sam9263ek: use TCB0 as timers
Alexandre Belloni [Wed, 8 Jun 2016 16:12:31 +0000 (18:12 +0200)]
ARM: dts: at91: at91sam9263ek: use TCB0 as timers

Use tcb0 for timers as selected in at91_dt_defconfig.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: at91sam9263: TC blocks are also simple-mfd and syscon devices
Alexandre Belloni [Wed, 8 Jun 2016 15:06:13 +0000 (17:06 +0200)]
ARM: dts: at91: at91sam9263: TC blocks are also simple-mfd and syscon devices

Add simple-mfd and syscon to the TC blocks to allow to register one of the
channels as clocksource properly at boot time and free up the remaining
channels for other use.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: at91sam9261ek: use TCB0 as timers
Alexandre Belloni [Wed, 8 Jun 2016 15:08:57 +0000 (17:08 +0200)]
ARM: dts: at91: at91sam9261ek: use TCB0 as timers

Use tcb0 for timers as selected in at91_dt_defconfig.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: at91sam9261: TC blocks are also simple-mfd and syscon devices
Alexandre Belloni [Wed, 8 Jun 2016 15:06:13 +0000 (17:06 +0200)]
ARM: dts: at91: at91sam9261: TC blocks are also simple-mfd and syscon devices

Add simple-mfd and syscon to the TC blocks to allow to register one of the
channels as clocksource properly at boot time and free up the remaining
channels for other use.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: ge863-pro3: use TCB0 as timers
Alexandre Belloni [Wed, 8 Jun 2016 16:13:11 +0000 (18:13 +0200)]
ARM: dts: at91: ge863-pro3: use TCB0 as timers

Use tcb0 for timers as selected in at91_dt_defconfig.

Cc: Fabio Porcedda <fabio.porcedda@gmail.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: at91sam9g20ek: use TCB0 as timers
Alexandre Belloni [Wed, 8 Jun 2016 16:12:31 +0000 (18:12 +0200)]
ARM: dts: at91: at91sam9g20ek: use TCB0 as timers

Use tcb0 for timers as selected in at91_dt_defconfig.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: kizbox: use TCB0 as timers
Alexandre Belloni [Wed, 8 Jun 2016 16:09:46 +0000 (18:09 +0200)]
ARM: dts: at91: kizbox: use TCB0 as timers

Use tcb0 for timers as selected in at91_dt_defconfig.

Cc: Antoine Aubert <a.aubert@overkiz.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: animeo_ip: use TCB0 as timers
Alexandre Belloni [Wed, 8 Jun 2016 16:09:21 +0000 (18:09 +0200)]
ARM: dts: at91: animeo_ip: use TCB0 as timers

Use tcb0 for timers as selected in at91_dt_defconfig.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: foxg20: use TCB0 as timers
Alexandre Belloni [Wed, 8 Jun 2016 16:08:14 +0000 (18:08 +0200)]
ARM: dts: at91: foxg20: use TCB0 as timers

Use tcb0 for timers as selected in at91_dt_defconfig.

Cc: Sergio Tanzilli <tanzilli@acmesystems.it>
Cc: Douglas Gilbert <dgilbert@interlog.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: ethernut5: use TCB0 as timers
Alexandre Belloni [Wed, 8 Jun 2016 16:05:16 +0000 (18:05 +0200)]
ARM: dts: at91: ethernut5: use TCB0 as timers

Use tcb0 for timers as selected in at91_dt_defconfig.

Cc: Martin Reimann <martin.reimann@egnite.de>
Cc: Tim Schendekehl <tim.schendekehl@egnite.de>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: sam9_l9260: use TCB0 as timers
Alexandre Belloni [Wed, 17 May 2017 21:09:32 +0000 (23:09 +0200)]
ARM: dts: at91: sam9_l9260: use TCB0 as timers

Use tcb0 for timers as selected in at91_dt_defconfig.

Cc: Raashid Muhammed <raashidmuhammed@zilogic.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: at91sam9260ek: use TCB0 as timers
Alexandre Belloni [Wed, 17 May 2017 21:11:06 +0000 (23:11 +0200)]
ARM: dts: at91: at91sam9260ek: use TCB0 as timers

Use tcb0 for timers as selected in at91_dt_defconfig.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: at91sam9260: TC blocks are also simple-mfd and syscon devices
Alexandre Belloni [Tue, 7 Jun 2016 20:42:09 +0000 (22:42 +0200)]
ARM: dts: at91: at91sam9260: TC blocks are also simple-mfd and syscon devices

Add simple-mfd and syscon to the TC blocks to allow to register one of the
channels as clocksource properly at boot time and free up the remaining
channels for other use.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: mpa1600: use TCB0 as timers
Alexandre Belloni [Tue, 7 Jun 2016 23:46:49 +0000 (01:46 +0200)]
ARM: dts: at91: mpa1600: use TCB0 as timers

Use tcb0 for timers as selected in at91_dt_defconfig.

Cc: Joachim Eastwood <manabian@gmail.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: at91rm9200ek: use TCB0 for timers
Alexandre Belloni [Tue, 7 Jun 2016 23:46:49 +0000 (01:46 +0200)]
ARM: dts: at91: at91rm9200ek: use TCB0 for timers

Use tcb0 for timers like selected in at91_dt_defconfig.

Tested-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: at91rm9200: TC blocks are also simple-mfd and syscon devices
Alexandre Belloni [Tue, 7 Jun 2016 20:42:09 +0000 (22:42 +0200)]
ARM: dts: at91: at91rm9200: TC blocks are also simple-mfd and syscon devices

Add simple-mfd and syscon to the TC blocks to allow to register one of the
channels as clocksource properly at boot time and free up the remaining
channels for other use.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: at91: Document new TCB bindings
Alexandre Belloni [Wed, 8 Jun 2016 13:16:49 +0000 (15:16 +0200)]
ARM: at91: Document new TCB bindings

The current binding for the TCB is not flexible enough for some use cases
and prevents proper utilization of all the channels.

Acked-by: Rob Herring <robh@kernel.org>
Cc: devicetree@vger.kernel.org
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: Remove leading 0x and 0s from bindings notation
Mathieu Malaterre [Fri, 15 Dec 2017 12:46:26 +0000 (13:46 +0100)]
ARM: dts: at91: Remove leading 0x and 0s from bindings notation

Improve the DTS files by removing all the leading "0x" and zeros to fix the
following dtc warnings:

Warning (unit_address_format): Node /XXX unit name should not have leading "0x"

and

Warning (unit_address_format): Node /XXX unit name should not have leading 0s

Converted using the following command:

find . -type f \( -iname *.dts -o -iname *.dtsi \) -exec sed -i -e "s/@\([0-9a-fA-FxX\.;:#]+\)\s*{/@\L\1 {/g" -e "s/@0x\(.*\) {/@\1 {/g" -e "s/@0+\(.*\) {/@\1 {/g" {} +^C

For simplicity, two sed expressions were used to solve each warnings separately.

To make the regex expression more robust a few other issues were resolved,
namely setting unit-address to lower case, and adding a whitespace before the
the opening curly brace:

https://elinux.org/Device_Tree_Linux#Linux_conventions

This will solve as a side effect warning:

Warning (simple_bus_reg): Node /XXX@<UPPER> simple-bus unit address format error, expected "<lower>"

This is a follow up to commit 4c9847b7375a ("dt-bindings: Remove leading 0x from bindings notation")

Reported-by: David Daney <ddaney@caviumnetworks.com>
Suggested-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoARM: dts: at91: introduce the sama5d2 ptc ek board
Ludovic Desroches [Thu, 7 Dec 2017 08:24:53 +0000 (09:24 +0100)]
ARM: dts: at91: introduce the sama5d2 ptc ek board

Add the official SAMA5D2 Peripheral Touch Controller Evaluation
Kit board.

Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
6 years agoarm64: dts: uniphier: enable more serial ports for PXs3 ref board
Masahiro Yamada [Fri, 29 Dec 2017 12:41:11 +0000 (21:41 +0900)]
arm64: dts: uniphier: enable more serial ports for PXs3 ref board

The serial pins of PXs3 SoC are not multiplexed with any other
functions.  Enable serial2 and serial3 on the PXs3 reference board
because I see the connectors on the board.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
6 years agoarm64: dts: uniphier: add has-transaction-translator property to usb node for LD11
Kunihiko Hayashi [Tue, 26 Dec 2017 01:03:40 +0000 (10:03 +0900)]
arm64: dts: uniphier: add has-transaction-translator property to usb node for LD11

When a full/low speed device is connected to USB 2.0 port on UniPhier SoC
that has ehci controller, the kernel shows the following messages.

| usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
| usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
| usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
| usb usb1-port1: unable to enumerate USB device

To fix the issue, the driver needs to enable Transaction Translator on ehci
root hub. This adds 'has-transaction-translator' property to each node.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
6 years agoARM: dts: uniphier: add has-transaction-translator property to usb node for LD4,...
Kunihiko Hayashi [Tue, 26 Dec 2017 01:03:39 +0000 (10:03 +0900)]
ARM: dts: uniphier: add has-transaction-translator property to usb node for LD4, sLD8 and Pro4

When a full/low speed device is connected to USB 2.0 port on UniPhier SoC
that has ehci controller, the kernel shows the following messages.

| usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
| usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
| usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
| usb usb1-port1: unable to enumerate USB device

To fix the issue, the driver needs to enable Transaction Translator on ehci
root hub. This adds 'has-transaction-translator' property to each node.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
6 years agoARM: dts: imx7s: Avoid using label in unit address and reg
Fabio Estevam [Tue, 26 Dec 2017 19:59:45 +0000 (17:59 -0200)]
ARM: dts: imx7s: Avoid using label in unit address and reg

As recommended by Rob Herring [1] labels should not be used in unit address
and reg, so use its real value directly instead.

[1] https://www.spinics.net/lists/devicetree/msg206567.html

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx51-zii-rdu1: Add missing #phy-cells to usb-nop-xceiv
Fabio Estevam [Tue, 26 Dec 2017 18:04:20 +0000 (16:04 -0200)]
ARM: dts: imx51-zii-rdu1: Add missing #phy-cells to usb-nop-xceiv

Commit 915fbe59cbf2fe6 ("ARM: dts: imx: Add missing #phy-cells to
usb-nop-xceiv") missed to update imx51-zii-rdu1.dts probably due to a
merge timing issue, so add #phy-cells here too.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx6qdl-hummingboard2: Remove leading zero in unit address
Fabio Estevam [Tue, 26 Dec 2017 17:55:58 +0000 (15:55 -0200)]
ARM: dts: imx6qdl-hummingboard2: Remove leading zero in unit address

Remove the leading zero from unit address to fix the following build
warning with W=1:

arch/arm/boot/dts/imx6dl-hummingboard2.dtb: Warning (unit_address_format): Node /soc/aips-bus@2100000/i2c@21a0000/codec@0a unit name should not have leading 0s

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: ls1021a: add support for Moxa UC-8410A open platform
SZ Lin [Tue, 26 Dec 2017 04:54:31 +0000 (12:54 +0800)]
ARM: dts: ls1021a: add support for Moxa UC-8410A open platform

Add support for Moxa UC-8410A open platform

The UC-8410A computing platform is designed
for embedded communication-centric industrial applications

The features of UC-8410A are:
* QSPI flash
* SD slot
* 3x LAN
* 8x RS-232/422/485 ports, software-selectable
* Mini PCIe form factor with PCIe/USB signal
* 2x USB host
* TPM
* Watchdog
* RTC
* User LEDs
* Beeper
* Push button

Signed-off-by: Jimmy Chen <jimmy.chen@moxa.com>
Signed-off-by: Harry YJ Jhou <harryyj.jhou@moxa.com>
Signed-off-by: SZ Lin <sz.lin@moxa.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoarm64: dts: ls208xa: add power monitor chip node
Yuantian Tang [Mon, 25 Dec 2017 07:57:23 +0000 (15:57 +0800)]
arm64: dts: ls208xa: add power monitor chip node

Ina220 chip was used on ls208xardb platform to monitor power
comsumption. So add ina220 chip node in dts to enable power
consumption monitor feature.

Signed-off-by: Tang Yuantian <andy.tang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoarm64: dts: ls1088a: Add USB support
yinbo.zhu [Fri, 22 Dec 2017 08:38:07 +0000 (16:38 +0800)]
arm64: dts: ls1088a: Add USB support

Add USB support on ls1088ardb

Signed-off-by: yinbo zhu <yinbo.zhu@nxp.com>
Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx51-babbage: Fix the 26MHz clock modelling
Fabio Estevam [Thu, 21 Dec 2017 15:23:52 +0000 (13:23 -0200)]
ARM: dts: imx51-babbage: Fix the 26MHz clock modelling

On imx51-babbage there is a 26MHz oscillator that is gated by GPIO3_1.

The output of this clock feeds audio codec clock and USB PHY clocks,
which are gated by GPIO4_26 and GPIO2_1 respectively.

Fix the clock representation by properly using gpio-gate-clock.

The clock nodes can be moved out of the 'clocks' node.

Based on a commit from Lucas Stach for imx51-zii-rdu1 board.

This also fixes the following build warning with W=1:

arch/arm/boot/dts/imx51-babbage.dtb: Warning (unit_address_vs_reg): Node /clocks/codec_clock has a reg or ranges property, but no unit name

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: vf610-zii-dev-rev-b: add PHYs for switch2
Russell King [Wed, 20 Dec 2017 23:11:55 +0000 (23:11 +0000)]
ARM: dts: vf610-zii-dev-rev-b: add PHYs for switch2

Switch 2 has an 88e1545 PHY behind it, which is a quad PHY.  Only the
first three PHYs are used, the remaining PHY is unused.  When we wire
up the SFF sockets in a later commit, the omission of this causes the
fourth PHY to be used for port 3.  Specifying the PHYs in DT avoids
the auto-probing of the bus, and discovery of this PHY.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: vf610-zii-dev-rev-b: fix interrupt for GPIO expander
Russell King [Wed, 20 Dec 2017 23:11:50 +0000 (23:11 +0000)]
ARM: dts: vf610-zii-dev-rev-b: fix interrupt for GPIO expander

The interrupt specification for the GPIO expander is wrong - the
expander is wired to PTB28, which is GPIO98.  GPIO98 is on gpio chip
3, not 2.

In addition, the device is missing a required property.  Interrupt
controllers must have the "interrupt-controller" property specified.
Add this.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: vf610-zii-dev: enable edma1
Russell King [Wed, 20 Dec 2017 23:11:45 +0000 (23:11 +0000)]
ARM: dts: vf610-zii-dev: enable edma1

EDMA1 is required for the SPI controller used on the ZII boards to be
functional.  Enable EDMA1.

Fixes: 14c416336820 ("ARM: dts: vfxxx: Enable DMA for DSPI on Vybrid")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: ls1021a-twr: Remove extra clock cell
Fabio Estevam [Tue, 19 Dec 2017 15:36:37 +0000 (13:36 -0200)]
ARM: dts: ls1021a-twr: Remove extra clock cell

There is an extraneous '1' cell in the clock phandle, which causes
the following build warning:

arch/arm/boot/dts/ls1021a-twr.dtb: Warning (clocks_property): Property 'clocks', cell 1 is not a phandle reference in /soc/i2c@2190000/sgtl5000@a
arch/arm/boot/dts/ls1021a-twr.dtb: Warning (clocks_property): Missing property '#clock-cells' in node /soc/interrupt-controller@1400000 or bad phandle (referred from /soc/i2c@2190000/sgtl5000@a:clocks[1])

Remove the unneeded extra cell.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: ls1021a-qds: Remove extra clock cell
Fabio Estevam [Tue, 19 Dec 2017 15:36:36 +0000 (13:36 -0200)]
ARM: dts: ls1021a-qds: Remove extra clock cell

There is an extraneous '1' cell in the clock phandle, which causes
the following build warning:

arch/arm/boot/dts/ls1021a-qds.dtb: Warning (clocks_property): Property 'clocks', cell 1 is not a phandle reference in /soc/i2c@2180000/mux@77/i2c@4/sgtl5000@2a
arch/arm/boot/dts/ls1021a-qds.dtb: Warning (clocks_property): Missing property '#clock-cells' in node /soc/interrupt-controller@1400000 or bad phandle (referred from /soc/i2c@2180000/mux@77/i2c@4/sgtl5000@2a:clocks[1])

Remove the unneeded extra cell.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoarm64: dts: ls1088a: add fsl-mc hardware resource manager node
Ioana Ciornei [Fri, 17 Nov 2017 14:05:26 +0000 (16:05 +0200)]
arm64: dts: ls1088a: add fsl-mc hardware resource manager node

Add the fsl-mc node in the LS1088A device tree.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoarm64: dts: ls1088a: Added dcfg node in ls1088a dtsi
Ashish Kumar [Fri, 3 Nov 2017 04:47:41 +0000 (10:17 +0530)]
arm64: dts: ls1088a: Added dcfg node in ls1088a dtsi

Add debug configuration node(DCFG) in dtsi, helps guts driver to
print the following information in kernel boot log

[    0.526649] Machine: LS1088A RDB Board
[    0.530430] SoC family: QorIQ LS1088A
[    0.534115] SoC ID: svr:0x87030010, Revision: 1.0

Signed-off-by: Amrita Kumari <amrita.kumari@nxp.com>
Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
6 years agoARM: dts: imx53: add srtc node
Patrick Bruenn [Mon, 18 Dec 2017 11:51:31 +0000 (12:51 +0100)]
ARM: dts: imx53: add srtc node

rtc-mxc_v2 driver will add support for the i.MX53 SRTC

Note: we keep the 'srtc' label to avoid duplicate with imx53-m53.dtsi

Signed-off-by: Patrick Bruenn <p.bruenn@beckhoff.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>