platform/kernel/linux-starfive.git
5 years agoMerge tag 'socfpga_dts_updates_for_v5.2' of git://git.kernel.org/pub/scm/linux/kernel...
Olof Johansson [Sun, 28 Apr 2019 19:35:51 +0000 (12:35 -0700)]
Merge tag 'socfpga_dts_updates_for_v5.2' of git://git./linux/kernel/git/dinguyen/linux into arm/dt

SoCFPGA DTS updates for v5.2
- Add base support for Agilex platform
- Add 'cap-mmc-highspeed' Stratix10 and 32-bit SoCFPGA platform
- Increase Stratix10 QSPI support to 100 MHz

* tag 'socfpga_dts_updates_for_v5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux:
  arm64: dts: agilex: Add initial support for Intel's Agilex SoCFPGA
  arm64: dts: stratix10: increase QSPI max frequency to 100MHz
  arm64: dts: stratix10: enable MMC highspeed support
  ARM: dts: socfpga: enable MMC highspeed support

Signed-off-by: Olof Johansson <olof@lixom.net>
5 years agoMerge tag 'ux500-dts-v5.2-armsoc' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Sun, 28 Apr 2019 19:35:07 +0000 (12:35 -0700)]
Merge tag 'ux500-dts-v5.2-armsoc' of git://git./linux/kernel/git/linusw/linux-stericsson into arm/dt

Ux500 DTS changes for the v5.2 kernel cycle.
- This adds the MCDE display controller and some displays.
- The Lima MALI-400 driver is added to the kernel, so
  let's add this block to the Ux500 DTS file.

* tag 'ux500-dts-v5.2-armsoc' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson:
  ARM: dts: Ux500: Add MCDE and Samsung display
  ARM: dts: ux500: Add Mali-400

Signed-off-by: Olof Johansson <olof@lixom.net>
5 years agoMerge tag 'omap-for-v5.2/dt-ti-sysc-signed' of git://git.kernel.org/pub/scm/linux...
Olof Johansson [Sun, 28 Apr 2019 19:33:12 +0000 (12:33 -0700)]
Merge tag 'omap-for-v5.2/dt-ti-sysc-signed' of git://git./linux/kernel/git/tmlind/linux-omap into arm/dt

Devicetree changes for omap4 and 5 l4 abe interconnect

This series of devicetree changes adds the l4 abe interconnect devices
and moves the devices to their right places in the hierarchy similar
to what we've already done for most l4 devices earlier. We first add
a shared omap4-mcpdm.dtsi to make adding omap4-l4-abe.dtsi easier for
the mcpdm changes. And as earlier, in case of unexpected trouble,
devices can be probed the old way by moving one device at a time to the
old place.

This series of changes depends on the ti-sysc driver changes for handling
the external optional clocks that the mcpdm relies on, and is based on
the related ti-sysc driver changes. Note that this series does not depend
on dropping of the leagcy platform data, but I already had those committed
along with the ti-sysc driver changes and noticed too late.

* tag 'omap-for-v5.2/dt-ti-sysc-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: (44 commits)
  ARM: dts: Add l4 abe interconnect hierarchy and ti-sysc data for omap5
  ARM: dts: Add l4 abe interconnect hierarchy and ti-sysc data for omap4
  ARM: dts: Add common mcpdm dts file for omap4
  bus: ti-sysc: Add generic enable/disable functions
  ARM: OMAP2+: Drop mcspi platform data for omap4
  ARM: OMAP2+: Drop uart platform data for dra7
  ARM: OMAP2+: Drop gpio platform data for dra7
  ARM: OMAP2+: Drop i2c platform data for dra7
  ARM: OMAP2+: Drop mmc platform data for dra7
  ARM: OMAP2+: Drop uart platform data for omap5
  ARM: OMAP2+: Drop gpio platform data for omap5
  ARM: OMAP2+: Drop i2c platform data for omap5
  ARM: OMAP2+: Drop mmc platform data for omap5
  ARM: OMAP2+: Drop uart platform data for am33xx and am43xx
  ARM: OMAP2+: Drop gpio platform data for am33xx and am43xx
  ARM: OMAP2+: Drop i2c platform data for am33xx and am43xx
  ARM: OMAP2+: Drop mmc platform data for am330x and am43xx
  ARM: OMAP2+: Drop uart platform data for omap4
  ARM: OMAP2+: Drop gpio platform data for omap4
  ARM: OMAP2+: Drop i2c platform data for omap4
  ...

Signed-off-by: Olof Johansson <olof@lixom.net>
5 years agoMerge tag 'omap-for-v5.2/dt-signed' of git://git.kernel.org/pub/scm/linux/kernel...
Olof Johansson [Sun, 28 Apr 2019 19:32:38 +0000 (12:32 -0700)]
Merge tag 'omap-for-v5.2/dt-signed' of git://git./linux/kernel/git/tmlind/linux-omap into arm/dt

Devicetree changes for omap variants

This series of changes configures dra7 pcie x2 lane mode, configures
am43xx-epos-evm regulators and keypad wakeup source, and uses standard
reset-gpios instead of gpio-reset for n810.

We also need to split dra7 dtsi files for properly supporting dra76x
and am576 as some of the devices are different such as usb and pruss.

* tag 'omap-for-v5.2/dt-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  ARM: dts: dra7: Separate AM57 dtsi files
  dt-binding: arm: omap: Add information for AM5748
  ARM: dts: omap2420-n810: Use new CODEC reset pin name
  ARM: dts: am43xx-epos-evm: Add matrix keypad as wakeup source
  ARM: dts: am43xx-epos-evm: Keep DCDC3 regulator on in suspend to memory
  ARM: dts: am43xx-epos-evm: Keep DCDC5 and DCDC6 always on
  ARM: dts: dra7: Add properties to enable PCIe x2 lane mode

Signed-off-by: Olof Johansson <olof@lixom.net>
5 years agoMerge tag 'hisi-arm64-dt-for-5.2' of git://github.com/hisilicon/linux-hisi into arm/dt
Olof Johansson [Sun, 28 Apr 2019 19:32:12 +0000 (12:32 -0700)]
Merge tag 'hisi-arm64-dt-for-5.2' of git://github.com/hisilicon/linux-hisi into arm/dt

ARM64: DT: Hisilicon SoCs DT updates for 5.2

* Hi3660 SoC and related boards:
  - Added DMA support for the uart nodes
  - Added the asp DMA controller node
  - Replaced dma-min-chan with dma-channel-mask to follow the binding

* Hi3670 SoC and related boards:
  - Reused Hi3660 reset to support Hi3670, updated the binding
    document and added dts node
  - Reused Hi3660 MMC controller to support Hi3670, updated the
    binding document and added related nodes to support SD and WiFi
    for the SoC and hikey970 board
  - Added UFS controller node

* tag 'hisi-arm64-dt-for-5.2' of git://github.com/hisilicon/linux-hisi:
  arm64: dts: hisilicon: hi3670: Add UFS controller support
  arm64: dts: hi3660: Fixup unofficial dma-min-chan to dma-channel-mask
  arm64: dts: hi3660: Add hisi asp dma device
  arm64: dts: hi3660: Add dma to uart nodes
  arm64: dts: hisilicon: hikey970: Add SD and WiFi support
  arm64: dts: hisilicon: hi3670: Add MMC controller support
  dt-bindings: mmc: Add HI3670 MMC controller binding
  arm64: dts: hisilicon: hi3670: Add reset controller support
  dt-bindings: reset: Add HI3670 reset controller binding

Signed-off-by: Olof Johansson <olof@lixom.net>
5 years agoMerge tag 'zynqmp-dt-for-v5.2' of https://github.com/Xilinx/linux-xlnx into arm/dt
Olof Johansson [Sun, 28 Apr 2019 19:31:33 +0000 (12:31 -0700)]
Merge tag 'zynqmp-dt-for-v5.2' of https://github.com/Xilinx/linux-xlnx into arm/dt

arm64: dts: zynqmp: DT changes for v5.2

- Align xlnx-zynqmp-clk.h file name and separate
  binding for clock driver
- Add TI quirks to zynqmp boards

* tag 'zynqmp-dt-for-v5.2' of https://github.com/Xilinx/linux-xlnx:
  arm64: zynqmp: dt: Add TI PHY quirk
  dt-bindings: xilinx: Separate clock binding from firmware doc
  include: dt-binding: clock: Rename zynqmp header file

Signed-off-by: Olof Johansson <olof@lixom.net>
5 years agoMerge tag 'samsung-dt64-5.2' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk...
Olof Johansson [Sun, 28 Apr 2019 19:29:48 +0000 (12:29 -0700)]
Merge tag 'samsung-dt64-5.2' of https://git./linux/kernel/git/krzk/linux into arm/dt

Samsung DTS ARM64 changes for v5.2

1. Use proper clock rates for GSCALER module on TM2 boards.
2. Add clocks for local paths on DECON and GSCALER modules of
   Exynos5433.
3. Add Slim SecuritySubSystem to Exynos5433.

* tag 'samsung-dt64-5.2' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  arm64: dts: exynos: Add SlimSSS to Exynos5433
  arm64: dts: exynos: add DSD/GSD clocks to DECONs and GSCALERs of Exynos5433
  arm64: dts: exynos: configure GSCALER related clocks on TM2

Signed-off-by: Olof Johansson <olof@lixom.net>
5 years agoMerge tag 'samsung-dt-5.2' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk...
Olof Johansson [Sun, 28 Apr 2019 19:29:20 +0000 (12:29 -0700)]
Merge tag 'samsung-dt-5.2' of https://git./linux/kernel/git/krzk/linux into arm/dt

Samsung DTS ARM changes for v5.2

1. Use proper ADC on Exynos4412.
2. Extend the Exynos5420 Arndale Octa board with: CPU cooling maps,
   unused regulators, ADC and UHS-I SD card support.  Beside that adjust
   regulators to proper level and add always-on when needed.
3. Extend the Exynos5260: high speed I2C and proper external interrupts.
   Also fix shared external interrupt line and use better PLL for MMC
   clocks.
4. Fix audio recording (broken around v5.1) and microphone recording
   (since v4.14) on Exynos5422 Odroid XU3 boards.
5. Minor cleanups (stdout-path and bootargs).

* tag 'samsung-dt-5.2' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  ARM: dts: exynos: Remove console argument from bootargs
  ARM: dts: exynos: Use stdout-path property instead of console in bootargs
  ARM: dts: exynos: Fix spelling mistake of EXYNOS5420
  ARM: dts: exynos: Fix audio (microphone) routing on Odroid XU3
  ARM: dts: exynos: Always enable necessary APIO_1V8 and ABB_1V8 regulators on Arndale Octa
  ARM: dts: exynos: Extend the eMMC node on Arndale Octa
  ARM: dts: exynos: Add support for UHS-I SD cards on Arndale Octa
  ARM: dts: exynos: Adjust ldo23 and ldo27 to lower levels on Arndale Octa
  ARM: dts: exynos: Fix audio routing on Odroid XU3
  ARM: dts: exynos: Enable ADC on Arndale Octa
  ARM: dts: exynos: Fix interrupt for shared EINTs on Exynos5260
  ARM: dts: exynos: Add interrupts for dedicated EINTs on Exynos5260
  ARM: dts: exynos: Add high speed I2C ports for Exynos5260
  ARM: dts: exynos: Use bustop PLL as the source for MMC clocks on Exynos5260
  ARM: dts: exynos: Order nodes alphabetically in Arndale Octa
  ARM: dts: exynos: Add CPU cooling on Arndale Octa
  ARM: dts: exynos: Add unused PMIC regulators on Arndale Octa board
  ARM: dts: exynos: Use stdout path property on Arndale Octa board
  ARM: dts: exynos: Document regulator used by ADC on Odroid U3
  ARM: dts: exynos: Use ADC for Exynos4x12 on Exynos4412

Signed-off-by: Olof Johansson <olof@lixom.net>
5 years agoMerge tag 'stm32-dt-for-v5.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Sun, 28 Apr 2019 19:27:57 +0000 (12:27 -0700)]
Merge tag 'stm32-dt-for-v5.2-1' of git://git./linux/kernel/git/atorgue/stm32 into arm/dt

STM32 DT updates for v5.2, round 1

Highlights:
----------

MPU part:
 - Add initial support of stm32mp157a-dk1 board:
   This board embeds a STM32MP157a SOC with AC package (TFBGA361, 148 ios)
   and 512MB of DDR3. Several connections are available on this boards:
   4*USB2.0, 1*USB2.0 typeC, SDcard, RJ45, HDMI, Arduino connector, ...

 - Add initial support of stm32mp157c-dk2 board:
   This board is a "super-set" of stm32mp157a-dk1. It embeds a STM32MP157c SOC
   with AC package (TFBGA361, 148 ios) and 512MB of DDR3. Same connections
   than stm32mp157a-dk1 board are available. Display panel (otm8009a) and
   Murata wifi/BT combo is added.

 - Add and enable SD card support (MMCI variant) on stm32mp157c-ed1/ev1 and
   on stm32mp157a-dk1/dk2 boards.

 - Add and enable PMIC support (STPMIC1 chip) on stm32mp157c-ed1/ev1 and
   on stm32mp157a-dk1/dk2 boards.

 - Add and enable IPCC mailbox support on stm32mp157c-ed1/ev1 and
   on stm32mp157a-dk1/dk2 boards.

 - Add sysconfig clock support on stm32mp157c.
 - Add romem and temperature calibration support on stm32mp157c.
 - Add SPDIFRX support on stm32mp157c.
 - Enable CEC on stm32mp157a-dk1/dk2.

MCU part:
 - Add and enable SD card support (MMCI variant) on stm32h743 eval and disco
   boards.
 - Add romem and temperature calibration support on stm32f429
   (and so stm32f469).
 - Enable stm32f769 clock driver

* tag 'stm32-dt-for-v5.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32: (24 commits)
  ARM: dts: stm32: enable cec on stm32mp157a-dk1 board
  ARM: dts: stm32: add cec pins muxing on stm32mp157
  ARM: dts: stm32: add ltdc pins muxing on stm32mp157
  ARM: dts: stm32: add I2C sleep pins muxing on stm32mp157
  ARM: dts: stm32: add power supply of otm8009a on stm32mp157c-dk2
  ARM: dts: stm32: Enable STM32F769 clock driver
  ARM: dts: stm32: add stpmic1 support on stm32mp157a dk1 board
  ARM: dts: stm32: add stpmic1 support on stm32mp157c ed1 board
  ARM: dts: stm32: add spdfirx pins to stm32mp157c
  ARM: dts: stm32: add spdifrx support on stm32mp157c
  ARM: dts: stm32: Add romem and temperature calibration on stm32f429
  ARM: dts: stm32: Add romem and temperature calibration on stm32mp157c
  ARM: dts: stm32: Add clock on stm32mp157c syscfg
  ARM: dts: stm32: enable IPCC mailbox support on STM32MP157a-dk1
  ARM: dts: stm32: enable IPCC mailbox support on STM32MP157c-ed1
  ARM: dts: stm32: add IPCC mailbox support on STM32MP157c
  ARM: dts: stm32: add sdmmc1 support on stm32mp157a dk1 board
  ARM: dts: stm32: add sdmmc1 support on stm32mp157c ed1 board
  ARM: dts: stm32: add sdmmc1 support on stm32mp157c
  ARM: dts: stm32: add sdmmc1 support on stm32h743i disco board
  ...

Signed-off-by: Olof Johansson <olof@lixom.net>
5 years agoMerge tag 'aspeed-5.2-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Sun, 28 Apr 2019 19:16:56 +0000 (12:16 -0700)]
Merge tag 'aspeed-5.2-devicetree' of git://git./linux/kernel/git/joel/aspeed into arm/dt

ASPEED device tree updates for 5.2

 - RTC and GFX DRM driver went upstream this cycle

 - Miscellaneous board updates for Facebook and IBM BMCs

* tag 'aspeed-5.2-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/aspeed:
  ARM: dts: aspeed: Add RTC node
  ARM: dts: aspeed: witherspoon: Update BMC partitioning
  ARM: dts: aspeed: cmm: enable iio-hwmon-adc
  ARM: dts: aspeed: tiogapass: Enable VUART
  ARM: dts: aspeed-g5: Add video engine
  ARM: dts: aspeed: Enable the GFX IP
  ARM: dts: aspeed-g5: Add resets and clocks to GFX node
  ARM: dts: aspeed: witherspoon: Enable vhub
  ARM: dts: aspeed: palmetto: Fix flash_memory region
  ARM: dts: aspeed: ast2500: Update flash layout

Signed-off-by: Olof Johansson <olof@lixom.net>
5 years agoMerge tag 'renesas-arm64-dt-for-v5.2' of https://git.kernel.org/pub/scm/linux/kernel...
Olof Johansson [Sun, 28 Apr 2019 19:16:26 +0000 (12:16 -0700)]
Merge tag 'renesas-arm64-dt-for-v5.2' of https://git./linux/kernel/git/horms/renesas into arm/dt

Renesas ARM64 Based SoC DT Updates for v5.2

* R-Car Gen3 SoC based Salvator-X and Salvator-XS boards
  - Add GPIO keys support
  - Sort rwdt node alphabetically

* R-Car H3 (r8a7795), M3-W (r8a7796) and M3-N (r8a77965) SoCs
  - Use extended audio DMAC register

* R-Car M3-W (r8a7796) SoC
  - Remove unneeded sound #address/size-cells

* R-Car M3-N (r8a77965) SoC
  - Add SSIU support for audio

* R-Car E3 (r8a77990) and RZ/G2E (r8a774c0) SoCs
  - Remove invalid compatible value for CSI40

* R-Car E3 (r8a77990) SoC
  - Cprrect SPDX license identifier style

* R-Car E3 (r8a77990) based Ebisu board
  - Add BD9571 PMIC with DDR0 backup power config
  - Correct adv7482 hexadecimal register address
  - Add GPIO expander

* R-Car E3 (r8a77990) based Ebisu and D3 (r8a77995) based Draak boards
  - Update bootargs to bring them into line with other R-Car Gen3 boards
  - Enable LVDS1 encoder

* R-Car D3 (r8a77995) based Draak board
  - Correct EthernetAVB phy mode
  - Enable CAN0 and CAN1

* RZ/G2E (r8a774c0) SoC
  - Add CANFD support
  - Correct CPU node style

* RZ/G2E (r8a774c0) and RZ/G2M (r8a774a1) SoCs
  - Add clkp2 clock to CAN nodes

* RZ/G2E (r8a774c0) based EK874 board
  - Add LED, CAN and RTC support

* tag 'renesas-arm64-dt-for-v5.2' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: (26 commits)
  arm64: dts: renesas: salvator-common: Add GPIO keys support
  arm64: dts: renesas: use extended audio dmac register
  arm64: dts: renesas: r8a77995: draak: Fix EthernetAVB phy mode to rgmii
  arm64: dts: renesas: salvator-common: Sort node label
  arm64: dts: renesas: Update Ebisu and Draak bootargs
  arm64: dts: renesas: r8a774c0: Add clkp2 clock to CAN nodes
  arm64: dts: renesas: r8a774c0: Add CANFD support
  arm64: dts: renesas: r8a774a1: Add clkp2 clock to CAN nodes
  arm64: dts: renesas: ebisu: Add PMIC DDR0 Backup Power config
  arm64: dts: renesas: r8a77990-ebisu: Add BD9571 PMIC
  arm64: dts: renesas: r8a77990: Remove invalid compatible value for CSI40
  arm64: dts: renesas: r8a774c0: Remove invalid compatible value for CSI40
  arm64: dts: renesas: r8a77995: draak: Enable CAN0, CAN1
  arm64: dts: renesas: r8a774c0-cat874: Add RWDT support
  arm64: dts: renesas: ebisu: Enable VIN5
  arm64: dts: renesas: r8a774c0-cat874: Add LEDs support
  arm64: dts: renesas: r8a774c0-cat874: add RTC support
  arm64: dts: renesas: cat875: Add CAN support
  arm64: dts: renesas: r8a774c0: Fix cpu nodes style
  arm64: dts: renesas: r8a77965: add SSIU support for sound
  ...

Signed-off-by: Olof Johansson <olof@lixom.net>
5 years agoMerge tag 'v5.2-rockchip-dts64-1' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Sun, 28 Apr 2019 19:15:49 +0000 (12:15 -0700)]
Merge tag 'v5.2-rockchip-dts64-1' of git://git./linux/kernel/git/mmind/linux-rockchip into arm/dt

Core new soc features are hdmi-cec for rk3328, scheduler capacity-values
and emmc cleanups for rk3399. New boards are the OrangePi (rk3399) and
NanoPi NEO4. Both the OrangePi as well as the NanoPC/Pie family also
directly got some additional features added after the boards itself.

The Rock960 family (rock960+ficus) got their power-tree cleaned to match
the schematics and also got hdmi-audio and their gpu enabled.

Mali support also got enabled on the RockPi4 and finally both
rk3328-rock64 and rk3328-roc-cc got some additional features.

* tag 'v5.2-rockchip-dts64-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: (23 commits)
  arm64: dts: rockchip: Decrease emmc-phy's drive impedance on rk3399-puma
  arm64: dts: rockchip: Define drive-impedance-ohm for RK3399's emmc-phy.
  arm64: dts: rockchip: Disable DCMDs on RK3399's eMMC controller.
  arm64: dts: rockchip: Add nanopi4 ethernet phy
  arm64: dts: rockchip: Add PWM fan for NanoPC-T4
  arm64: dts: rockchip: Add the fusb typec manager to rk3399-orangepi
  arm64: dts: rockchip: Specify vid supply for the rk3399-orangepi compass (AK09911)
  arm64: dts: rockchip: Fix clock names and add missing supplies for bluetooth on rk3399-orangepi
  arm64: dts: rockchip: Add 12V DCIN regulator to rk3399-ficus
  arm64: dts: rockchip: Rename vcc_sys into vcc5v0_sys on rk3399-rock960
  arm64: dts: rockchip: Add Nanopi NEO4 initial support
  arm64: dts: rockchip: enable hdmi audio out for rk3399-rockpro64
  arm64: dts: rockchip: Add support for the Orange Pi RK3399 board.
  arm64: dts: rockchip: enable mali on rock960 boards
  arm64: dts: rockchip: enable mali on Rock Pi 4
  arm64: dts: rockchip: add rk3328-roc-cc cpu-supply entries for all cpu nodes
  arm64: dts: rockchip: give some life to the rk3328-roc-cc leds
  arm64: dts: rockchip: add #sound-dai-cells to HDMI of rk3328
  arm64: dts: rockchip: add ir-receiver node on rk3328-rock64
  arm64: dts: rockchip: add leds node on rk3328-rock64
  ...

Signed-off-by: Olof Johansson <olof@lixom.net>
5 years agoMerge tag 'v5.2-rockchip-dts32-1' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Sun, 28 Apr 2019 19:15:24 +0000 (12:15 -0700)]
Merge tag 'v5.2-rockchip-dts32-1' of git://git./linux/kernel/git/mmind/linux-rockchip into arm/dt

Quite a bit of love for the rk3288-veyron chromeos devices and a number
of cleanups for rk3288 from that area, hdmi support for the old rk3066
a small rv1108-eglin-r1 cleanup and wifi+hdmi-cec for the tinker board.

* tag 'v5.2-rockchip-dts32-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
  ARM: dts: rockchip: enable vop0 and hdmi nodes to rk3066a-mk808
  ARM: dts: rockchip: add rk3066 hdmi nodes
  ARM: dts: rockchip: Add device tree for rk3288-veyron-mighty
  dt-bindings: ARM: dts: rockchip: Add bindings for rk3288-veyron-mighty
  ARM: dts: rockchip: Add vdd_logic to rk3288-veyron
  ARM: dts: rockchip: Add dvs-gpios to rk3288-veyron-jerry
  ARM: dts: rockchip: Add rk3288-veyron-jerry rev 10-15
  dt-bindings: ARM: dts: rockchip: Add rk3288-veyron-jerry rev 10-15
  ARM: dts: rockchip: Fix gic/efuse sort ordering for rk3288
  ARM: dts: rockchip: Enable WiFi on rk3288-tinker
  ARM: dts: rockchip: add grf reference in rk3288 tsadc node
  ARM: dts: rockchip: Enable HDMI CEC on rk3288-tinker-s
  ARM: dts: rockchip: remove disable-wp from rv1108-elgin-r1 emmc node

Signed-off-by: Olof Johansson <olof@lixom.net>
5 years agoMerge tag 'amlogic-dt' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman...
Olof Johansson [Sun, 28 Apr 2019 19:14:29 +0000 (12:14 -0700)]
Merge tag 'amlogic-dt' of https://git./linux/kernel/git/khilman/linux-amlogic into arm/dt

ARM: dts: Amlogic updates for v5.2
 - add GPIO line names for odroid-c1 boards
 - support internal clock measure driver

* tag 'amlogic-dt' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic:
  ARM: dts: meson8b: odroidc1: add the GPIO line names
  ARM: dts: meson8b: add the internal clock measurer
  ARM: dts: meson8: add the internal clock measurer

Signed-off-by: Olof Johansson <olof@lixom.net>
5 years agoMerge tag 'amlogic-dt64' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman...
Olof Johansson [Sun, 28 Apr 2019 19:14:10 +0000 (12:14 -0700)]
Merge tag 'amlogic-dt64' of https://git./linux/kernel/git/khilman/linux-amlogic into arm/dt

arm64: dts: Amlogic updates for v5.2

Highlights
- new board: SEI Robotics 510, based on S905X2 SoC (G12A)
- enable more periphearls for S905X2 based boards

* tag 'amlogic-dt64' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic:
  arm64: dts: meson-g12a: Add CMA reserved memory
  arm64: dts: meson-g12a-x96-max: Enable BT Module
  arm64: dts: meson-g12a-x96-max: add regulators
  arm64: dts: meson-g12a-sei510: add regulators
  arm64: dts: meson-g12a-x96-max: add uart_AO pinctrl
  arm64: dts: meson-g12a-sei510: add uart_AO pinctrl
  arm64: dts: meson-g12a-u200: add uart_AO pinctrl
  arm64: dts: meson: g12a: Add UART A, B & C nodes and pins
  arm64: dts: meson: g12a: add reset controller
  arm64: dts: meson: g12a: add uart_ao_a pinctrl
  arm64: dts: meson: g12a: add pinctrl support controllers
  arm64: dts: meson: g12a: Add AO Clock + Reset Controller support
  arm64: dts: meson-gxm-nexbox-a1: Enable USB
  arm64: dts: meson: g12a: add efuse
  arm64: dts: meson: g12a: add secure monitor
  arm64: dts: meson-gxl-s905d-phicomm-n1: add status LED
  arm64: dts: meson-g12a: Add AO Secure node
  arm64: dts: Add SEI Robotics SEI510 Board
  vendor-prefixes: Add prefix for Shenzhen SEI Robotics Co., Ltd

Signed-off-by: Olof Johansson <olof@lixom.net>
5 years agoARM: dts: Ux500: Add MCDE and Samsung display
Linus Walleij [Mon, 8 Oct 2018 11:27:55 +0000 (13:27 +0200)]
ARM: dts: Ux500: Add MCDE and Samsung display

This adds and updates the device tree nodes for the MCDE
display controller and connects the Samsung display to
the TVK1281618 user interface board (UIB) so we get
nicely working graphics on this reference design.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
5 years agoARM: dts: ux500: Add Mali-400
Linus Walleij [Fri, 12 Apr 2019 13:02:20 +0000 (15:02 +0200)]
ARM: dts: ux500: Add Mali-400

This adds the Mali-400 block, also known as SGA500 or the
Smart Graphics Adapter, to the DBx500 DTS file. All
resources and bindings are already in place so this just
works.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
5 years agoarm64: dts: hisilicon: hi3670: Add UFS controller support
Manivannan Sadhasivam [Sat, 5 Jan 2019 07:28:58 +0000 (12:58 +0530)]
arm64: dts: hisilicon: hi3670: Add UFS controller support

Add UFS controller support for HiSilicon HI3670 SoC.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
5 years agoARM: dts: dra7: Separate AM57 dtsi files
Roger Quadros [Mon, 8 Apr 2019 09:42:49 +0000 (12:42 +0300)]
ARM: dts: dra7: Separate AM57 dtsi files

AM5 and DRA7 SoC families have different set of modules
in them so the SoC sepecific dtsi files need to be separated.

e.g. Some of the major differences between AM576 and DRA76

DRA76x AM576x

USB3 x
USB4 x
ATL x
VCP x
MLB x
ISS x
PRU-ICSS1 x
PRU-ICSS2 x

This patch only deals with disabling USB3, USB4 and ATL for
AM57 variants.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agodt-binding: arm: omap: Add information for AM5748
Roger Quadros [Fri, 5 Apr 2019 13:28:05 +0000 (16:28 +0300)]
dt-binding: arm: omap: Add information for AM5748

Add DT binding details for AM5748 SoC and AM5748 IDK.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: stm32: enable cec on stm32mp157a-dk1 board
Yannick Fertré [Fri, 29 Mar 2019 12:29:00 +0000 (13:29 +0100)]
ARM: dts: stm32: enable cec on stm32mp157a-dk1 board

Enable CEC (Consumer Electronics Control) device.

Signed-off-by: Yannick Fertré <yannick.fertre@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
5 years agoARM: dts: stm32: add cec pins muxing on stm32mp157
Yannick Fertré [Wed, 10 Apr 2019 14:06:27 +0000 (16:06 +0200)]
ARM: dts: stm32: add cec pins muxing on stm32mp157

Add a new pin muxing for cec.

Signed-off-by: Yannick Fertré <yannick.fertre@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
5 years agoARM: dts: stm32: add ltdc pins muxing on stm32mp157
Yannick Fertré [Fri, 29 Mar 2019 12:28:00 +0000 (13:28 +0100)]
ARM: dts: stm32: add ltdc pins muxing on stm32mp157

Add ltdc pins muxing on stm32mp157.

Signed-off-by: Yannick Fertré <yannick.fertre@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
5 years agoARM: dts: stm32: add I2C sleep pins muxing on stm32mp157
Yannick Fertré [Fri, 29 Mar 2019 10:48:00 +0000 (11:48 +0100)]
ARM: dts: stm32: add I2C sleep pins muxing on stm32mp157

Add I2C sleep pins muxing for low power mode.

Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
Signed-off-by: Yannick Fertré <yannick.fertre@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
5 years agoARM: dts: stm32: add power supply of otm8009a on stm32mp157c-dk2
Yannick Fertré [Wed, 10 Apr 2019 13:51:38 +0000 (15:51 +0200)]
ARM: dts: stm32: add power supply of otm8009a on stm32mp157c-dk2

This patch adds a new property (power-supply) to panel otm8009a (orisetech)
on stm32mp157c-dk2  & regulator v3v3.

Signed-off-by: Yannick Fertré <yannick.fertre@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
5 years agoARM: dts: stm32: Enable STM32F769 clock driver
Gabriel Fernandez [Fri, 5 Apr 2019 07:53:00 +0000 (09:53 +0200)]
ARM: dts: stm32: Enable STM32F769 clock driver

This patch enables clocks for STM32F769 boards.

Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
5 years agoARM: dts: stm32: add stpmic1 support on stm32mp157a dk1 board
Pascal Paillet [Tue, 9 Apr 2019 09:00:39 +0000 (11:00 +0200)]
ARM: dts: stm32: add stpmic1 support on stm32mp157a dk1 board

This patch adds stpmic1 support on stm32mp157a dk1 board.
The STPMIC1 is a PMIC from STMicroelectronics. The STPMIC1 integrates 10
regulators, 3 power switches, a watchdog and an input for a power on key.
The DMAs are disabled because the PMIC generates a very few traffic and
DMA channels may lack for other usage.

Signed-off-by: Pascal Paillet <p.paillet@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
5 years agoARM: dts: stm32: add stpmic1 support on stm32mp157c ed1 board
Pascal Paillet [Tue, 9 Apr 2019 08:59:49 +0000 (10:59 +0200)]
ARM: dts: stm32: add stpmic1 support on stm32mp157c ed1 board

This patch adds stpmic1 support on stm32mp157c ed1 board.
The STPMIC1 is a PMIC from STMicroelectronics. The STPMIC1 integrates 10
regulators, 3 power switches, a watchdog and an input for a power on key.
The DMAs are disabled because the PMIC generates a very few traffic and
DMA channels may lack for other usage.

Signed-off-by: Pascal Paillet <p.paillet@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
5 years agoARM: dts: stm32: add spdfirx pins to stm32mp157c
Olivier Moysan [Fri, 29 Mar 2019 10:12:00 +0000 (11:12 +0100)]
ARM: dts: stm32: add spdfirx pins to stm32mp157c

This patch adds spdifrx support on stm32mp157c eval board.

Signed-off-by: Olivier Moysan <olivier.moysan@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
5 years agoARM: dts: stm32: add spdifrx support on stm32mp157c
Olivier Moysan [Wed, 10 Apr 2019 12:47:52 +0000 (14:47 +0200)]
ARM: dts: stm32: add spdifrx support on stm32mp157c

This patch adds support of STM32 SPDIFRX on
stm32mp157c.

Signed-off-by: Olivier Moysan <olivier.moysan@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
5 years agoARM: dts: stm32: Add romem and temperature calibration on stm32f429
Fabrice Gasnier [Thu, 28 Feb 2019 10:19:00 +0000 (11:19 +0100)]
ARM: dts: stm32: Add romem and temperature calibration on stm32f429

Add & enable stm32 factory-programmed memory. Describe temperature sensor
calibration cells.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
5 years agoARM: dts: stm32: Add romem and temperature calibration on stm32mp157c
Fabrice Gasnier [Thu, 28 Feb 2019 10:19:00 +0000 (11:19 +0100)]
ARM: dts: stm32: Add romem and temperature calibration on stm32mp157c

Add & enable stm32 factory-programmed memory. Describe temperature sensor
calibration cells. Non-volatile calibration data is made available by
stm32mp157c bootrom in bsec_dataX registers.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
5 years agoARM: dts: stm32: Add clock on stm32mp157c syscfg
Fabrice Gasnier [Wed, 12 Dec 2018 08:48:00 +0000 (09:48 +0100)]
ARM: dts: stm32: Add clock on stm32mp157c syscfg

STM32 syscfg needs a clock to access registers.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
5 years agoARM: dts: stm32: enable IPCC mailbox support on STM32MP157a-dk1
Fabien Dessenne [Fri, 1 Mar 2019 09:18:00 +0000 (10:18 +0100)]
ARM: dts: stm32: enable IPCC mailbox support on STM32MP157a-dk1

Enable STM32 IPCC mailbox driver for STM32MP157a-dk1 board.

Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
5 years agoARM: dts: stm32: enable IPCC mailbox support on STM32MP157c-ed1
Fabien Dessenne [Fri, 1 Mar 2019 09:18:00 +0000 (10:18 +0100)]
ARM: dts: stm32: enable IPCC mailbox support on STM32MP157c-ed1

Enable STM32 IPCC mailbox driver for STM32MP157c-ed1 board.

Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
5 years agoARM: dts: stm32: add IPCC mailbox support on STM32MP157c
Fabien Dessenne [Fri, 1 Mar 2019 09:18:00 +0000 (10:18 +0100)]
ARM: dts: stm32: add IPCC mailbox support on STM32MP157c

Add configuration on DT for IPCC mailbox driver.

Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
5 years agoARM: dts: stm32: add sdmmc1 support on stm32mp157a dk1 board
Ludovic Barre [Fri, 1 Mar 2019 08:47:00 +0000 (09:47 +0100)]
ARM: dts: stm32: add sdmmc1 support on stm32mp157a dk1 board

This patch adds sdmmc1 support on stm32mp157a dk1 board.

Signed-off-by: Ludovic Barre <ludovic.barre@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
5 years agoARM: dts: stm32: add sdmmc1 support on stm32mp157c ed1 board
Ludovic Barre [Tue, 26 Mar 2019 11:01:52 +0000 (12:01 +0100)]
ARM: dts: stm32: add sdmmc1 support on stm32mp157c ed1 board

This patch adds sdmmc1 support on stm32mp157c ed1 board.

Signed-off-by: Ludovic Barre <ludovic.barre@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
5 years agoARM: dts: stm32: add sdmmc1 support on stm32mp157c
Ludovic Barre [Fri, 1 Mar 2019 08:47:00 +0000 (09:47 +0100)]
ARM: dts: stm32: add sdmmc1 support on stm32mp157c

This patch adds support of sdmmc1 on stm32mp157c.

Signed-off-by: Ludovic Barre <ludovic.barre@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
5 years agoARM: dts: stm32: add sdmmc1 support on stm32h743i disco board
Ludovic Barre [Fri, 1 Mar 2019 08:47:00 +0000 (09:47 +0100)]
ARM: dts: stm32: add sdmmc1 support on stm32h743i disco board

This patch adds sdmmc1 support on stm32h743i disco board.

Signed-off-by: Ludovic Barre <ludovic.barre@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
5 years agoARM: dts: stm32: add sdmmc1 support on stm32h743i eval board
Ludovic Barre [Fri, 1 Mar 2019 08:47:00 +0000 (09:47 +0100)]
ARM: dts: stm32: add sdmmc1 support on stm32h743i eval board

This patch adds sdmmc1 support on stm32h743i eval board.
This board has an external driver to control signal direction polarity.

Signed-off-by: Ludovic Barre <ludovic.barre@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
5 years agoARM: dts: stm32: add sdmmc1 support on stm32h743
Ludovic Barre [Fri, 1 Mar 2019 08:47:00 +0000 (09:47 +0100)]
ARM: dts: stm32: add sdmmc1 support on stm32h743

This patch adds support of sdmmc1 on stm32h743.

Signed-off-by: Ludovic Barre <ludovic.barre@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
5 years agoARM: dts: exynos: Remove console argument from bootargs
Krzysztof Kozlowski [Mon, 8 Apr 2019 05:19:26 +0000 (07:19 +0200)]
ARM: dts: exynos: Remove console argument from bootargs

Remove the "console=ttySAC..." argument from DTSes having a proper
stdout-path property.  To make the code functionally equivalent, add the
serial port baud rate and parity.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
5 years agoARM: dts: exynos: Use stdout-path property instead of console in bootargs
Krzysztof Kozlowski [Mon, 8 Apr 2019 05:19:25 +0000 (07:19 +0200)]
ARM: dts: exynos: Use stdout-path property instead of console in bootargs

Replacing bootargs with stdout-path property in chosen node allows using
early console by adding just 'earlycon' parameter to the kernel command
line.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
5 years agoARM: dts: Add l4 abe interconnect hierarchy and ti-sysc data for omap5
Tony Lindgren [Tue, 9 Apr 2019 16:00:54 +0000 (09:00 -0700)]
ARM: dts: Add l4 abe interconnect hierarchy and ti-sysc data for omap5

We can now add l4 abe interconnect hierarchy and ti-sysc data with
ti-sysc driver supporting external optional clocks needed by mcpdm.

This data is generated based on platform data from a booted system
and the interconnect acces protection registers for ranges. To avoid
regressions, we initially validate the device tree provided data
against the existing platform data on boot.

Note that mcpdm we now need to enable at module level only for devices
that have the external pdmclk wired from the PMIC as the clock is
needed for the module to be accessible.

Also note that abe seems to be the same as on omap4 except for domains
and clocks and we may be able to combine the l4 abe data later on.
But let's play it safe and just initially use what we have already
defined in the platform data.

Cc: devicetree@vger.kernel.org
Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: Add l4 abe interconnect hierarchy and ti-sysc data for omap4
Tony Lindgren [Tue, 9 Apr 2019 16:00:53 +0000 (09:00 -0700)]
ARM: dts: Add l4 abe interconnect hierarchy and ti-sysc data for omap4

We can now add l4 abe interconnect hierarchy and ti-sysc data with
ti-sysc driver supporting external optional clocks needed by mcpdm.

This data is generated based on platform data from a booted system
and the interconnect acces protection registers for ranges. To avoid
regressions, we initially validate the device tree provided data
against the existing platform data on boot.

Note that mcpdm we now need to enable at module level only for devices
that have the external pdmclk wired from the PMIC as the clock is
needed for the module to be accessible.

Cc: devicetree@vger.kernel.org
Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: Add common mcpdm dts file for omap4
Tony Lindgren [Tue, 9 Apr 2019 16:00:53 +0000 (09:00 -0700)]
ARM: dts: Add common mcpdm dts file for omap4

The mcpdm module found on omap4 and 5 needs pdmclk clock from
the pmic that may or may not be wired. Without this clock we
cannot read the registers for mcpdm at all. For the external
mcpdm clock to work, it needs to be muxed at the module level
for ti-sysc driver probe to mux it early enough for probe.

Let's set up a common file for it to make things a bit easier
to make l4 abe interconnect to probe with ti-sysc driver. Note
that this is not needed for omap5 as we can just update mcpdm
muxing in omap5-board-common.dtsi in later patches.

Cc: devicetree@vger.kernel.org
Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agobus: ti-sysc: Add generic enable/disable functions
Roger Quadros [Mon, 8 Apr 2019 09:52:39 +0000 (12:52 +0300)]
bus: ti-sysc: Add generic enable/disable functions

For non legacy cases, add generic sysc_enable_module()
and sysc_disable_module() functions.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap2420-n810: Use new CODEC reset pin name
Andrew F. Davis [Fri, 29 Mar 2019 18:13:13 +0000 (13:13 -0500)]
ARM: dts: omap2420-n810: Use new CODEC reset pin name

The correct DT property for specifying a GPIO used for reset
is "reset-gpios", the driver now accepts this name, use it here.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: am43xx-epos-evm: Add matrix keypad as wakeup source
Andrew F. Davis [Fri, 29 Mar 2019 17:53:34 +0000 (12:53 -0500)]
ARM: dts: am43xx-epos-evm: Add matrix keypad as wakeup source

Mark matrix-keypad as a wakeup source.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: am43xx-epos-evm: Keep DCDC3 regulator on in suspend to memory
Mike Erdahl [Fri, 29 Mar 2019 17:53:33 +0000 (12:53 -0500)]
ARM: dts: am43xx-epos-evm: Keep DCDC3 regulator on in suspend to memory

When going to suspend to ram mode (or rtc-only mode), the DDR regulator
must be told to stay on, else this rail will go down when the PMIC_EN
signal is deasserted.

Signed-off-by: Mike Erdahl <m-erdahl@ti.com>
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: am43xx-epos-evm: Keep DCDC5 and DCDC6 always on
Kabir Sahane [Fri, 29 Mar 2019 17:53:32 +0000 (12:53 -0500)]
ARM: dts: am43xx-epos-evm: Keep DCDC5 and DCDC6 always on

These regulator outputs are needed even in deep sleep modes to prevent
low-voltage detection events. Make these always ON to avoid this.

Signed-off-by: Kabir Sahane <x0153567@ti.com>
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: dra7: Add properties to enable PCIe x2 lane mode
Kishon Vijay Abraham I [Mon, 25 Mar 2019 09:45:25 +0000 (15:15 +0530)]
ARM: dts: dra7: Add properties to enable PCIe x2 lane mode

ti,syscon-lane-sel and ti,syscon-lane-conf properties specific to enable
PCIe x2 lane mode are added here.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: OMAP2+: Drop mcspi platform data for omap4
Tony Lindgren [Mon, 1 Apr 2019 17:17:18 +0000 (10:17 -0700)]
ARM: OMAP2+: Drop mcspi platform data for omap4

We can now drop legacy platform data one interconnect target module at
a time in favor of the device tree based data that has been added earlier.

Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: OMAP2+: Drop uart platform data for dra7
Tony Lindgren [Thu, 21 Mar 2019 18:00:21 +0000 (11:00 -0700)]
ARM: OMAP2+: Drop uart platform data for dra7

We can now drop legacy platform data one interconnect target module at
a time in favor of the device tree based data that has been added earlier.

Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: OMAP2+: Drop gpio platform data for dra7
Tony Lindgren [Thu, 21 Mar 2019 16:38:36 +0000 (09:38 -0700)]
ARM: OMAP2+: Drop gpio platform data for dra7

We can now drop legacy platform data one interconnect target module at
a time in favor of the device tree based data that has been added earlier.

Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: OMAP2+: Drop i2c platform data for dra7
Tony Lindgren [Thu, 21 Mar 2019 18:00:21 +0000 (11:00 -0700)]
ARM: OMAP2+: Drop i2c platform data for dra7

We can now drop legacy platform data one interconnect target module at
a time in favor of the device tree based data that has been added earlier.

Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: OMAP2+: Drop mmc platform data for dra7
Tony Lindgren [Thu, 21 Mar 2019 18:00:21 +0000 (11:00 -0700)]
ARM: OMAP2+: Drop mmc platform data for dra7

We can now drop legacy platform data one interconnect target module at
a time in favor of the device tree based data that has been added earlier.

Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: OMAP2+: Drop uart platform data for omap5
Tony Lindgren [Tue, 26 Mar 2019 18:24:49 +0000 (11:24 -0700)]
ARM: OMAP2+: Drop uart platform data for omap5

We can now drop legacy platform data one interconnect target module at
a time in favor of the device tree based data that has been added earlier.

Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: OMAP2+: Drop gpio platform data for omap5
Tony Lindgren [Tue, 26 Mar 2019 18:22:53 +0000 (11:22 -0700)]
ARM: OMAP2+: Drop gpio platform data for omap5

We can now drop legacy platform data one interconnect target module at
a time in favor of the device tree based data that has been added earlier.

Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: OMAP2+: Drop i2c platform data for omap5
Tony Lindgren [Tue, 26 Mar 2019 18:21:25 +0000 (11:21 -0700)]
ARM: OMAP2+: Drop i2c platform data for omap5

We can now drop legacy platform data one interconnect target module at
a time in favor of the device tree based data that has been added earlier.

Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: OMAP2+: Drop mmc platform data for omap5
Tony Lindgren [Tue, 26 Mar 2019 18:17:50 +0000 (11:17 -0700)]
ARM: OMAP2+: Drop mmc platform data for omap5

We can now drop legacy platform data one interconnect target module at
a time in favor of the device tree based data that has been added earlier.

Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: OMAP2+: Drop uart platform data for am33xx and am43xx
Tony Lindgren [Tue, 26 Mar 2019 17:59:14 +0000 (10:59 -0700)]
ARM: OMAP2+: Drop uart platform data for am33xx and am43xx

We can now drop legacy platform data one interconnect target module at
a time in favor of the device tree based data that has been added earlier.

Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: OMAP2+: Drop gpio platform data for am33xx and am43xx
Tony Lindgren [Tue, 26 Mar 2019 17:54:40 +0000 (10:54 -0700)]
ARM: OMAP2+: Drop gpio platform data for am33xx and am43xx

We can now drop legacy platform data one interconnect target module at
a time in favor of the device tree based data that has been added earlier.

Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: OMAP2+: Drop i2c platform data for am33xx and am43xx
Tony Lindgren [Tue, 26 Mar 2019 17:51:24 +0000 (10:51 -0700)]
ARM: OMAP2+: Drop i2c platform data for am33xx and am43xx

We can now drop legacy platform data one interconnect target module at
a time in favor of the device tree based data that has been added earlier.

Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: OMAP2+: Drop mmc platform data for am330x and am43xx
Tony Lindgren [Tue, 26 Mar 2019 15:17:47 +0000 (08:17 -0700)]
ARM: OMAP2+: Drop mmc platform data for am330x and am43xx

We can now drop legacy platform data one interconnect target module at
a time in favor of the device tree based data that has been added earlier.

Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: OMAP2+: Drop uart platform data for omap4
Tony Lindgren [Thu, 21 Mar 2019 18:00:21 +0000 (11:00 -0700)]
ARM: OMAP2+: Drop uart platform data for omap4

We can now drop legacy platform data one interconnect target module at
a time in favor of the device tree based data that has been added earlier.

Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: OMAP2+: Drop gpio platform data for omap4
Tony Lindgren [Thu, 21 Mar 2019 18:00:21 +0000 (11:00 -0700)]
ARM: OMAP2+: Drop gpio platform data for omap4

We can now drop legacy platform data one interconnect target module at
a time in favor of the device tree based data that has been added earlier.

Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: OMAP2+: Drop i2c platform data for omap4
Tony Lindgren [Thu, 21 Mar 2019 18:00:21 +0000 (11:00 -0700)]
ARM: OMAP2+: Drop i2c platform data for omap4

We can now drop legacy platform data one interconnect target module at
a time in favor of the device tree based data that has been added earlier.

Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: OMAP2+: Drop mmc platform data for omap4
Tony Lindgren [Thu, 21 Mar 2019 18:00:21 +0000 (11:00 -0700)]
ARM: OMAP2+: Drop mmc platform data for omap4

We can now drop legacy platform data one interconnect target module at
a time in favor of the device tree based data that has been added earlier.

Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoarm64: dts: hi3660: Fixup unofficial dma-min-chan to dma-channel-mask
John Stultz [Thu, 4 Apr 2019 08:16:28 +0000 (01:16 -0700)]
arm64: dts: hi3660: Fixup unofficial dma-min-chan to dma-channel-mask

A undocumented and unimplemented binding got into the hi3660
dtsi, and this switches that binding to the now documented one.

Cc: Tanglei Han <hantanglei@huawei.com>
Cc: Zhuangluan Su <suzhuangluan@hisilicon.com>
Cc: Ryan Grachek <ryan@edited.us>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: Wei Xu <xuwei5@hisilicon.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: devicetree@vger.kernel.org
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
5 years agoarm64: dts: hi3660: Add hisi asp dma device
Youlin Wang [Thu, 4 Apr 2019 08:16:27 +0000 (01:16 -0700)]
arm64: dts: hi3660: Add hisi asp dma device

Add asp-dma device to hi3660 dts

Cc: Tanglei Han <hantanglei@huawei.com>
Cc: Zhuangluan Su <suzhuangluan@hisilicon.com>
Cc: Ryan Grachek <ryan@edited.us>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: Wei Xu <xuwei5@hisilicon.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: devicetree@vger.kernel.org
Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Youlin Wang <wwx575822@notesmail.huawei.com>
Signed-off-by: Tanglei Han <hantanglei@huawei.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
5 years agoarm64: dts: hi3660: Add dma to uart nodes
John Stultz [Thu, 4 Apr 2019 08:16:26 +0000 (01:16 -0700)]
arm64: dts: hi3660: Add dma to uart nodes

Try to add DMA support to the uart nodes following
the assignments made in the dts from the victoria vendor kernel
here:
https://consumer.huawei.com/en/opensource/detail/?siteCode=worldwide&keywords=p10&fileType=openSourceSoftware&pageSize=10&curPage=1

Cc: Tanglei Han <hantanglei@huawei.com>
Cc: Zhuangluan Su <suzhuangluan@hisilicon.com>
Cc: Ryan Grachek <ryan@edited.us>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: Wei Xu <xuwei5@hisilicon.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: devicetree@vger.kernel.org
Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
5 years agoarm64: dts: hisilicon: hikey970: Add SD and WiFi support
Manivannan Sadhasivam [Thu, 28 Feb 2019 15:45:11 +0000 (21:15 +0530)]
arm64: dts: hisilicon: hikey970: Add SD and WiFi support

Add SD and WiFi support for HiKey970 board based on HI3670 SoC. Due to
the absence of the PMIC driver, fixed regulators are sourced to make the
driver working.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
5 years agoarm64: dts: hisilicon: hi3670: Add MMC controller support
Manivannan Sadhasivam [Thu, 28 Feb 2019 15:45:10 +0000 (21:15 +0530)]
arm64: dts: hisilicon: hi3670: Add MMC controller support

Add MMC controller support for HiSilicon HI3670 SoC reusing the HI3660
Designware MMC driver. There are 2 DWMMC controllers present in this SoC:

1. DWMMC1 is used for SD card (SD)
2. DWMMC2 is used for WiFi (SDIO)

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
5 years agodt-bindings: mmc: Add HI3670 MMC controller binding
Manivannan Sadhasivam [Thu, 28 Feb 2019 15:45:09 +0000 (21:15 +0530)]
dt-bindings: mmc: Add HI3670 MMC controller binding

HI3670 SoC is architecturally same as the HI3660 SoC. Hence, the same
K3 specific designware driver is reused for HI3670 SoC and the binding
is documented with fallback approach for compatible property.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
5 years agoarm64: dts: hisilicon: hi3670: Add reset controller support
Manivannan Sadhasivam [Fri, 15 Feb 2019 05:49:55 +0000 (11:19 +0530)]
arm64: dts: hisilicon: hi3670: Add reset controller support

Add reset controller support for HiSilicon HI3670 SoC.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
5 years agodt-bindings: reset: Add HI3670 reset controller binding
Manivannan Sadhasivam [Fri, 15 Feb 2019 05:49:54 +0000 (11:19 +0530)]
dt-bindings: reset: Add HI3670 reset controller binding

HI3670 SoC is architecturally same as the HI3660 SoC. Hence, the same
driver is reused for HI3670 SoC and the binding is documented here which
uses the fallback approach.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
5 years agoDocumentation: bus: ti-sysc: fix spelling mistakes "multipe" and "interconnet"
Colin Ian King [Thu, 4 Apr 2019 11:16:57 +0000 (12:16 +0100)]
Documentation: bus: ti-sysc: fix spelling mistakes "multipe" and "interconnet"

There is are a couple of spelling mistakes in the Documentation. Fix them.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agobus: ti-sysc: Detect DMIC for debugging
Tony Lindgren [Thu, 21 Mar 2019 18:00:21 +0000 (11:00 -0700)]
bus: ti-sysc: Detect DMIC for debugging

Detect DMIC to see what we have connected if config DEBUG is enabled.

Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agobus: ti-sysc: Handle swsup idle mode quirks
Tony Lindgren [Thu, 21 Mar 2019 20:27:08 +0000 (13:27 -0700)]
bus: ti-sysc: Handle swsup idle mode quirks

In preparation of dropping interconnect target module platform data in
favor of devicetree based data, we must pass swsup idle quirks to the
platform data functions.

For now, let's only tag the UART modules with the SWSUP_SIDLE_ACT quirk.
The other modules will get tagged with swsup quirks as we drop the
platform data and test the changes.

Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agobus: ti-sysc: Pass clockactivity quirk to platform functions
Tony Lindgren [Fri, 22 Mar 2019 15:08:06 +0000 (08:08 -0700)]
bus: ti-sysc: Pass clockactivity quirk to platform functions

We already have the clockactivity quirk set for some modules like i2c,
timers and smartreflex. But we're not passing it to the platform functions
yet. Let's start doing that in preparation of dropping interconnect target
module platform data in favor of device tree based data.

Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoarm64: dts: agilex: Add initial support for Intel's Agilex SoCFPGA
Dinh Nguyen [Wed, 3 Apr 2019 21:43:51 +0000 (16:43 -0500)]
arm64: dts: agilex: Add initial support for Intel's Agilex SoCFPGA

Add the initial device tree files for Intel's Agilex SoCFPGA platform.

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
5 years agoARM: dts: aspeed: Add RTC node
Joel Stanley [Wed, 3 Oct 2018 12:35:07 +0000 (14:35 +0200)]
ARM: dts: aspeed: Add RTC node

The ASPEED ast2400 and ast2500 both contain an on board RTC device.

Signed-off-by: Joel Stanley <joel@jms.id.au>
5 years agoARM: dts: aspeed: witherspoon: Update BMC partitioning
Edward A. James [Wed, 3 Apr 2019 16:59:11 +0000 (11:59 -0500)]
ARM: dts: aspeed: witherspoon: Update BMC partitioning

Add simplified partitions for BMC and alternate flash. Include these by
default in Witherspoon.

Signed-off-by: Edward A. James <eajames@us.ibm.com>
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
5 years agoARM: dts: aspeed: cmm: enable iio-hwmon-adc
Tao Ren [Tue, 5 Feb 2019 22:46:19 +0000 (14:46 -0800)]
ARM: dts: aspeed: cmm: enable iio-hwmon-adc

Bind aspeed ADC channels 0-7 to "iio-hwmon" driver so the data of these
voltage sensing channels can be accessed by "lm_sensors". Channels 8-15
are not used on CMM BMC.

Signed-off-by: Tao Ren <taoren@fb.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
5 years agoARM: dts: aspeed: tiogapass: Enable VUART
Vijay Khemka [Wed, 30 Jan 2019 18:14:26 +0000 (10:14 -0800)]
ARM: dts: aspeed: tiogapass: Enable VUART

Enabling vuart for Facebook tiogapass

Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
5 years agoARM: dts: aspeed-g5: Add video engine
Eddie James [Tue, 2 Apr 2019 18:25:04 +0000 (18:25 +0000)]
ARM: dts: aspeed-g5: Add video engine

Add a node to describe the video engine on the AST2500.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
5 years agoARM: dts: aspeed: Enable the GFX IP
Joel Stanley [Thu, 19 Apr 2018 04:20:03 +0000 (13:50 +0930)]
ARM: dts: aspeed: Enable the GFX IP

The GFX controller is the internal graphics device used by the SoC
(opposed to the one connected via the PCIe device and used by the host).

This configures it with a framebuffer region and adds it to the command
line so kernel boot messages appear on the display.

Enabled for Romulus, Witherspoon, and the ASPEED AST2500 EVB.

Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
5 years agoARM: dts: aspeed-g5: Add resets and clocks to GFX node
Joel Stanley [Thu, 19 Apr 2018 04:20:02 +0000 (13:50 +0930)]
ARM: dts: aspeed-g5: Add resets and clocks to GFX node

The ast2500 has a reset for the CRT device that must be deasserted
before it can be used. Similarly it has a clock gate for a clock called
D1CLK that must be set to running.

Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
5 years agoARM: dts: aspeed: witherspoon: Enable vhub
Eddie James [Thu, 21 Mar 2019 19:30:09 +0000 (14:30 -0500)]
ARM: dts: aspeed: witherspoon: Enable vhub

Enable the virtual USB hub.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
5 years agoARM: dts: aspeed: palmetto: Fix flash_memory region
Lei YU [Fri, 15 Feb 2019 07:47:21 +0000 (15:47 +0800)]
ARM: dts: aspeed: palmetto: Fix flash_memory region

The flash_memory region was incorrect and exceeds AST2400's RAM range.
Fix it by putting it before coldfire region, and aligned with 32MiB.

Signed-off-by: Lei YU <mine260309@gmail.com>
Acked-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
5 years agoARM: dts: aspeed: ast2500: Update flash layout
Joel Stanley [Mon, 18 Dec 2017 06:16:00 +0000 (16:46 +1030)]
ARM: dts: aspeed: ast2500: Update flash layout

Move to the openbmc-flash-layout.dtsi file.

Signed-off-by: Joel Stanley <joel@jms.id.au>
5 years agobus: ti-sysc: Add quirk handling for external optional functional clock
Tony Lindgren [Thu, 21 Mar 2019 18:00:21 +0000 (11:00 -0700)]
bus: ti-sysc: Add quirk handling for external optional functional clock

We cannot access mcpdm registers at all unless there is an optional pdmclk
configured. As this is currently only needed for mcpdm, let's check for
mcpdm in sysc_get_clocks(). If it turns out to be needed for other modules
too, we can add more flags to the quirks table for this.

Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agobus: ti-sysc: Add support for early quirks based on register address
Tony Lindgren [Thu, 21 Mar 2019 18:00:21 +0000 (11:00 -0700)]
bus: ti-sysc: Add support for early quirks based on register address

At least mcpdm needs an optional external clock enabled to function and
this clock typically comes from the PMIC. We can detect mcpdm based on
the interconnect target module address and set a quirk flag early.

To do this, let's initialize the clocks a bit later and add a new
function for sysc_init_early_quirks(). Note that we cannot yet enable
the early quirks for mcpdm until the optional external clocks are
handled in the in the following patch.

Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agobus: ti-sysc: Move rstctrl reset to happen later
Tony Lindgren [Thu, 21 Mar 2019 18:00:21 +0000 (11:00 -0700)]
bus: ti-sysc: Move rstctrl reset to happen later

We can do the rsstctrl a bit later, but need to deassert rstctrl reset
before the clocks are enabled if asserted. Let's only init restctrl
in sysc_init_resets() and do the reset later on just before we enable
the device clocks.

Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agobus: ti-sysc: Manage clocks for the interconnect target module in all cases
Tony Lindgren [Thu, 21 Mar 2019 18:00:21 +0000 (11:00 -0700)]
bus: ti-sysc: Manage clocks for the interconnect target module in all cases

We are currently not managing interconnect target module clocks in the
for legacy platform data based case. This causes a problem for using the
platform data based functions when dropping the platform data for the
interconnect target module configuration.

To avoid a situation where we need to populate the main and optional
clocks also for the platform data based functions, let's just manage the
clocks directly in ti-sysc driver. This means that until the interconnect
target module confugration platform data is dropped our use count for
clk_enable() will be 2 instead of 1.

Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agobus: ti-sysc: Allocate mdata as needed and do platform data based init later
Tony Lindgren [Thu, 21 Mar 2019 18:00:21 +0000 (11:00 -0700)]
bus: ti-sysc: Allocate mdata as needed and do platform data based init later

The platform data based init functions typically reset the interconnect
target module configure the registers. As we may need the interconnect
target module specific quirks configured based on the revision register,
we want to move the platform data based init to happen later.

Let's allocate mdata as needed so it's available for sysc_legacy_init()
that we call with module clocks enabled from sysc_init_module().

Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agobus: ti-sysc: Enable all clocks directly during init to read revision
Tony Lindgren [Thu, 21 Mar 2019 18:00:21 +0000 (11:00 -0700)]
bus: ti-sysc: Enable all clocks directly during init to read revision

The first thing we want to do is just read the module revision register to
be able to configure the module specific quirks and configure the module
registers.

As the interconnect target module may not yet be properly configured and
may need a reset first, we don't want to use pm_runtime_get() at this
point.

To read the revision register, let's just enable the all the clocks for
the interconnect target module during init even if the optional clocks
are not needed. That way we can read the revision register to configure
the quirks needed for PM runtime.

Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agobus: ti-sysc: Add separate functions for handling clocks
Tony Lindgren [Thu, 21 Mar 2019 18:00:21 +0000 (11:00 -0700)]
bus: ti-sysc: Add separate functions for handling clocks

At least McPDM module depends on an external optional clock to be
usable. To make handling of the McPDM clock easier in the following
patches, let's add separate functions for handling the main clocks
and the optional clocks.

Let's also add error handling to shut down already enabled clocks
while at it.

Signed-off-by: Tony Lindgren <tony@atomide.com>