Commit Graph

55487 Commits

Author SHA1 Message Date
Arnd Bergmann
8881ec5279 Devicetree changes for omap variants
This branch contains a series of improvments for omap3-gta04 phone,
 and a series of clean-up for am335x to remove the deprecated phy_id
 property.
 
 The rest is to configure am57xx-idk boards for leds, load trigger,
 and smps, am3517-evm audio configuration, beaglebone hdmi cec support,
 coresight binding update, and fixes for i2c and spi warnings.
 -----BEGIN PGP SIGNATURE-----
 
 iQJFBAABCAAvFiEEkgNvrZJU/QSQYIcQG9Q+yVyrpXMFAlutJwIRHHRvbnlAYXRv
 bWlkZS5jb20ACgkQG9Q+yVyrpXMMyw/+Oj8WK2Dej372d0m2I2401fLYD4L5B99U
 H/It6JAAmumv2y/6IZEiPAC+TtBpTgbmMlQzyciaKRyWCjqpfg1DDb1mSNf+3RSq
 VFsCkOx5cymGL2yKn8DzyIYGRejwkbfDVH6UbQTHv84mLtgX/8liqAdeSMOShx22
 r7G1ismE4UwwNlVKVSd94Y/fJArDlanbRJqTXl+PVqPPDpC/MoMOu8KpPJ0hJyWi
 pRYxJHSGTGttLxYv9w5i5S3N4C2b/A3vFfMo35EqHXr/t08Lfcqh1vhaMtcXRdQO
 TrOMF4rvWZA4H8uVP+8sqQfwtcDrCnCBoh1VeFJrAHBdtfEJU2rqq2BoVvQXJYCi
 WWu/iaa13C8xktS46NvBE4UODAxo52ciyQEzckDbQSjdUm7G82sfciSVRlWfrtjM
 rBOyaNMWDTWEE7H99O75QlEA4E4J8xcgpmkHplZ3CuNEmtJx/OeknXD7F91g6FJt
 13TmUj1/Wu72ZZLlkeazLLdVG1lj6M4WKdv3L3oDbaJkLAiRSQj/oIAi/R1gFbcW
 i+SejX4NPqjA1f1i3tiKzmBY70ur0jPnR9iNNyMs+9VzqbRUQJQd/DOQG7TA9BYk
 qE0jWBjnuWjo3+EAvel9LrIrJvrApXaJPvFC6eLaAjLbqkJ81lqwGQIivHrgHih5
 vIWlcV1hWoA=
 =bCXk
 -----END PGP SIGNATURE-----

Merge tag 'omap-for-v4.20/dt-signed-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/dt

Devicetree changes for omap variants

This branch contains a series of improvments for omap3-gta04 phone,
and a series of clean-up for am335x to remove the deprecated phy_id
property.

The rest is to configure am57xx-idk boards for leds, load trigger,
and smps, am3517-evm audio configuration, beaglebone hdmi cec support,
coresight binding update, and fixes for i2c and spi warnings.

* tag 'omap-for-v4.20/dt-signed-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: (70 commits)
  ARM: dts: add omap3-gta04a5one to Makefile
  ARM: dts: omap3-gta04: add pulldown/up settings for twl4030 gpio
  ARM: dts: am335x-boneblack: add cec support
  ARM: dts: am3517-evm: Add support for UI board and Audio
  ARM: dts: gta04: add serial console wakeup irq
  ARM: dts: am57xx-idk-common: Hook smps12 regulator as cpu vdd-supply
  ARM: dts: omap: Update coresight bindings for hardware ports
  ARM: dts: ti: Fix SPI and I2C bus warnings
  ARM: dts: dra62x-j5eco-evm: get rid of phy_id property
  ARM: dts: dm8148-t410: get rid of phy_id property
  ARM: dts: dm8148-evm: get rid of phy_id property
  ARM: dts: am57xx-cl-som-am57x: get rid of phy_id property
  ARM: dts: am57xx-idk-common: get rid of phy_id property
  ARM: dts: dra7-evm: get rid of phy_id property
  ARM: dts: dra71-evm: get rid of phy_id property
  ARM: dts: dra72-evm-revc: get rid of phy_id property
  ARM: dts: dra72-evm: get rid of phy_id property
  ARM: dts: dra76-evm: get rid of phy_id property
  ARM: dts: am437x-cm-t43: get rid of phy_id property
  ARM: dts: am437x-gp-evm: get rid of phy_id property
  ...

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-10-02 12:03:50 +02:00
Arnd Bergmann
3a7c41e599 mvebu dt for 4.20 (part 1)
- updates the armada-xp-98dx3236 SoC and related boards to use the new
   style dts bindings for nand
 
 - add db-88f6820-amc board: plugin card for some of Marvell's switch
   development kits
 
 - fix SPI and I2C bus warnings coming with the new checks in dtc
 
 - add new compatible string "marvell,prestera" to the armada-xp-98dx*
 
 - fix sdhci supply property name on the clearfog (the '-supply' suffix
   was missing)
 -----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQQYqXDMF3cvSLY+g9cLBhiOFHI71QUCW7HlPQAKCRALBhiOFHI7
 1WD8AKCdfJ2vxjsHeFJ5YEOA7JtdjJaaXwCffYZJ9IS0XblfyH9bsh9P/cy7nXI=
 =CsQf
 -----END PGP SIGNATURE-----

Merge tag 'mvebu-dt-4.20-1' of git://git.infradead.org/linux-mvebu into next/dt

mvebu dt for 4.20 (part 1)

- updates the armada-xp-98dx3236 SoC and related boards to use the new
  style dts bindings for nand

- add db-88f6820-amc board: plugin card for some of Marvell's switch
  development kits

- fix SPI and I2C bus warnings coming with the new checks in dtc

- add new compatible string "marvell,prestera" to the armada-xp-98dx*

- fix sdhci supply property name on the clearfog (the '-supply' suffix
  was missing)

* tag 'mvebu-dt-4.20-1' of git://git.infradead.org/linux-mvebu:
  ARM: dts: clearfog: fix sdhci supply property name
  ARM: dts: mvebu: add "marvell,prestera" to PP nodes
  ARM: dts: marvell: Fix SPI and I2C bus warnings
  ARM: dts: mvebu: Add device tree for db-88f6820-amc board
  ARM: dts: mvebu: db-xc3-24g4: use new style nand binding
  ARM: dts: mvebu: db-dxbc2: use new style nand binding
  ARM: dts: mvebu: 98dx3236: Rename nand controller node

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-10-02 11:44:45 +02:00
Arnd Bergmann
476ca77f0f i.MX device tree update for 4.20:
- New board support: Engicam's i.Core MX6 CPU module v1.5; ConnectCore
    6UL Single Board Computer (SBC) Pro; i.MX6 ULZ based EVK board.
  - Add Add SFF interface support for vf610-zii board.
  - Disable unneeded devices like VPU and internal watchdog for imx51-zii
    boards.
  - Add 'no-sdio' and 'no-sd' property for vf610-zii-cfu1 board.
  - Improve i.MX6 SLL GPIO support by adding gpio-ranges property and
    clocks information.
  - Update iomux header for i.MX7 Solo and i.MX6 ULL.
  - Enable GPIO buttons as wakeup source for imx7d-sdb and imx6sx-sdb.
  - Add GPIO keys and egalax touch screen support for imx6qdl-sabreauto.
  - Switch to use SPDX-License-Identifier for more boards - vf610-twr,
    imx7s-warp, Engicam boards.
  - Add device tree bindings of 'fsl,pmic-stby-poweroff' property and add
    the support for i.MX6 RIoTboard.
  - DTC has new checks for SPI buses which will be landed on 4.20.
    A patch from Rob to fix those 100+ warnings on i.MX boards. (Thanks!)
  - Switch i.MX7 device tree to use updated coresight binding for
    hardware ports.
  - Misc small or random update and cleanup.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABAgAGBQJbsb9RAAoJEFBXWFqHsHzObO8H/Al83K27UxL8XjKMOUsMooWX
 BG5FfS9mDKOe8bN0BwZnUmrjuOOkNWooMxyahBXP9e0CWZnK/4G3OvTS83PNpA34
 zE+Nm1oJia9zoUsWoCpBrvLrBJpjJqVajQiXzddUDgYLhbNXPXkiwBBEZqrwAJBK
 CsgwRCj4qJA1WCetvwjYVVwtcVTCCnYcpx73YQMLK1sSbi0oVqtSMynSF3spzDVC
 iduF+ur88lkjo0IK1PaWMOi8+G6E5bOV//4JJky5hNcTuMsmAAywmUEALoIYQjLr
 EitPoTNi2FDnFDpGPqvsf51Cez6e+3iCAk0F5V6D+6nIvNDF9mGRdyqSnDhIyBY=
 =B0Zy
 -----END PGP SIGNATURE-----

Merge tag 'imx-dt-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into next/dt

i.MX device tree update for 4.20:
 - New board support: Engicam's i.Core MX6 CPU module v1.5; ConnectCore
   6UL Single Board Computer (SBC) Pro; i.MX6 ULZ based EVK board.
 - Add Add SFF interface support for vf610-zii board.
 - Disable unneeded devices like VPU and internal watchdog for imx51-zii
   boards.
 - Add 'no-sdio' and 'no-sd' property for vf610-zii-cfu1 board.
 - Improve i.MX6 SLL GPIO support by adding gpio-ranges property and
   clocks information.
 - Update iomux header for i.MX7 Solo and i.MX6 ULL.
 - Enable GPIO buttons as wakeup source for imx7d-sdb and imx6sx-sdb.
 - Add GPIO keys and egalax touch screen support for imx6qdl-sabreauto.
 - Switch to use SPDX-License-Identifier for more boards - vf610-twr,
   imx7s-warp, Engicam boards.
 - Add device tree bindings of 'fsl,pmic-stby-poweroff' property and add
   the support for i.MX6 RIoTboard.
 - DTC has new checks for SPI buses which will be landed on 4.20.
   A patch from Rob to fix those 100+ warnings on i.MX boards. (Thanks!)
 - Switch i.MX7 device tree to use updated coresight binding for
   hardware ports.
 - Misc small or random update and cleanup.

* tag 'imx-dt-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: (50 commits)
  ARM: dts: imx: add i.mx6ulz and i.mx6ulz 14x14 evk support
  dt-bindings: arm: add compatible for i.MX6ULZ 14x14 EVK board
  ARM: dts: imx53-ppd: Remove 'num-chipselects' property
  ARM: dts: vf610-twr: Switch to SPDX identifier
  ARM: dts: vf: Switch to SPDX identifier
  ARM: dts: imx6qdl-zii-rdu2: Disable the internal RTC
  ARM: dts: imx51-zii-rdu1: Fix the rtc compatible string
  ARM: dts: imx6ul: use nvmem-cells for cpu speed grading
  ARM: dts: imx: Fix SPI bus warnings
  ARM: dts: imx7: Update coresight binding for hardware ports
  ARM: dts: vf610-zii-cfu1: Pass the 'no-sd' property
  ARM: dts: vf610-zii-cfu1: Pass the 'no-sdio' property
  ARM: dts: imx51-zii-scu2-mezz: Disable the internal watchdog
  ARM: dts: imx51-zii-scu2-mezz: Disable VPU
  ARM: dts: imx51-zii-scu3-esb: Disable VPU
  ARM: dts: imx51: Add label for VPU node
  ARM: dts: imx6ull: update vdd_soc voltage for 900MHz operating point
  ARM: dts: imx6ul: Add DTS for ConnectCore 6UL SBC Pro
  ARM: dts: imx6: RIoTboard provide standby on power off option
  dt-bindings: imx6q-clock: add new fsl,pmic-stby-poweroff property
  ...

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-10-02 11:41:29 +02:00
Arnd Bergmann
55dc97235b Qualcomm Device Tree Changes for v4.20
* Fix IRQ constants usage on MSM8974
 * Add led, gpio-button, sdcc, and pcie nodes for IPQ8064
 * Move/cleanup common nodes for IPQ8064
 * Add i2c sensor nodes for MSM8974 Hammerhead
 * Fixes for SAW, kpss, opp, pci range, and space/tab on IPQ4019
 * Update coresight bindings
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJbsROJAAoJEFKiBbHx2RXVgeoQAME0KidGF3FQsr/IjUD423bz
 lUQIXwpuHFz9D/MHqfyvZTfX9unqCV5fn8hPH86Q3ozUqZTRR9fVruVwKRgi4nkp
 T6fZsyB4KZrvENyHrcs9Pn1j3yKSGKTu8OcZOvOzTDotFAhy+YE9emzY+8WNFnDU
 CfGpghwMj3DsuTEhk/C+N/MWMMrKITNMzxVK7f7LALr9LCzrxNITu5+hZmD8bJDT
 P31/XnVoh3FXpue6AkYFRa8KT5VlFy4kOCMh/Uouhk2ONlPptASV1rnuZSYyfAHg
 NhtBYQMMyi/6dsoj3JDMz2p3HmIjZPPxbWoM98jqGPcDDOeEsvR1DCQGVM0C85x+
 DWM3TBo5J0EocPzBfr4MHKcbZkOxm7xyWDKPnZfWLFu5KxgcytYbQXQPTJH1zheL
 khZA0ghoZ6enH+k17knPgHNxgEfFe2sZJg6FW88kMwNZyEZ3OPoIndXqjdwshc4a
 jEhMdiTrlM8X7IEqBS0akErVYi0uDxcD3K7IqavEjWn3GwTcw3TDNdp1ViIC7ldS
 Q6n9cK4V+aQ2h2gFMgKMijqbZ87Dhi2u9D1ltwxhaXDlMFTufDo+8sFD0tM9g0O6
 0XlYKxBogXavL9f/23gUm2pyBjITVpRpeRlbyQh0KU24IFz9Y2BWYqBwnqBLK1D+
 XwWKeLlV9b7ZJP5NvtIp
 =74RU
 -----END PGP SIGNATURE-----

Merge tag 'qcom-dts-for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux into next/dt

Qualcomm Device Tree Changes for v4.20

* Fix IRQ constants usage on MSM8974
* Add led, gpio-button, sdcc, and pcie nodes for IPQ8064
* Move/cleanup common nodes for IPQ8064
* Add i2c sensor nodes for MSM8974 Hammerhead
* Fixes for SAW, kpss, opp, pci range, and space/tab on IPQ4019
* Update coresight bindings

* tag 'qcom-dts-for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux:
  ARM: dts: qcom: Update coresight bindings for hardware ports
  ARM: dts: qcom-msm8974: change invalid flag IRQ NONE to valid value
  ARM: dts: qcom: ipq4019: fix space vs tab indenting inside qcom-ipq4019.dtsi
  ARM: dts: qcom: ipq4019: fix PCI range
  ARM: dts: qcom: ipq4019: fix cpu0's qcom,saw2 reg value
  ARM: dts: qcom: ipq4019: add cpu operating points for cpufreq support
  ARM: dts: qcom: ipq4019: use v2 of the kpss bringup mechanism
  ARM: dts: qcom: msm8974-hammerhead: add device tree bindings for ALS / proximity
  ARM: dts: qcom: msm8974-hammerhead: add device tree bindings for mpu6515
  ARM: dts: qcom: Add led and gpio-button nodes to ipq8064 boards
  ARM: dts: qcom: Move common nodes to ipq8064-v.1.0.dtsi
  ARM: dts: qcom: Add sdcc nodes for ipq8064
  ARM: dts: qcom: Add pcie nodes for ipq8064
  ARM: dts: qcom-msm8974: change invalid flag IRQ NONE to valid value
  ARM: dts: qcom-msm8974: use named constant for interrupt flag NONE
  ARM: dts: qcom-msm8974: use named constant for interrupt flag LEVEL HIGH
  ARM: dts: qcom-msm8974: use named constant for interrupt flag EDGE RISING
  ARM: dts: qcom-msm8974: use named constant for interrupt type GIC_SPI
  ARM: dts: qcom-msm8974: use named constant for interrupt type GIC_PPI

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-10-02 11:36:38 +02:00
Arnd Bergmann
6a2340c9d7 Actions Semi arm based SoC DT for v4.20
This updates SPDX headers for remaining files.
 -----BEGIN PGP SIGNATURE-----
 
 iQJFBAABCAAvFiEEF08DRxvMIhphdW+W+i7RLT5+AT8FAluxCyIRHGFmYWVyYmVy
 QHN1c2UuZGUACgkQ+i7RLT5+AT8CvRAAop+0mfPhDjLPEJ6Wp44Tjqa0LzHzAWza
 Ztb+LzUWLacb2sXJUUF7j6gqk67sqwG00HzcmhRxLL7bPtCQfKQJPLx7CfxkrMju
 x+qLE10dCr9lwwexgcw+oiR8I+M61BEjMGQDsA5ATmXGQhbZ9fT++Sy1hHV0EXHT
 HJ6iTVeiXkRrG23H/dwQ04v3tW0QIknOBB6Oey2kQ6SbYHgvK5Ya9kUwQGf8dmm9
 ZwgKkS5TGkhO5mVFEIafOnICspR4bgNsAo3Q7sAartx27gpUGQHvNChY0yGf6mBL
 66xqGaJ1t3evPWYAio0doT4bholmpTeSPWTMgSUVLx6ZnYzCK/1ndgpnXwDDXpWn
 Dk3OSffVCSC6xmJ+YRQMMCHxzhpNCN0sHK2JXBOQwTVyK4S/4ZI80GB0hJ9Pi52Y
 Gz0GUPXzsFXB4iRP3/Esju5wl3bQfEDVDaaaP778WERpJFW0h+mOqAr9CdOdvBGW
 Pvh5AhqLjlE98O9gu6Pb2RQaXA4L3bx31BWxKSF8V8dFzBqUvE2cyJCiwvwE/KbZ
 ZkbJsZaH/NYO7Eup61HMvIXPuhD7BvVqhid//0VSZnij0jP9cnVH6ZLavbc8a3s2
 AuotS/dUuu/henAssmUuKxPuLF7jEwr5hFwHBUp8RLNe7Klioe3CCHE5/hNMkN8l
 XMJZnMw5abE=
 =Gw8X
 -----END PGP SIGNATURE-----

Merge tag 'actions-arm-dt-for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/afaerber/linux-actions into next/dt

Actions Semi arm based SoC DT for v4.20

This updates SPDX headers for remaining files.

* tag 'actions-arm-dt-for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/afaerber/linux-actions:
  ARM: dts: owl: Convert to new-style SPDX license identifiers

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-10-02 11:16:36 +02:00
Arnd Bergmann
26220da2ab Allwinner DT changes for 4.20
Our usual bunch of DT patches for the Allwinner arm32 SoCs.
 
 The most notable changes are:
   - Support for the video decoding / encoding engine on the
     A10s/A13/A20/A33
   - IR support for the A83t
   - SATA support for the R40
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAluvkSIACgkQ0rTAlCFN
 r3Snkw/9FtNLppZKqT2l5NdU7eRE2nUGNvBBh1Dgw2lIlWyzpffjsdMBzZRGahTT
 wK/uZwvrLmdtb2WKWCnEJ4k2Vrp3nPGGNlOdonsf9I5CqR/Cl88Z6HPIdEI1FwMC
 bNgrC8LENP+zsDPjMZkgOJ/JBlOmPco9l42mC8c2kfLtSiKdiQWNZ88oPgCoiRbJ
 VCWnxnxU7pQkX10yj/aIu1bhcFgxLYa1M2C0rj4AkxIdWChVaDZxiDCncuSIqcHt
 7a4NchkBXOZeqYY2Dz3ppdxFnQWOhvR0qQJjHzVcGdKNDKurNv0Ud6Mq2v4+Doo9
 gJUKGy0PcbvMwm3spOK/CdcW+c3IfO2bJaOz36mE3S3d6a78Ku7UeIc2GnlL9zfx
 EYsowLaERm3213ZsbXWB07vfOxoJtk7cmCRIdnuk2S9sFaTZzB65/x+0lNCdxAbL
 6Pc4/ZBYVp596T2fGjjnPho6bx9SQ2+ybz9/epEHVRTBYja2zIfJ/Pw4D8ofxDBR
 bDZznX3EmE4L1m1w6FaDQzDsoQNv6pS/fiTfsXD35OnzNY0KplbFfcOCZQpF31Mi
 7s6iADszYEcefXOwmuIekG5Zw2qcCt4sNkWu/U0hjPXf3TVMnaImPce5K6PBXJHt
 zu9DabmboEHicazYPlvJflWD9gkbM5lHdNGAmqWVm/eQ7IDH0Z8=
 =vyaf
 -----END PGP SIGNATURE-----

Merge tag 'sunxi-dt-for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into next/dt

Allwinner DT changes for 4.20

Our usual bunch of DT patches for the Allwinner arm32 SoCs.

The most notable changes are:
  - Support for the video decoding / encoding engine on the
    A10s/A13/A20/A33
  - IR support for the A83t
  - SATA support for the R40

* tag 'sunxi-dt-for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux:
  ARM: dts: sun9i: Fix I2C bus warnings
  ARM: dts: sunxi: Fix I2C bus warnings
  ARM: dts: sun8i-a33: Add Video Engine and reserved memory nodes
  ARM: dts: sun7i-a20: Add Video Engine and reserved memory nodes
  ARM: dts: sun5i: Add Video Engine and reserved memory nodes
  ARM: dts: sun8i: sun8i-r40-bananapi-m2-ultra: enable AHCI
  ARM: dts: sun8i: r40: add sata node
  ARM: dts: sunxi: Don't use cd-inverted in sun8i-r40-bananapi-m2-ultra
  ARM: dts: sun8i: a83t: bananapi-m3: Enable IR controller
  ARM: dts: sun8i: a83t: Add support for the cir interface
  ARM: dts: sun8i: a83t: Add the cir pin for the A83T

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-10-02 10:27:57 +02:00
Arnd Bergmann
8bdc2e5686 Allwinner H3 and H5 DT additions for 4.20
This is our usual H3/H5 pull request
 
 The most notable changes are:
   - the video decoding / encoding unit is finally enabled on the H3
   - Mali support for the H5
   - New boards: BananaPi M2+ v1.2, Orange Pi Zero Plus 2 H3 support
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAluvhigACgkQ0rTAlCFN
 r3SHzA/+IsYaAQgvy8NE7Ok1rhy/OU7eLPjd2JVqBgJ6SwCkcM4eW7Zol6SoMawG
 Wt9Bh+1JFvyzi4GiftwL/rPzOh2rxjuuDZMmLo5sZBztTLoFmKv9XIYgjnv8kVJY
 WXQ5Z3BOKA0H6lyIw6jinS6uotTGiWhtvihOpoAeus8pHJ/AWo3lbntb0tdPob7b
 fA95Dsm5ddqhPonrkqq1WEJ+Yepetoa7m2U2dJLOUHPaX8AmIm4GgQNoA6MEVYRJ
 0sZ/FDhe+5yvDRKbebVRrlqITGgwEYuTPYO1zQEQleQo6SPEvJuUOo+CW5R3Pgqc
 sKk5UxohaAvxbATt5gYhqTl4GwSKkMrNdJroVTc3bf8CekwxgpnNoV2nszGQSrjH
 yU2Nwy0d2ok4ZacxoFBjosbGWYh2UuqAlv7lX/UPr79GbeJpA9IUDXQxBGJoodTH
 0Wy3rUSgAUU/nRfsaDZtkLqIB8/keiSZzWV97aCnIUGHWk00MfnB8nzhkU1YEel0
 8Lbqh+9NY4+P3Ps4UxsnOIL0LQZt2Twf738GF/boa4RftYQOUJJQmvNO8TpFL0OK
 VKe10hX0trfsNOv2Ws7oTsGrLZXqLsB8r6jjsSX84NR2Dft2CYj8s7u2lpnmFTxd
 ciBjzeyFb4TbYW2iYOsYLRaei0w8GSNMdHShNU04fO/zh1dP8lU=
 =AJmQ
 -----END PGP SIGNATURE-----

Merge tag 'sunxi-h3-h5-for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into next/dt

Allwinner H3 and H5 DT additions for 4.20

This is our usual H3/H5 pull request

The most notable changes are:
  - the video decoding / encoding unit is finally enabled on the H3
  - Mali support for the H5
  - New boards: BananaPi M2+ v1.2, Orange Pi Zero Plus 2 H3 support

* tag 'sunxi-h3-h5-for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux:
  ARM: dts: sunxi: h3-h5: Add Bananapi M2+ v1.2 device trees
  ARM: dts: sun8i-h3: Add Video Engine and reserved memory nodes
  arm64: dts: allwinner: h5: Add device tree for Bananapi M2 Plus H5
  ARM: dts: sun8i: h3: Split out non-SoC-specific parts of Bananapi M2 Plus
  ARM: dts: sun8i: h3: bpi-m2-plus: Fix address for external RGMII Ethernet PHY
  ARM: dts: sun8i: h3-h5: ir register size should be the whole memory block
  arm64: dts: allwinner: h5: Add device node for Mali-450 GPU
  ARM: dts: sun8i: Add initial Orangepi Zero Plus 2 H3 support
  nvmem: sunxi-sid: add support for H5's SID controller

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-10-02 10:24:41 +02:00
Kunihiko Hayashi
f8e41bd606 ARM: multi_v7_defconfig: Enable USB phys for UniPhier SoCs
Enable the USB3 and USB2 phys implemented in UniPhier SoCs.
These phys are necessary for dwc3 and ehci controllers driving
the USB ports on Pro4 and PXs2 SoCs.

Since the USB host drivers are already built-in, so only the phy
driver are missing to allow booting with USB devices.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-10-02 09:56:08 +02:00
Ingo Molnar
b429f71bca Merge branch 'sched/urgent' into sched/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2018-10-02 09:43:39 +02:00
Greg Kroah-Hartman
b62e425593 ARM: SoC fixes
A handful of fixes that have been coming in the last couple of weeks:
 
  - Freescale fixes for on-chip accellerators
  - A DT fix for stm32 to avoid fallback to non-DMA SPI mode
  - Fixes for badly specified interrupts on BCM63xx SoCs
  - Allwinner A64 HDMI was incorrectly specified as fully compatble with R40
  - Drive strength fix for SAMA5D2 NAND pins on one board
 -----BEGIN PGP SIGNATURE-----
 
 iQJDBAABCAAtFiEElf+HevZ4QCAJmMQ+jBrnPN6EHHcFAluxIecPHG9sb2ZAbGl4
 b20ubmV0AAoJEIwa5zzehBx3KswP/iJT6PRSv2OiZq5UyUPhAOx9dW+9uQP5qCYO
 43hRkEhUQEbHAibjd4jKq7r2jNfOEeoZARyhE89tQc+RxwU7oOxH5Aohbmk1o4TQ
 bQ8AQHoofdNerwr8LKWAWvXe6Ff74d6NIJEQZ1ampndt7pul6LDJbLGg503tDPKZ
 fomG/W50id7xA8xexEfZZRXZu9HSRqNk6/wZYycUhsreZZ30nSQwJTJvLiSiTTAh
 qWleTc0dD3BazQBEf8VJwLSu3UfigXF+dP7p/joElgULhk00fHYrhWdAa8d0F3ib
 tS0foD/alLVslnjIDh8baEkErfqDvtZlpRCinNob1R56yzmkSxjBqCb6kSt4jCN8
 o+rlNnmnJPRH/qj0wdjd9phw5AWyZw1V1lSRvZGPacG6i7ZYb02Sj13u05k8826m
 hIpnryhrwuO8lKrDUCV4GT/oDpKS7ujskJZFWEUgjXHZA/XDodNXN5Rkuw8LeJmh
 HJx1Ef5v/RLbdoIl3Ybs1zDdbg9rmxdaqfDs3Ukka9doZGB1wtZh+GbF1v6u6GZi
 zmrcu3jzhDVek7Lw1ZWUCUBCxmYLbcg2txd6ZtkCV09M/fuSnQuxF/mLqiq03YAL
 ASy7ejKc5tf8DPnHKlZ7KIR4eMXEhxUFOpKblAQktHvREel2zC5xjOQjQvCTm1hD
 w5rDtaPt
 =+/9J
 -----END PGP SIGNATURE-----

Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc

Olof writes:
  "ARM: SoC fixes

   A handful of fixes that have been coming in the last couple of weeks:

   - Freescale fixes for on-chip accellerators
   - A DT fix for stm32 to avoid fallback to non-DMA SPI mode
   - Fixes for badly specified interrupts on BCM63xx SoCs
   - Allwinner A64 HDMI was incorrectly specified as fully compatble with R40
   - Drive strength fix for SAMA5D2 NAND pins on one board"

* tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
  ARM: dts: stm32: update SPI6 dmas property on stm32mp157c
  soc: fsl: qe: Fix copy/paste bug in ucc_get_tdm_sync_shift()
  soc: fsl: qbman: qman: avoid allocating from non existing gen_pool
  ARM: dts: BCM63xx: Fix incorrect interrupt specifiers
  MAINTAINERS: update the Annapurna Labs maintainer email
  ARM: dts: sun8i: drop A64 HDMI PHY fallback compatible from R40 DT
  ARM: dts: at91: sama5d2_ptc_ek: fix nand pinctrl
2018-10-01 17:23:27 -07:00
Krzysztof Kozlowski
48ab742ce3 ARM: dts: exynos: Add pin configuration for SD write protect on Odroid XU
Add SD card write-protect pin configuration to be sure that it will be
properly pulled down to indicate write access.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
2018-10-01 18:51:51 +02:00
Bartlomiej Zolnierkiewicz
6862fdf220 ARM: samsung: Limit SAMSUNG_PM_CHECK config option to non-Exynos platforms
"S3C2410 PM Suspend Memory CRC" feature (controlled by
SAMSUNG_PM_CHECK config option) is incompatible with highmem
(uses phys_to_virt() instead of proper mapping) which is used by
the majority of Exynos boards. The issue manifests itself in OOPS
on affected boards, i.e. on Odroid-U3 I got the following one:

Unable to handle kernel paging request at virtual address f0000000
pgd = 1c0f9bb4
[f0000000] *pgd=00000000
Internal error: Oops: 5 [#1] PREEMPT SMP ARM
[<c0458034>] (crc32_le) from [<c0121f8c>] (s3c_pm_makecheck+0x34/0x54)
[<c0121f8c>] (s3c_pm_makecheck) from [<c0121efc>] (s3c_pm_run_res+0x74/0x8c)
[<c0121efc>] (s3c_pm_run_res) from [<c0121ecc>] (s3c_pm_run_res+0x44/0x8c)
[<c0121ecc>] (s3c_pm_run_res) from [<c01210b8>] (exynos_suspend_enter+0x64/0x148)
[<c01210b8>] (exynos_suspend_enter) from [<c018893c>] (suspend_devices_and_enter+0x9ec/0xe74)
[<c018893c>] (suspend_devices_and_enter) from [<c0189534>] (pm_suspend+0x770/0xc04)
[<c0189534>] (pm_suspend) from [<c0186ce8>] (state_store+0x6c/0xcc)
[<c0186ce8>] (state_store) from [<c09db434>] (kobj_attr_store+0x14/0x20)
[<c09db434>] (kobj_attr_store) from [<c02fa63c>] (sysfs_kf_write+0x4c/0x50)
[<c02fa63c>] (sysfs_kf_write) from [<c02f97a4>] (kernfs_fop_write+0xfc/0x1e4)
[<c02f97a4>] (kernfs_fop_write) from [<c027b198>] (__vfs_write+0x2c/0x140)
[<c027b198>] (__vfs_write) from [<c027b418>] (vfs_write+0xa4/0x160)
[<c027b418>] (vfs_write) from [<c027b5d8>] (ksys_write+0x40/0x8c)
[<c027b5d8>] (ksys_write) from [<c0101000>] (ret_fast_syscall+0x0/0x28)

Add PLAT_S3C24XX, ARCH_S3C64XX and ARCH_S5PV210 dependencies to
SAMSUNG_PM_CHECK config option to hide it on Exynos platforms.

Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
2018-10-01 18:42:48 +02:00
Arnd Bergmann
486aea9d8b Qualcomm ARM Based defconfig Updates for v4.20
* Enable MAILBOX
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJbsRImAAoJEFKiBbHx2RXVbEoP/REMj3yLOTKiMVhDqjKdYDg3
 mNa1ziUE9oowoj5tjuloXnQh6DRu5j6PiFgXg4j5rmPvXfkxSFXwsu00B0dbZthn
 Um4yHyHceecCkVs9TW/DDUMhkmtFi0tiVnR/NiPpGBjmNTtHdj/4ilyr6coIP6wX
 z/0Ok0e4mAjBhBKr6VKkaQCMxkaPCdYCed93cCuXu2NMt0b4L+w4Cq29SX0QAj+a
 D0ASCtd7QTJXXv19Wtv2lpi9QBouYVcEuqCZ7Hyrb2vZO7J9UsGBtOnGigymZvyw
 Q4P1oUGxa/jNeMspXX+AgqIUCFK2GzvHtI0BDsQmpuB6YhhIiFxwi0HetpUJKWhT
 UvouDzRs3TtrPVqWlzz//OwJH+qlMy++15ddNBAGfOa5/bJYujn6EFdetu8sksJ/
 1UqMniBTEzvbP2LPHXfukB8a7LYrrYw1PN8/VqnpElw6GzW/0XnN4Yrdx08PMhf0
 yx4qEyKZbiMIXhMP86XyGIeAzsYkdoeZVsrmUxGXYUyK5+ydFps/UuC/nwh83238
 /LcekNKFgHsWgX+0qB9L6PjstXYh5EkQgQkykY5fZuPI+S1ZCR3e5hL5eeVuODD0
 jbyJT65uL0SzWJz6pg3ueWvbrL+98AdtBVUQ5zuNu2aOlNPqXpcCYn3KgP/56IZt
 oUVwPQgrkmAFYLB6nh5l
 =K8CG
 -----END PGP SIGNATURE-----

Merge tag 'qcom-defconfig-for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux into next/defconfig

Qualcomm ARM Based defconfig Updates for v4.20

* Enable MAILBOX

* tag 'qcom-defconfig-for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux:
  ARM: qcom_defconfig: Enable MAILBOX

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-10-01 18:03:24 +02:00
Jens Axboe
c0aac682fa This is the 4.19-rc6 release
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAluw4MIACgkQONu9yGCS
 aT7+8xAAiYnc4khUsxeInm3z44WPfRX1+UF51frTNSY5C8Nn5nvRSnTUNLuKkkrz
 8RbwCL6UYyJxF9I/oZdHPsPOD4IxXkQY55tBjz7ZbSBIFEwYM6RJMm8mAGlXY7wq
 VyWA5MhlpGHM9DjrguB4DMRipnrSc06CVAnC+ZyKLjzblzU1Wdf2dYu+AW9pUVXP
 j4r74lFED5djPY1xfqfzEwmYRCeEGYGx7zMqT3GrrF5uFPqj1H6O5klEsAhIZvdl
 IWnJTU2coC8R/Sd17g4lHWPIeQNnMUGIUbu+PhIrZ/lDwFxlocg4BvarPXEdzgYi
 gdZzKBfovpEsSu5RCQsKWG4IGQxY7I1p70IOP9eqEFHZy77qT1YcHVAWrK1Y/bJd
 UA08gUOSzRnhKkNR3+PsaMflUOl9WkpyHECZu394cyRGMutSS50aWkavJPJ/o1Qi
 D/oGqZLLcKFyuNcchG+Met1TzY3LvYEDgSburqwqeUZWtAsGs8kmiiq7qvmXx4zV
 IcgM8ERqJ8mbfhfsXQU7hwydIrPJ3JdIq19RnM5ajbv2Q4C/qJCyAKkQoacrlKR4
 aiow/qvyNrP80rpXfPJB8/8PiWeDtAnnGhM+xySZNlw3t8GR6NYpUkIzf5TdkSb3
 C8KuKg6FY9QAS62fv+5KK3LB/wbQanxaPNruQFGe5K1iDQ5Fvzw=
 =dMl4
 -----END PGP SIGNATURE-----

Merge tag 'v4.19-rc6' into for-4.20/block

Merge -rc6 in, for two reasons:

1) Resolve a trivial conflict in the blk-mq-tag.c documentation
2) A few important regression fixes went into upstream directly, so
   they aren't in the 4.20 branch.

Signed-off-by: Jens Axboe <axboe@kernel.dk>

* tag 'v4.19-rc6': (780 commits)
  Linux 4.19-rc6
  MAINTAINERS: fix reference to moved drivers/{misc => auxdisplay}/panel.c
  cpufreq: qcom-kryo: Fix section annotations
  perf/core: Add sanity check to deal with pinned event failure
  xen/blkfront: correct purging of persistent grants
  Revert "xen/blkfront: When purging persistent grants, keep them in the buffer"
  selftests/powerpc: Fix Makefiles for headers_install change
  blk-mq: I/O and timer unplugs are inverted in blktrace
  dax: Fix deadlock in dax_lock_mapping_entry()
  x86/boot: Fix kexec booting failure in the SEV bit detection code
  bcache: add separate workqueue for journal_write to avoid deadlock
  drm/amd/display: Fix Edid emulation for linux
  drm/amd/display: Fix Vega10 lightup on S3 resume
  drm/amdgpu: Fix vce work queue was not cancelled when suspend
  Revert "drm/panel: Add device_link from panel device to DRM device"
  xen/blkfront: When purging persistent grants, keep them in the buffer
  clocksource/drivers/timer-atmel-pit: Properly handle error cases
  block: fix deadline elevator drain for zoned block devices
  ACPI / hotplug / PCI: Don't scan for non-hotplug bridges if slot is not bridge
  drm/syncobj: Don't leak fences when WAIT_FOR_SUBMIT is set
  ...

Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-10-01 08:58:57 -06:00
Suzuki K Poulose
e55cac5bf2 kvm: arm/arm64: Prepare for VM specific stage2 translations
Right now the stage2 page table for a VM is hard coded, assuming
an IPA of 40bits. As we are about to add support for per VM IPA,
prepare the stage2 page table helpers to accept the kvm instance
to make the right decision for the VM. No functional changes.
Adds stage2_pgd_size(kvm) to replace S2_PGD_SIZE. Also, moves
some of the definitions in arm32 to align with the arm64.
Also drop the _AC() specifier constants wherever possible.

Cc: Christoffer Dall <cdall@kernel.org>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2018-10-01 13:50:30 +01:00
Suzuki K Poulose
5b6c6742b5 kvm: arm/arm64: Allow arch specific configurations for VM
Allow the arch backends to perform VM specific initialisation.
This will be later used to handle IPA size configuration and per-VM
VTCR configuration on arm64.

Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Christoffer Dall <cdall@kernel.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2018-10-01 13:50:29 +01:00
Suzuki K Poulose
ca02f96b95 ARM: dts: qcom: Update coresight bindings for hardware ports
Switch to the new hardware port bindings for coresight

Cc: Andy Gross <andy.gross@linaro.org>
Cc: David Brown <david.brown@linaro.org>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
2018-09-30 13:14:05 -05:00
Greg Kroah-Hartman
29f79155b9 Merge 4.19-rc6 into usb-next
We want the USB fixes in here as well.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-30 08:09:14 -07:00
Anson Huang
04007fe4c6 ARM: dts: imx: add i.mx6ulz and i.mx6ulz 14x14 evk support
i.MX6ULZ is new SoC of i.MX6 family, compared to i.MX6ULL,
it removes below modules:

- UART5/UART6/UART7/UART8;
- PWM5/PWM6/PWM7/PWM8;
- eCSPI3/eCSPI4;
- CAN1/CAN2;
- FEC1/FEC2;
- I2C3/I2C4;
- EPIT2;
- LCDIF;
- GPT2;
- ADC1;
- TSC;

This patch adds support for i.MX6ULZ and i.MX6ULZ 14x14 EVK
board.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2018-09-30 15:32:18 +08:00
Anson Huang
c90dec00cc ARM: imx: add i.mx6ulz msl support
The i.MX 6ULZ processor is a high-performance, ultra
cost-efficient consumer Linux processor featuring an
advanced implementation of a single Arm® Cortex®-A7 core,
which operates at speeds up to 900 MHz.

This patch adds basic MSL support for i.MX6ULZ, the
i.MX6ULZ has same soc_id as i.MX6ULL, and SRC_SBMR2 bit[6]
is to differentiate i.MX6ULZ from i.MX6ULL, 1'b1 means
i.MX6ULZ and 1'b0 means i.MX6ULL.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2018-09-30 15:31:40 +08:00
Fabio Estevam
66eede3423 ARM: dts: imx53-ppd: Remove 'num-chipselects' property
The 'num-chipselects' property is not a valid property according
to Documentation/devicetree/bindings/spi/fsl-imx-cspi.txt, so
let's remove it.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2018-09-30 11:16:15 +08:00
Fabio Estevam
b6eebba6a2 ARM: dts: vf610-twr: Switch to SPDX identifier
Adopt the SPDX license identifier headers to ease license compliance
management.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2018-09-30 11:11:50 +08:00
Fabio Estevam
89ff619484 ARM: dts: vf: Switch to SPDX identifier
Adopt the SPDX license identifier headers to ease license compliance
management.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Acked-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2018-09-30 11:11:24 +08:00
Chen-Yu Tsai
6eeb4180d4
ARM: dts: sunxi: h3-h5: Add Bananapi M2+ v1.2 device trees
Bananapi released an updated revision of the H3/H5 based Bananapi M2+.
Version 1.2 enables voltage control for the CPU's regulator by using
a GPIO line to toggle a MOSFET that can change the effective resistance
value in the regulator's feedback network.

This patch adds a common .dtsi file for this new revision, which
includes the original common sunxi-bananapi-m2-plus.dtsi file, and
adds the GPIO-controlled regulator and a cpu-supply reference. H3
and H5 variant dts files are added as well.

Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
2018-09-29 15:58:38 +02:00
Paul Kocialkowski
36c4bef372
ARM: dts: sun8i-h3: Add Video Engine and reserved memory nodes
This adds nodes for the Video Engine and the associated reserved memory
for the H3. Up to 96 MiB of memory are dedicated to the CMA pool.

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
2018-09-29 15:58:34 +02:00
Chen-Yu Tsai
aa8fee415f
ARM: dts: sun8i: h3: Split out non-SoC-specific parts of Bananapi M2 Plus
Three more variants of the Bananapi M2 Plus have been introduced. One
with the H5 instead of the H3, another with the H2+ instead, and the
last with the H3 but with WiFi and eMMC removed.

All these variants use the same board. This patch splits out the
non-SoC-specific parts of the device tree, so that they can be shared
among all the variants. The original Bananapi M2 Plus has been renamed
to Bananapi M2 Plus H3.

Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
2018-09-29 15:57:46 +02:00
Chen-Yu Tsai
db9fd9d13e
ARM: dts: sun8i: h3: bpi-m2-plus: Fix address for external RGMII Ethernet PHY
The external RTL8211E RGMII Ethernet PHY is configured via external
resistors to use the address 0x1. The 0x0 address is a broadcast address
for this family of PHYs, and should not be used explicitly.

Fixes: 8c7ba536e7 ("ARM: sun8i: bananapi-m2-plus: Enable dwmac-sun8i")
Fixes: 4904337fe3 ("ARM: dts: sunxi: Restore EMAC changes (boards)")
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
2018-09-29 15:57:46 +02:00
Philipp Rossak
6c700289a3
ARM: dts: sun8i: h3-h5: ir register size should be the whole memory block
The size of the register should be the size of the whole memory block,
not just the registers, that are needed.

Signed-off-by: Philipp Rossak <embed3d@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
2018-09-29 15:57:46 +02:00
Diego Rondini
cd3f03df13
ARM: dts: sun8i: Add initial Orangepi Zero Plus 2 H3 support
Orangepi Zero Plus 2 is an open-source single-board computer, available in two
Allwinner SOC variants, H3 and H5. We add support for H3 variant here, as the
H5 is already supported by sun50i-h5-orangepi-zero-plus2.dts.

H3 Orangepi Zero Plus 2 has:
- Quad-core Cortex-A7
- 512MB DDR3
- microSD slot and 8GB eMMC
- Debug TTL UART
- HDMI
- Wifi + BT
- OTG + power supply

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
2018-09-29 15:56:47 +02:00
Rob Herring
389d0a8a7a Merge branch 'dt/cpu-type-rework' into dt/next 2018-09-28 15:48:39 -05:00
Tony Lindgren
5f681f41fe 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>
2018-09-28 13:36:48 -07:00
SZ Lin (林上智)
7f4ddf50c9 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>
2018-09-28 13:36:48 -07:00
SZ Lin (林上智)
30fd611af5 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>
2018-09-28 13:36:48 -07:00
Arnd Bergmann
86e762d967 Renesas ARM Based SoC Drivers Updates for v4.20
* Convert to SPDX identifiers
 * R-Car V3M (r8a77970) and V3H (r8a77980): Document Timer Unit (TMU) bindings
 * RZ/G1N (r8a7744) and RZ/G1C (r8a77470) SoCs:
   - Document APMU and SMP enable method
 * RZ/G2M (r8a74a1), RZ/G1N (r8a7744) and RZ/G2E (r8a774c0) SoCs:
   - Add reset support
   - Add sysc support
 * RZ/G2M (r8a774a1), RZ/G2E (r8a774c0) and RZ/A2M (r7s9210) SoCs:
   - Add support for identifying SoC
 * RZ/A2M (r7s9210) SoC:
   - Add basic SoC setup support
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE4nzZofWswv9L/nKF189kaWo3T74FAlut+z8ACgkQ189kaWo3
 T77MKw//QZ0pTNuUk0+SRFesyX+C7nKYhm6mGlANEHUCJH3JUxosunxnGFBYw4+k
 8Dx1ffAEZ4c7LQ8cUDm8UjLsfJvMCd1bjHtwi0Ps010UVnGzBTnwkZqP1Won5okq
 I5jpCvMxYsDmq+vm2ODkBNukaqUpG12kYbpw1pJdZrvt1I/BDikkdDPSepSmwrJg
 UdP04PQvUsf2025NdCW7SRdy0qetKvX4bebIbXcY+xF5h1XVeDgL+60yM6SrKAxX
 g55Lb8O6OupucEeRmUV5TCRTKOLxp3AhEqNhG3YpVQsCJ70USCRYwYWWwBDfvbxl
 E4QRIFHFkFIoxm/ZRE3lwJx9pxtnsYo62oWQJnr0Beblz4qmuFnksQ3kPsCkTffo
 +AfjW/hEr424rTV3Q2VvPunSsd9KQYu1skCWSGA841Mlpjq4ACeYDHvCZXrodfqC
 FLTCk5N+pma2kr6CfJjHCWFgPiVtvV32Cyhrp/nwGdLa64e263yjj0IdStXt92Ph
 s5ZmIdX8Xv8MAYc5m9HmIOzUuzj9gUW1JwEZWR2zw1z6V6n7MKvLaEo+W2I51BuU
 hAoWPvuLsxaAHt28JfLJxQt2OAqcIztIu34uIKAK068MbbB6L2cxZG1LC7mkDi56
 viNsuf6ZNGTAW2wADMy46tJ2L5K6kzJPDnf2JAiDBwayiM8vM+M=
 =yxj4
 -----END PGP SIGNATURE-----

Merge tag 'renesas-drivers-for-v4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/drivers

Renesas ARM Based SoC Drivers Updates for v4.20

* Convert to SPDX identifiers
* R-Car V3M (r8a77970) and V3H (r8a77980): Document Timer Unit (TMU) bindings
* RZ/G1N (r8a7744) and RZ/G1C (r8a77470) SoCs:
  - Document APMU and SMP enable method
* RZ/G2M (r8a74a1), RZ/G1N (r8a7744) and RZ/G2E (r8a774c0) SoCs:
  - Add reset support
  - Add sysc support
* RZ/G2M (r8a774a1), RZ/G2E (r8a774c0) and RZ/A2M (r7s9210) SoCs:
  - Add support for identifying SoC
* RZ/A2M (r7s9210) SoC:
  - Add basic SoC setup support

* tag 'renesas-drivers-for-v4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: (21 commits)
  dt-bindings: apmu: Document r8a7744 support
  dt-bindings: timer: renesas: tmu: document R8A779{7|8}0 bindings
  dt-bindings: apmu: Document r8a77470 support
  soc: renesas: rcar-rst: Add support for RZ/G1N
  dt-bindings: reset: rcar-rst: Document r8a7744 reset module
  soc: renesas: rcar-sysc: Add r8a7744 support
  dt-bindings: power: rcar-sysc: Add r8a7744 power domain index macros
  dt-bindings: power: rcar-sysc: Document r8a7744 SYSC binding
  soc: renesas: rcar-rst: Add support for RZ/G2E
  dt-bindings: reset: rcar-rst: Document r8a774c0 rst
  soc: renesas: rcar-sysc: Add r8a774c0 support
  dt-bindings: power: rcar-sysc: Document r8a774c0 sysc
  dt-bindings: power: Add r8a774c0 SYSC power domain definitions
  soc: renesas: Identify RZ/G2E
  soc: renesas: convert to SPDX identifiers
  soc: renesas: rcar-rst: Add support for RZ/G2M
  soc: renesas: rcar-sysc: Add r8a774a1 support
  dt-bindings: power: Add r8a774a1 SYSC power domain definitions
  soc: renesas: identify RZ/A2
  ARM: shmobile: Add basic RZ/A2 SoC support
  ...

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-09-28 22:16:58 +02:00
Arnd Bergmann
4561a42636 Renesas ARM Based SoC Updates for v4.20
* Rework the PMIC IRQ line quirk to use DT rather than hard coded topology
 * Convert to SPDX identifiers
 * Convert to using %pOFn instead of device_node.name
 * Remove the no longer needed ARCH_SHMOBILE Kconfig symbol
 * RZ/G1N (r8a7744) SoC: Add basic SoC and debug-ll support
 * R-Car H1 (r8a7779) SoC: remove unused includes
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE4nzZofWswv9L/nKF189kaWo3T74FAlut6KwACgkQ189kaWo3
 T75p1w//X2WSkdZH5nwHGlVWFMSMbwYdcLMe9yjMPa5Sb8ErkXKAy9VoQszbJxn/
 lOsZzt8sFXegErCLfLevlWR1g0OM0OTdLKqCAGOSOapV1u3iwcqqU6r4ThaPjGkf
 uWj8gDYPdYrUhVR00Un6SlsH1f7yiGRoj/MNIW9zffMdOnqua/uLhFS8LdtedJKW
 6gDvyDEwqA1+yJljmdH7xyX9/X6UwLN40Opq6OBuwKbKgqgySmng0amaF1lLcc6L
 DqvZ8kaKHIXmBuFrHOJkSIrcRrUL2DilGGDxXaeV7p3nkICMVWENv6aTeGFF7epX
 lka7rBLgEmFfz2OU/D/jDddMLaF4+MgRC4p9tIjN8cAC6QflX0OOjKjvITKrjR+u
 jnNr2+f8HwuWg23LpNyYpbSfKM3/jVAc5kTCnvk4EUdcKtkoD/sxgmWnZXgDcjWv
 bM3c97ahew12f16TLU0fb2sz2OL1eouKwuy90mfQVXCJY4PneK1wXKVQ2FNjRInM
 vcZ9bQedkLqrp2vP39EzkDxBi0wN1OD6ejDx5vW527KFHltyBd3MN0t36g5bUVrq
 Rg1nj2QHn2ZN7PhELKj1Asv2rIVKkby7i/lwchuVI8iogV7zIzOQy0145iUCm5az
 cup1QHleF1cKkLlz5x3kIKYiT2QX4sHsSgn1wGA2TV3MbqfaVLQ=
 =S7TZ
 -----END PGP SIGNATURE-----

Merge tag 'renesas-arm-soc-for-v4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/soc

Renesas ARM Based SoC Updates for v4.20

* Rework the PMIC IRQ line quirk to use DT rather than hard coded topology
* Convert to SPDX identifiers
* Convert to using %pOFn instead of device_node.name
* Remove the no longer needed ARCH_SHMOBILE Kconfig symbol
* RZ/G1N (r8a7744) SoC: Add basic SoC and debug-ll support
* R-Car H1 (r8a7779) SoC: remove unused includes

* tag 'renesas-arm-soc-for-v4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  ARM: shmobile: Rework the PMIC IRQ line quirk
  ARM: debug-ll: Add support for r8a7744
  ARM: shmobile: r8a7744: Basic SoC support
  ARM: shmobile: convert to SPDX identifiers
  ARM: shmobile: Convert to using %pOFn instead of device_node.name
  ARM: shmobile: Remove the ARCH_SHMOBILE Kconfig symbol
  ARM: shmobile: r8a7779: Remove unused includes

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-09-28 22:12:02 +02:00
Rob Herring
5af5d40c40 ARM: shmobile: use for_each_of_cpu_node iterator
Use the for_each_of_cpu_node iterator to iterate over cpu nodes. This
has the side effect of defaulting to iterating using "cpu" node names in
preference to the deprecated (for FDT) device_type == "cpu".

Cc: Magnus Damm <magnus.damm@gmail.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-renesas-soc@vger.kernel.org
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Rob Herring <robh@kernel.org>
2018-09-28 14:25:58 -05:00
Rob Herring
07d44f1f82 ARM: topology: remove unneeded check for /cpus node
Checking for "/cpus" node is not necessary as of_get_cpu_node() will fail
later on anyways. The call to of_find_node_by_path() also leaks a
reference. So just remove the check.

Cc: Russell King <linux@armlinux.org.uk>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Rob Herring <robh@kernel.org>
2018-09-28 14:25:58 -05:00
Rob Herring
d4866f751e ARM: use for_each_of_cpu_node iterator
Use the for_each_of_cpu_node iterator to iterate over cpu nodes. This
has the side effect of defaulting to iterating using "cpu" node names in
preference to the deprecated (for FDT) device_type == "cpu".

Cc: Russell King <linux@armlinux.org.uk>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Rob Herring <robh@kernel.org>
2018-09-28 14:25:58 -05:00
H. Nikolaus Schaller
656c1a65ab 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>
2018-09-28 10:33:30 -07:00
Vignesh R
b830526f30 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>
2018-09-28 10:27:17 -07:00
Vignesh R
6d0af44a82 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: d23f3839fe ("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>
2018-09-28 10:26:01 -07:00
Arnd Bergmann
25cee71a23 Renesas ARM Based SoC Defconfig Updates for v4.20
* shmobile and multi_v7 defconfigs:
   - Enable recently upstreamed r8a7744 SoC
   - Enable FDP1 (Fine Display processor) present on R-Car Gen2 and RZ/G1 SoCs
 * shmobile defconfig (only):
   - Refresh for v4.19-rc1
   - Remove soon to be deprecated SOC_CAMERA
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE4nzZofWswv9L/nKF189kaWo3T74FAlut4yIACgkQ189kaWo3
 T76Nnw//bxLIxGMvSviQz1VhQgZvzsA178gr7QhSJXseTHNBfyBUU7v4ggIN4pDT
 zF2gzNMKertqi0x4kiV3HZxvddB3T7IgJGkB0XTQ4VLRGVwTWtC7yALRA/MGL/s3
 NDG1FIPFpCLveRmxXucToeYY9OaErTYQx1jyg3ycrAGfLQdpB5BfhPYfy9jrFbau
 F28bHOApoq2tfDQu7BdYzjjAbF58MacwnAAkhM09BzwpWCQVCjOkN3a0TnQSRBZE
 ndCQ3J92cnNmfjpLC51Wc1o2h9rKL9gnA2gPNoNPCwBpXXKZYDCKio+DjF40Zz/j
 LsrnhrfpiQ7/u5GAK3q6nza4qFXIWqy/dC1OfLd3vzHvrpEoYlfYzJm16gqLmITn
 76LTz7493V8te/1xjDxW4Ck8rsV5vxU4qV7e+21hjjqv6gNolt1BhTG8arWdBoNO
 ZMPeVkXFZvRj/HP3ZwqCtRtKgNJkS07wDaap/DJp4T5MVyxlHfOnWXBfTEn0QV95
 idurWcfrYT/M6WcLlDvjxKZSTA5ordOxtu9yB7ahyDyVyA51Wo7Tq3lQ9u68BY2F
 Dbr6rp0JQep5Vv6B7e0cChk0LMFbrOl3WDXrqlTIuuvMEtHne0rTGuR0EA8ejxzw
 yOXJBnq16o3s6NXrDIQOOD24RoP2Q0lhMB0rRLYF1pBg1JuqT8g=
 =eacQ
 -----END PGP SIGNATURE-----

Merge tag 'renesas-arm-defconfig-for-v4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/defconfig

Renesas ARM Based SoC Defconfig Updates for v4.20

* shmobile and multi_v7 defconfigs:
  - Enable recently upstreamed r8a7744 SoC
  - Enable FDP1 (Fine Display processor) present on R-Car Gen2 and RZ/G1 SoCs
* shmobile defconfig (only):
  - Refresh for v4.19-rc1
  - Remove soon to be deprecated SOC_CAMERA

* tag 'renesas-arm-defconfig-for-v4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  ARM: shmobile: defconfig: Enable r8a7744 SoC
  ARM: multi_v7_defconfig: Enable r8a7744 SoC
  ARM: multi_v7_defconfig: Enable VIDEO_RENESAS_FDP1
  ARM: shmobile: defconfig: Enable VIDEO_RENESAS_FDP1
  ARM: shmobile: defconfig: Refresh shmobile_defconfig for v4.19-rc1
  ARM: shmobile: defconfig: Remove SOC_CAMERA

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-09-28 18:03:24 +02:00
Arnd Bergmann
e6ff514e27 A series of omap1 gpio changes for ams-delta
Janusz Krzysztofik has cleaned up ams-delta gpio usage along with
 generic gpio framework improvments. This series contains the omap1
 specific clean-up for ams-delta modem and unused gpios.
 
 Note that this conflicts with the gpio-omap changes queued into
 an immutable gpio branch ib-omap for the gpio-omap.h header file.
 The merge resolution is to drop the IS_BUILTIN(CONFIG_GPIO_OMAP)
 section and keep the #endif tagged for __ASSEMBLER__.
 -----BEGIN PGP SIGNATURE-----
 
 iQJFBAABCAAvFiEEkgNvrZJU/QSQYIcQG9Q+yVyrpXMFAlurwEcRHHRvbnlAYXRv
 bWlkZS5jb20ACgkQG9Q+yVyrpXPk7xAA1BimwbriIuYK5h9j7o74h8nuv7GsFnkH
 rvntMWlK/XJ3ickOt1upLUyaITjTcb+FP6rKx7kASFaltzemStBU+E/GoQObQqXT
 rCYGcECIn4ffrVYGdvkBzUfTMvCE+OVRh6frenyBEFUxadHeive5h6eENQTuGDvi
 yu631PKMuxILNfT05HyZYTJq+hmkmkQjqYWV9rmAFg1DucAcUVsR5V+eYku3ZdC7
 SKXJMfigrnvjykLIhNqvLu+BbeZ20yrljcNOFET0t/T+ReFCR3phfL24FEf4NPza
 M3FASN+9xezsGfPSTYm6JxdY/oiFzLJ16kp5qqiqgVr4rESMhpGLkie1I7KDUPx8
 tnWz9hfH9RYzNjBjj/A4kC4ZA3uEWFKsbtJTj5EXo8um+rkiKOHSP+N/yjQMKglB
 odWde4WENqwsr7/N39vRRkVIJGwzK7eA3tQmLoLZJwBPn/gC+MB04CqIAhf+VIIK
 ZWyHGU0rQo7WD36GALna6ImvbzBwduzAlbsW3DFzqOH2L9K3d+VgSQjmk7Tk/8Da
 Ds4aih/AXq72yPQxvD/e0JSC0VVZn263tWxTl9yzutrSWyYEKdo0DRsaRVrs+9MJ
 2YHh5tcdRl5bSzdNLXZ8zM2Q5SdsulzEIph6RALtzJcYjA3uz3mz+G+W7HmjaFAj
 hUoMMLJ7Bm0=
 =fnSx
 -----END PGP SIGNATURE-----

Merge tag 'omap-for-v4.20/omap1-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/soc

A series of omap1 gpio changes for ams-delta

Janusz Krzysztofik has cleaned up ams-delta gpio usage along with
generic gpio framework improvments. This series contains the omap1
specific clean-up for ams-delta modem and unused gpios.

Note that this conflicts with the gpio-omap changes queued into
an immutable gpio branch ib-omap for the gpio-omap.h header file.
The merge resolution is to drop the IS_BUILTIN(CONFIG_GPIO_OMAP)
section and keep the #endif tagged for __ASSEMBLER__.

* tag 'omap-for-v4.20/omap1-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  ARM: OMAP1: ams-delta: Don't request unused GPIOs
  ARM: OMAP1: ams-delta-fiq: Use <linux/platform_data/gpio-omap.h>
  ARM: OMAP1: ams-delta: register MODEM device earlier
  ARM: OMAP1: ams-delta: initialize latch2 pins to safe values
  ARM: OMAP1: ams-delta: assign MODEM IRQ from GPIO descriptor

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-09-28 17:59:19 +02:00
Arnd Bergmann
3a60f1182b SoC changes for omap variants
These changes improve support for clkctrl clocks to deal with
 split memory ranges for clkctrl providers. And to use %pOFn
 instead of device_node.name.
 -----BEGIN PGP SIGNATURE-----
 
 iQJFBAABCAAvFiEEkgNvrZJU/QSQYIcQG9Q+yVyrpXMFAlurwRQRHHRvbnlAYXRv
 bWlkZS5jb20ACgkQG9Q+yVyrpXPtWA//QM4iN9xfn28xvczHk1BgUWnrWEI+1JTb
 L5968fKdoFqQ2Dbf0PLkj1z3HX3PYjtpUKM6r4admvZXAxQMwLB/7xO9AR+t7iPV
 uu66ccWrJDX+TTlqN/O84R49hAKbRH30Y84TF1FR+z8Q1ywFVEqLkLb4NWXog2EP
 eJaT8Ze+6CI92tJnmEJpvjNg6BGIvKVD/TwuKj5X+ii4ErVN5czzmnFmct2yPFD/
 N/2Pe+3YxRkPRG0DgDBjkq5OXk5tL8Qy59oscEO0CM1kKbxfjmNWQsX327YUMAwB
 cU+KyvrGtVAMAZ0ad79oTpEtNpMgnqNTLfDWYtsl6dnw9iqukC7c36FprD5bV8av
 DTL/qj/lwKGsa5aAE/Uk4DJkC4OngKQ2MwMCp/zndN2rj2zNQd3p+Dc0uQOeX1wy
 oPu3VvOVtJbmr09rnPfRVV0VYJCe6n3n6rcBNyWPP1sKmTOn32+j8y6kdfbbxwz6
 DczLPh2jOelMbyGfuIds+4CMC+k9Q8PiZ5O5/QmK0wByQNaY401nl6EEnT533g1x
 mUSchTuqGJz71iQcXJ8UCZ9defL1fklFZssIffCEu7u+Ls0G5EOEU1mMczTPMfZX
 bFyR9fO0Am//PFkG4r1CLtrx/OLt7xc+QVNbs0E6WaQlSjW8ygWTZFx/0cRbdjzF
 SOsZzVHBA2s=
 =M1tU
 -----END PGP SIGNATURE-----

Merge tag 'omap-for-v4.20/soc-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/soc

SoC changes for omap variants

These changes improve support for clkctrl clocks to deal with
split memory ranges for clkctrl providers. And to use %pOFn
instead of device_node.name.

* tag 'omap-for-v4.20/soc-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  ARM: OMAP2+: Convert to using %pOFn instead of device_node.name
  ARM: OMAP2+: hwmod_core: improve the support for clkctrl clocks

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-09-28 17:57:58 +02:00
Jason A. Donenfeld
8e2649d00a ARM: support big-endian for the virt architecture
This architecture, used for running in QEMU, runs just fine when
compiled in big-endian mode. So enable it. This is enabled in exactly
the same way that it is for other platforms (such as vexpress) that also
support big-endian mode in QEMU successfully.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-09-28 17:46:11 +02:00
Arnd Bergmann
5280508e01 Second Round of Renesas ARM Based SoC DT Updates for v4.20
* RZ/G1M (r8a7743) based iWave G20D-Q7 board and camera daughter board
   - Move PCIe node out of common dtsi to allow reuse of the common dtsi
     on the iWave RZ/G1N board
 * RZ/G1C (r8a77470) SoC: Add I2C4, SDHI2 and SMP support
 * R-Car Gen1 based boards and R-Car Gen2 SoCs:
   - Enhance top-of-file comments to include SoC name
 * RZ/N1D (r9a06g032) SoC:
   - Correct UART0 description and add all other UARTs
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE4nzZofWswv9L/nKF189kaWo3T74FAlut51oACgkQ189kaWo3
 T77BKg//fhxvkarcATUM+l5hImWpPqAs2J6/+ymR2tsmY6ei8mWlKKdqHP5TCQUe
 nYev93hjOP+MUmMv5Wlgz3Ql6BPyci0nzNGGp53EgADB8ku8olFDXPxykhi3InXc
 MYndvUK/hTMdxP20B0Z+ALbfCWccBO7CnT2La+hHS2IkMGHwiOmYj+rXYneX29yA
 vUgDY7tzg4qHHUjzWpaCtZxo7P3sD1HPFF5dxel6k8ua2gmYIhZ2NEUQTCBofMSl
 186C6KN6x8YnAR3goWf4a1JgzPBlX5U8NZXBOiPgxl8kbxJniXLWtGFs323BK8Sz
 09ilSM4w//HWxDK8n9LxIxzMyrMiXblQA4JPdp1q913f6xePryEEYbV2/tPI0XMM
 iCnZNfkjqUE5ykADcQmNiWrZTbwxFvpT2L8YW1xspQK8yOEgy9yN/Y12Y7yWQ7jy
 dbEVIcxsEm4ccTOed8v5u5SILxujMLhpwUgSvUBIVIPrxAbiO/b/AckykloXX4ej
 TbNHig0TnurnDx0XBMDYcOrVnIEtNycEOiU/Dxp+uk5TxjXnTdcEMh7oCNemjm0r
 ybU56U0XrMNzjVcEwLR44wCp8TPOqL4lvEXuOAgrN0biyaUWInq5NrSlHKJT667R
 7zNtd/TVONUKVZm/xF7p6JGRSlazb9lDkVl9iCO8MBCvPZhGd9Q=
 =xv5S
 -----END PGP SIGNATURE-----

Merge tag 'renesas-arm-dt2-for-v4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/dt

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

* RZ/G1M (r8a7743) based iWave G20D-Q7 board and camera daughter board
  - Move PCIe node out of common dtsi to allow reuse of the common dtsi
    on the iWave RZ/G1N board
* RZ/G1C (r8a77470) SoC: Add I2C4, SDHI2 and SMP support
* R-Car Gen1 based boards and R-Car Gen2 SoCs:
  - Enhance top-of-file comments to include SoC name
* RZ/N1D (r9a06g032) SoC:
  - Correct UART0 description and add all other UARTs

* tag 'renesas-arm-dt2-for-v4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  ARM: dts: iwg20d-q7-common: Move pciec node out of common dtsi
  ARM: dts: r8a77470: Add I2C4 support
  ARM: dts: r8a77470: Add SDHI2 support
  ARM: dts: r8a77470: Add SMP support
  ARM: dts: R-Car Gen1 board comment update
  ARM: dts: Include R-Car Gen2 product name in DTSI files
  ARM: dts: r9a06g032: Correct UART and add all other UARTs

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-09-28 17:43:21 +02:00
Arnd Bergmann
d4db2b19eb ARM: tegra: Device tree changes for v4.20-rc1
This contains a massive amount of changes from Marcel Ziswiler for
 various boards by Toradex.
 -----BEGIN PGP SIGNATURE-----
 
 iQJHBAABCAAxFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlutQ+UTHHRyZWRpbmdA
 bnZpZGlhLmNvbQAKCRDdI6zXfz6zoap9EACWCtuZX1sqPHrU3qNIlqgb2GTFq9IR
 DOt+J0kxbVHddvgnaxnHdXq25nQ7fSCIx+k06C1Gs4/PmhMm4wLkJhaE7l80Ru5i
 5hKMlp/4mf4GN+aEqsLje6QndbUMUhVWTEk7U/OIybE4DeVq50ApKBP5lbuurAa/
 T/EeMUWzfsgbH64AXgLMrgQ8i9sM+FuGWGvIBPIwvOXJiyEcOwoO5/c7BkQngQkZ
 eglydbt9TWlWkdB4C9OM4/TGCHbnC8gO9XqBMniMI5mCTVpihPQ/O3RPfp8iWy83
 hfpxzyWK2w0LY2nyn4UdUhlc4YKD/piu290BHlx0HBEv0ovJrktlAYghhvQWbgIz
 7LHn8BV4jid23vn8tPhbmaWRZfXEwCviUqVVroKNuz6cJzNktXuXJQYI2QcSYCvf
 BQmynXWrcdMH8zFzXDSKUAIbgnj17kWSk0BACqdutj21GPhBJA7NbFhYpNUVngYU
 0JfVV14plzvZff4FIZCExH46zaHz5hlszrlNVI+wqRIGnpOvE9FZBTNbnZlm+e6x
 KHhUqyGA8dlMidgtb/kSKAfKsqWKwC5CsXkmFJeaVrfUcaBftY5zmVmkv4KCVL8u
 c7j3N8PjeSJR+Pf9yE7YwzZJttegiljw5VwFjVR5Z7nEtTYD2U9WGtHu1OgqgKm+
 8wJFaLJ/psinfw==
 =XdYT
 -----END PGP SIGNATURE-----

Merge tag 'tegra-for-4.20-arm-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into next/dt

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

This contains a massive amount of changes from Marcel Ziswiler for
various boards by Toradex.

* tag 'tegra-for-4.20-arm-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux: (129 commits)
  ARM: dts: paz00: fix wakeup gpio keycode
  ARM: tegra: tegra20: Fix mixed tabs-spaces indentation
  ARM: tegra: colibri_t20: add eval board device tree
  ARM: tegra: colibri_t20: rename ac97 label to tegra_ac97
  ARM: tegra: colibri_t20: get rid of fake clocks simple bus
  ARM: tegra: colibri_t20: rename tps6586x@34 and drop unused pmic label
  ARM: tegra: colibri_t20: iris: drop unused i2c_ddc label
  ARM: tegra: colibri_t20: rename i2c_ddc to hdmi_ddc
  ARM: tegra: colibri_t20: drop module level model and compatible
  ARM: tegra: colibri_t20: iris: add colibri ssp support
  ARM: tegra: colibri_t20: iris: simplify model and compatible properties
  ARM: tegra: colibri_t20: simplify model and compatible properties
  ARM: tegra: colibri_t20: add compatibility comment
  ARM: tegra: colibri_t20: annotate/move sd card detect
  ARM: tegra: colibri_t20: add gpio hogs for gmi_wr_n buffers
  ARM: tegra: colibri_t20: add gpio hog to unreset usb ethernet chip
  ARM: tegra: colibri_t20: add i2c-thermtrip
  ARM: tegra: colibri_t20: annotate/rename lm95245 temperature sensor
  ARM: tegra: colibri_t20: iris: add dr_mode property
  ARM: tegra: colibri_t20: iris: add gpio wakeup key
  ...

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-09-28 17:39:58 +02:00
Arnd Bergmann
0dfc62946b This device-tree pxa update brings :
- a couple of changes for future pxa2xx platforms
   - 2 fixes in RTC and I2C domain
 -----BEGIN PGP SIGNATURE-----
 
 iQJLBAABCAA1FiEExgkueSa0u8n4Ls+HA/Z63R24yxIFAlutOjYXHHJvYmVydC5q
 YXJ6bWlrQGZyZWUuZnIACgkQA/Z63R24yxL6RQ/6A9wgnuSBsvmi3BtGMp2XcHyp
 ZbQguQAbKu1U68pYobA3bMdEFd0Bbw4bgqc1tYZXMHOGw/JC60fyKKgO4VE2mUz4
 RSV502Njcp8yKFymsI2tVjQc0XO5zlwGpILwEuq0Kw4naXQwuuZl9kE93TeLYsBH
 qBu6L5fPQ/3w3GMY0LcI5KjKCHPSb+WOKr5oB+di96xanF0uBID2bWWKAZf5e+No
 y3g1Z57RAnw34jqmrUbs94VBlmglqDdZz6a8H0VjugX99wqPZp3mne1aDkYG2PI6
 0OkocRFtOyeJJ925ZuSrPPbyKdCGVAxmFhoHt0swdgTGaxv/uWIJqyqXzD8EKrMR
 PUMsUiOwmY37JXFsdVPNm/g22BZn9+i11IwLkNKWJWHOYA9j+LZE4hx9j5xyOqwR
 CnVH/qLG82Y1/bDjkJViCAPOgES79TFGy3X2C0YLvxz0FtnINhwsEjW/qOkvo98n
 kBK1Yd92CxhcE2X0B3oPNsjiBaD1JGY4k6E6oZtvFFjCFU6u+dRwJZtrhnUnXWpX
 HC1XcrJ+Hs1jtmWDp8+8v5T4yFu7KUJphUpUVj5c1olzyyzaBCHZ97g1lyvRknsH
 8MfgwpUlOCNv6ozrUBMsabdrZj8HiJkdHst9CUGET7tVMMzN2c7S86HAuSJVOzgc
 WD+GjBxZxIGBScSmeHM=
 =LMkG
 -----END PGP SIGNATURE-----

Merge tag 'pxa-dt-4.20' of https://github.com/rjarzmik/linux into next/dt

This device-tree pxa update brings :
 - a couple of changes for future pxa2xx platforms
  - 2 fixes in RTC and I2C domain

* tag 'pxa-dt-4.20' of https://github.com/rjarzmik/linux:
  ARM: dts: pxa: add pincontrol helpers
  ARM: dts: pxa: fix power i2c base address
  ARM: dts: pxa: fix the rtc controller
  ARM: dts: pxa: change serial node names

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-09-28 13:07:07 +02:00
Arnd Bergmann
49919eabc8 ARM: dts: Amlogic updates for v4.20
- fix clock controller register sizes
 - new board: Endless Mini (EC-100) by Endless Mobile
 - add voltage regulators
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEe4dGDhaSf6n1v/EMWTcYmtP7xmUFAlurT/EACgkQWTcYmtP7
 xmXSGA/+PW0Z0oflNIoqwdqy5MIJ53pQjLvNzL7lzWa/l8pYFRyBC5TIatJrOUOL
 QwtSnhiCH2nylzlXUwEgWhLq2Zrn/Z9NDNe3lf73alzugAnEwQ9Jzbl3TdQs4Zzu
 n8hU/p8BKKkNRXdkjdu+DCd71x6lzt40oVCbQuFqLzFkE/a12GrY98OWmnAG4LWA
 muP//fuIKTHd2eosRmVs2vmK3uHOq/JZUaIZJCpNC3SlIM00P5EGzLhQ+2ZoVXfm
 FvSFXiSbq6E9lybrTT+exZOdR3S5tcLR+dxzMhcTksz/Ng7euQONfgTew9+UE0ko
 ikZwf9KgqWih/eVX7Ut6nwOdhXHMgkw2kIf79qE93Hqt+17eCqcQY9GD5Hqk4Q6S
 gDmihGZeUQKg9h0MIrqSBANryx/2TwYpVZORHDeEvT7PENgeDwN7X245fyaz+YkS
 xOMPpleQXSgE9iZC+LpRcTOxjo5OuxUzaRBqRp7TTwJnZVr5+KILO58/noSFZl/P
 EkzIPIpqQFaEo+mrdypkZ5LOYpfvGMUMWqyhgnFjMqmDCg2yLUEkiWbb/FX1Gb5w
 DzLQ7+1ODmsnjoxuOKOTNHX/OPKmSK9ZscZJyZIXxRw8ZP6qPIyIk8AxSWojaqhB
 obSMTof8gO5FH5G+wjOzZrDA/0bgtLf0Rsoo5CoieKTsY8OX5o0=
 =U6kf
 -----END PGP SIGNATURE-----

Merge tag 'amlogic-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic into next/dt

ARM: dts: Amlogic updates for v4.20
- fix clock controller register sizes
- new board: Endless Mini (EC-100) by Endless Mobile
- add voltage regulators

* tag 'amlogic-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic:
  ARM: dts: meson8b: odroidc1: add stdout-path property
  ARM: dts: meson8b: odroidc1: enable the SAR ADC
  ARM: dts: meson8b: odroidc1: add the fixed voltage regulators
  ARM: dts: meson8b: odroidc1: add the CPU voltage regulator
  ARM: dts: meson8b: Add support for the Endless Mini (EC-100)
  ARM: dts: meson8b: add the RMII pins
  ARM: dts: meson8b: add the I2C_A, PWM_C and UART_B pins
  dt-bindings: arm: amlogic: Add the Endless Mobile Endless Mini (EC-100)
  dt-bindings: add vendor prefix for "Endless Mobile, Inc."
  ARM: dts: meson8b: fix the clock controller register size
  ARM: dts: meson8: fix the clock controller register size

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-09-28 12:46:05 +02:00
Arnd Bergmann
f3b1859bcf Realview DTS update for v4.20:
- One patch from Rob fixing SPI node names
 -----BEGIN PGP SIGNATURE-----
 
 iQIcBAABAgAGBQJbrIccAAoJEEEQszewGV1zY78P/2L0JfSwGLI9hfFkXTSKMOD6
 B99i9Qs3TKy5alB07pGUhYpet8L5uq5Z186+u5QvYdOU2tfxxllQ7LnrWSg488EX
 WHcEO6UI/iJUprV2YgqwLKByl2X57XbxA7q6YB7zMnyBmmlDrHu2hj3GC/0ENX+0
 M6lgvN0I350rOQQDb6yBWIXFhSpEOfY8JnyGq5LoUcurDTmkw95nK1mN+TzoOzvO
 UJO5bRp3/7CPGFjRdJ9oT5dk6V2y5vacG3g4yoFInbTVGOMxn/NxTcobMN1GhoaP
 HOvb5ieWXXt1irqmM9/fJSNHHK45zPIAqE5qDlY2zvFc1lSv1pml6dCfrHM9Bm0S
 Zy4M5TOXKjA6FJVWjZjIr8YcaS47yndCxqGNiZbONr3JnPDkw/E5WtpzdEJW8YT2
 919+F/DjCyRbHi7NjUf05DRrr3+QSb72rHNzerG7IHnVlFFa6mV13g4mwZ3wcM16
 Vr0q+2R4q1wrk3ZSdypzWjTsNj5FJ6n6+vyzb9QRBwlWAeuzuWSE12t5+VXvbd+h
 aKZ34+j4d5sOO/CuClFVFEYYhE5GxJfnNqzz3oqqRDp7VK9b6DbOJFUDdoivNyG3
 X0OPJRaeV42ShujxR0gZx89CpMJ+UbVu3GQ61B2TTOt3NGyU/Km8E0sMr6+7nkXH
 KgO741hRDnURixNXLdLp
 =e5tN
 -----END PGP SIGNATURE-----

Merge tag 'realview-dts-v4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator into next/dt

Realview DTS update for v4.20:
- One patch from Rob fixing SPI node names

* tag 'realview-dts-v4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator:
  ARM: dts: realview: Fix SPI controller node names

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-09-28 12:35:32 +02:00
Rob Herring
11236ef582 ARM: dts: lpc32xx: Fix SPI controller node names
SPI controller nodes should be named 'spi' rather than 'ssp'. Fixing the
name enables dtc SPI bus checks.

Cc: Vladimir Zapolskiy <vz@mleia.com>
Cc: Sylvain Lemieux <slemieux.tyco@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-09-28 12:33:50 +02:00
Biju Das
e0a39511da ARM: dts: iwg20d-q7-common: Move pciec node out of common dtsi
PCIe is not populated by default on iWave RZ/G1N board. RZ/G1N board
is almost identical to RZ/G1M. In order to reuse the common dtsi for
both the boards, it is required to move pcie node from common dtsi
to board specific dts.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-28 10:32:50 +02:00
Fabrizio Castro
3578859661 ARM: dts: r8a77470: Add I2C4 support
Add I2C4 support to RZ/G1C (a.k.a. r8a77470) SoC specific
device tree.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Biju Das <biju.das@bp.renesas.com>
Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-28 10:32:49 +02:00
Fabrizio Castro
f068cc8160 ARM: dts: r8a77470: Add SDHI2 support
Add SoC specific device tree definitions for the SDHI2 interface.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Biju Das <biju.das@bp.renesas.com>
Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-28 10:32:48 +02:00
Fabrizio Castro
a21efdbc74 ARM: dts: r8a77470: Add SMP support
Add DT node for the Advanced Power Management Unit (APMU), add the
second CPU core, and use "renesas,apmu" as "enable-method".

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-28 10:32:47 +02:00
Magnus Damm
a070e3dc61 ARM: dts: R-Car Gen1 board comment update
Include R-Car Gen1 product names for Bock-W and Marzen.

The product names are taken from:
Documentation/devicetree/bindings/arm/shmobile.txt

Signed-off-by: Magnus Damm <damm@opensource.se>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-28 10:32:36 +02:00
Magnus Damm
89b43b0812 ARM: dts: Include R-Car Gen2 product name in DTSI files
Improve the user friendliness of the DTS code base by including the
R-Car product name in each R-Car Gen2 DTSI file.

The product names are taken from:
Documentation/devicetree/bindings/arm/shmobile.txt

Signed-off-by: Magnus Damm <damm@opensource.se>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2018-09-28 10:32:31 +02:00
Eric W. Biederman
b059454846 signal/arm: Use send_sig_fault where appropriate
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
2018-09-27 21:57:40 +02:00
Eric W. Biederman
3ee6a44987 signal/arm: Use force_sig_fault where appropriate
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
2018-09-27 21:57:39 +02:00
Eric W. Biederman
05e792e30e signal/arm: Push siginfo generation into arm_notify_die
In arm_notify_die call force_sig_fault to let the generic
code handle siginfo generation.

This removes some boiler plate making the code easier to
maintain in the long run.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
2018-09-27 21:55:30 +02:00
H. Nikolaus Schaller
20bcd4a4d7 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>
2018-09-27 08:29:14 -07:00
Thor Thayer
ce3bf934f9 ARM: dts: socfpga: Fix SDRAM node address for Arria10
The address in the SDRAM node was incorrect. Fix this to agree with the
correct address and to match the reg definition block.

Cc: stable@vger.kernel.org
Fixes: 54b4a8f57848b("arm: socfpga: dts: Add Arria10 SDRAM EDAC DTS support")
Signed-off-by: Thor Thayer <thor.thayer@linux.intel.com>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
2018-09-27 09:33:00 -05:00
Rob Herring
016add1297 ARM: dts: realview: Fix SPI controller node names
SPI controller nodes should be named 'spi' rather than 'ssp'. Fixing the
name enables dtc SPI bus checks.

Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2018-09-27 09:29:12 +02:00
Brian Masney
703e699dbe ARM: dts: qcom-msm8974: change invalid flag IRQ NONE to valid value
The following commits used IRQ_TYPE_NONE since that matched what was
already in the file and I do not have access to the datasheets for
these devices. After these patches were submitted, commit dcf1450114
("ARM: dts: qcom-msm8974: change invalid flag IRQ NONE to valid value")
changed all of these values to IRQ_TYPE_LEVEL_HIGH. This patch corrects
the IRQ type for these two commits:

commit bd93925075 ("ARM: dts: qcom: msm8974-hammerhead: add device
tree bindings for ALS / proximity")

commit fe8d81fe7d ("ARM: dts: qcom: msm8974-hammerhead: add device
tree bindings for mpu6515")

Prior to these patches, I was having issues with the bmp280 sensor
returning temperature / pressure skipped errors, however these errors
have gone away with these patches.

Patches were tested on a LG Nexus 5 (hammerhead) phone.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
2018-09-26 11:42:27 -05:00
Marc Dietrich
ebea2a43fd ARM: dts: paz00: fix wakeup gpio keycode
The power key is controlled solely by the EC, which only tiggeres this
gpio after wakeup.
Fixes immediately return to suspend after wake from LP1.

Signed-off-by: Marc Dietrich <marvin24@gmx.de>
Tested-by: Nicolas Chauvet <kwizart@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 17:29:41 +02:00
Arnd Bergmann
8fe3c0612c Merge tag 'zynq-soc-for-v4.20' of https://github.com/Xilinx/linux-xlnx into next/soc
ARM: Xilinx Zynq SoC patches for v4.20

- Convert to using %pOFn instead of device_node.name in slcr driver

* tag 'zynq-soc-for-v4.20' of https://github.com/Xilinx/linux-xlnx:
  ARM: zynq: Convert to using %pOFn instead of device_node.name

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-09-26 17:18:26 +02:00
Arnd Bergmann
1abf47edb3 ARM: dts: zynq: DT changes for v4.20
- Fix DTS spi/i2c warnings for zc702/zc770 boards
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iEYEABECAAYFAlurMyYACgkQykllyylKDCGtDACeMU1f8m2RXew0Y2pLJVN/teJM
 d1oAnjhkULs+DsJXj2pPJpkbYqnqeTS1
 =g3ss
 -----END PGP SIGNATURE-----

Merge tag 'zynq-dt-for-v4.20' of https://github.com/Xilinx/linux-xlnx into next/dt

ARM: dts: zynq: DT changes for v4.20

- Fix DTS spi/i2c warnings for zc702/zc770 boards

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2018-09-26 17:10:05 +02:00
Krzysztof Kozlowski
06d561ca0f ARM: tegra: tegra20: Fix mixed tabs-spaces indentation
Fix indentation and alignment when spaces were used instead of tabs.
This fixes checkpatch errors like:

    ERROR: code indent should use tabs where possible
    #306: FILE: arch/arm/boot/dts/tegra20-paz00.dts:306:
    +^I^I         <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;$

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 17:07:47 +02:00
Marcel Ziswiler
fee8cdc2df ARM: tegra: colibri_t20: add eval board device tree
Add an evaluation board device tree more in-line with all our other
device trees.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:55:19 +02:00
Marcel Ziswiler
5373f80201 ARM: tegra: colibri_t20: rename ac97 label to tegra_ac97
Rename ac97 label to tegra_ac97 to be more in-line with the device tree
binding documentation.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:55:19 +02:00
Marcel Ziswiler
cafed755d5 ARM: tegra: colibri_t20: get rid of fake clocks simple bus
Get rid of the fake clocks simple bus and use node names as per the
actual schematics.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:55:19 +02:00
Marcel Ziswiler
8f4a8e0931 ARM: tegra: colibri_t20: rename tps6586x@34 and drop unused pmic label
Rename tps6586x@34 to pmic@34 and drop the unused pmic label.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:55:18 +02:00
Marcel Ziswiler
613953abdf ARM: tegra: colibri_t20: iris: drop unused i2c_ddc label
Drop unused i2c_ddc label.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:55:18 +02:00
Marcel Ziswiler
82e7ceccf2 ARM: tegra: colibri_t20: rename i2c_ddc to hdmi_ddc
Rename i2c_ddc to hdmi_ddc to be more in-line with other device trees.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:55:18 +02:00
Marcel Ziswiler
6a32a913bf ARM: tegra: colibri_t20: drop module level model and compatible
Drop model and compatible nodes from the module level device tree as
they get overridden by the carrier board device tree anyway.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:55:18 +02:00
Marcel Ziswiler
463a8f714a ARM: tegra: colibri_t20: iris: add colibri ssp support
Add Colibri SSP aka SPI support using the SPI4 instance.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:55:17 +02:00
Marcel Ziswiler
a7867ac8a1 ARM: tegra: colibri_t20: iris: simplify model and compatible properties
Simplify model and compatible by dropping the 256/512 MB from the model,
-512 from the compatible and rename that property from toradex,iris to
toradex,colibri_t20-iris to be more in-line with all our other device
trees.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:55:16 +02:00
Marcel Ziswiler
4f135281b3 ARM: tegra: colibri_t20: simplify model and compatible properties
Simplify model and compatible by dropping the 256/512 MB from the model
and -512 from the compatible properties to be more in-line with all our
other device trees.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:55:16 +02:00
Marcel Ziswiler
6a4a865d1c ARM: tegra: colibri_t20: add compatibility comment
Add compatibility comment.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:55:16 +02:00
Marcel Ziswiler
88fd676b15 ARM: tegra: colibri_t20: annotate/move sd card detect
Annotate the SD card, its detect pin and move the SD card detect GPIO
definition from the module to the carrier board more in-line with our
other device trees.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:55:16 +02:00
Marcel Ziswiler
351c72c832 ARM: tegra: colibri_t20: add gpio hogs for gmi_wr_n buffers
Add GPIO hogs for GMI_WR_N buffers:
- tri-stating GMI_WR_N on SODIMM pin 99 nPWE
- not tri-stating GMI_WR_N on SODIMM pin 93 RDnWR

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:55:16 +02:00
Marcel Ziswiler
0b51e73ba1 ARM: tegra: colibri_t20: add gpio hog to unreset usb ethernet chip
Add GPIO hog to unreset ASIX AX88772B USB Ethernet chip.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:55:16 +02:00
Marcel Ziswiler
d5178bb6f8 ARM: tegra: colibri_t20: add i2c-thermtrip
Add i2c-thermtrip which would set the SLEEP MODE bit in the SUPPLYENE
register of the TPS658643 PMIC.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:55:15 +02:00
Marcel Ziswiler
df2be1ae62 ARM: tegra: colibri_t20: annotate/rename lm95245 temperature sensor
Rename and annotate LM95245 temperature sensor more in-line with our
other device trees.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:55:15 +02:00
Marcel Ziswiler
9b41e68af9 ARM: tegra: colibri_t20: iris: add dr_mode property
Add dr_mode property to the USB controller.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:55:15 +02:00
Marcel Ziswiler
ccf7f6d427 ARM: tegra: colibri_t20: iris: add gpio wakeup key
Add SODIMM pin 45 as GPIO wakeup key.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:55:14 +02:00
Marcel Ziswiler
9ad510b33e ARM: tegra: colibri_t20: use high speed uart driver
Use high speed UART driver compatible nvidia,tegra20-hsuart.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:55:14 +02:00
Marcel Ziswiler
0d3fda4609 ARM: tegra: colibri_t20: iris: add uart-c
Add UART-C.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:55:13 +02:00
Marcel Ziswiler
9ccaf9466b ARM: tegra: colibri_t20: iris: annotate uarts
Annotate UART-A and UART-B.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:55:13 +02:00
Marcel Ziswiler
9a796cd295 ARM: tegra: colibri_t20: iris: display controller rgb panel support
Add display controller parallel RGB panel support incl. backlight PWM.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:55:13 +02:00
Marcel Ziswiler
992cf09b14 ARM: tegra: colibri_t20: add missing pinmux
Explicitly add pinmux' for all T20 SoC ball groups now:
- Colibri Address/Data Bus (GMI) further pins used as GPIOs
- Colibri BL_ON
- Colibri EXT_IO*
- Colibri L_BIAS, LCD_M1 is muxed with LCD_DE today's display need DE,
  disable LCD_M1
- more Colibri LCD pins (L_* resp. LDD<*>)
- Colibri LCD (Optional 24 BPP Support)
- Colibri MMCCD
- uart_a_dsr and uart_a_dcd as GPIOs
- Colibri USB_CDET
- I2C3 (Optional)
- JTAG_RTCK
- LAN_RESET, LAN_EXT_WAKEUP and LAN_PME (All On-module)
- more NAND pins
- RESET_OUT
- THERMD_ALERT# (On-module), unlatched I2C address pin of LM95245
  temperature sensor therefore requires disabling for now

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:55:12 +02:00
Marcel Ziswiler
a2cb59be10 ARM: tegra: colibri_t20: pinmux clean-up
Just cosmetic pinmux clean-up.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:55:12 +02:00
Marcel Ziswiler
ea60afb8d6 ARM: tegra: colibri_t20: update sound nvidia,model
Update sound nvidia,model to be more in-line with our other device
trees.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:55:12 +02:00
Marcel Ziswiler
035ae62dfb ARM: tegra: colibri_t20: indentation/line-feed/white-space clean-up
Cleaning up indentation, line-feed and white-space.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:55:11 +02:00
Marcel Ziswiler
4307e2ce5d ARM: tegra: colibri_t20: remove phy-reset-gpio from controller node
Remove the phy-reset-gpio from the USB controller node as it is already
specified in the PHY node.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:52:30 +02:00
Marcel Ziswiler
2287ef76d0 ARM: tegra: colibri_t20: annotate usb ehci instances
Annotate USB EHCI instances.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:52:29 +02:00
Marcel Ziswiler
18e6ccefe1 ARM: tegra: colibri_t20: add missing regulators
Add missing regulators:
- reg_lan_v_bus being USB Ethernet chip vbus supply
- carrier board reg_3v3 to be used as backlight and panel power supply
- carrier board HDMI supply being reg_5v0
- reg_usbc_vbus being the USB vbus supply of the EHCI instance 0

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:52:29 +02:00
Marcel Ziswiler
3647c7b848 ARM: tegra: colibri_t20: regulator clean-up
Just cosmetic regulator clean-up.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:52:29 +02:00
Marcel Ziswiler
142165cf73 ARM: tegra: colibri_t20: iris: use no-1-8-v
Use no-1-8-v property rather than vmmc/vqmmc supplies and drop now
obsolete and anyway non-existent vcc_sd.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:52:28 +02:00
Marcel Ziswiler
e6800c214e ARM: tegra: colibri_t20: reorder host1x/hdmi properties
Reorder Host1x/HDMI properties.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:52:28 +02:00
Marcel Ziswiler
364ba10439 ARM: tegra: colibri_t20: add local-mac-address property
Add empty local-mac-address property to be filled in by boot loader
(e.g. U-Boot).

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:52:28 +02:00
Marcel Ziswiler
1d6050d67e ARM: tegra: colibri_t20: iris: annotate i2c busses
Annotate I2C busses: GEN2_I2C and CAM_I2C (I2C3) being unused and
DDC_CLOCK/DATA on X3 pin 15/16 e.g. used for display EDID.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:52:27 +02:00
Marcel Ziswiler
59b6f20bcc ARM: tegra: colibri_t20: iris: add missing aliases
Add rtc0 being the ultra low-power I2C one as found on the carrier board
and the 3rd UART being NVIDIA's UARTB.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:52:27 +02:00
Marcel Ziswiler
3ef8af133e ARM: tegra: colibri_t20: iris: integrate i2c real time clock support
Integrate support for GEN1_I2C aka I2C_SDA/SCL on SODIMM pin 194/196 and
the M41T0M6 real time clock on the carrier board.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:52:26 +02:00
Marcel Ziswiler
3c59cae79f ARM: tegra: colibri_t20: move aliases from module to carrier board
Move RTC aliases from module to carrier board to be more in-line with
all our other device trees.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:52:26 +02:00
Marcel Ziswiler
4b601b9f10 ARM: tegra: apalis-tk1: drop unused hdmi_ddc label
Drop unused hdmi_ddc label.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:50:40 +02:00
Marcel Ziswiler
6253f88572 ARM: tegra: apalis-tk1: shorten temperature-sensor node
Shorten temperature-sensor node to just temp-sensor as suggested
in the binding documentation.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:50:39 +02:00
Marcel Ziswiler
94c3847dc5 ARM: tegra: apalis-tk1: get rid of fake clocks simple bus
Get rid of the fake clocks simple bus and use node names as per the
actual schematics.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:50:39 +02:00
Marcel Ziswiler
26e19cdf66 ARM: tegra: apalis-tk1: replace underscores in node names with dashes
As underscores in node names are not recommended replace them all where
possible with dashes.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:50:39 +02:00
Marcel Ziswiler
4802623981 ARM: tegra: apalis-tk1: drop obsolete spidev nodes
Drop obsolete spidev device tree nodes as nowadays one should do this
by binding the spidev driver to specific instances/chip selects at
runtime.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:50:38 +02:00
Marcel Ziswiler
43ff75a8e3 ARM: tegra: apalis-tk1: drop module level model and compatible
Drop model and compatible nodes from the module level device tree as
they get overridden by the carrier board device tree anyway.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:50:38 +02:00
Marcel Ziswiler
a64b51a3ed ARM: tegra: apalis-tk1: reorder SD card properties
Reorder SD card properties.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:50:38 +02:00
Marcel Ziswiler
e0cffa9a1b ARM: tegra: apalis-tk1: reorder cpu dfll clock properties
Reorder CPU DFLL clock properties.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:50:38 +02:00
Marcel Ziswiler
a052d2b67f ARM: tegra: apalis-tk1: add toradex, apalis-tk1-v1.2 compatible
Add toradex,apalis-tk1-v1.2 compatible.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:50:37 +02:00
Marcel Ziswiler
8be6e49a65 ARM: tegra: apalis-tk1: enable emmc ddr52 mode
Add mmc-ddr-1_8v property enabling eMMC DDR52 mode.

root@apalis-tk1-mainline:~# cat /sys/kernel/debug/mmc2/ios
clock:          52000000 Hz
actual clock:   52000000 Hz
vdd:            21 (3.3 ~ 3.4 V)
bus mode:       2 (push-pull)
chip select:    0 (don't care)
power mode:     2 (on)
bus width:      3 (8 bits)
timing spec:    8 (mmc DDR52)
signal voltage: 1 (1.80 V)
driver type:    0 (driver type B)
root@apalis-tk1-mainline:~# hdparm -t /dev/mmcblk2

/dev/mmcblk2:
 Timing buffered disk reads: 256 MB in  3.02 seconds =  84.83 MB/sec

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:50:37 +02:00
Marcel Ziswiler
fca051b02a ARM: tegra: apalis-tk1: add proper emmc vmmc and vqmmc supplies
Add proper eMMC vmmc and vqmmc supplies e.g. fixing signalling voltage.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:50:37 +02:00
Marcel Ziswiler
958b767d68 ARM: tegra: apalis-tk1: reorder backlight properties
Reorder backlight properties.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:50:36 +02:00
Marcel Ziswiler
138ce63521 ARM: tegra: apalis-tk1: white-space clean-up
White-space clean-up.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:50:36 +02:00
Marcel Ziswiler
35a2473f6d ARM: tegra: apalis-tk1: drop unused pinmux label
Drop unused pinmux label.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:50:35 +02:00
Marcel Ziswiler
8c3a9d213b ARM: tegra: apalis-tk1: add missing regulators
Add missing regulators:
- reg_module_3v3_audio being VDDA supply of SGTL5000
- VDDD supply of SGTL5000 actually being reg_1v8_vio
- TMP451 temperature sensor vcc supply being reg_module_3v3
- usb3-0 vbus supply being reg_usbh_vbus
- usb3-1 vbus supply being reg_usbo1_vbus
- carrier board HDMI supply being reg_5v0
- carrier board sata target 5v supply being reg_5v0
- carrier board sata target 12v supply being reg_12v0
- carrier board reg_3v3 actually being backlight power supply

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:50:35 +02:00
Marcel Ziswiler
1bef3a5716 ARM: tegra: apalis-tk1: regulator clean-up
Just cosmetic regulator clean-up.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:50:35 +02:00
Marcel Ziswiler
a945eae0c6 ARM: tegra: apalis-tk1: reorder padctl properties
Reorder padctl properties.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:50:34 +02:00
Marcel Ziswiler
f2f7bf06c5 ARM: tegra: apalis-tk1: reorder host1x/hdmi properties
Reorder Host1x/HDMI properties.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:50:34 +02:00
Marcel Ziswiler
864495be67 ARM: tegra: apalis-tk1: add local-mac-address property
Add empty local-mac-address property to be filled in by boot loader
(e.g. U-Boot).

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:50:33 +02:00
Marcel Ziswiler
5ffdfa1aca ARM: tegra: colibri_t30: annotate power I2C being on-module
The power I2C bus aka PWR_I2C which connects to the audio codec, PMIC,
temperature sensor and touch screen controller is really on-module only.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:48:07 +02:00
Marcel Ziswiler
f7ce7658c0 ARM: tegra: colibri_t30: annotate unused i2c busses
Both GEN2_I2C as well as CAM_I2C (I2C3) are unused in our design.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:48:07 +02:00
Marcel Ziswiler
070c134271 ARM: tegra: colibri_t30: add mcp2515 vdd and xceiver supplies
Add the MCP2515 SPI CAN controller's vdd-supply being the regular
carrier board's reg_3v3 and xceiver-supply being reg_5v0.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:48:07 +02:00
Marcel Ziswiler
e4f75fd111 ARM: tegra: colibri_t30: remove unused mcp2515 can0 label
Get rid of the unused MCP2515 SPI CAN controller can0 label.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:48:07 +02:00
Marcel Ziswiler
503fcd8464 ARM: tegra: colibri_t30: fix mcp2515 can controller interrupt polarity
Fix the MCP2515 SPI CAN controller interrupt polarity which according
to its datasheet defaults to low-active aka falling edge.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:48:06 +02:00
Marcel Ziswiler
63ad93767a ARM: tegra: colibri_t30: rename tps65911@2d, stmpe811@41 and tps62362@60
Rename a few nodes using more common names:
- rename tps65911@2d to pmic@2d
- rename stmpe811@41 to touchscreen@41
- rename tps62362@60 to regulator@60

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:48:06 +02:00
Marcel Ziswiler
8941e33049 ARM: tegra: colibri_t30: rename hdmiddc to hdmi_ddc
Rename hdmiddc to hdmi_ddc to be more in-line with other device trees.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:48:06 +02:00
Marcel Ziswiler
ccb99d44c3 ARM: tegra: colibri_t30: drop obsolete spidev node
Drop obsolete spidev device tree node as nowadays one should do this
by binding the spidev driver to specific instances/chip selects at
runtime.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:48:05 +02:00
Marcel Ziswiler
9eca7649a7 ARM: tegra: colibri_t30: drop module level model and compatible
Drop model and compatible nodes from the module level device tree as
they get overridden by the carrier board device tree anyway.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:48:05 +02:00
Marcel Ziswiler
a1f5a76ff0 ARM: tegra: colibri_t30: update compatibility comment
Update compatibility comment.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:48:04 +02:00
Marcel Ziswiler
20fd13e2a1 ARM: tegra: colibri_t30: annotate ehci instance 1
Annotate EHCI instance 1 (USB2_DP/N) connecting to ASIX AX88772B USB to
Ethernet chip being on-module.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:48:04 +02:00
Marcel Ziswiler
f234e54388 ARM: tegra: colibri_t30: annotate sd card detect
Annotate SD card detect.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:48:03 +02:00
Marcel Ziswiler
e0957df84a ARM: tegra: colibri_t30: enable hda over hdmi
Enable HDA over HDMI.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:48:03 +02:00
Marcel Ziswiler
1e7c4fc3da ARM: tegra: colibri_t30: add gpio hog to unreset usb ethernet chip
Add GPIO hog to unreset ASIX AX88772B USB Ethernet chip.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:48:02 +02:00
Marcel Ziswiler
0fb83a8369 ARM: tegra: colibri_t30: remove unused nvidia, is-wired property
Remove unused nvidia,is-wired property.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:48:02 +02:00
Marcel Ziswiler
ead9a4c36d ARM: tegra: colibri_t30: move input include to carrier board
Move input include to carrier board.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:48:02 +02:00
Marcel Ziswiler
23a13d4c4d ARM: tegra: colibri_t30: line break long compatible property line
Line break long compatible property line.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:48:02 +02:00
Marcel Ziswiler
932079d01b ARM: tegra: colibri_t30: get rid of fake clocks simple bus
Get rid of the fake clocks simple bus and use node names as per the
actual schematics.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:48:02 +02:00
Marcel Ziswiler
dc741b7bde ARM: tegra: colibri_t30: enable emmc ddr52 mode
Add mmc-ddr-1_8v property enabling eMMC DDR52 mode.

root@colibri-t30:~# cat /sys/kernel/debug/mmc1/ios
clock:          52000000 Hz
actual clock:   52000000 Hz
vdd:            21 (3.3 ~ 3.4 V)
bus mode:       2 (push-pull)
chip select:    0 (don't care)
power mode:     2 (on)
bus width:      3 (8 bits)
timing spec:    8 (mmc DDR52)
signal voltage: 1 (1.80 V)
driver type:    0 (driver type B)
root@colibri-t30:~# hdparm -t /dev/mmcblk1

/dev/mmcblk1:
 Timing buffered disk reads: 222 MB in  3.00 seconds =  73.92 MB/sec

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:48:02 +02:00
Marcel Ziswiler
44925e4f6e ARM: tegra: colibri_t30: add proper emmc vmmc and vqmmc supplies
Add proper eMMC vmmc and vqmmc supplies e.g. fixing signalling voltage.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:48:02 +02:00
Marcel Ziswiler
bc1fa5d271 ARM: tegra: colibri_t30: add i2c-thermtrip
Add i2c-thermtrip which would set the DEV_OFF bit in the DCDC control
register of the TPS65911 PMIC.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:48:01 +02:00
Marcel Ziswiler
71fd500b38 ARM: tegra: colibri_t30: further lm95245 temperature sensor annotation
Further LM95245 temperature sensor annotation.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:48:01 +02:00
Marcel Ziswiler
d19c81ca22 ARM: tegra: colibri_t30: use proper irq-gpio for stmpe811
Use proper irq-gpio for stmpe811 touch controller.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:48:00 +02:00
Marcel Ziswiler
dbd43f2520 ARM: tegra: colibri_t30: add missing pinmux
Explicitly mux all T30 SoC balls now:
- Colibri Address/Data Bus (GMI)
- Colibri DDC
- Colibri EXT_IO*
- Colibri GPIO
- Colibri HOTPLUG_DETECT (HDMI)
- Colibri I2C
- Colibri LCD (L_* resp. LDD<*>)
- Colibri MMC_CD
- Colibri nRESET_OUT
- Colibri Parallel Camera (Optional)
- Colibri PWM<B>, <C>, <D>
- Colibri VGA
- Colibri USBC_DET
- Colibri USBH_PEN
- Colibri USBH_OC
- on-module AX88772B LAN control signals
- Colibri nBATT_FAULT(SENSE) and nVDD_FAULT(SENSE
- not connected and therefore disabled signals

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:48:00 +02:00
Marcel Ziswiler
28e82cf4af ARM: tegra: colibri_t30: pinmux clean-up
Clean-up pinmuxing:
- white-space clean-up
- explicitly disable LCD_M1 in favour of LCD_DE on L_BIAS
- explicitly disable multiplexed SSPFRM and SSPTXD
- get rid of nvidia,lock property
- add missing eMMC sdmmc4_cmd_pt7 and explicitly enable input
- explicitly disable lcd_dc1_pd2 (e.g. LM95245 I2C address pin)
- annotate TOUCH_PEN_INT# being on-module
- As underscores in node names are not recommended replace them all
  where possible with dashes.
- Replace underscores in UART annotations (e.g. UART_A) with dashes
  (e.g. UART-A) to be more in-line with our Colibri standard.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:48:00 +02:00
Marcel Ziswiler
0e4c51ebac ARM: tegra: colibri_t30: drop pwmleds
Drop pwmleds in favour of using regular PWMs.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:47:59 +02:00
Marcel Ziswiler
7ddc024ffa ARM: tegra: colibri_t30: reorder backlight properties
Reorder backlight properties.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:47:59 +02:00
Marcel Ziswiler
2a3db328b3 ARM: tegra: colibri_t30: move dr_mode property from phy to controller
Move dr_mode property from USB PHY node to controller.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:47:58 +02:00
Marcel Ziswiler
2128fda985 ARM: tegra: colibri_t30: white-space clean-up
White-space clean-up.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:47:58 +02:00
Marcel Ziswiler
4dc3bf2a5f ARM: tegra: colibri_t30: annotate uarts and move compatible to board
Annotate UARTs and move the serial UART "nvidia,tegra30-hsuart"
compatible definitions from the carrier board to the module level device
trees. One could still override this in a custom carrier board device
tree if required.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:47:58 +02:00
Marcel Ziswiler
a03fb63122 ARM: tegra: colibri_t30: add missing regulators
Add missing regulators:
- reg_module_3v3_audio being VDDA supply of SGTL5000
- VDDD supply of SGTL5000 actually being reg_1v8_vio
- reg_lan_v_bus being USB Ethernet chip vbus supply
- carrier board HDMI supply being reg_5v0
- carrier board reg_3v3 actually being backlight and panel power supply

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:47:57 +02:00
Marcel Ziswiler
584a9e55b5 ARM: tegra: colibri_t30: regulator clean-up
Just cosmetic regulator clean-up.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:47:57 +02:00
Marcel Ziswiler
033519b0c5 ARM: tegra: colibri_t30: reorder host1x/hdmi properties
Reorder Host1x/HDMI properties.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:47:57 +02:00
Marcel Ziswiler
a5db2dadb1 ARM: tegra: colibri_t30: add local-mac-address property
Add empty local-mac-address property to be filled in by boot loader
(e.g. U-Boot).

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:47:56 +02:00
Marcel Ziswiler
b57d6b996e ARM: tegra: apalis_t30: support v1.1 hardware revision
Support the V1.1 hardware revisions with the following change:

Changed power rail for MMC1 interface to a 3.3V/1.8V switchable rail in
order to be able to run UHS SD cards in ultra high speed 1.8V mode.

[  207.502011] mmc2: host does not support reading read-only switch,
 assuming write-enable
[  207.517011] mmc2: new ultra high speed SDR104 SDHC card at address
 aaaa
[  207.534190] mmcblk2: mmc2:aaaa SE32G 29.7 GiB
[  207.545096]  mmcblk2: p1

root@apalis-t30:~# cat /sys/kernel/debug/mmc2/ios
clock:          208000000 Hz
actual clock:   204000000 Hz
vdd:            21 (3.3 ~ 3.4 V)
bus mode:       2 (push-pull)
chip select:    0 (don't care)
power mode:     2 (on)
bus width:      2 (4 bits)
timing spec:    6 (sd uhs SDR104)
signal voltage: 1 (1.80 V)
driver type:    0 (driver type B)
root@apalis-t30:~# hdparm -t /dev/mmcblk2

/dev/mmcblk2:
 Timing buffered disk reads: 256 MB in  3.02 seconds =  84.71 MB/sec

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:51 +02:00
Marcel Ziswiler
a472e00b1c ARM: tegra: apalis_t30: move hda node from carrier to module
Move the hda node from the carrier board to the module level device
tree.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:51 +02:00
Marcel Ziswiler
b38f6aa4b6 ARM: tegra: apalis_t30: fix mcp2515 can controller interrupt polarity
Fix the MCP2515 SPI CAN controller interrupt polarity which according
to its datasheet defaults to low-active aka falling edge.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:51 +02:00
Marcel Ziswiler
b4cfc77665 ARM: tegra: apalis_t30: rename tps65911@2d, stmpe811@41 and tps62362@60
Rename a few nodes using more common names:
- rename tps65911@2d to pmic@2d
- rename stmpe811@41 to touchscreen@41
- rename tps62362@60 to regulator@60

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:51 +02:00
Marcel Ziswiler
467176025c ARM: tegra: apalis_t30: rename hdmiddc to hdmi_ddc
Rename hdmiddc to hdmi_ddc to be more in-line with other device trees.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:51 +02:00
Marcel Ziswiler
da25001ca6 ARM: tegra: apalis_t30: hog group for pcie switch reset gpio
The Apalis Evaluation Board uses Apalis GPIO7 on MXM3 pin 15 as reset
signal for its PLX PEX 8605 PCIe Switch.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:50 +02:00
Marcel Ziswiler
317d9f7bed ARM: tegra: apalis_t30: drop obsolete spidev nodes
Drop obsolete spidev device tree nodes as nowadays one should do this
by binding the spidev driver to specific instances/chip selects at
runtime.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:50 +02:00
Marcel Ziswiler
63a11def21 ARM: tegra: apalis_t30: drop module level model and compatible
Drop model and compatible nodes from the module level device tree as
they get overridden by the carrier board device tree anyway.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:50 +02:00
Marcel Ziswiler
70451b5e67 ARM: tegra: apalis_t30: line break long compatible property line
Line break long compatible property line.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:49 +02:00
Marcel Ziswiler
7b0f47aa62 ARM: tegra: apalis_t30: get rid of fake clocks simple bus
Get rid of the fake clocks simple bus and use node names as per the
actual schematics.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:48 +02:00
Marcel Ziswiler
200be313fd ARM: tegra: apalis_t30: enable emmc ddr52 mode
Add mmc-ddr-1_8v property enabling eMMC DDR52 mode.

root@apalis-t30:~# cat /sys/kernel/debug/mmc1/ios
clock:          52000000 Hz
actual clock:   52000000 Hz
vdd:            21 (3.3 ~ 3.4 V)
bus mode:       2 (push-pull)
chip select:    0 (don't care)
power mode:     2 (on)
bus width:      3 (8 bits)
timing spec:    8 (mmc DDR52)
signal voltage: 1 (1.80 V)
driver type:    0 (driver type B)
root@apalis-t30:~# hdparm -t /dev/mmcblk1

/dev/mmcblk1:
 Timing buffered disk reads: 232 MB in  3.01 seconds =  77.10 MB/sec

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:46 +02:00
Marcel Ziswiler
0f0a383129 ARM: tegra: apalis_t30: add proper emmc vmmc and vqmmc supplies
Add proper eMMC vmmc and vqmmc supplies e.g. fixing signalling voltage.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:46 +02:00
Marcel Ziswiler
5f1fe7b62d ARM: tegra: apalis_t30: add i2c-thermtrip
Add i2c-thermtrip which would set the DEV_OFF bit in the DCDC control
register of the TPS65911 PMIC.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:46 +02:00
Marcel Ziswiler
16f53ab291 ARM: tegra: apalis_t30: further lm95245 temperature sensor annotation
Further LM95245 temperature sensor annotation.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:46 +02:00
Marcel Ziswiler
f38f7998b7 ARM: tegra: apalis_t30: use proper irq-gpio for stmpe811
Use proper irq-gpio for stmpe811 touch controller.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:46 +02:00
Marcel Ziswiler
368f139bf7 ARM: tegra: apalis_t30: add missing pinmux
Explicitly mux all T30 SoC balls now:
- Apalis GPIO
- Apalis HDMI1
- Apalis I2C1
- Apalis I2C2 (DDC)
- Apalis LCD1
- Apalis Parallel Camera
- Apalis SATA1_ACT#
- Apalis SPDIF1
- Apalis TS (Low-speed type specific)
- Apalis USBH_EN
- Apalis USBH_OC#
- Apalis VGA1
- on-module i210/i211 LAN control signals
- not connected and therefore disabled signals

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:46 +02:00
Marcel Ziswiler
727002e061 ARM: tegra: apalis_t30: pinmux clean-up
Clean-up pinmuxing:
- white-space clean-up
- explicitly disable input of BKL1_ON, BKL1_PWM and BKL1_PWM_EN#
- annotate Apalis I2C3 usage for CAM
- get rid of nvidia,lock property
- add missing eMMC sdmmc4_cmd_pt7 and explicitly enable input
- explicitly disable lcd_dc1_pd2 (e.g. LM95245 I2C address pin)
- annotate TOUCH_PEN_INT# being on-module
- As underscores in node names are not recommended replace them all
  where possible with dashes.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:46 +02:00
Marcel Ziswiler
e0911663bc ARM: tegra: apalis_t30: drop pwmleds
Drop pwmleds in favour of using regular PWMs.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:45 +02:00
Marcel Ziswiler
654b7139a2 ARM: tegra: apalis_t30: reorder backlight properties
Reorder backlight properties.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:45 +02:00
Marcel Ziswiler
8bf0d6b2a7 ARM: tegra: apalis_t30: move dr_mode property from phy to controller
Move dr_mode property from USB PHY node to controller.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:45 +02:00
Marcel Ziswiler
005a00d862 ARM: tegra: apalis_t30: annotate mmc1/sd1
Annotate MMC1/SD1.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:44 +02:00
Marcel Ziswiler
d5330b4731 ARM: tegra: apalis_t30: drop unused mmc1/sd1 labels
Drop unused mmc1/sd1 labels.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:43 +02:00
Marcel Ziswiler
4eb7e5ede0 ARM: tegra: apalis_t30: white-space/newline clean-up
White-space and newline clean-up.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:43 +02:00
Marcel Ziswiler
95bcc02a89 ARM: tegra: apalis_t30: drop unused cami2c label
Drop unused cami2c label.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:43 +02:00
Marcel Ziswiler
e073452b4a ARM: tegra: apalis_t30: annotate uarts and move compatible to board
Annotate UARTs and move the serial UART "nvidia,tegra30-hsuart"
compatible definitions from the carrier board to the module level device
trees. One could still override this in a custom carrier board device
tree if required.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:42 +02:00
Marcel Ziswiler
32980cbccf ARM: tegra: apalis_t30: add missing regulators
Add missing regulators:
- reg_module_3v3_audio being VDDA supply of SGTL5000
- VDDD supply of SGTL5000 actually being reg_1v8_vio
- carrier board HDMI supply being reg_5v0
- carrier board reg_3v3 actually being backlight and panel power supply

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:42 +02:00
Marcel Ziswiler
f98439c3bb ARM: tegra: apalis_t30: regulator clean-up
Just cosmetic regulator clean-up.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:42 +02:00
Marcel Ziswiler
a772d28d90 ARM: tegra: apalis_t30: reorder host1x/hdmi properties
Reorder Host1x/HDMI properties.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:42 +02:00
Marcel Ziswiler
7890d7856a ARM: tegra: apalis_t30: annotate/clean-up pcie controller/port nodes
Annotate PCIe port nodes and clean-up PCIe controller/port status' with
respect to carrier board vs. module level device trees. As port 3
connects to the on-module Gigabit Ethernet MACPHY it is always enabled
together with the PCIe controller itself.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:41 +02:00
Marcel Ziswiler
4f6b07a278 ARM: tegra: apalis_t30: reorder pcie properties
Reorder PCIe properties.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:41 +02:00
Marcel Ziswiler
2c87441c41 ARM: tegra: apalis_t30: add local-mac-address property
Add empty local-mac-address property to be filled in by boot loader
(e.g. U-Boot).

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:41 +02:00
Marcel Ziswiler
055c0107af ARM: tegra: apalis_t30: pull-up sd card detect pins
In order to avoid any floating SD card detect pins as may e.g. happen on
Ixora V1.1A pull them all up.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:40 +02:00
Marcel Ziswiler
1c997fe4be ARM: tegra: apalis_t30: fix mmc1 cmd pull-up
Fix MMC1 cmd pin pull-up causing issues on carrier boards without
external pull-up.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:45:40 +02:00
Christoph Hellwig
3cfa210bf3 xen: don't include <xen/xen.h> from <asm/io.h> and <asm/dma-mapping.h>
Nothing Xen specific in these headers, which get included from a lot
of code in the kernel.  So prune the includes and move them to the
Xen-specific files that actually use them instead.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-09-26 08:45:18 -06:00
Christoph Hellwig
c39ae60dfb block: remove ARCH_BIOVEC_PHYS_MERGEABLE
Take the Xen check into the core code instead of delegating it to
the architectures.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-09-26 08:45:11 -06:00
Christoph Hellwig
20e3267601 xen: provide a prototype for xen_biovec_phys_mergeable in xen.h
Having multiple externs in arch headers is not a good way to provide
a common interface.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-09-26 08:45:10 -06:00
Christoph Hellwig
a5bb207ada arm: remove the unused BIOVEC_MERGEABLE define
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-09-26 08:45:07 -06:00
Marcel Ziswiler
2db12b16e5 ARM: dts: tegra20/tegra30: add pmu interrupt-affinity
This is similar to tegra124 and avoids the following being reported
upon boot:

hw perfevents: no interrupt-affinity property for /pmu, guessing.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:42:57 +02:00
Marcel Ziswiler
8188391c12 ARM: dts: tegra20: restore address order
Commit 6c468f1098 ("ARM: dts: tegra: add Tegra20 NAND flash
controller node") introduced the nand-controller node. However, it got
added at the wrong spot not honoring the address order. Fix this.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:42:42 +02:00
Marcel Ziswiler
564706f65c ARM: dts: tegra30: fix xcvr-setup-use-fuses
There was a dot instead of a comma. Fix this.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2018-09-26 16:39:43 +02:00
David Summers
186b45657b ARM: dts: rockchip: add rk3288-based Tinker board S
Add the actual dts for the tinker board S, which brings its own emmc
device, not therefore not requiring an sd-card to boot.

Signed-off-by: David Summers <beagleboard@davidjohnsummers.uk>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2018-09-26 14:31:30 +02:00
David Summers
e58c5e739d ARM: dts: rockchip: move shared tinker-board nodes to a common dtsi
Tinker Board and Tinker Board S share most of their components,
so should also not replicate these for each variant.

So move them to a shared dtsi that then can get included by both
boards.

Signed-off-by: David Summers <beagleboard@davidjohnsummers.uk>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2018-09-26 14:29:57 +02:00