platform/kernel/linux-starfive.git
5 years agoMerge commit 'ce32d59ee2cd036f6e8a6ed17a06a0b0bec5c67c' into omap-for-v4.21/dt-ti...
Tony Lindgren [Thu, 18 Oct 2018 16:55:46 +0000 (09:55 -0700)]
Merge commit 'ce32d59ee2cd036f6e8a6ed17a06a0b0bec5c67c' into omap-for-v4.21/dt-ti-sysc

5 years agoMerge commit 'd6e7bbc148f9fbec8a0117b0d0f420c9710e6d81' into omap-for-v4.21/dt-ti...
Tony Lindgren [Thu, 18 Oct 2018 16:47:50 +0000 (09:47 -0700)]
Merge commit 'd6e7bbc148f9fbec8a0117b0d0f420c9710e6d81' into omap-for-v4.21/dt-ti-sysc

5 years agoclk: ti: Add functions to save/restore clk context
Russ Dill [Tue, 4 Sep 2018 06:49:37 +0000 (12:19 +0530)]
clk: ti: Add functions to save/restore clk context

SoCs like AM43XX lose clock registers context during RTC-only
suspend. Hence add functions to save/restore the clock registers
context.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Russ Dill <Russ.Dill@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
5 years agoclk: clk: Add clk_gate_restore_context function
Keerthy [Tue, 4 Sep 2018 06:49:36 +0000 (12:19 +0530)]
clk: clk: Add clk_gate_restore_context function

The clock gate restore context function enables or disables
the gate clocks based on the enable_count. This is done in cases
where the clock context is lost and based on the enable_count
the clock either needs to be enabled/disabled.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
5 years agoclk: Add functions to save/restore clock context en-masse
Russ Dill [Tue, 4 Sep 2018 06:49:35 +0000 (12:19 +0530)]
clk: Add functions to save/restore clock context en-masse

Deep enough power saving mode can result into losing context of the clock
registers also, and they need to be restored once coming back from the power
saving mode. Hence add functions to save/restore clock context.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Russ Dill <Russ.Dill@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
5 years agoclk: ti: dra7: add new clkctrl data
Tero Kristo [Mon, 13 Aug 2018 11:30:49 +0000 (14:30 +0300)]
clk: ti: dra7: add new clkctrl data

The new clkctrl data layout for dra7xx is split based on clockdomain
boundaries. Previously the split was based on CM boundaries. This patch
adds the new data as separate data entity, retaining the compatibility
data also for now. The compatibility data can be removed once no longer
needed.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
5 years agoclk: ti: dra7xx: rename existing clkctrl data as compat data
Tero Kristo [Mon, 13 Aug 2018 08:11:33 +0000 (11:11 +0300)]
clk: ti: dra7xx: rename existing clkctrl data as compat data

Rename the existing clkctrl data in preparation of upcoming clkdm
based split for it. Once the DT data has transitioned also, the
compat data can be removed.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
5 years agoclk: ti: am43xx: add new clkctrl data for am43xx
Tero Kristo [Mon, 13 Aug 2018 07:48:52 +0000 (10:48 +0300)]
clk: ti: am43xx: add new clkctrl data for am43xx

The new clkctrl data layout for am43xx is split based on clockdomain
boundaries. Previously the split was based on CM boundaries. This patch
adds the new data as separate data entity, retaining the compatibility
data also for now. The compatibility data can be removed once no longer
needed.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
5 years agoclk: ti: am43xx: rename existing clkctrl data as compat data
Tero Kristo [Mon, 13 Aug 2018 07:38:40 +0000 (10:38 +0300)]
clk: ti: am43xx: rename existing clkctrl data as compat data

Rename the existing clkctrl data in preparation of upcoming clkdm
based split for it. Once the DT data has transitioned also, the
compat data can be removed.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
5 years agoclk: ti: am33xx: add new clkctrl data for am33xx
Tero Kristo [Fri, 10 Aug 2018 15:35:03 +0000 (18:35 +0300)]
clk: ti: am33xx: add new clkctrl data for am33xx

The new clkctrl data layout for am33xx is split based on clockdomain
boundaries. Previously the split was based on CM boundaries. This patch
adds the new data as separate data entity, retaining the compatibility
data also for now. The compatibility data can be removed once no longer
needed.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
5 years agoclk: ti: am33xx: rename existing clkctrl data as compat data
Tero Kristo [Fri, 10 Aug 2018 15:22:02 +0000 (18:22 +0300)]
clk: ti: am33xx: rename existing clkctrl data as compat data

Rename the existing clkctrl data in preparation of upcoming clkdm
based split for it. Once the DT data has transitioned also, the
compat data can be removed.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
5 years agoclk: ti: clkctrl: replace dashes from clkdm name with underscore
Tero Kristo [Thu, 30 Aug 2018 06:58:31 +0000 (09:58 +0300)]
clk: ti: clkctrl: replace dashes from clkdm name with underscore

The change in the DTS data node naming prevents using underscore
within the node names and force usage of dash instead. On the other
hand, clockdomains use underscore instead of dash, so this must be
replaced within the driver code so that the mapping between the two
can be done properly.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
5 years agoclk: ti: clkctrl: support multiple clkctrl nodes under a cm node
Tero Kristo [Fri, 10 Aug 2018 08:29:09 +0000 (11:29 +0300)]
clk: ti: clkctrl: support multiple clkctrl nodes under a cm node

Currently, only one clkctrl node can be added under a specific CM node
due to limitation with the implementation. Modify the code to pick-up
clockdomain name from the clkctrl node instead of CM node if provided.
Also, add a new flag to the TI clock driver so that both modes can
be supported simultaneously.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
5 years agodt-bindings: clock: dra7xx: add clkctrl indices for new data layout
Tero Kristo [Fri, 31 Aug 2018 14:44:09 +0000 (17:44 +0300)]
dt-bindings: clock: dra7xx: add clkctrl indices for new data layout

The new data layout will be split based on clockdomain boundaries, instead
of CM boundaries. This introduces a few new clkctrl providers, that have
different indices for the clkctrl data.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
5 years agodt-bindings: clock: am43xx: add clkctrl indices for new data layout
Tero Kristo [Fri, 31 Aug 2018 14:42:31 +0000 (17:42 +0300)]
dt-bindings: clock: am43xx: add clkctrl indices for new data layout

The new data layout will be split based on clockdomain boundaries, instead
of CM boundaries. This introduces a few new clkctrl providers, that have
different indices for the clkctrl data.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
5 years agodt-bindings: clock: am33xx: add clkctrl indices for new data layout
Tero Kristo [Fri, 31 Aug 2018 14:38:57 +0000 (17:38 +0300)]
dt-bindings: clock: am33xx: add clkctrl indices for new data layout

The new data layout will be split based on clockdomain boundaries, instead
of CM boundaries. This introduces a few new clkctrl providers, that have
different indices for the clkctrl data.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: am335x: Replace remaining legacy phy_id with phy-handle
Tony Lindgren [Fri, 28 Sep 2018 20:32:01 +0000 (13:32 -0700)]
ARM: dts: am335x: Replace remaining legacy phy_id with phy-handle

Looks like we still have two instances of phy_handle that did not
get update by Grygorii's series. Let's replace these too with
standard phy-handle.

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Neeraj Dantu <dantuguf14105@gmail.com>
Reported-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: am335x: add support for Moxa UC-2101 open platform
SZ Lin (林上智) [Fri, 28 Sep 2018 10:47:52 +0000 (18:47 +0800)]
ARM: dts: am335x: add support for Moxa UC-2101 open platform

Add support for Moxa UC-2101 open platform

The UC-2101 computing platform is designed for industrial embedded
data acquisition and processing applications.

The features of UC-2101 are:
* eMMC
* SPI flash
* 1x LAN
* 1x RS-232/422/485 ports, software-selectable
* EEPROM
* TPM 2.0
* Watchdog
* RTC
* User gpio-keys
* User LEDs
* User button

Signed-off-by: Wes Huang (黃淵河) <wes.huang@moxa.com>
Signed-off-by: Fero JD Zhou (周俊達) <FeroJD.Zhou@moxa.com>
Signed-off-by: SZ Lin (林上智) <sz.lin@moxa.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: am335x: add common file for UC-2100 series
SZ Lin (林上智) [Fri, 28 Sep 2018 10:47:16 +0000 (18:47 +0800)]
ARM: dts: am335x: add common file for UC-2100 series

The UC-2100 series consists many boards with different peripheral
devices and wireless modules, hence we fetch common items and
create a common dtsi file to increase reusability. All boards in
UC-2100 series will include this common dtsi file.

Signed-off-by: Wes Huang (黃淵河) <wes.huang@moxa.com>
Signed-off-by: Fero JD Zhou (周俊達) <FeroJD.Zhou@moxa.com>
Signed-off-by: SZ Lin (林上智) <sz.lin@moxa.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap5: enable OTG role for DWC3 controller
H. Nikolaus Schaller [Fri, 28 Sep 2018 15:54:00 +0000 (17:54 +0200)]
ARM: dts: omap5: enable OTG role for DWC3 controller

Since SMPS10 and OTG cable detection extcon are described here, and
work to enable OTG power when an OTG cable is plugged in, we can
define OTG mode in the controller (which is disabled by default in
omap5.dtsi).

Tested on OMAP5EVM and Pyra.

Suggested-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: dra7: Enable workaround for errata i870 in PCIe host mode
Vignesh R [Fri, 28 Sep 2018 06:04:42 +0000 (11:34 +0530)]
ARM: dts: dra7: Enable workaround for errata i870 in PCIe host mode

Add ti,syscon-unaligned-access property to PCIe RC nodes to set
appropriate bits in CTRL_CORE_SMA_SW_7 register to enable workaround for
errata i870.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: dra7: Fix up unaligned access setting for PCIe EP
Vignesh R [Tue, 25 Sep 2018 05:21:51 +0000 (10:51 +0530)]
ARM: dts: dra7: Fix up unaligned access setting for PCIe EP

Bit positions of PCIE_SS1_AXI2OCP_LEGACY_MODE_ENABLE and
PCIE_SS1_AXI2OCP_LEGACY_MODE_ENABLE in CTRL_CORE_SMA_SW_7 are
incorrectly documented in the TRM. In fact, the bit positions are
swapped. Update the DT bindings for PCIe EP to reflect the same.

Fixes: d23f3839fe97 ("ARM: dts: DRA7: Add pcie1 dt node for EP mode")
Cc: stable@vger.kernel.org
Signed-off-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: add omap3-gta04a5one to Makefile
H. Nikolaus Schaller [Tue, 25 Sep 2018 06:04:24 +0000 (08:04 +0200)]
ARM: dts: add omap3-gta04a5one to Makefile

We have defined a new DTS and it should be compiled.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04: add pulldown/up settings for twl4030 gpio
Andreas Kemnade [Mon, 24 Sep 2018 17:29:57 +0000 (19:29 +0200)]
ARM: dts: omap3-gta04: add pulldown/up settings for twl4030 gpio

Pullup and down settings were missing, so add them to avoid
floating pins and make headset detection working.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: am335x-boneblack: add cec support
Hans Verkuil [Mon, 24 Sep 2018 11:01:46 +0000 (13:01 +0200)]
ARM: dts: am335x-boneblack: add cec support

Add CEC support to the tda998x.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: am3517-evm: Add support for UI board and Audio
Adam Ford [Sun, 23 Sep 2018 15:37:17 +0000 (10:37 -0500)]
ARM: dts: am3517-evm: Add support for UI board and Audio

The full AM3517-EVM shipped with an add-on board which contained
two Audio codecs, a GPIO expander with a variety of buttons, and
some other features.  This patch enables these portions of the UI
board because they don't directly conflict with existing features.

Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: gta04: add serial console wakeup irq
Andreas Kemnade [Sun, 23 Sep 2018 15:07:19 +0000 (17:07 +0200)]
ARM: dts: gta04: add serial console wakeup irq

This enables the possibility to have more aggressive runtime pm
by providing proper wakeup irq for the serial console.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: am57xx-idk-common: Hook smps12 regulator as cpu vdd-supply
Keerthy [Fri, 21 Sep 2018 11:22:58 +0000 (16:52 +0530)]
ARM: dts: am57xx-idk-common: Hook smps12 regulator as cpu vdd-supply

am574x-idk has no cpu vdd-supply at the moment. Hence hook smps12
regulator as cpu vdd-supply in am57xx-idk-common as the same regulator
feeds on to cpu on am571/2/4-idks. So remove all the individual
instances and place that in common place.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap: Update coresight bindings for hardware ports
Suzuki K Poulose [Wed, 12 Sep 2018 13:53:49 +0000 (14:53 +0100)]
ARM: dts: omap: Update coresight bindings for hardware ports

Switch to the new coresight bindings for hardware ports

Cc: linux-omap@vger.kernel.org
Cc: "Benoît Cousson" <bcousson@baylibre.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: ti: Fix SPI and I2C bus warnings
Rob Herring [Thu, 13 Sep 2018 18:12:25 +0000 (13:12 -0500)]
ARM: dts: ti: Fix SPI and I2C bus warnings

dtc has new checks for I2C and SPI buses. Fix the warnings in node names
and unit-addresses.

arch/arm/boot/dts/am437x-idk-evm.dtb: Warning (spi_bus_bridge): /ocp@44000000/qspi@47900000: node name for SPI buses should be 'spi'
arch/arm/boot/dts/am437x-sk-evm.dtb: Warning (spi_bus_bridge): /ocp@44000000/qspi@47900000: node name for SPI buses should be 'spi'
arch/arm/boot/dts/am43x-epos-evm.dtb: Warning (spi_bus_bridge): /ocp@44000000/qspi@47900000: node name for SPI buses should be 'spi'
arch/arm/boot/dts/omap3-n9.dtb: Warning (i2c_bus_reg): /ocp@68000000/i2c@48060000/ak8975@0f: I2C bus unit address format error, expected "f"
arch/arm/boot/dts/am335x-osd3358-sm-red.dtb: Warning (i2c_bus_reg): /ocp/i2c@44e0b000/pressure@78: I2C bus unit address format error, expected "76"
arch/arm/boot/dts/am335x-boneblack.dtb: Warning (i2c_bus_reg): /ocp/i2c@44e0b000/tda19988: I2C bus unit address format error, expected "70"
arch/arm/boot/dts/am335x-boneblack-wireless.dtb: Warning (i2c_bus_reg): /ocp/i2c@44e0b000/tda19988: I2C bus unit address format error, expected "70"
arch/arm/boot/dts/am335x-sancloud-bbe.dtb: Warning (i2c_bus_reg): /ocp/i2c@44e0b000/tda19988: I2C bus unit address format error, expected "70"
arch/arm/boot/dts/am571x-idk.dtb: Warning (spi_bus_bridge): /ocp/qspi@4b300000: node name for SPI buses should be 'spi'
arch/arm/boot/dts/am572x-idk.dtb: Warning (spi_bus_bridge): /ocp/qspi@4b300000: node name for SPI buses should be 'spi'
arch/arm/boot/dts/am574x-idk.dtb: Warning (spi_bus_bridge): /ocp/qspi@4b300000: node name for SPI buses should be 'spi'
arch/arm/boot/dts/am57xx-cl-som-am57x.dtb: Warning (spi_bus_bridge): /ocp/qspi@4b300000: node name for SPI buses should be 'spi'
arch/arm/boot/dts/am57xx-sbc-am57x.dtb: Warning (spi_bus_bridge): /ocp/qspi@4b300000: node name for SPI buses should be 'spi'
arch/arm/boot/dts/dra72-evm.dtb: Warning (spi_bus_bridge): /ocp/qspi@4b300000: node name for SPI buses should be 'spi'
arch/arm/boot/dts/dra72-evm-revc.dtb: Warning (spi_bus_bridge): /ocp/qspi@4b300000: node name for SPI buses should be 'spi'
arch/arm/boot/dts/dra76-evm.dtb: Warning (spi_bus_bridge): /ocp/qspi@4b300000: node name for SPI buses should be 'spi'
arch/arm/boot/dts/dra7-evm.dtb: Warning (spi_bus_bridge): /ocp/qspi@4b300000: node name for SPI buses should be 'spi'
arch/arm/boot/dts/am335x-pdu001.dtb: Warning (spi_bus_reg): /ocp/spi@481a0000/cfaf240320a032t: SPI bus unit address format error, expected "0"
arch/arm/boot/dts/keystone-k2g-evm.dtb: Warning (spi_bus_bridge): /soc@0/qspi@2940000: node name for SPI buses should be 'spi'
arch/arm/boot/dts/keystone-k2g-ice.dtb: Warning (spi_bus_bridge): /soc@0/qspi@2940000: node name for SPI buses should be 'spi'

Cc: "Benoît Cousson" <bcousson@baylibre.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Santosh Shilimkar <ssantosh@kernel.org>
Cc: linux-omap@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
[tony@atomide.com: fixed mode to 644 for am335x-osd3358-sm-red.dts while at it]
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: dra62x-j5eco-evm: get rid of phy_id property
Grygorii Strashko [Mon, 10 Sep 2018 22:57:55 +0000 (17:57 -0500)]
ARM: dts: dra62x-j5eco-evm: get rid of phy_id property

The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: dm8148-t410: get rid of phy_id property
Grygorii Strashko [Mon, 10 Sep 2018 22:57:54 +0000 (17:57 -0500)]
ARM: dts: dm8148-t410: get rid of phy_id property

The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: dm8148-evm: get rid of phy_id property
Grygorii Strashko [Mon, 10 Sep 2018 22:57:53 +0000 (17:57 -0500)]
ARM: dts: dm8148-evm: get rid of phy_id property

The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: am57xx-cl-som-am57x: get rid of phy_id property
Grygorii Strashko [Mon, 10 Sep 2018 22:57:52 +0000 (17:57 -0500)]
ARM: dts: am57xx-cl-som-am57x: get rid of phy_id property

The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: am57xx-idk-common: get rid of phy_id property
Grygorii Strashko [Mon, 10 Sep 2018 22:57:51 +0000 (17:57 -0500)]
ARM: dts: am57xx-idk-common: get rid of phy_id property

The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: dra7-evm: get rid of phy_id property
Grygorii Strashko [Mon, 10 Sep 2018 22:57:50 +0000 (17:57 -0500)]
ARM: dts: dra7-evm: get rid of phy_id property

The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: dra71-evm: get rid of phy_id property
Grygorii Strashko [Mon, 10 Sep 2018 22:57:49 +0000 (17:57 -0500)]
ARM: dts: dra71-evm: get rid of phy_id property

The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: dra72-evm-revc: get rid of phy_id property
Grygorii Strashko [Mon, 10 Sep 2018 22:57:48 +0000 (17:57 -0500)]
ARM: dts: dra72-evm-revc: get rid of phy_id property

The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: dra72-evm: get rid of phy_id property
Grygorii Strashko [Mon, 10 Sep 2018 22:57:47 +0000 (17:57 -0500)]
ARM: dts: dra72-evm: get rid of phy_id property

The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: dra76-evm: get rid of phy_id property
Grygorii Strashko [Mon, 10 Sep 2018 22:57:46 +0000 (17:57 -0500)]
ARM: dts: dra76-evm: get rid of phy_id property

The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: am437x-cm-t43: get rid of phy_id property
Grygorii Strashko [Mon, 10 Sep 2018 22:57:45 +0000 (17:57 -0500)]
ARM: dts: am437x-cm-t43: get rid of phy_id property

The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: am437x-gp-evm: get rid of phy_id property
Grygorii Strashko [Mon, 10 Sep 2018 22:57:44 +0000 (17:57 -0500)]
ARM: dts: am437x-gp-evm: get rid of phy_id property

The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: am437x-idk-evm: get rid of phy_id property
Grygorii Strashko [Mon, 10 Sep 2018 22:57:43 +0000 (17:57 -0500)]
ARM: dts: am437x-idk-evm: get rid of phy_id property

The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: am437x-sk-evm: get rid of phy_id property
Grygorii Strashko [Mon, 10 Sep 2018 22:57:42 +0000 (17:57 -0500)]
ARM: dts: am437x-sk-evm: get rid of phy_id property

The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: am43x-epos-evm: get rid of phy_id property
Grygorii Strashko [Mon, 10 Sep 2018 22:57:41 +0000 (17:57 -0500)]
ARM: dts: am43x-epos-evm: get rid of phy_id property

The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: am335x-bone-common: get rid of phy_id property
Grygorii Strashko [Sun, 9 Sep 2018 00:05:08 +0000 (19:05 -0500)]
ARM: dts: am335x-bone-common: get rid of phy_id property

The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: am335x-chiliboard: get rid of phy_id property
Grygorii Strashko [Sun, 9 Sep 2018 00:05:07 +0000 (19:05 -0500)]
ARM: dts: am335x-chiliboard: get rid of phy_id property

The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: am335x-cm-t335: get rid of phy_id property
Grygorii Strashko [Sun, 9 Sep 2018 00:05:06 +0000 (19:05 -0500)]
ARM: dts: am335x-cm-t335: get rid of phy_id property

The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: am335x-evmsk: get rid of phy_id property
Grygorii Strashko [Sun, 9 Sep 2018 00:05:05 +0000 (19:05 -0500)]
ARM: dts: am335x-evmsk: get rid of phy_id property

The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: am335x-igep0033: get rid of phy_id property
Grygorii Strashko [Sun, 9 Sep 2018 00:05:04 +0000 (19:05 -0500)]
ARM: dts: am335x-igep0033: get rid of phy_id property

The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: am335x-lxm: get rid of phy_id property
Grygorii Strashko [Sun, 9 Sep 2018 00:05:03 +0000 (19:05 -0500)]
ARM: dts: am335x-lxm: get rid of phy_id property

The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: am335x-moxa-uc-8100-me-t: get rid of phy_id property
Grygorii Strashko [Sun, 9 Sep 2018 00:05:02 +0000 (19:05 -0500)]
ARM: dts: am335x-moxa-uc-8100-me-t: get rid of phy_id property

The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: am335x-nano: get rid of phy_id property
Grygorii Strashko [Sun, 9 Sep 2018 00:05:01 +0000 (19:05 -0500)]
ARM: dts: am335x-nano: get rid of phy_id property

The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: am335x-pdu001: get rid of phy_id property
Grygorii Strashko [Sun, 9 Sep 2018 00:05:00 +0000 (19:05 -0500)]
ARM: dts: am335x-pdu001: get rid of phy_id property

The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: am335x-pepper: get rid of phy_id property
Grygorii Strashko [Sun, 9 Sep 2018 00:04:59 +0000 (19:04 -0500)]
ARM: dts: am335x-pepper: get rid of phy_id property

The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: am335x-shc: get rid of phy_id property
Grygorii Strashko [Sun, 9 Sep 2018 00:04:57 +0000 (19:04 -0500)]
ARM: dts: am335x-shc: get rid of phy_id property

The phy_id property is deprecated and phy-handle has to be used instead.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoMerge branch 'am335x-evm-port-fix' into omap-for-v4.20/dt
Tony Lindgren [Thu, 20 Sep 2018 21:30:45 +0000 (14:30 -0700)]
Merge branch 'am335x-evm-port-fix' into omap-for-v4.20/dt

5 years agoARM: dts: am335x-evm: fix number of cpsw
Grygorii Strashko [Sat, 8 Sep 2018 22:33:40 +0000 (17:33 -0500)]
ARM: dts: am335x-evm: fix number of cpsw

am335x-evm has only one CPSW external port physically wired, but DT defines
2 ext. ports. As result, PHY connection failure reported for the second
ext. port.

Update DT to reflect am335x-evm board HW configuration, and, while here,
switch to use phy-handle instead of phy_id.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: am571x-idk: Add Industrial input load trigger
Andrew F. Davis [Fri, 31 Aug 2018 19:34:03 +0000 (14:34 -0500)]
ARM: dts: am571x-idk: Add Industrial input load trigger

The SN65HVS882 load trigger is attached to GPIO2_23 on the AM571x IDK.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: am572x-idk: Add tricolor Industrial LED support
Andrew F. Davis [Fri, 31 Aug 2018 19:34:02 +0000 (14:34 -0500)]
ARM: dts: am572x-idk: Add tricolor Industrial LED support

AM572x-IDK rev 1.3A has tricolor RGB LEDs that can be controlled using
GPIO. Expose these to userspace for usage as necessary.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: am571x-idk: Add tricolor Industrial LED support
Andrew F. Davis [Fri, 31 Aug 2018 19:34:01 +0000 (14:34 -0500)]
ARM: dts: am571x-idk: Add tricolor Industrial LED support

AM571x-IDK rev 1.2A has tricolor RGB LEDs that can be controlled using
GPIO. Expose these to userspace for usage as necessary.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04a5one: define GTA04A5 variant with OneNAND
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:35 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04a5one: define GTA04A5 variant with OneNAND

GTA04A5 has been produced with MCP chips either with
 512MB RAM +  512MB NAND
 512MB RAM + 1024MB NAND
1024MB RAM +  512MB OneNAND

RAM setup is done by U-Boot (MLO/SPL) but OneNAND needs
a different setup of the GPMC. So we need to derive a
DTB variant that modifies the gpmc and nand setup.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04a5: define pinmux for bluetooth enable of ti,wl1837 module
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:34 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04a5: define pinmux for bluetooth enable of ti,wl1837 module

Properly pinmux the bluetooth enable so that it is not floating.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04a5: uses different sensors than gta04a4
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:33 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04a5: uses different sensors than gta04a4

Sensors for acceleration, rotation, magnetic heading and
barometer have been replaced in the A5 variant.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04a5: add support for ti,wl1837 module
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:32 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04a5: add support for ti,wl1837 module

GTA04A5 uses a ti,wl1837 WiFi/Bluetooth module. Overwrite
the mmc2 node and child.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04a5: disable IrDA receiver to save power
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:31 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04a5: disable IrDA receiver to save power

The GTA04A5 has an improved IrDA circuit that can enable/disable
the receiver individually. We do not have an IrDA driver/subsystem
and hence the receiver should be actively turned off to save power,
especially in suspend.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04a5: add support for PPS
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:30 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04a5: add support for PPS

GPS receiver provides a 1PPS signal to a gpio.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04a5: fix whitepsace and tab style
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:29 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04a5: fix whitepsace and tab style

in node sound / property ti,jack-det-gpio.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04a5: fix model name
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:28 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04a5: fix model name

GTA04 is the project name and Letux 2804 the product name.
Report both.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04a5: fix copyright of A5 variant
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:27 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04a5: fix copyright of A5 variant

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04a4: fix model name for A4 variant
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:26 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04a4: fix model name for A4 variant

GTA04 is the project name and Letux 2804 the product name.
Report both.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04a3: fix model name for A3 variant
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:25 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04a3: fix model name for A3 variant

GTA04 is the project name and Letux 2804 the product name.
Report both.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04: add mcbsp (audio subsystem) nodes
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:24 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04: add mcbsp (audio subsystem) nodes

GTA04 audio system makes use of all four McBSP ports, so enable and
connect them with pinmux.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04: add devconf0 setup for mcbsp1 clock pins
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:23 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04: add devconf0 setup for mcbsp1 clock pins

McBSP1 needs special "pinctrl" for the clocks.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04: add mcbsp (audio subsystem) pinmux
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:22 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04: add mcbsp (audio subsystem) pinmux

GTA04 audio system makes use of all four McBSP ports, so set
up proper pinmux.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04: add camera pinmux
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:21 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04: add camera pinmux

ISP needs camera pinmux (which is referenced by the camera node).

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04: add camera interface parallel port
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:20 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04: add camera interface parallel port

The GTA04 has an optional OV9655 camera (for which we do
not yet have a driver upstream), but the ISP hardware
connection description in the device tree is independent
of that.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04: map antenna detect GPIO to SW_LINEIN_INSERT key event
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:19 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04: map antenna detect GPIO to SW_LINEIN_INSERT key event

GTA04 can detect presence/absence or plug-in of an external
GPS antenna through a gpio. The best match for an event code
is SW_LINEIN_INSERT.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04: make use of input event include file and constants
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:18 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04: make use of input event include file and constants

we can replace magic numbers by symbolic constants now.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04: explicitly describe that mmc1 has no CD/WP
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:17 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04: explicitly describe that mmc1 has no CD/WP

There are neither CD nor WP switches for mmc1. The µSD slot is
located under the SIM card under the battery and not accessible
during operation.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04: add warning comment to vaux2 regulator
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:16 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04: add warning comment to vaux2 regulator

vaux2 should remain always on since a higher potential at vio
could potentially damage the itg3200 sensor.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04: add a comment how to reference the tca6507 gpio
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:15 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04: add a comment how to reference the tca6507 gpio

Make clear how to use the wifi_reset since it is not obvious.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04: keep vpll2 always on
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:14 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04: keep vpll2 always on

This is needed to make the display and venc work properly.
Compare to omap3-beagle.dts.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04: update gpmc NAND setup
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:13 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04: update gpmc NAND setup

to better match omap3-beagle.dts (which was the basis
of designing the GTA04).

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04: make NAND partitions compatible with recent U-Boot
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:12 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04: make NAND partitions compatible with recent U-Boot

Vendor defined U-Boot has changed the partition scheme a while ago:

* kernel partition 6MB
* file system partition uses the remainder up to end of the NAND
* increased size of the environment partition (to get an OneNAND compatible base address)
* shrink the U-Boot partition

Let's be compatible (e.g. Debian kernel built from upstream).

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04: add pinmux for bmp085 EOC interrupt
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:11 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04: add pinmux for bmp085 EOC interrupt

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04: fix touchscreen tsc2007
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:10 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04: fix touchscreen tsc2007

we fix penirq polarity, add penirq pinmux and touchscreen
properties.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04: tvout: enable as display1 alias
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:09 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04: tvout: enable as display1 alias

The omap dss susbystem takes the display aliases to find
out which displays exist. To enable tv-out we must define
an alias.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04: add devconf1 setup for correct tvout pins
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:08 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04: add devconf1 setup for correct tvout pins

The VENC with external OPA362 amplifier needs a special
"pinmux" setup in DEVCONF1 (TVOUTBYPASS and TVOUTACEN).

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04: fixes for tvout / venc
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:07 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04: fixes for tvout / venc

* fix connector compatibility (composite)
* add comment for gpio1 23
* add proper #address-cells
* we use only one venc_out channel for composite

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04: give spi_lcd node a label so that we can overwrite in other...
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:06 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04: give spi_lcd node a label so that we can overwrite in other DTS files

needed for device variants based on GTA04 board but with
different display panel (driver).

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04: fix some whitespace and tab style errors
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:05 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04: fix some whitespace and tab style errors

tab+space -> tab only  for /* GSM audio */
spaces -> tab for dss_dpi_pins

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoARM: dts: omap3-gta04: fix typo in backlight pins node name
H. Nikolaus Schaller [Tue, 31 Jul 2018 07:11:04 +0000 (09:11 +0200)]
ARM: dts: omap3-gta04: fix typo in backlight pins node name

mn -> nm for backlight_pins

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
5 years agoclk: ti: fix OF child-node lookup
Johan Hovold [Wed, 22 Aug 2018 09:03:19 +0000 (11:03 +0200)]
clk: ti: fix OF child-node lookup

Fix child-node lookup which by using the wrong OF helper was searching
the whole tree depth-first, something which could end up matching an
unrelated node.

Also fix the related node-reference leaks.

Fixes: 5b385a45e001 ("clk: ti: add support for clkctrl aliases")
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
5 years agoLinux 4.19-rc1
Linus Torvalds [Sun, 26 Aug 2018 21:11:59 +0000 (14:11 -0700)]
Linux 4.19-rc1

5 years agoMerge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
Linus Torvalds [Sun, 26 Aug 2018 20:39:05 +0000 (13:39 -0700)]
Merge branch 'timers-urgent-for-linus' of git://git./linux/kernel/git/tip/tip

Pull timer update from Thomas Gleixner:
 "New defines for the compat time* types so they can be shared between
  32bit and 64bit builds. Not used yet, but merging them now allows the
  actual conversions to be merged through different maintainer trees
  without dependencies

  We still have compat interfaces for 32bit on 64bit even with the new
  2038 safe timespec/val variants because pointer size is different. And
  for the old style timespec/val interfaces we need yet another 'compat'
  interface for both 32bit native and 32bit on 64bit"

* 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  y2038: Provide aliases for compat helpers

5 years agoMerge branch 'ida-4.19' of git://git.infradead.org/users/willy/linux-dax
Linus Torvalds [Sun, 26 Aug 2018 18:48:42 +0000 (11:48 -0700)]
Merge branch 'ida-4.19' of git://git.infradead.org/users/willy/linux-dax

Pull IDA updates from Matthew Wilcox:
 "A better IDA API:

      id = ida_alloc(ida, GFP_xxx);
      ida_free(ida, id);

  rather than the cumbersome ida_simple_get(), ida_simple_remove().

  The new IDA API is similar to ida_simple_get() but better named.  The
  internal restructuring of the IDA code removes the bitmap
  preallocation nonsense.

  I hope the net -200 lines of code is convincing"

* 'ida-4.19' of git://git.infradead.org/users/willy/linux-dax: (29 commits)
  ida: Change ida_get_new_above to return the id
  ida: Remove old API
  test_ida: check_ida_destroy and check_ida_alloc
  test_ida: Convert check_ida_conv to new API
  test_ida: Move ida_check_max
  test_ida: Move ida_check_leaf
  idr-test: Convert ida_check_nomem to new API
  ida: Start new test_ida module
  target/iscsi: Allocate session IDs from an IDA
  iscsi target: fix session creation failure handling
  drm/vmwgfx: Convert to new IDA API
  dmaengine: Convert to new IDA API
  ppc: Convert vas ID allocation to new IDA API
  media: Convert entity ID allocation to new IDA API
  ppc: Convert mmu context allocation to new IDA API
  Convert net_namespace to new IDA API
  cb710: Convert to new IDA API
  rsxx: Convert to new IDA API
  osd: Convert to new IDA API
  sd: Convert to new IDA API
  ...

5 years agoMerge tag 'gcc-plugins-v4.19-rc1-fix' of git://git.kernel.org/pub/scm/linux/kernel...
Linus Torvalds [Sun, 26 Aug 2018 18:41:08 +0000 (11:41 -0700)]
Merge tag 'gcc-plugins-v4.19-rc1-fix' of git://git./linux/kernel/git/kees/linux

Pull gcc plugin fix from Kees Cook:
 "Lift gcc test into Kconfig. This is for better behavior when the
  kernel is built with Clang, reported by Stefan Agner"

* tag 'gcc-plugins-v4.19-rc1-fix' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
  gcc-plugins: Disable when building under Clang

5 years agoMerge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
Linus Torvalds [Sun, 26 Aug 2018 18:25:21 +0000 (11:25 -0700)]
Merge branch 'perf-urgent-for-linus' of git://git./linux/kernel/git/tip/tip

Pull perf updates from Thomas Gleixner:
 "Kernel:
   - Improve kallsyms coverage
   - Add x86 entry trampolines to kcore
   - Fix ARM SPE handling
   - Correct PPC event post processing

  Tools:
   - Make the build system more robust
   - Small fixes and enhancements all over the place
   - Update kernel ABI header copies
   - Preparatory work for converting libtraceevnt to a shared library
   - License cleanups"

* 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (100 commits)
  tools arch: Update arch/x86/lib/memcpy_64.S copy used in 'perf bench mem memcpy'
  tools arch x86: Update tools's copy of cpufeatures.h
  perf python: Fix pyrf_evlist__read_on_cpu() interface
  perf mmap: Store real cpu number in 'struct perf_mmap'
  perf tools: Remove ext from struct kmod_path
  perf tools: Add gzip_is_compressed function
  perf tools: Add lzma_is_compressed function
  perf tools: Add is_compressed callback to compressions array
  perf tools: Move the temp file processing into decompress_kmodule
  perf tools: Use compression id in decompress_kmodule()
  perf tools: Store compression id into struct dso
  perf tools: Add compression id into 'struct kmod_path'
  perf tools: Make is_supported_compression() static
  perf tools: Make decompress_to_file() function static
  perf tools: Get rid of dso__needs_decompress() call in __open_dso()
  perf tools: Get rid of dso__needs_decompress() call in symbol__disassemble()
  perf tools: Get rid of dso__needs_decompress() call in read_object_code()
  tools lib traceevent: Change to SPDX License format
  perf llvm: Allow passing options to llc in addition to clang
  perf parser: Improve error message for PMU address filters
  ...

5 years agoMerge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
Linus Torvalds [Sun, 26 Aug 2018 17:13:21 +0000 (10:13 -0700)]
Merge branch 'x86-urgent-for-linus' of git://git./linux/kernel/git/tip/tip

Pull x86 fixes from Thomas Gleixner:

 - Correct the L1TF fallout on 32bit and the off by one in the 'too much
   RAM for protection' calculation.

 - Add a helpful kernel message for the 'too much RAM' case

 - Unbreak the VDSO in case that the compiler desides to use indirect
   jumps/calls and emits retpolines which cannot be resolved because the
   kernel uses its own thunks, which does not work for the VDSO. Make it
   use the builtin thunks.

 - Re-export start_thread() which was unexported when the 32/64bit
   implementation was unified. start_thread() is required by modular
   binfmt handlers.

 - Trivial cleanups

* 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86/speculation/l1tf: Suggest what to do on systems with too much RAM
  x86/speculation/l1tf: Fix off-by-one error when warning that system has too much RAM
  x86/kvm/vmx: Remove duplicate l1d flush definitions
  x86/speculation/l1tf: Fix overflow in l1tf_pfn_limit() on 32bit
  x86/process: Re-export start_thread()
  x86/mce: Add notifier_block forward declaration
  x86/vdso: Fix vDSO build if a retpoline is emitted