OSDN Git Service

uclinux-h8/linux.git
6 years agoMerge tag 'omap-for-v4.19/dt-pt2-signed' of git://git.kernel.org/pub/scm/linux/kernel...
Olof Johansson [Sat, 21 Jul 2018 21:25:39 +0000 (14:25 -0700)]
Merge tag 'omap-for-v4.19/dt-pt2-signed' of git://git./linux/kernel/git/tmlind/linux-omap into next/dt

Few more beaglebone variants for v4.19 merge window

This adds dts files for two new beaglebone variants for
Octavo Systems OSD3358-SM-RED and Sancloud am335x-sancloud-bbe.

* tag 'omap-for-v4.19/dt-pt2-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  ARM: dts: am335x: add am335x-sancloud-bbe board support
  dt-bindings: Add vendor prefix for Sancloud
  ARM: dts: Add DT support for Octavo Systems OSD3358-SM-RED based on TI AM335x

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoARM: dts: am335x: add am335x-sancloud-bbe board support
Koen Kooi [Tue, 17 Jul 2018 06:51:49 +0000 (08:51 +0200)]
ARM: dts: am335x: add am335x-sancloud-bbe board support

The "Beaglebone Enhanced" by Sancloud is based on the Beaglebone Black,
but with the following differences:

 * Gigabit capable PHY
 * Extra USB hub, optional i2c control
 * lps3331ap barometer connected over i2c
 * MPU6050 6 axis MEMS accelerometer/gyro connected over i2c
 * 1GiB DDR3 RAM
 * RTL8723 Wifi/Bluetooth connected over USB

Tested on a revision G board.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
6 years agodt-bindings: Add vendor prefix for Sancloud
Koen Kooi [Tue, 17 Jul 2018 07:40:58 +0000 (09:40 +0200)]
dt-bindings: Add vendor prefix for Sancloud

Add vendor prefix for Sancloud Ltd.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
6 years agoARM: dts: Add DT support for Octavo Systems OSD3358-SM-RED based on TI AM335x
Neeraj Dantu [Fri, 13 Jul 2018 16:33:14 +0000 (16:33 +0000)]
ARM: dts: Add DT support for Octavo Systems OSD3358-SM-RED based on TI AM335x

OSD3358-SM-RED is a dev board for OSD335x System-in-Package(SiP) devices from
Octavo Systems.

This board family can be indentified by the A335BNLTOS00 in the at24 eeprom:
A2: [aa 55 33 ee 41 33 33 35  42 4e 4c 54 4f 53 30 30 |.U3.A335BNLTOS00|]

https://octavosystems.com/octavo_products/osd3358-sm-red/

Signed-off-by: Neeraj Dantu <neeraj.dantu@octavosystems.com>
CC: Tony Lindgren <tony@atomide.com>
CC: Robert Nelson <robertcnelson@gmail.com>
CC: Jason Kridner <jkridner@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
6 years agoMerge tag 'gemini-dts-v4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw...
Olof Johansson [Sun, 15 Jul 2018 05:47:22 +0000 (22:47 -0700)]
Merge tag 'gemini-dts-v4.19' of git://git./linux/kernel/git/linusw/linux-nomadik into next/dt

Gemini DTS updates for v4.19:
- Add Vitesse switch chips
- Add a new DT for a reference design

* tag 'gemini-dts-v4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik:
  ARM: dts: Add devicetree for Storlink/Storm SL93512R
  ARM: dts: Add Vitesse G5e switch to the Gemini SQ201
  ARM: dts: Add WAN ethernet port to the SQ201

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoARM: dts: Add devicetree for Storlink/Storm SL93512R
Linus Walleij [Sat, 16 Jun 2018 13:21:45 +0000 (15:21 +0200)]
ARM: dts: Add devicetree for Storlink/Storm SL93512R

The Storlink Gemini324 EV-Board also known as Storm
Semiconductor SL93512R_BRD is ground zero for the Gemini
devices. We add a device tree so we can support it, it
turns out to be pretty trivial.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
6 years agoARM: dts: Add Vitesse G5e switch to the Gemini SQ201
Linus Walleij [Fri, 1 Jun 2018 20:50:29 +0000 (22:50 +0200)]
ARM: dts: Add Vitesse G5e switch to the Gemini SQ201

This adds the Vitesse G5e ethernet switch to the Square
One Itian SQ201 router device tree.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
6 years agoARM: dts: Add WAN ethernet port to the SQ201
Linus Walleij [Wed, 30 May 2018 20:35:39 +0000 (22:35 +0200)]
ARM: dts: Add WAN ethernet port to the SQ201

This sets up the ethernet interface and PHY for the
WAN ethernet port which uses a Marvell PHY.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
6 years agoMerge tag 'v4.18-rockchip-dts32fixes-1' of git://git.kernel.org/pub/scm/linux/kernel...
Olof Johansson [Sat, 14 Jul 2018 22:09:54 +0000 (15:09 -0700)]
Merge tag 'v4.18-rockchip-dts32fixes-1' of git://git./linux/kernel/git/mmind/linux-rockchip into next/dt

Fix for a new warning from dtc in graph node unit addresses.

* tag 'v4.18-rockchip-dts32fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
  ARM: dts: rockchip: fix graph node unit address error from dtc

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoARM: dts: nomadik: Cut FSMC timings
Linus Walleij [Wed, 11 Jul 2018 20:27:49 +0000 (22:27 +0200)]
ARM: dts: nomadik: Cut FSMC timings

After the work done by Thomas Petazzoni, the NAND chip timings
can be read out from the chip instead of open coded in the
device tree, so let's just remove the timing information.

Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoMerge tag 'stm32-dt-for-v4.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Sat, 14 Jul 2018 21:27:22 +0000 (14:27 -0700)]
Merge tag 'stm32-dt-for-v4.19-1' of git://git./linux/kernel/git/atorgue/stm32 into next/dt

STM32 DT updates for v4.19, round 1

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

-MCU platforms update:
 -Update RTC syscfg bindings on stm32f746 and stm32f429
 -Update IWDG node with LSI clock name on stm32f429

-MPU STM32MP157 platform update:
 -Add HASH support
 -Add m_can support and enable it on EV1 board
 -Add RTC suppoort and enable it on ED1 board
 -Add USB OTG HS support and enable it on EV1 board
 -Enable USB Host EHCI on EV1 board
 -Add DFSDM support
 -Add SPI support
 -Add ETH support and enable it on EV1 board
 -Add IWDG support and enable it on ED1 board
 -Fix useless GPIO aliases and reorder nodes

* tag 'stm32-dt-for-v4.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32: (22 commits)
  ARM: dts: stm32: update iwdg with lsi clock name for stm32f429
  ARM: dts: stm32: add iwdg2 support for stm32mp157c-ed1
  ARM: dts: stm32: add iwdg2 support for stm32mp157c
  ARM: dts: stm32: Reorder nodes in stm32mp157c-ed1
  ARM: dts: stm32: remove gpio aliases for stm32mp157c
  ARM: dts: stm32: add support of ethernet on stm32mp157c-ev1
  ARM: dts: stm32: Add ethernet dwmac on stm32mp1
  ARM: dts: stm32: Add syscfg on stm32mp1
  ARM: dts: stm32: add SPI1 support on stm32mp157c-ev1
  ARM: dts: stm32: add SPI support on stm32mp157c
  ARM: dts: stm32: Add DFSDM support to stm32mp157c
  ARM: dts: stm32: Add ADC support to stm32mp157c
  ARM: dts: stm32: enable USB OTG HS on stm32mp157c-ev1
  ARM: dts: stm32: add USB OTG HS support for stm32mp157c SoC
  ARM: dts: stm32: enable USB Host (USBH) EHCI controller on stm32mp157c-ev1
  ARM: dts: stm32: enable RTC on stm32mp157c-ed1
  ARM: dts: stm32: add RTC support to stm32mp157c
  ARM: dts: stm32: m_can activation on stm32mp157c-ev1
  ARM: dts: stm32: m_can support to stm32mp157c
  ARM: dts: stm32: Add HASH support on stm32mp157c
  ...

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoMerge tag 'mvebu-dt64-4.19-1' of git://git.infradead.org/linux-mvebu into next/dt
Olof Johansson [Sat, 14 Jul 2018 21:26:48 +0000 (14:26 -0700)]
Merge tag 'mvebu-dt64-4.19-1' of git://git.infradead.org/linux-mvebu into next/dt

mvebu dt64 for 4.19 (part 1)

Armada 3700
 - Add default memory reservation for ATF
 - Add a node for AVS support
Fix eth3 connector name on the Macchiatobin

* tag 'mvebu-dt64-4.19-1' of git://git.infradead.org/linux-mvebu:
  arm64: dts: marvell: armada-37xx: reserve memory for ATF
  arm64: dts: marvell: armada-37xx: add the node allowing AVS support
  arm64: dts: marvell: mcbin: fix eth3 connector name

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoMerge tag 'mvebu-dt-4.19-1' of git://git.infradead.org/linux-mvebu into next/dt
Olof Johansson [Sat, 14 Jul 2018 21:26:17 +0000 (14:26 -0700)]
Merge tag 'mvebu-dt-4.19-1' of git://git.infradead.org/linux-mvebu into next/dt

mvebu dt for 4.19 (part 1)

 - Add a new Armada 388 based board: helios4
 - Enable SPI flash by default on SolidRun Armada 38x Microsom

* tag 'mvebu-dt-4.19-1' of git://git.infradead.org/linux-mvebu:
  ARM: dts: armada388-clearfog: drop future changes disclaimer
  ARM: dts: armada388-clearfog: enable spi flash
  ARM: dts: armada388-helios4

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoMerge tag 'pxa-dt-4.19' of https://github.com/rjarzmik/linux into next/dt
Olof Johansson [Sat, 14 Jul 2018 21:24:28 +0000 (14:24 -0700)]
Merge tag 'pxa-dt-4.19' of https://github.com/rjarzmik/linux into next/dt

This device-tree pxa update brings :
 - pxa3xx fixes and updates

* tag 'pxa-dt-4.19' of https://github.com/rjarzmik/linux:
  arm: dts: pxa3xx: Add ssp ports to pxa3xx device tree
  arm: dts: pxa3xx: provide correct clk-names property for nand controller node
  ARM: dts: pxa: add label to lcd controller node

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoMerge tag 'samsung-dt64-4.19' of https://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Sat, 14 Jul 2018 21:23:15 +0000 (14:23 -0700)]
Merge tag 'samsung-dt64-4.19' of https://git./linux/kernel/git/krzk/linux into next/dt

Samsung DTS ARM64 changes for v4.19

Cleanup from old properties and code-style warnings.

* tag 'samsung-dt64-4.19' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  arm64: dts: exynos: Remove leading 0x from unit addresses in Exynos5433
  arm64: dts: exynos: Remove no longer needed samsung thermal properties

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoMerge tag 'samsung-dt-4.19' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk...
Olof Johansson [Sat, 14 Jul 2018 21:22:29 +0000 (14:22 -0700)]
Merge tag 'samsung-dt-4.19' of https://git./linux/kernel/git/krzk/linux into next/dt

Samsung DTS ARM changes for v4.19

1. Add two new S5Pv210 boards: Samsung Galaxy S and Samsung Galaxy S 4G
   mobile phones.  Both are from family codenamed Aries.  The Samsung
   Galaxy S was released on the market in 2010 with Android operating
   system.  At that time, it was the Samsung's flagship model.
   This brings support for storage (SD card and internal memory), PMIC,
   RTC, fuel-gauge, keys, USB (in peripherial mode) and WiFi.

2. Add missing secondary CPU properties.
3. Cleanup from old files and properties.

* tag 'samsung-dt-4.19' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  dt-bindings: samsung: Document bindings for SGH-T959P board
  dt-bindings: samsung: Document bindings for Samsung aries boards
  ARM: dts: s5pv210: Add initial DTS for SGH-T959P phone
  ARM: dts: s5pv210: Add initial DTS for Samsung Galaxy S phone
  ARM: dts: s5pv210: Add initial DTS for Samsung Aries based phones
  ARM: dts: s5pv210: Add missing interrupt-controller property to gph2
  ARM: dts: exynos: remove no longer needed samsung thermal properties
  dt-bindings: arm: Remove obsolete insignal-boards.txt
  ARM: dts: exynos: Add missing CPU clocks to secondary CPUs on Exynos542x
  arm: dts: exynos: Add missing cooling device properties for CPUs

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoMerge tag 'tegra-for-4.19-arm64-dt' of git://git.kernel.org/pub/scm/linux/kernel...
Olof Johansson [Sat, 14 Jul 2018 21:21:32 +0000 (14:21 -0700)]
Merge tag 'tegra-for-4.19-arm64-dt' of git://git./linux/kernel/git/tegra/linux into next/dt

arm64: tegra: Device tree changes for v4.19-rc1

These changes enable the GPIO controllers on Tegra194 SoCs, which in
turn allows the SD card detection and ethernet controllers to be enabled
as well. The Tegra194 device tree is also extended with the list of CPUs
and a PSCI node to inform the kernel about the presence of PSCI capable
firmware.

* tag 'tegra-for-4.19-arm64-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  arm64: tegra: Add CPU nodes to Tegra194 device tree
  arm64: tegra: Add ethernet controller on Tegra194
  arm64: tegra: Enable card detect for SD card on P2888
  arm64: tegra: Add GPIO controller on Tegra194

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoMerge tag 'tegra-for-4.19-arm-dt' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Sat, 14 Jul 2018 21:20:50 +0000 (14:20 -0700)]
Merge tag 'tegra-for-4.19-arm-dt' of git://git./linux/kernel/git/tegra/linux into next/dt

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

This set of changes adds support for the memory client resets on Tegra20
and Tegra30, fixes a couple of issues on Cardhu and Tegra30 Apalis as
well as adds a unit-address to the memory node to avoid warnings from
DTC. To round things of, the NAND flash controller is enabled on the
Tegra20 Colibri.

* tag 'tegra-for-4.19-arm-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  ARM: dts: tegra: enable NAND flash on Colibri T20
  ARM: dts: tegra: add Tegra20 NAND flash controller node
  ARM: tegra: Work safely with 256 MB Colibri-T20 modules
  ARM: tegra: Fix unit_address_vs_reg and avoid_unnecessary_addr_size DTC warnings
  ARM: tegra: Fix unit_address_vs_reg DTC warnings for /memory
  ARM: tegra: Remove usage of deprecated skeleton.dtsi
  ARM: tegra: Fix can2 on Tegra30 Apalis
  ARM: tegra: Fix Tegra30 Cardhu PCA954x reset
  ARM: dts: tegra30: Add Memory Client reset to VDE
  ARM: dts: tegra20: Add Memory Client reset to VDE

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoMerge tag 'tegra-for-4.19-dt-bindings' of git://git.kernel.org/pub/scm/linux/kernel...
Olof Johansson [Sat, 14 Jul 2018 21:20:28 +0000 (14:20 -0700)]
Merge tag 'tegra-for-4.19-dt-bindings' of git://git./linux/kernel/git/tegra/linux into next/dt

dt-bindings: tegra: Changes for v4.19-rc1

This contains a single update that adds the Carmel CPU found in Tegra194
SoCs to the arm/cpus.txt device tree bindings.

* tag 'tegra-for-4.19-dt-bindings' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  dt-bindings: arm: Add compatible string for NVIDIA Carmel

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoMerge tag 'omap-for-v4.19/dt-mcan-v2-signed-v2' of git://git.kernel.org/pub/scm/linux...
Olof Johansson [Sat, 14 Jul 2018 21:20:03 +0000 (14:20 -0700)]
Merge tag 'omap-for-v4.19/dt-mcan-v2-signed-v2' of git://git./linux/kernel/git/tmlind/linux-omap into next/dt

dts changes for mcan for omaps for v4.19 merge window

These changes configure the mcan clock, interconnect target
module and mcan device. These changes depend on the ti-sysc
related driver changes and are based on those.

Notably this is the first new driver that probes with ti-sysc
driver with no legacy hwmod platform data for the interconnect
target module.

* tag 'omap-for-v4.19/dt-mcan-v2-signed-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  ARM: dts: dra76x: Add MCAN node
  ARM: dts: Add generic interconnect target module node for MCAN
  ARM: dts: dra762: Add MCAN clock support
  bus: ti-sysc: Add support for software reset
  bus: ti-sysc: Add support for using ti-sysc for MCAN on dra76x
  clk: ti: dra7: Add clkctrl clock data for the mcan clocks
  bus: ti-sysc: Use 2-factor allocator arguments

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoMerge tag 'omap-for-v4.19/dt-signed-v2' of git://git.kernel.org/pub/scm/linux/kernel...
Olof Johansson [Sat, 14 Jul 2018 21:17:26 +0000 (14:17 -0700)]
Merge tag 'omap-for-v4.19/dt-signed-v2' of git://git./linux/kernel/git/tmlind/linux-omap into next/dt

dts changes for omaps for v4.19 merge window

Mostly updates to configure and improve the devices
found on various SoCs and boards:

- several patches to update support for am3517-evm
  to replace bogus fixed regulators with proper
  regulators and configure various devices such
  as wlan, bluetooth and usb1

- add missing cooling devices for omap5 and dra7

- configure dual role for usb ports for am57xx
  and dra7

- PM updates for omap4 devices to allow retention
  idle for minimal configurations

- am335x-sl50 updates for various devices

- update d-can alias names to not use undescore

- configure pandaboard gpio button

- a non-urgent change to fix dcan node address that
  i forgot to send a pull request for earlier

* tag 'omap-for-v4.19/dt-signed-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: (25 commits)
  ARM: dts: pandaboard: add gpio user button
  ARM: dts: am3517-evm: Add 'vdd_io_reg' regulator references
  ARM: dts: am3517-evm: Enable USB1 Host
  ARM: dts: am33xx: Fix syntax of alias names
  ARM: dts: am3517-som:  Add builtin Bluetooth
  ARM: dts: am3517-som: Add WL127x Wifi
  ARM: dts: am335x-sl50: enable tsadc on SL50 board
  ARM: dts: am335x-sl50: fix label names for all LEDs
  ARM: dts: am335x-sl50: use audio-graph-card for sound
  ARM: dts: am335x-sl50: add support for DS1339 Real Time Clock
  ARM: dts: am335x-sl50: set dr_mode to otg
  ARM: dts: am335x-sl50: add a node for the LCD controller
  ARM: dts: am335x-sl50: use phy-phandle declarations
  ARM: dts: am335x-sl50: update backlight nodes
  ARM: dts: omap4-droid4: Use software debounce for gpio-keys
  ARM: dts: Configure duovero for to allow core retention during idle
  ARM: dts: Improve omap l4per idling with wlcore edge sensitive interrupt
  ARM: dts: dra76-evm: Add VBUS GPIO to USB1/USB2 extcon
  ARM: dts: dra71-evm: Add VBUS GPIO to USB1/USB2 extcon
  ARM: dts: dra7-evm: Add extcon to USB2 port
  ...

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoMerge tag 'davinci-for-v4.19/dt' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Sat, 14 Jul 2018 21:16:58 +0000 (14:16 -0700)]
Merge tag 'davinci-for-v4.19/dt' of git://git./linux/kernel/git/nsekhar/linux-davinci into next/dt

DaVinci Device-Tree updates for v4.19
-------------------------------------

* DA850 now uses clocks from device-tree
* DA850 EVM gains LCD (with backlight) and SATA support
* Lego Mindstorms gains bluetooth support
* DSP reset control support on DA850

* tag 'davinci-for-v4.19/dt' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci:
  ARM: dts: da850: Add power-domains to CPPI 4.1 node
  ARM: davinci: dts: add a reset control to the dsp node
  ARM: davinci: dts: make psc0 a reset provider
  ARM: dts: da850-lego-ev3: Add Bluetooth nodes
  ARM: dts: da850: Add power-domains to PWM nodes
  ARM: dts: da850: Add clocks
  dt-bindings: timer: new bindings for TI DaVinci timer
  ARM: dts: da850-evm: Enable LCD and backlight
  ARM: dts: da850-evm: Enable SATA port

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoMerge tag 'arm-soc/for-4.19/devicetree-arm64' of https://github.com/Broadcom/stblinux...
Olof Johansson [Sat, 14 Jul 2018 21:11:41 +0000 (14:11 -0700)]
Merge tag 'arm-soc/for-4.19/devicetree-arm64' of https://github.com/Broadcom/stblinux into next/dt

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

- Scott does a bunch of updates to the Stingray DTS and DTS include
  files to better support the addition of new boards. Scott also adds
  the Stingray OTP Device Tree node

- Pramod updates the Stingray clocks such that they match the latest
  revision of the ASIC and datasheets

- Ray sets the Stingray initial watchdog timeout to 60 seconds to give
  sufficient time for the kernel to boot and then adds PAXC (internal
  PCIe) support to the Stingray base DTS files

- Vladimir adds support for the Stingray smart NIC PS225 boards variants

* tag 'arm-soc/for-4.19/devicetree-arm64' of https://github.com/Broadcom/stblinux:
  arm64: dts: stingray: add bcm958802a802x dts
  arm64: dts: stingray: add PAXC support
  arm64: dts: set initial SR watchdog timeout to 60 seconds
  arm64: dts: Update Stingray clock DT nodes
  arm64: dts: stingray: Add OTP device node
  arm64: dts: stingray: move common board components to stingray-board-base

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoMerge tag 'arm-soc/for-4.19/devicetree' of https://github.com/Broadcom/stblinux into...
Olof Johansson [Sat, 14 Jul 2018 21:10:54 +0000 (14:10 -0700)]
Merge tag 'arm-soc/for-4.19/devicetree' of https://github.com/Broadcom/stblinux into next/dt

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

- Clement adds ethernet aliases to the Cygnus DTS include file such that
  a DT aware bootloader such as u-boot can properly insert MAC addresses

- Mohamed adds a Device Tree node for the HWRNG found on Cygnus SoCs

- Vivek migrates all the BCM5301x (Northstar) Device Tree sources to use
  the proper USB 3.0 PHY representation using its parent MDIO bus.
  Vivek also completes the Linksys EA9500 Device Tree by adding support
  for LEDs, internal and external switches.

- Rafal adds the ARM architected timer to the BCM53573 Device Tree
  include file.

- Eric adds the Performance Monitoring Unit to the BCM2837 DTS include
  file since it was absent before

- Boris adds the BCM283x transposer block to the Device Tree

- Stefan adds the Raspberry Pi Compute Module (CM1) Device Tree include
  and sources.

* tag 'arm-soc/for-4.19/devicetree' of https://github.com/Broadcom/stblinux:
  ARM: dts: BCM5301X: Add support for Linksys EA9500
  ARM: dts: BCM53573: Add architected timer
  ARM: dts: BCM5301X: Make USB 3.0 PHY use MDIO PHY driver
  ARM: dts: cygnus: enable iproc-hwrng
  ARM: dts: cygnus: add ethernet0 alias
  ARM: dts: bcm283x: Add Transposer block
  ARM: dts: bcm283x: Add the PMU to the devicetree.
  ARM: dts: add Raspberry Pi Compute Module and IO board

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoMerge tag 'v4.19-rockchip-dts64-1' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Sat, 14 Jul 2018 21:06:42 +0000 (14:06 -0700)]
Merge tag 'v4.19-rockchip-dts64-1' of git://git./linux/kernel/git/mmind/linux-rockchip into next/dt

SPDX conversion for existing devicetree files. New board is Gru-Bob
the Chromebook Flip C101PA which also got some stuff moved around
to make room for Scarlet once its display pipeline makes some more
advances.
Also included are some general sound improvements for rk3399
including enabling hdmi-sound on the sapphire board and some
misc fixes like missing cooling device properties and wrong
clock-names for the uart1 on rk3328.

* tag 'v4.19-rockchip-dts64-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
  arm64: dts: rockchip: corrected uart1 clock-names for rk3328
  arm64: dts: rockchip: add Google Bob
  arm64: dts: rockchip: move core edp from rk3399-kevin to shared chromebook
  arm64: dts: rockchip: move Chromebook-specific Gru-parts to a separate file
  arm64: dts: rockchip: add phandles to some nodes on rk3399-gru
  arm64: dts: rockchip: add some common pin-settings to rk3399
  arm64: dts: rockchip: generalize rk3399 #sound-dai-cells
  arm64: dts: rockchip: Add missing cooling device properties for CPUs
  arm64: dts: rockchip: enable hdmi sound on rk3399-sapphire
  arm64: dts: rockchip: connect hdmi sound in rk3399
  arm64: dts: rockchip: use SPDX-License-Identifier

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoMerge tag 'v4.19-rockchip-dts32-1' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Sat, 14 Jul 2018 21:06:17 +0000 (14:06 -0700)]
Merge tag 'v4.19-rockchip-dts32-1' of git://git./linux/kernel/git/mmind/linux-rockchip into next/dt

SPDX conversion for existing Rockchip devicetree files as well
as conversion of rk3288 to OPPv2 to facilitate the addition of
missing cpu-cooling-device properties.

* tag 'v4.19-rockchip-dts32-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
  ARM: dts: rockchip: Add missing cooling device properties for CPUs on rk3288
  ARM: dts: rockchip: convert rk3288 to operating-points-v2
  ARM: dts: rockchip: Add missing cooling device properties for CPUs on rk322x
  ARM: dts: rockchip: use SPDX-License-Identifier

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoarm64: dts: stingray: add bcm958802a802x dts
Vladimir Olovyannikov [Tue, 10 Jul 2018 21:25:31 +0000 (14:25 -0700)]
arm64: dts: stingray: add bcm958802a802x dts

Add bcm958802a802x dts to be used on all Stingray smart NIC PS225 board
variants

Signed-off-by: Vladimir Olovyannikov <vladimir.olovyannikov@broadcom.com>
Signed-off-by: Pramod Kumar <pramod.kumar@broadcom.com>
Signed-off-by: Ray Jui <ray.jui@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
6 years agoarm64: dts: stingray: add PAXC support
Ray Jui [Tue, 10 Jul 2018 21:25:30 +0000 (14:25 -0700)]
arm64: dts: stingray: add PAXC support

Add PAXC support to Broadcom Stingray SoC

Signed-off-by: Ray Jui <ray.jui@broadcom.com>
Signed-off-by: Peter Spreadborough <peter.spreadborough@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
6 years agoARM: dts: stm32: update iwdg with lsi clock name for stm32f429
Ludovic Barre [Fri, 13 Jul 2018 09:21:39 +0000 (11:21 +0200)]
ARM: dts: stm32: update iwdg with lsi clock name for stm32f429

This patch updates iwdg watchdog to use lsi clock name.

Signed-off-by: Ludovic Barre <ludovic.barre@st.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
6 years agoARM: dts: stm32: add iwdg2 support for stm32mp157c-ed1
Ludovic Barre [Mon, 25 Jun 2018 15:43:00 +0000 (17:43 +0200)]
ARM: dts: stm32: add iwdg2 support for stm32mp157c-ed1

This patch activates independent watchdog support for
stm32mp157c board.

Signed-off-by: Ludovic Barre <ludovic.barre@st.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
6 years agoARM: dts: stm32: add iwdg2 support for stm32mp157c
Ludovic Barre [Mon, 25 Jun 2018 15:43:00 +0000 (17:43 +0200)]
ARM: dts: stm32: add iwdg2 support for stm32mp157c

This patch adds independent watchdog support for stm32mp157c.

Signed-off-by: Ludovic Barre <ludovic.barre@st.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
6 years agoARM: dts: stm32: Reorder nodes in stm32mp157c-ed1
Alexandre Torgue [Tue, 26 Jun 2018 16:07:49 +0000 (18:07 +0200)]
ARM: dts: stm32: Reorder nodes in stm32mp157c-ed1

Nodes should be ordered in alphabetic order.

Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
6 years agoARM: dts: stm32: remove gpio aliases for stm32mp157c
Alexandre Torgue [Tue, 26 Jun 2018 15:55:13 +0000 (17:55 +0200)]
ARM: dts: stm32: remove gpio aliases for stm32mp157c

GPIO aliases are not used by stm32 pinctrl driver.

Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
6 years agoARM: dts: stm32: add support of ethernet on stm32mp157c-ev1
Christophe Roullier [Tue, 26 Jun 2018 13:12:23 +0000 (15:12 +0200)]
ARM: dts: stm32: add support of ethernet on stm32mp157c-ev1

MAC is connected to a PHY in RGMII mode.

Signed-off-by: Christophe Roullier <christophe.roullier@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
6 years agoARM: dts: stm32: Add ethernet dwmac on stm32mp1
Christophe Roullier [Tue, 26 Jun 2018 16:24:26 +0000 (18:24 +0200)]
ARM: dts: stm32: Add ethernet dwmac on stm32mp1

Add Ethernet support (Synopsys MAC IP 4.20a) on stm32mp1 SOC.
Enable feature supported by the stmmac driver, such as TSO.

Signed-off-by: Christophe Roullier <christophe.roullier@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
6 years agoARM: dts: stm32: Add syscfg on stm32mp1
Christophe Roullier [Wed, 23 May 2018 15:47:00 +0000 (17:47 +0200)]
ARM: dts: stm32: Add syscfg on stm32mp1

System configuration controller is mainly used to manage
the compensation cell and other IOs and system related
settings.

Signed-off-by: Christophe Roullier <christophe.roullier@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
6 years agoARM: dts: stm32: add SPI1 support on stm32mp157c-ev1
Amelie Delaunay [Thu, 17 May 2018 14:21:00 +0000 (16:21 +0200)]
ARM: dts: stm32: add SPI1 support on stm32mp157c-ev1

This patch adds SPI1 support on stm32mp157c-ev1 board.
SPI1 is available on GPIO expansion connector but kept disabled
so these pins can be used as GPIOs by default.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
6 years agoARM: dts: stm32: add SPI support on stm32mp157c
Amelie Delaunay [Tue, 26 Jun 2018 12:54:07 +0000 (14:54 +0200)]
ARM: dts: stm32: add SPI support on stm32mp157c

This patch adds all SPI instances on stm32mp157c.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
6 years agoARM: dts: stm32: Add DFSDM support to stm32mp157c
Fabrice Gasnier [Wed, 23 May 2018 09:30:00 +0000 (11:30 +0200)]
ARM: dts: stm32: Add DFSDM support to stm32mp157c

stm32mp157c has DFSDM (Digital Filter For Sigma Delta Modulators) hardware
with 6 filter instances.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
6 years agoARM: dts: stm32: Add ADC support to stm32mp157c
Fabrice Gasnier [Tue, 22 May 2018 15:45:00 +0000 (17:45 +0200)]
ARM: dts: stm32: Add ADC support to stm32mp157c

stm32mp157c has an ADC block with two physical ADCs.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
6 years agoARM: dts: stm32: enable USB OTG HS on stm32mp157c-ev1
Amelie Delaunay [Thu, 17 May 2018 15:47:00 +0000 (17:47 +0200)]
ARM: dts: stm32: enable USB OTG HS on stm32mp157c-ev1

This patch enables USB OTG HS on stm32mp157c-ev1 in Peripheral mode.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
6 years agoARM: dts: stm32: add USB OTG HS support for stm32mp157c SoC
Amelie Delaunay [Thu, 17 May 2018 15:47:00 +0000 (17:47 +0200)]
ARM: dts: stm32: add USB OTG HS support for stm32mp157c SoC

This patch adds support for USB OTG HS on STM32MP157C SoC.
USB OTG HS controller is based on DWC2 controller.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
6 years agoARM: dts: stm32: enable USB Host (USBH) EHCI controller on stm32mp157c-ev1
Amelie Delaunay [Thu, 17 May 2018 14:36:00 +0000 (16:36 +0200)]
ARM: dts: stm32: enable USB Host (USBH) EHCI controller on stm32mp157c-ev1

This patch enables USB Host (USBH) EHCI controller on stm32mp157c-ev1.
As a hub is used between USBH and USB connectors, no need to enable
USBH OHCI controller: all low- and full-speed traffic is managed by the
hub.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
6 years agoMerge commit '949bdcc8a97c' into omap-for-v4.19/dt
Tony Lindgren [Wed, 11 Jul 2018 12:54:32 +0000 (05:54 -0700)]
Merge commit '949bdcc8a97c' into omap-for-v4.19/dt

6 years agoARM: dts: dra76x: Add MCAN node
Faiz Abbas [Tue, 10 Jul 2018 11:05:30 +0000 (04:05 -0700)]
ARM: dts: dra76x: Add MCAN node

Add support for the MCAN peripheral which supports both classic
CAN messages along with the new CAN-FD message.

Add MCAN node to evm and enable it with a maximum datarate of 5 mbps

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
6 years agoARM: dts: Add generic interconnect target module node for MCAN
Faiz Abbas [Tue, 10 Jul 2018 11:05:30 +0000 (04:05 -0700)]
ARM: dts: Add generic interconnect target module node for MCAN

The ti-sysc driver provides support for manipulating the idle modes
and interconnect level resets.

Add the generic interconnect target module node for MCAN to support
the same.

CC: Tony Lindgren <tony@atomide.com>
Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
6 years agoARM: dts: dra762: Add MCAN clock support
Lokesh Vutla [Tue, 10 Jul 2018 11:05:30 +0000 (04:05 -0700)]
ARM: dts: dra762: Add MCAN clock support

MCAN is clocked by H14 divider of DPLL_GMAC. Unlike other
DPLL dividers this DPLL_GMAC H14 divider is controlled by
control module. Adding support for these clocks.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
6 years agoARM: dts: da850: Add power-domains to CPPI 4.1 node
Sekhar Nori [Wed, 4 Jul 2018 09:44:32 +0000 (15:14 +0530)]
ARM: dts: da850: Add power-domains to CPPI 4.1 node

This adds the power-domains property to CPPI 4.1 node.

The CPPI 4.1 DMA driver uses pm_runtime to manage the clocks,
so it needs this property in order to find and enable the clock
properly.

Reviewed-by: David Lechner <david@lechnology.com>
Tested-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
6 years agobus: ti-sysc: Add support for software reset
Faiz Abbas [Mon, 9 Jul 2018 16:48:39 +0000 (22:18 +0530)]
bus: ti-sysc: Add support for software reset

Add support for the software reset of a target interconnect
module using its sysconfig and sysstatus registers.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
[tony@atomide.com: updated to check if sysconfig exists]
Signed-off-by: Tony Lindgren <tony@atomide.com>
6 years agobus: ti-sysc: Add support for using ti-sysc for MCAN on dra76x
Faiz Abbas [Mon, 9 Jul 2018 16:48:38 +0000 (22:18 +0530)]
bus: ti-sysc: Add support for using ti-sysc for MCAN on dra76x

The dra76x MCAN generic interconnect module has a its own
format for the bits in the control registers.

Therefore add a new module type, new regbits and new capabilities
specific to the MCAN module.

Acked-by: Rob Herring <robh@kernel.org>
CC: Tony Lindgren <tony@atomide.com>
Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
6 years agoclk: ti: dra7: Add clkctrl clock data for the mcan clocks
Faiz Abbas [Mon, 9 Jul 2018 16:48:37 +0000 (22:18 +0530)]
clk: ti: dra7: Add clkctrl clock data for the mcan clocks

Add clkctrl data for the m_can clocks and register it within the
clkctrl driver

Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Stephen Boyd <sboyd@kernel.org>
CC: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
6 years agoarm64: dts: set initial SR watchdog timeout to 60 seconds
Ray Jui [Mon, 28 May 2018 18:01:36 +0000 (11:01 -0700)]
arm64: dts: set initial SR watchdog timeout to 60 seconds

Set initial Stingray watchdog timeout to 60 seconds

By the time when the userspace watchdog daemon is ready and taking control
over, the watchdog timeout will then be reset to what's configured in the
daemon.

Signed-off-by: Ray Jui <ray.jui@broadcom.com>
Reviewed-by: Vladimir Olovyannikov <vladimir.olovyannikov@broadcom.com>
Reviewed-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
6 years agoARM: dts: tegra: enable NAND flash on Colibri T20
Stefan Agner [Sun, 24 Jun 2018 21:27:27 +0000 (23:27 +0200)]
ARM: dts: tegra: enable NAND flash on Colibri T20

This enables the on-module ONFI conformant NAND flash.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Thierry Reding <treding@nvidia.com>
6 years agoARM: dts: tegra: add Tegra20 NAND flash controller node
Lucas Stach [Sun, 24 Jun 2018 21:27:26 +0000 (23:27 +0200)]
ARM: dts: tegra: add Tegra20 NAND flash controller node

Add basic controller device tree node to be extended by
individual boards. Use the assigned-clocks mechanism to set
NDFLASH clock to a sensible default rate of 150MHz.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Thierry Reding <treding@nvidia.com>
6 years agoARM: tegra: Work safely with 256 MB Colibri-T20 modules
Krzysztof Kozlowski [Mon, 9 Jul 2018 16:05:19 +0000 (18:05 +0200)]
ARM: tegra: Work safely with 256 MB Colibri-T20 modules

Colibri-T20 can come in 256 MB RAM (with 512 MB NAND) or 512 MB RAM
(with 1024 MB NAND) flavors.  Both of them will use the same DTSI
expecting the bootloader to do the fixup of /memory node.  However in
case it does not happen, let's stay on safe side by limiting the memory
to 256 MB for both versions of Colibri-T20.

Rename to remove the unnecessary memory size from the device tree file
name.  While at it, also follow the typical Toradex SoC, module, carrier
board hierarchy.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Stefan Agner <stefan@agner.ch>
Tested-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Thierry Reding <treding@nvidia.com>
6 years agoARM: tegra: Fix unit_address_vs_reg and avoid_unnecessary_addr_size DTC warnings
Krzysztof Kozlowski [Mon, 9 Jul 2018 16:05:18 +0000 (18:05 +0200)]
ARM: tegra: Fix unit_address_vs_reg and avoid_unnecessary_addr_size DTC warnings

Remove unneeded address/size cells properties and unit addresses to fix
DTC warnings like:

    arch/arm/boot/dts/tegra30-apalis-eval.dtb: Warning (unit_address_vs_reg):
        /i2c@7000d000/stmpe811@41/stmpe_touchscreen@0: node has a unit name, but no reg property
    arch/arm/boot/dts/tegra30-apalis-eval.dtb: Warning (avoid_unnecessary_addr_size):
        /i2c@7000d000/stmpe811@41: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Thierry Reding <treding@nvidia.com>
6 years agoARM: tegra: Fix unit_address_vs_reg DTC warnings for /memory
Krzysztof Kozlowski [Mon, 9 Jul 2018 16:05:17 +0000 (18:05 +0200)]
ARM: tegra: Fix unit_address_vs_reg DTC warnings for /memory

Add a generic /memory node in each Tegra DTSI (with empty reg property,
to be overidden by each DTS) and set proper unit address for /memory
nodes to fix the DTC warnings:

    arch/arm/boot/dts/tegra20-harmony.dtb: Warning (unit_address_vs_reg):
        /memory: node has a reg or ranges property, but no unit name

The DTB after the change is the same as before except adding
unit-address to /memory node.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Thierry Reding <treding@nvidia.com>
6 years agoARM: tegra: Remove usage of deprecated skeleton.dtsi
Krzysztof Kozlowski [Mon, 9 Jul 2018 16:05:16 +0000 (18:05 +0200)]
ARM: tegra: Remove usage of deprecated skeleton.dtsi

Remove the usage of skeleton.dtsi because it was deprecated since commit
9c0da3cc61f1 ("ARM: dts: explicitly mark skeleton.dtsi as deprecated").
It also allows later to fix DTC warnings for missing unit name in
/memory nodes.

Compiled DTBs are the same as before this commit.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Thierry Reding <treding@nvidia.com>
6 years agoMerge tag 'bcm2835-dt-next-2018-07-03' into devicetree/next
Florian Fainelli [Mon, 9 Jul 2018 12:19:34 +0000 (05:19 -0700)]
Merge tag 'bcm2835-dt-next-2018-07-03' into devicetree/next

This pull request brings in a board DT for the Raspberry Pi Compute
Module and its I/O board, the Pi3's PMU node, and the display's
transposer block.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
6 years agoARM: dts: BCM5301X: Add support for Linksys EA9500
Vivek Unune [Mon, 18 Jun 2018 17:41:59 +0000 (13:41 -0400)]
ARM: dts: BCM5301X: Add support for Linksys EA9500

Hardware Info
-------------

Processor - Broadcom BCM4709C0KFEBG dual-core @ 1.4 GHz
Switch - BCM53012 in BCM4709C0KFEBG & external BCM53125
DDR3 RAM - 256 MB
Flash - 128 MB (Toshiba TC58BVG0S3HTA00)
2.4GHz - BCM4366 4×4 2.4/5G single chip 802.11ac SoC
Power Amp - Skyworks SE2623L 2.4 GHz power amp (x4)
5GHz x 2 - BCM4366 4×4 2.4/5G single chip 802.11ac SoC
Power Amp - PLX Technology PEX8603 3-lane, 3-port PCIe switch
Ports - 8 Ports, 1 WAN Ports
Antennas - 8 Antennas
Serial Port - @J6 [GND,TX,RX] (VCC NC)    115200 8n1

Tested with OpenWrt built with DSA driver and Kernel v4.14

Signed-off-by: Vivek Unune <npcomplete13@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
6 years agoARM: dts: BCM53573: Add architected timer
Rafał Miłecki [Thu, 14 Jun 2018 16:41:47 +0000 (18:41 +0200)]
ARM: dts: BCM53573: Add architected timer

It's a standard ARM architected timer that was simply missed when
initially adding this .dtsi file.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
6 years agoARM: dts: BCM5301X: Make USB 3.0 PHY use MDIO PHY driver
Vivek Unune [Mon, 9 Apr 2018 22:31:53 +0000 (18:31 -0400)]
ARM: dts: BCM5301X: Make USB 3.0 PHY use MDIO PHY driver

Currently, the USB 3.0 PHY in bcm5301x.dtsi uses platform driver which
requires register range "ccb-mii" <0x18003000 0x1000>. This range
overlaps with MDIO cmd and param registers (<0x18003000 0x8>).
Essentially, the platform driver partly acts like a MDIO bus driver,
hence to use of this register range.

In some Northstar devices like Linksys EA9500, secondary switch is
connected via external MDIO. The only way to access and configure the
external switch is via MDIO bus. When we enable the MDIO bus in it's
current state, the MDIO bus and any child buses fail to register because
of the register range overlap.

On Northstar, the USB 3.0 PHY is connected at address 0x10 on the
internal MDIO bus. This change moves the usb3_phy node and makes it a
child node of internal MDIO bus.

Thanks to Rafał Miłecki's commit af850e14a7ae ("phy: bcm-ns-usb3: add
MDIO driver using proper bus layer") the same USB 3.0 platform driver
can now act as USB 3.0 PHY MDIO driver.

Tested on Linksys Panamera (EA9500)

Signed-off-by: Vivek Unune <npcomplete13@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
6 years agoARM: dts: cygnus: enable iproc-hwrng
Mohamed Ismail Abdul Packir Mohamed [Wed, 6 Jun 2018 18:21:31 +0000 (11:21 -0700)]
ARM: dts: cygnus: enable iproc-hwrng

Enable the HW rng driver "iproc-rng200" for all cygnus platforms.

Signed-off-by: Mohamed Ismail Abdul Packir Mohamed <mohamed-ismail.abdul@broadcom.com>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Tested-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
6 years agoARM: dts: cygnus: add ethernet0 alias
Clément Péron [Thu, 3 May 2018 09:56:18 +0000 (11:56 +0200)]
ARM: dts: cygnus: add ethernet0 alias

In order to avoid Linux generating a random mac address on every boot,
add an ethernet0 alias that will allow u-boot to patch the dtb with
the MAC address.

Signed-off-by: Clément Péron <peron.clem@gmail.com>
Acked-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
6 years agoARM: dts: bcm283x: Add Transposer block
Boris Brezillon [Mon, 2 Jul 2018 12:20:20 +0000 (14:20 +0200)]
ARM: dts: bcm283x: Add Transposer block

The transposer block is allowing one to write the result of the VC4
composition back to memory instead of displaying it on a screen.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Eric Anholt <eric@anholt.net>
6 years agoARM: dts: bcm283x: Add the PMU to the devicetree.
Eric Anholt [Mon, 21 May 2018 18:39:07 +0000 (11:39 -0700)]
ARM: dts: bcm283x: Add the PMU to the devicetree.

This only probes on arm64 so far, but hopefully that driver will be
generalized soon.

Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
6 years agoARM: tegra: Fix can2 on Tegra30 Apalis
Marcel Ziswiler [Tue, 3 Jul 2018 15:03:39 +0000 (17:03 +0200)]
ARM: tegra: Fix can2 on Tegra30 Apalis

CAN2 currently fails on probe as follows:

mcp251x spi1.1: Probe failed, err=19

Fix this by enabling input on pin mux of resp. SPI4 pins.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
6 years agoARM: tegra: Fix Tegra30 Cardhu PCA954x reset
Jon Hunter [Tue, 3 Jul 2018 08:59:47 +0000 (09:59 +0100)]
ARM: tegra: Fix Tegra30 Cardhu PCA954x reset

On all versions of Tegra30 Cardhu, the reset signal to the NXP PCA9546
I2C mux is connected to the Tegra GPIO BB0. Currently, this pin on the
Tegra is not configured as a GPIO but as a special-function IO (SFIO)
that is multiplexing the pin to an I2S controller. On exiting system
suspend, I2C commands sent to the PCA9546 are failing because there is
no ACK. Although it is not possible to see exactly what is happening
to the reset during suspend, by ensuring it is configured as a GPIO
and driven high, to de-assert the reset, the failures are no longer
seen.

Please note that this GPIO is also used to drive the reset signal
going to the camera connector on the board. However, given that there
is no camera support currently for Cardhu, this should not have any
impact.

Fixes: 40431d16ff11 ("ARM: tegra: enable PCA9546 on Cardhu")
Cc: stable@vger.kernel.org
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
6 years agoARM: dts: pandaboard: add gpio user button
Peter Robinson [Wed, 4 Jul 2018 08:37:38 +0000 (09:37 +0100)]
ARM: dts: pandaboard: add gpio user button

The PandaBoard has a user button connected to GPIO. On the ES this is connected
to GPIO 113, on all the other Panda editons this is GPIO 121.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
6 years agoARM: dts: am3517-evm: Add 'vdd_io_reg' regulator references
Derald D. Woods [Wed, 4 Jul 2018 01:48:30 +0000 (20:48 -0500)]
ARM: dts: am3517-evm: Add 'vdd_io_reg' regulator references

There are a few peripherals that generate some extra noise when they
don't have a regulator assigned to them.  This patch assigns them to
their actual tps65023 regulator 'vdd_io_reg' (VDCDC2).

Signed-off-by: Derald D. Woods <woods.technical@gmail.com>
Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
6 years agoARM: dts: tegra30: Add Memory Client reset to VDE
Dmitry Osipenko [Sun, 20 May 2018 13:48:46 +0000 (16:48 +0300)]
ARM: dts: tegra30: Add Memory Client reset to VDE

Hook up Memory Client reset of the Video Decoder to the decoders DT node.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
6 years agoARM: dts: tegra20: Add Memory Client reset to VDE
Dmitry Osipenko [Sun, 20 May 2018 13:48:44 +0000 (16:48 +0300)]
ARM: dts: tegra20: Add Memory Client reset to VDE

Hook up Memory Client reset of the Video Decoder to the decoders DT node.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
6 years agoMerge tag 'keystone_dts_for_4.19' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Sun, 8 Jul 2018 16:10:03 +0000 (09:10 -0700)]
Merge tag 'keystone_dts_for_4.19' of git://git./linux/kernel/git/ssantosh/linux-keystone into next/dt

ARM: Keystone DTS updates for 4.19

 - K2G NIC drriver support
 - Enbale network support for K2G ICE and EVM boards
 - Hardware Ring driver support for k2hk, k2l and k2e socs
 - Add MMC supply for k2g EVM

* tag 'keystone_dts_for_4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone:
  ARM: dts: keystone-k2g-evm: Use sdhci-omap programming model
  ARM: dts: keystone-k2g-evm: Add "vqmmc-supply" property for mmc0/mmc1
  ARM: dts: k2e: add dts node for k2e hw_rng driver
  ARM: dts: k2l: add dts node for k2l hw_rng driver
  ARM: dts: k2hk: add dts node for k2hk hw_rng driver
  ARM: dts: keystone-k2g-ice: Enable netcp network driver
  ARM: dts: keystone-k2g-evm: Enable netcp network driver
  ARM: dts: k2g: add dt bindings to support network driver

Signed-off-by: Olof Johansson <olof@lixom.net>
6 years agoarm64: dts: rockchip: corrected uart1 clock-names for rk3328
Huibin Hong [Fri, 6 Jul 2018 08:03:57 +0000 (16:03 +0800)]
arm64: dts: rockchip: corrected uart1 clock-names for rk3328

Corrected the uart clock-names or the uart driver might fail.

Fixes: 52e02d377a72 ("arm64: dts: rockchip: add core dtsi file for RK3328 SoCs")
Cc: stable@vger.kernel.org
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
6 years agoarm64: dts: rockchip: add Google Bob
Heiko Stuebner [Sat, 2 Jun 2018 16:11:46 +0000 (18:11 +0200)]
arm64: dts: rockchip: add Google Bob

After Kevin, the second chromebook-incarnation of the Gru series is Bob.
This materializes as the Asus Chromebook Flip C101PA, whose formfactor
is quite similar to Minnie from the Veyron series.

Add the devicetree file and binding update for it.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
6 years agoarm64: dts: rockchip: move core edp from rk3399-kevin to shared chromebook
Heiko Stuebner [Sat, 2 Jun 2018 14:06:30 +0000 (16:06 +0200)]
arm64: dts: rockchip: move core edp from rk3399-kevin to shared chromebook

Bob needs the same backlight and core edp settings, so move these nodes to
the shared dtsi that both will use as a base.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
6 years agoarm64: dts: rockchip: move Chromebook-specific Gru-parts to a separate file
Heiko Stuebner [Sat, 2 Jun 2018 06:53:40 +0000 (08:53 +0200)]
arm64: dts: rockchip: move Chromebook-specific Gru-parts to a separate file

Similar to rk3288-Veyron before, the Gru-series does contain Chromebook
(aka clamshell laptops) and non-Chromebook devices. And while the two
Chromebook devices Kevin and Bob are quite similar, Scarlet the tablet-
device is quite different in its design.

Therefore move the Chromebook parts into a gru-chromebook dtsi file
to make sharing easier.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
6 years agoarm64: dts: rockchip: add phandles to some nodes on rk3399-gru
Heiko Stuebner [Sat, 2 Jun 2018 06:58:54 +0000 (08:58 +0200)]
arm64: dts: rockchip: add phandles to some nodes on rk3399-gru

Some nodes will need to be refined on a per board level, so add phandles
to them to reference them later.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
6 years agodt-bindings: samsung: Document bindings for SGH-T959P board
Jonathan Bakker [Sat, 7 Jul 2018 10:09:43 +0000 (12:09 +0200)]
dt-bindings: samsung: Document bindings for SGH-T959P board

Document the binding for Samsung Galaxy S Fascinate 4G (SGH-T959P).

Signed-off-by: Jonathan Bakker <xc-racer2@live.ca>
Signed-off-by: Paweł Chmiel <pawel.mikolaj.chmiel@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
6 years agodt-bindings: samsung: Document bindings for Samsung aries boards
Paweł Chmiel [Sat, 7 Jul 2018 10:09:42 +0000 (12:09 +0200)]
dt-bindings: samsung: Document bindings for Samsung aries boards

Document the binding for Samsung Galaxy S (i9000) phone
and whole Samsung Aries devices family (based on S5PV210).

Also because this is first not Exynos-based devices, document this information
at beginning of file.

Signed-off-by: Paweł Chmiel <pawel.mikolaj.chmiel@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
6 years agoARM: dts: s5pv210: Add initial DTS for SGH-T959P phone
Jonathan Bakker [Sat, 7 Jul 2018 10:09:41 +0000 (12:09 +0200)]
ARM: dts: s5pv210: Add initial DTS for SGH-T959P phone

This DTS file have initial support Samsung SGH-T959P phone,
also known as Samsung Galaxy S 4G or fascinate4g.  It belongs to Samsung
Aries devices family.
Initial version have support for:
 - sdcard
 - max8998 pmic and rtc
 - max17040 fuel gauge
 - gpio keys
 - fimd (no panel driver yet)
 - usb (peripherial mode)
 - wifi

Signed-off-by: Jonathan Bakker <xc-racer2@live.ca>
Signed-off-by: Paweł Chmiel <pawel.mikolaj.chmiel@gmail.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
6 years agoARM: dts: s5pv210: Add initial DTS for Samsung Galaxy S phone
Paweł Chmiel [Sat, 7 Jul 2018 10:09:40 +0000 (12:09 +0200)]
ARM: dts: s5pv210: Add initial DTS for Samsung Galaxy S phone

This DTS file have initial support Samsung Galaxy S phone, also known as
i9000.  It belongs to Samsung Aries devices family.
Initial version have support for:
 - sdcard
 - internal memory
 - max8998 pmic and rtc
 - max17040 fuel gauge
 - gpio keys
 - fimd (no panel driver yet)
 - usb (peripherial mode)
 - wifi

Signed-off-by: Paweł Chmiel <pawel.mikolaj.chmiel@gmail.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
6 years agoARM: dts: s5pv210: Add initial DTS for Samsung Aries based phones
Paweł Chmiel [Sat, 7 Jul 2018 10:09:39 +0000 (12:09 +0200)]
ARM: dts: s5pv210: Add initial DTS for Samsung Aries based phones

This DTS file have initial support Samsung Aries based phones.
Initial version have support for:
 - sdcard
 - internal memory (present only on non 4g variant)
 - max8998 pmic and rtc
 - max17040 fuel gauge
 - gpio keys
 - fimd (no panel driver yet)
 - usb (peripherial mode)
 - wifi

Signed-off-by: Paweł Chmiel <pawel.mikolaj.chmiel@gmail.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
6 years agoARM: dts: s5pv210: Add missing interrupt-controller property to gph2
Paweł Chmiel [Fri, 6 Jul 2018 18:32:42 +0000 (20:32 +0200)]
ARM: dts: s5pv210: Add missing interrupt-controller property to gph2

Adds missing interrupt-controller property to gph2 block,
to silence following warnings during build:

    /soc/pinctrl@e0200000/gph2: Missing interrupt-controller or interrupt-map property

It's reguired by Samsung Aries boards, an S5PV210 based
Samsung Galaxy S (i9000) and Galaxy S 4G phones, which are added in next patches.

Signed-off-by: Paweł Chmiel <pawel.mikolaj.chmiel@gmail.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
6 years agoarm64: dts: rockchip: add some common pin-settings to rk3399
Randy Li [Thu, 21 Jun 2018 13:32:10 +0000 (21:32 +0800)]
arm64: dts: rockchip: add some common pin-settings to rk3399

Those pins would be used by many boards.

Signed-off-by: Randy Li <ayaka@soulik.info>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
6 years agoARM: dts: am3517-evm: Enable USB1 Host
Adam Ford [Sat, 23 Jun 2018 13:24:03 +0000 (08:24 -0500)]
ARM: dts: am3517-evm: Enable USB1 Host

The AM3517-evm has a single USB Host port connected to hsusb1.
This patch enables that USB port.

Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
6 years agoARM: dts: am33xx: Fix syntax of alias names
Felix Brack [Mon, 11 Jun 2018 14:45:53 +0000 (16:45 +0200)]
ARM: dts: am33xx: Fix syntax of alias names

DT specifications do not allow the underscore character in alias names.
Replace all underscores in alias names by dashes.

Signed-off-by: Felix Brack <fb@ltec.ch>
Signed-off-by: Tony Lindgren <tony@atomide.com>
6 years agoARM: dts: am3517-som: Add builtin Bluetooth
Adam Ford [Fri, 8 Jun 2018 11:27:36 +0000 (06:27 -0500)]
ARM: dts: am3517-som:  Add builtin Bluetooth

This enables the Bluetooth on the wl1271 available in some models
of the AM3517-SOM from Logic PD.

Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
6 years agoARM: dts: am3517-som: Add WL127x Wifi
Adam Ford [Fri, 8 Jun 2018 11:29:26 +0000 (06:29 -0500)]
ARM: dts: am3517-som: Add WL127x Wifi

Certain models of the AM3517 SOM from Logic PD come with an
integrated WL1271 WiFi.  This patch enables the WiFi.

Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
6 years agoARM: dts: am335x-sl50: enable tsadc on SL50 board
Enric Balletbo i Serra [Wed, 6 Jun 2018 15:54:13 +0000 (17:54 +0200)]
ARM: dts: am335x-sl50: enable tsadc on SL50 board

The tsadc is used to read various voltages on the board, so enable it
to be able to read these voltages from userspace.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
6 years agoARM: dts: am335x-sl50: fix label names for all LEDs
Enric Balletbo i Serra [Wed, 6 Jun 2018 15:54:12 +0000 (17:54 +0200)]
ARM: dts: am335x-sl50: fix label names for all LEDs

Fix the label for all LEDs, we made a mistake setting the label names on
all LEDs, where says green should say red, and viceversa, where says red
should be green.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
6 years agoARM: dts: am335x-sl50: use audio-graph-card for sound
Enric Balletbo i Serra [Wed, 6 Jun 2018 15:54:11 +0000 (17:54 +0200)]
ARM: dts: am335x-sl50: use audio-graph-card for sound

audio-graph-card is recommended for audio bindings. Let's change to it and
improve the support by adding the Amplifier configuration and the clock
enable control.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
6 years agoARM: dts: am335x-sl50: add support for DS1339 Real Time Clock
Enric Balletbo i Serra [Wed, 6 Jun 2018 15:54:10 +0000 (17:54 +0200)]
ARM: dts: am335x-sl50: add support for DS1339 Real Time Clock

Production hardware will go with the DS1339 RTC chip, so replace the old
for the new one and also add the nIRQ pin to be able to properly wakeup
the system from suspend.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
6 years agoARM: dts: am335x-sl50: set dr_mode to otg
Enric Balletbo i Serra [Wed, 6 Jun 2018 15:54:09 +0000 (17:54 +0200)]
ARM: dts: am335x-sl50: set dr_mode to otg

The board can be either a host, or a peripheral, so set the controller as
OTG mode to reflect this.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
6 years agoARM: dts: am335x-sl50: add a node for the LCD controller
Enric Balletbo i Serra [Wed, 6 Jun 2018 15:54:08 +0000 (17:54 +0200)]
ARM: dts: am335x-sl50: add a node for the LCD controller

Add the pins used by the LCD controller, the panel-info and display-timings
information for the MIDAS displays connected to the board. There are
two displays in the board, and these, are connected to the LCD controller
through a FPGA, so the timings and the resolution is what expects the FPGA,
not the MIDAS displays.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
6 years agoARM: dts: am335x-sl50: use phy-phandle declarations
Enric Balletbo i Serra [Wed, 6 Jun 2018 15:54:07 +0000 (17:54 +0200)]
ARM: dts: am335x-sl50: use phy-phandle declarations

phy-phandle is now a preferred method to reference a PHY device. The new
method also allows you to specify a reset gpio which is required for
this board.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
6 years agoARM: dts: am335x-sl50: update backlight nodes
Enric Balletbo i Serra [Wed, 6 Jun 2018 15:54:06 +0000 (17:54 +0200)]
ARM: dts: am335x-sl50: update backlight nodes

This patch updates the backlight nodes to improve the support and describe
better how hardware is done. The changes done were:

 * Use PWM_POLARITY_INVERTED instead of the hardcoded number.
 * Add pinctrl configuration.
 * Add the enable gpio definition.
 * Add the power supply definition.
 * Add more brightness levels.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
6 years agoARM: dts: omap4-droid4: Use software debounce for gpio-keys
Tony Lindgren [Tue, 3 Jul 2018 06:57:42 +0000 (23:57 -0700)]
ARM: dts: omap4-droid4: Use software debounce for gpio-keys

The default value of 5ms will use GPIO hardware based debounce clocks
that will keep L4PER from idling consuming about extra 30mW.

Use a value of 10ms that is above the hardware debounce maximum of
7.95ms forcing software based debouncing.

This allows droid4 to enter PER retention during idle as long as UARTs
are idled and USB modules unloaded or unbound.

Note that there seems to be a pending issue with having droid 4 enter core
retention during idle where GPIO bank 1 needs to be reset late after init
for some reason to not block core retention. In addition to that, we are
also missing GPIO related PM runtime calls for omap4 that will be posted
separately.

Cc: Marcel Partap <mpartap@gmx.net>
Cc: Merlijn Wajer <merlijn@wizzup.org>
Cc: Michael Scott <hashcode0f@gmail.com>
Cc: NeKit <nekit1000@gmail.com>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
6 years agoARM: dts: Configure duovero for to allow core retention during idle
Tony Lindgren [Tue, 3 Jul 2018 06:57:32 +0000 (23:57 -0700)]
ARM: dts: Configure duovero for to allow core retention during idle

By reconfiguring few GPIOs in the dts file we can make duovero parlor
hit retention during idle:

1. Let's a larger debounce value for gpio-keys

This will then make gpio-keys use software debounce and the GPIO
debounce clock is not enabled.

2. Let's allow WLAN suspend for mwifiex

This can be done just by adding keep-power-in-suspend.

3. Let's reconfigure smsc911x driver to use GPIO edge interrupt

This will allow using NFSroot while the system idles, and the kernel
has quite a few dts files with "smsc,lan9115" compatible using edge
interrupts.

Then to have the system hit core retention during idle, the UARTs
needs to be idled and USB modules need to be unloaded or unbound.

Cc: Ash Charles <ash@gumstix.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
6 years agoARM: dts: Improve omap l4per idling with wlcore edge sensitive interrupt
Tony Lindgren [Tue, 3 Jul 2018 06:57:20 +0000 (23:57 -0700)]
ARM: dts: Improve omap l4per idling with wlcore edge sensitive interrupt

The wl1835mod.pdf data sheet says this pretty clearly for WL_IRQ line:

"WLAN SDIO out-of-band interrupt line. Set to rising edge (active high)
by default."

And it seems this interrupt can be optionally configured to use falling
edge too since commit bd763482c82e ("wl18xx: wlan_irq: support platform
dependent interrupt types").

On omap4, if the wlcore interrupt is configured as level instead of edge,
L4PER will stop doing hardware based idling after ifconfig wlan0 down is
done and the WL_EN line is pulled down.

The symptoms show up with L4PER status registers no longer showing the
IDLEST bits as 2 but as 0 for all the active GPIO banks and for
L4PER_CLKCTRL. Also the l4per_pwrdm RET count stops increasing in
the /sys/kernel/debug/pm_debug/count.

While there is also probably a GPIO related issue that needs to be
still fixed, this change gets us to the point where we can have L4PER
idling.

I'm guessing wlcore was at some point configured to use level interrupts
because of edge handling issues in gpio-omap. However, with the recent
fixes to gpio-omap the edge interrupts seem to be working just fine.

Let's change it for all omap boards with wlcore interrupt set as level.

Cc: Dave Gerlach <d-gerlach@ti.com>
Cc: Eyal Reizer <eyalr@ti.com>
Cc: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: Nishanth Menon <nm@ti.com>
Cc: Tero Kristo <t-kristo@ti.com>
[tony@atomide.com updated comments a bit for gpio issue]
Signed-off-by: Tony Lindgren <tony@atomide.com>