Commit Graph

49045 Commits

Author SHA1 Message Date
Linus Walleij
3015d3b052 ARM: dts: add the AB8500 sysclk to the device trees
This clock has been missing since some early stages of device tree
conversion. Adding the right clocks to the device tree makes USB
work again.

Cc: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2017-01-31 22:15:06 +01:00
Linus Walleij
6097c2d0af ARM: dts: Ux500: move USB PHY pins to PHY device
The physical pins from the SoC are in a sense belonging to the
PHY device (AB8500 USB) rather than the MUSB USB IP block.
The driver definately assumes so: before this change it
complains that it cannot control the pins it is using:

abx5x0-usb ab8500-usb.0: could not get/set default pinstate

After this patch the warning goes away.

Cc: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2017-01-31 22:14:47 +01:00
Linus Walleij
adef953bbc ARM: dts: push MMC/SD to board and add comments
This moves the enable-active-high setting from the SoC to the
board for the VMMCQ regulators. It should at least be in the
vicinity of the GPIO line it is defined for.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2017-01-31 22:10:15 +01:00
Marek Szyprowski
55d74adfa9 ARM: dts: exynos: Add labels to all existing power domains
Provide human readable names for all power domains defined in Exynos SoCs.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
2017-01-31 21:30:48 +02:00
Bartosz Golaszewski
a303588685 ARM: davinci: remove BUG_ON() from da850_register_sata()
The ahci driver now supports other refclk clock rates.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2017-01-31 20:48:25 +05:30
Bartosz Golaszewski
00bacfbfaf ARM: davinci: da850: model the SATA refclk
Register a fixed rate clock modelling the external SATA oscillator
for da850 (both DT and board file mode).

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2017-01-31 20:48:24 +05:30
Bartosz Golaszewski
8ba0f6caa4 ARM: davinci: da850: add con_id for the SATA clock
The ahci-da850 SATA driver is now capable of retrieving clocks by
con_id. Add the connection id for the sysclk2-derived SATA clock.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2017-01-31 20:48:23 +05:30
Sekhar Nori
b88a107654 Merge branch 'v4.11/fixes-non-critical' into v4.11/soc
This merge is because patches in branch v4.11/soc conflict
with cleanup done as part of 0a5011673a ("ARM: davinci:
da850: coding style fix") that is already queued as a
non-critical fix.
2017-01-31 20:45:32 +05:30
Chris Packham
5cb1309448 ARM: dts: mvebu: Add device tree for db-dxbc2 and db-xc3-24g4xg boards
These boards are Marvell's evaluation boards for the 98DX4251 and
98DX3336 SoCs.

[gregory.clement@free-electrons.com: fix topic and update Makefile]
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2017-01-31 14:45:04 +01:00
Chris Packham
3f81df559f ARM: dts: mvebu: Add device tree for 98DX3236 SoCs
The Marvell 98DX3236, 98DX3336, 98DX4521 and variants are switch ASICs
with integrated CPUs. They are similar to the Armada XP SoCs but have
different I/O interfaces.

[gregory.clement@free-electrons.com: fix topic]
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2017-01-31 14:45:03 +01:00
Bartosz Golaszewski
91aba93708 ARM: dts: da850-lcdk: enable the SATA node
Enable the SATA node for da850-lcdk. We omit the pinctrl property on
purpose - the muxed SATA pins are not hooked up to anything
SATA-related on the lcdk.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2017-01-31 17:52:35 +05:30
Bartosz Golaszewski
031913931b ARM: dts: da850: add the SATA node
Add the SATA node to the da850 device tree.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2017-01-31 17:52:26 +05:30
Roger Shimizu
6cfd3cd8d8 ARM: dts: orion5x-lschl: More consistent naming on linkstation series
DTS files, which includes orion5x-linkstation.dtsi, are named:
  orion5x-linkstation-*.dts

So we rename the file below:
  arch/arm/boot/dts/orion5x-lschl.dts
to the new name:
  arch/arm/boot/dts/orion5x-linkstation-lschl.dts

Because DTS conversion of this device was just introduced in 4.9, Debian
is still using legacy device support, other distros are the same,
so here we won't expect any impact actually.

Fixes: f94f268979 ("ARM: dts: orion5x: convert ls-chl to FDT")
Cc: Ashley Hughes <ashley.hughes@blueyonder.co.uk>
Signed-off-by: Roger Shimizu <rogershimizu@gmail.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2017-01-31 12:19:33 +01:00
Roger Shimizu
81917bad86 ARM: dts: orion5x-lschl: Fix model name
Model name should be consistent with legacy device file, so that user
can migrate their system from legacy device support to device-tree
safely.

Legacy device file is currently removed, but it can be found on 4.8
or previous version of linux:
  arch/arm/mach-orion5x/ls-chl-setup.c

Fixes: f94f268979 ("ARM: dts: orion5x: convert ls-chl to FDT")
Cc: Ashley Hughes <ashley.hughes@blueyonder.co.uk>
Signed-off-by: Roger Shimizu <rogershimizu@gmail.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2017-01-31 12:19:32 +01:00
Bartosz Golaszewski
57a66aafda ARM: davinci: da8xx-dt: add OF_DEV_AUXDATA entry for SATA
This entry is needed for the ahci driver to get a functional clock.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
[nsekhar@ti.com: subject line adjustment]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2017-01-31 16:29:42 +05:30
Bartosz Golaszewski
484290350c ARM: davinci_all_defconfig: enable SATA modules
Add the da850-ahci driver to davinci defconfig.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2017-01-31 16:25:14 +05:30
Philipp Zabel
67c5900658 [media] dt-bindings: Add a binding for Video Data Order Adapter
Add a DT binding documentation for the Video Data Order Adapter (VDOA)
of the Freescale i.MX6 SoC.

Also, add the compatible property and correct clock to the device tree
to match the documentation.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-01-31 08:08:03 -02:00
Sean Young
922ee72da7 [media] rx51: broken build
As reported by kernel build test:

   In file included from arch/arm/mach-omap2/pdata-quirks.c:15:0:
>> arch/arm/mach-omap2/pdata-quirks.c:536:49: error: 'rx51_lirc_data' undeclared here (not in a function)
     OF_DEV_AUXDATA("nokia,n900-ir", 0, "n900-ir", &rx51_lirc_data),
                                                    ^
   include/linux/of_platform.h:52:21: note: in definition of macro 'OF_DEV_AUXDATA'
       .platform_data = _pdata }
                        ^~~~~~

Since "a92def1 [media] ir-rx51: port to rc-core" the build fails on
some arm configurations.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-01-31 07:23:59 -02:00
Sean Young
a92def1bec [media] ir-rx51: port to rc-core
This driver was written using lirc since rc-core did not support
transmitter-only hardware at that time. Now that it does, port
this driver.

Compile tested only.

Signed-off-by: Sean Young <sean@mess.org>
Cc: Timo Kokkonen <timo.t.kokkonen@iki.fi>
Cc: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-01-30 14:25:04 -02:00
Joerg Roedel
ce273db0ff Merge branch 'iommu/iommu-priv' of git://git.kernel.org/pub/scm/linux/kernel/git/will/linux into arm/core 2017-01-30 16:05:18 +01:00
Marc Zyngier
9d93dc1c96 arm/arm64: KVM: Get rid of KVM_MEMSLOT_INCOHERENT
KVM_MEMSLOT_INCOHERENT is not used anymore, as we've killed its
only use in the arm/arm64 MMU code. Let's remove the last artifacts.

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2017-01-30 13:47:38 +00:00
Marc Zyngier
13b7756cec arm/arm64: KVM: Stop propagating cacheability status of a faulted page
Now that we unconditionally flush newly mapped pages to the PoC,
there is no need to care about the "uncached" status of individual
pages - they must all be visible all the way down.

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2017-01-30 13:47:38 +00:00
Marc Zyngier
8f36ebaf21 arm/arm64: KVM: Enforce unconditional flush to PoC when mapping to stage-2
When we fault in a page, we flush it to the PoC (Point of Coherency)
if the faulting vcpu has its own caches off, so that it can observe
the page we just brought it.

But if the vcpu has its caches on, we skip that step. Bad things
happen when *another* vcpu tries to access that page with its own
caches disabled. At that point, there is no garantee that the
data has made it to the PoC, and we access stale data.

The obvious fix is to always flush to PoC when a page is faulted
in, no matter what the state of the vcpu is.

Cc: stable@vger.kernel.org
Fixes: 2d58b733c8 ("arm64: KVM: force cache clean on page fault when caches are off")
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2017-01-30 13:47:37 +00:00
Vijaya Kumar K
e96a006cb0 KVM: arm/arm64: vgic: Implement KVM_DEV_ARM_VGIC_GRP_LEVEL_INFO ioctl
Userspace requires to store and restore of line_level for
level triggered interrupts using ioctl KVM_DEV_ARM_VGIC_GRP_LEVEL_INFO.

Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Vijaya Kumar K <Vijaya.Kumar@cavium.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2017-01-30 13:47:29 +00:00
Vijaya Kumar K
d017d7b0bd KVM: arm/arm64: vgic: Implement VGICv3 CPU interface access
VGICv3 CPU interface registers are accessed using
KVM_DEV_ARM_VGIC_CPU_SYSREGS ioctl. These registers are accessed
as 64-bit. The cpu MPIDR value is passed along with register id.
It is used to identify the cpu for registers access.

The VM that supports SEIs expect it on destination machine to handle
guest aborts and hence checked for ICC_CTLR_EL1.SEIS compatibility.
Similarly, VM that supports Affinity Level 3 that is required for AArch64
mode, is required to be supported on destination machine. Hence checked
for ICC_CTLR_EL1.A3V compatibility.

The arch/arm64/kvm/vgic-sys-reg-v3.c handles read and write of VGIC
CPU registers for AArch64.

For AArch32 mode, arch/arm/kvm/vgic-v3-coproc.c file is created but
APIs are not implemented.

Updated arch/arm/include/uapi/asm/kvm.h with new definitions
required to compile for AArch32.

The version of VGIC v3 specification is defined here
Documentation/virtual/kvm/devices/arm-vgic-v3.txt

Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Pavel Fedin <p.fedin@samsung.com>
Signed-off-by: Vijaya Kumar K <Vijaya.Kumar@cavium.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2017-01-30 13:47:25 +00:00
Vijaya Kumar K
94574c9488 KVM: arm/arm64: vgic: Add distributor and redistributor access
VGICv3 Distributor and Redistributor registers are accessed using
KVM_DEV_ARM_VGIC_GRP_DIST_REGS and KVM_DEV_ARM_VGIC_GRP_REDIST_REGS
with KVM_SET_DEVICE_ATTR and KVM_GET_DEVICE_ATTR ioctls.
These registers are accessed as 32-bit and cpu mpidr
value passed along with register offset is used to identify the
cpu for redistributor registers access.

The version of VGIC v3 specification is defined here
Documentation/virtual/kvm/devices/arm-vgic-v3.txt

Also update arch/arm/include/uapi/asm/kvm.h to compile for
AArch32 mode.

Signed-off-by: Vijaya Kumar K <Vijaya.Kumar@cavium.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2017-01-30 13:47:07 +00:00
Chris Packham
db88977894 arm: mvebu: support for SMP on 98DX3336 SoC
Compared to the armada-xp the 98DX3336 uses different registers to set
the boot address for the secondary CPU so a new enable-method is needed.
This will only work if the machine definition doesn't define an overall
smp_ops because there is not currently a way of overriding this from the
device tree if it is set in the machine definition.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2017-01-30 14:40:56 +01:00
Linus Walleij
7f36f5d11c Linux 4.10-rc6
-----BEGIN PGP SIGNATURE-----
 
 iQEcBAABAgAGBQJYjmvUAAoJEHm+PkMAQRiGHIoH/3VaTj7cCJZDnWZ2Wi2enWip
 f17zj0oAkFxuSx8XEVD5BKqMfGBCBjPNPwURysfcFVoSHNtHjbEr44VxiPfQj5s2
 N+znVm5P9qlFuRA+7dgYUyEKOqcTgyT9jFNpvPF6bgMZDfJoB/wo53UU4lo3drcx
 cRe6OT4fEpAbtgbl73kIjOreBRr7oxlMPVEjCVRdL7ssCg+iqow0MEHcSoO7jmtj
 tu8hwwBMNh5B0yJRCJKV7Edc1+GHK57ju6rnGr5S2rwnR31omLpvnHJx0Ya6NVCZ
 yV3KGQeWm13ifbumMddEnAL61x2hOIzX//BqaZKdy258YPohkNtD8oacnjHnLMc=
 =5Rs+
 -----END PGP SIGNATURE-----

Merge tag 'v4.10-rc6' into devel

Linux 4.10-rc6

Resolved conflicts in:
	drivers/pinctrl/pinctrl-amd.c
	drivers/pinctrl/samsung/pinctrl-exynos.c
2017-01-30 14:39:20 +01:00
Dave Martin
228dbbfb5d ARM: 8643/3: arm/ptrace: Preserve previous registers for short regset write
Ensure that if userspace supplies insufficient data to
PTRACE_SETREGSET to fill all the registers, the thread's old
registers are preserved.

Cc: <stable@vger.kernel.org> # 3.0.x-
Fixes: 5be6f62b00 ("ARM: 6883/1: ptrace: Migrate to regsets framework")
Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2017-01-30 12:04:12 +00:00
Alexander Sverdlin
97a98ae5b8 ARM: 8642/1: LPAE: catch pending imprecise abort on unmask
Asynchronous external abort is coded differently in DFSR with LPAE enabled.

Fixes: 9254970c "ARM: 8447/1: catch pending imprecise abort on unmask".
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2017-01-30 12:04:12 +00:00
Viresh Kumar
8a31d9d942 PM / OPP: Update OPP users to put reference
This patch updates dev_pm_opp_find_freq_*() routines to get a reference
to the OPPs returned by them.

Also updates the users of dev_pm_opp_find_freq_*() routines to call
dev_pm_opp_put() after they are done using the OPPs.

As it is guaranteed the that OPPs wouldn't get freed while being used,
the RCU read side locking present with the users isn't required anymore.
Drop it as well.

This patch also updates all users of devfreq_recommended_opp() which was
returning an OPP received from the OPP core.

Note that some of the OPP core routines have gained
rcu_read_{lock|unlock}() calls, as those still use RCU specific APIs
within them.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com> [Devfreq]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2017-01-30 09:22:21 +01:00
Chen-Yu Tsai
64507fe38d ARM: dts: sun9i: Switch to new clock bindings
Now that we have a full clock driver for sun9i, switch to it.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2017-01-30 08:39:22 +01:00
Olof Johansson
1564dd1d2f Samsung mach/soc update for v4.11, second round:
1. Remove mach code for Exynos4415 as a continuation of removal
    of this SoC.
 2. Remove obsolete property from the bindings documentation.
 -----BEGIN PGP SIGNATURE-----
 
 iQIcBAABCAAGBQJYjkegAAoJEME3ZuaGi4PXSoEP/1us/jBM7gXdyCj2E943Vy6B
 KAaXaKOcdqBnJMJzu/7207aBo23g4qqgOATjHSeTa5V8PNZeINJ1gsoFf7IQuAAJ
 Y+mr9zCj+439zWb/v2wRrpsy96cznxfm1s7Q+179BKpyC0k/tTuLJT/l7gUU8LO3
 EmTTh0lfjnGIZJoPzE8kXCzoXgOiZpV0aHtosqx5k2De4Te/3V5ZXu6H/NCmkR88
 Eu4/4/8A+0xRMNYlS8x/ZnJBJN444Ho9sIpl2AA4EUL/4S1zch7HHDdeX1YXbDy5
 cCla/TlF6LvPyp9gmRN26VFxbnhHkAqQ6C/U3k5eoOf+SeHP7PTAoXKxUYMmKFCE
 3RDBaq415Nz3hSu4yoIDdTplLmGZwzCVebL4XOQ0KPugtjn/+bxGpmPdXWdNNt7B
 3BbdQkGvykpDZ2E7bVBaPCBO93gb0u8NgSlEIf8jELMdEXYV9sng/WlK3ATsPdNc
 Pt5nX4cPNxjGptVdj5s4Y0U550+9gj8W1XXbqTfLa39zW8EPMD8fH3IPs0oACBgb
 1agA+JP3osXlpwi/QsT1Cw883jpnkWnAPKte1ERv3qAn7SEFUvzHAYuaFlW+SJyi
 QVJKERU+V73C1iJB/mQxlqDf7v+YWlaDA/JCvn5KUhialwfQZNvpJKzlVRiB7lcl
 g5p4j+AghRP+hkMH/C2K
 =kl+X
 -----END PGP SIGNATURE-----

Merge tag 'samsung-soc-4.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into next/soc

Samsung mach/soc update for v4.11, second round:
1. Remove mach code for Exynos4415 as a continuation of removal
   of this SoC.
2. Remove obsolete property from the bindings documentation.

* tag 'samsung-soc-4.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  dt-bindings: video: exynos7-decon: Remove obsolete samsung,power-domain property
  ARM: EXYNOS: Remove Exynos4415 arch code (SoC not supported anymore)

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 21:23:52 -08:00
Olof Johansson
a694eb64db Samsung DeviceTree update for v4.11, second round:
1. Use bigger reserved memory region for Multi Format Codec on all Exynos
    chipsets so it could decode FullHD easily.
 -----BEGIN PGP SIGNATURE-----
 
 iQIcBAABCAAGBQJYjkdPAAoJEME3ZuaGi4PXl74QAIRRfPza+zFhCJivPcAu+zl3
 oPYVa9QgpGr22dJP0hUQXszPpKVzqsMtqIw4zgzGjktwOqgklIosjXe0jsYo/puu
 7j/q/RKVprvW6au5ZszDvjUJ/19X6x3fYgD6CO3Ah7pfhTK/KKvtg2D1NgnZCfKl
 Bkj2q05CN0G5Yqw3N3ac7tY2atutSNLtseUi6QEu2FOqRkNi24FP5BAhwHx9Zblf
 fIi4NZRIQ6E9yXmbtsmgtNNHxuM+vxVGs/8VsWdOMQqo2v+lo+1a/+MaEsXS6/qm
 U2GFDyar9bJL8gXaVXFWKTIVigzRMcavSWMAhG3GFCpE/ZcPIUBWMe4+9lzlfH+V
 88168+JVMbosZ5ro8sRhyDz4V2oqwVk+uaeIJtTmjY05OejcmErB9t7ivSATKZqX
 ssby4H76saxrgzryIhxHAkkQfc/kfQabMlba0Hj7lEyGJbEaUpjCxVXB09hMSPZ0
 SbPLPcRckrX39sBysD9xRquoKFa5viseg4RBKb0CLGT8TbaqhhbOB3AI2WkG8fCt
 RLx1XEq7G4jE2sZ2l+YOFQObZDTa2hv4NOclUEwwjigirkIe5KUFyBn3bA+i/S5A
 /qRi3IMH0fOdLPkQQm/DSnglz4paJMKxzVLk5Naf5zCz7jIhjm2LNZM3rOA4VRKr
 4q7pe2qPYgAXZoc7LGVk
 =E4FL
 -----END PGP SIGNATURE-----

Merge tag 'samsung-dt-4.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into next/dt

Samsung DeviceTree update for v4.11, second round:
1. Use bigger reserved memory region for Multi Format Codec on all Exynos
   chipsets so it could decode FullHD easily.

* tag 'samsung-dt-4.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  ARM: dts: exynos: Fix indentation of EHCI and OHCI ports
  ARM: dts: exynos: Increase MFC left reserved memory region size

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 21:19:26 -08:00
Olof Johansson
1096ffd75a Continuation of improvements for Exynos PM drivers for v4.11:
1. Add support for Exynos5433 to Power Management Unit (PMU) and Power
    Domains drivers.
 2. Cleanups of duplicated and unused defines.
 -----BEGIN PGP SIGNATURE-----
 
 iQIcBAABCAAGBQJYjkgyAAoJEME3ZuaGi4PXtVoP/3TJmoi6z6Qmxc9Ux6ATmNKO
 KhEM2u5si2psK6DD6YNrmC9st3C2dnhiej6g6KG3dK7WVrSQigjZCCQurFWccx0M
 BE5Dr/A9hhJtwLOdLwCcS1Fywv0aFuCEh2F6Jgq6lCs1Z/EFuxZ9DflDLdimakvc
 18hyC2kLN3cb7ME10Zr+YMaG5GaoimP5mkUX1czJcaSWtVoXFCW6H9j4QQg2geE1
 0sPBjKx4bHEah8LfsckijdwyamE7wGVzDslq+YVAMqPstW781FSFAlNGe2cc+Xlj
 GPJfgtgVZYdu4meRZwbli9T4RslsqULPYDUFRoq+ffp1Hrp7kXoBL5jFYK0W9gjD
 Sgm/oFGpymIY/GdwyTzYSHPeNxK8RtmNkC3WDY4JY6gn8BcK3mvK/4M9NAQw1fWn
 2A+eZjZr+AsyoNJtNk69mjYweSJmJ+pFBnni8ygrejq5FYfwVXD6OenvAxqQ7RDG
 aC2OuXhjr1BMoq5hiYen3Eh3b1Okftlu3f6/SVi2h8Ct5W4oK8c08dvbmpOYB3hk
 jeEMnh45PkoXHG7vMTU14euJVlTxhhTQ/hFSl21Ous6LdrxaZBQFsrszKma5wtvJ
 a9mAzonRJPXH/4Gt6kYOe90VDWp0SWFkOaA1zeIOdVnC0ifn7rZls6df6R6coKDY
 3g0X2xPhQiywSSa6Hq1T
 =pXm9
 -----END PGP SIGNATURE-----

Merge tag 'samsung-drivers-soc-pmu-4.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into next/drivers

Continuation of improvements for Exynos PM drivers for v4.11:
1. Add support for Exynos5433 to Power Management Unit (PMU) and Power
   Domains drivers.
2. Cleanups of duplicated and unused defines.

* tag 'samsung-drivers-soc-pmu-4.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  soc: samsung: pmu: Remove duplicated define for ARM_L2_OPTION register
  soc: samsung: pmu: Remove unused and duplicated defines
  soc: samsung: pm_domains: Add new Exynos5433 compatible
  soc: samsung: pmu: Add dummy support for Exynos5433 SoC

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 21:18:44 -08:00
Olof Johansson
9450a5dc53 i.MX defconfig updates for 4.11:
- Select wireless extensions option for imx_v6_v7_defconfig, so that
    wireless works out of box with userspace tools such as 'iwconfig'.
  - Enable EXT4 filesystem support for vf610m4_defconfig.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABAgAGBQJYjWf2AAoJEFBXWFqHsHzOSicH/Rg+X7Qat+pMxINB7+enJqlw
 mIM5WTUwhO4txugFD84ybcBitC/+t/kS5ffEM7ckkDDn6p6bN0K9vcU137V/CkE2
 cMHgnuawXs3qCu4D+h4X3MsdF/AWTOD20dv1W5QMhC9/kANP2emQ6ohB5Wee0Gmx
 5Mi4UaD0QNYrFsukayWhQ45i0RbsNRdiyzAntIpY1Xz8JJGL/ufTk233wtfxihsV
 8MQw/Ar1Q3Hz8+eIKj+9dqDKV5AUrXQ3GvrvTfwlXlLM+NNSN5UWfJsbzob9754P
 h02zRhjtQfjFKTUVAJKQPTNPci8b+8InnKyLgqSNSAnb/2PXtJB0AlFXJfaZ/LM=
 =VjCo
 -----END PGP SIGNATURE-----

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

i.MX defconfig updates for 4.11:
 - Select wireless extensions option for imx_v6_v7_defconfig, so that
   wireless works out of box with userspace tools such as 'iwconfig'.
 - Enable EXT4 filesystem support for vf610m4_defconfig.

* tag 'imx-defconfig-4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  ARM: vf610m4: defconfig: enable EXT4 filesystem
  ARM: imx_v6_v7_defconfig: Select wireless extensions option

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 21:09:56 -08:00
Olof Johansson
c3fcab3af4 i.MX device tree updates for 4.11:
- New board support: vf610-zii-dev-rev-c, imx6ul-opos6uldev,
    imx6ul-isiot, imx6qdl-savageboard, imx6q-mccmon6.
  - A patch from Alexandre to correct the mangled license text which
    has been copied & pasted all over the i.MX device tree files.
  - Update cpu nodes of some i.MX SoCs to make them consistent and match
    ePAPR spec.
  - Add OCOTP device for i.MX6UL SoC.
  - Add security violation interrupt for i.MX25 DryIce.
  - Enable USB OTG, WIFI and Bluetooth support for i.MX6SX Udoo Neo
    board.
  - Enable S/PDIF and 2nd display pipeline support for CompuLab board..
  - Add SPI and LTC3676 PMIC support for Gateworks Ventana boards.
  - A few random device addition for various boards: TVE DAC regulators
    for imx53-qsb, EEPROM for vf610-zii-dev, eMMC and NAND support for
    i.MX6UL Engicam boards.
  - Cleanups on obsoleted or unused properties.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABAgAGBQJYjWLQAAoJEFBXWFqHsHzOGt0H/2WCsuRi6WU7i7Wyk/S0Xq5t
 HzA/9m2f7z1vb1tzFknbpcWYa9bdofI7Dz+6KW2vp4fxhMyJn8SQxWwQjVNya2ba
 z8XLdEMlIuozBebPcH84ovNzqoBIOEFahGm5smm40s/o7XL8ua9tOEFaUc+jY0Pd
 n/3TPmoyBTlbrgiCZfLXCVsczHtEVW5JoQmXT7aDsxT0BQpnwLbgXKVOxgDvsWXM
 WtAKjpGvdiApD3znbFjYmRKak+2uilkV5B4jrL4mZf8dxCliykP4XA/LbiMLKAMN
 voMpTtTK7UYp59GrwKbqfJ+pPU7b6ndKK59f7FWrTDNgtDGe+J4ExjWwsDnuLfI=
 =HAbg
 -----END PGP SIGNATURE-----

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

i.MX device tree updates for 4.11:
 - New board support: vf610-zii-dev-rev-c, imx6ul-opos6uldev,
   imx6ul-isiot, imx6qdl-savageboard, imx6q-mccmon6.
 - A patch from Alexandre to correct the mangled license text which
   has been copied & pasted all over the i.MX device tree files.
 - Update cpu nodes of some i.MX SoCs to make them consistent and match
   ePAPR spec.
 - Add OCOTP device for i.MX6UL SoC.
 - Add security violation interrupt for i.MX25 DryIce.
 - Enable USB OTG, WIFI and Bluetooth support for i.MX6SX Udoo Neo
   board.
 - Enable S/PDIF and 2nd display pipeline support for CompuLab board..
 - Add SPI and LTC3676 PMIC support for Gateworks Ventana boards.
 - A few random device addition for various boards: TVE DAC regulators
   for imx53-qsb, EEPROM for vf610-zii-dev, eMMC and NAND support for
   i.MX6UL Engicam boards.
 - Cleanups on obsoleted or unused properties.

* tag 'imx-dt-4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: (32 commits)
  ARM: dts: udoo_neo: Add Bluetooth support
  ARM: dts: udoo_neo: Add Wifi support
  ARM: dts: udoo_neo: Add UDOO Neo USB OTG1 and OTG2 support
  ARM: dts: imx6ul: Add Engicam Is.IoT MX6UL NAND initial support
  ARM: dts: imx6ul: Add Engicam Is.IoT MX6UL eMMC initial support
  ARM: dts: imx6qdl: Fix "ERROR: code indent should use tabs where possible"
  ARM: dts: vf610-zii-dev: add EEPROM entry to Rev C
  ARM: dts: add Armadeus Systems OPOS6UL and OPOS6ULDEV support
  ARM: dts: imx6q-utilite-pro: enable 2nd display pipeline
  ARM: dts: vf610-zii-dev: Add .dts file for rev. C
  ARM: dts: vf610-zii-dev-rev-b: Remove leftover PWM pingroup
  ARM: dts: imx6: Support Savageboard quad
  ARM: dts: imx6: Support Savageboard dual
  ARM: dts: imx6: Add Savageboard common file
  ARM: dts: imx53-qsb: Provide the TVE DAC regulators
  ARM: dts: imx6q: Add mccmon6 board support
  Doc: devicetree: bindings: Add vendor prefix entry - lwn
  ARM: dts: imx/vf: Correct license text
  ARM: dts: imx25.dtsi: DryIce security violation interrupt
  ARM: dts: imx: Add ocotp node for imx6ul
  ...

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 21:07:40 -08:00
Olof Johansson
a329b0cac2 i.MX cleanup for 4.11:
- Remove unused flexcan and esdhc device definitions for i.MX25.
  - A series from Fabio to remove camera device initialization code from
    i.MX platform support, since the corresponding media driver has been
    deprecated and removed from kernel tree.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABAgAGBQJYjVZ8AAoJEFBXWFqHsHzOiW8IAKucWgP/WbNyi4AOJf7fyXts
 USevVUrv5PMpeekb/EoLilYXNZaaUSnmx/zsAGfG2tBd94FPrDEFcDJLmEmBVKwO
 fYxFEBddVJkT+zsXgAkffaEI447tV9Hgaxb91vqc25LKqj85uxzeo3t4YZadHO22
 xFIc/hE3GDTiu0L4P0cqAE9hJl7pZGiENta0KZO6g8nvYpFvPddtfQ/GpbKGOJW1
 9h/iMP4CbnTgU9pQkm/IwGopejsvWHzlCVrOPJz5Fj7B7Mrf6xQigo5ZovPnPF+m
 GYp5C4wZ9oQCsIeaBLEKubgzJA+xXwp1TpzPbGdDPp5rqfsGEKfJiPnzNJK/x68=
 =t+pS
 -----END PGP SIGNATURE-----

Merge tag 'imx-cleanup-4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into next/soc

i.MX cleanup for 4.11:
 - Remove unused flexcan and esdhc device definitions for i.MX25.
 - A series from Fabio to remove camera device initialization code from
   i.MX platform support, since the corresponding media driver has been
   deprecated and removed from kernel tree.

* tag 'imx-cleanup-4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  ARM: mach-mx27_3ds: Remove camera support
  ARM: mach-pcm037: Remove camera support
  ARM: mach-mx35_3ds: Remove camera support
  ARM: mx31moboard-smartbot: Remove camera support
  ARM: mx31moboard-marxbot: Remove camera support
  ARM: mach-mx31_3ds: Remove camera support
  ARM: imx: remove unused device definitions

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 21:06:43 -08:00
Olof Johansson
0ff3758bc3 i.MX non-critical device tree fixes for 4.11:
- A couple of fixes on anatop regulator voltage and constraints
    according to hardware datasheet.
  - Correct FEC interrupt routing for i.MX6QP which has got the hardware
    bug found on i.MX6Q fixed.
  - Remove unit address from i.MX6 LDB device node to fix DTC warning.
  - A fix on imx53-qsb board FEC pinmux config to remove the dependency
    on firmware for setting up pins.
  - A series from Sascha to fix LPSR pins for i.MX7 boards.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABAgAGBQJYjVP+AAoJEFBXWFqHsHzOcvEIAKmxLYG5bmXkUNm+cJQ0oJde
 MPh984lN1Xzx0PFlXJoC3mMC4W0RCibLjjSMS3s28ddzw0AKyAWHVkPDzUtuFQOT
 s7iUjgXhfpwxeIt5DGZUXbzfZVXjRrVgWfYSMPnc2Q+PUAHQDhqTqylCTz5yF6qf
 /XpN5uBaq/h++CJ+e06h9xSuIaCcEtGzLoUA+qXJBseBCLxlaR7zlt5bVL338oOt
 P8LuKk8Xcmc6QstpC5HyH8XuHQ8h+Gj0tLKkFeEnLY5JFmRo6e1wOq9EPW+AHfBp
 vgW5cI5cgdtn7/TuAbmCOoE052jd8oVK3LnKEfFXHxcBCDIDYz580CdbTFe06+g=
 =tRE+
 -----END PGP SIGNATURE-----

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

i.MX non-critical device tree fixes for 4.11:
 - A couple of fixes on anatop regulator voltage and constraints
   according to hardware datasheet.
 - Correct FEC interrupt routing for i.MX6QP which has got the hardware
   bug found on i.MX6Q fixed.
 - Remove unit address from i.MX6 LDB device node to fix DTC warning.
 - A fix on imx53-qsb board FEC pinmux config to remove the dependency
   on firmware for setting up pins.
 - A series from Sascha to fix LPSR pins for i.MX7 boards.

* tag 'imx-fixes-nc-4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  ARM: dts: imx53-qsb-common: fix FEC pinmux config
  ARM: imx6: remove unit address from LDB node
  ARM: imx6qp: adapt DT to changed FEC interrupts
  ARM: imx6: fix regulator constraints on anatop 1p1 and 2p5
  ARM: imx6: fix min/max voltage of anatop 2p5 regulator
  ARM: dts: imx7: Add "LPSR" to LPSR iomux pin names
  ARM: dts: imx7d-cl-som: Fix OTG power pinctrl
  ARM: dts: imx7d-sdb: Fix watchdog and pwm pinmux
  ARM: dts: imx7s-warp: Fix watchdog pinmux

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 21:05:53 -08:00
Olof Johansson
14463a0453 STM32 defconfig updates for v4.11, round 1.
Highlights:
 ----------
  - Enable ADC
  - Enable RTC
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJYi3VeAAoJEH+ayWryHnCFKXsP/jrQpUWVc/kEb8P/fTtSbmDV
 eiZtHKI721lyrQimQfsDh1VQT/WtrD9F5HYXk+AmAt2XQw9zMi3j8VgbCaoT5c/4
 uEx/hOfF0C7/EpVIBtPxQcby/3IKlr7cR6tP02/2eiiEBrm7rJYZ3Bq6QxotaLRN
 XP9Mc/AyMEva2imudIptueydMg9Zd1aiITCo6KBtdv+eQEoEmOHe4vH02/njTnk3
 NnbIcMINBz2Pvotz5SM3t8UIH1Is7ClLohNVPgcx0h1GDfUFoFott8+lXm/h/FLN
 QwmPM3OmsktVcbeUeP+gHf3PxCKWtaDavTLrVY4zWe8Xm/ilwyIBheMv7+s+rGGR
 jgAYy+qSmFCB2sEB7KPn2qRz6UOg2+/yqRm0VLPp+tncamkes2f8l0zK1aN8qSB6
 cxJKgn1CNdQcy6T6NsTGwvsgPW0pFDT57ql63NamxydQ6y4r2Lb0uXmrjtBgY0k/
 4CsnHI0Fzg/VyIkFoameGWGFGWMc/RxmrbRrYIKB6JwPx+7lrQ8ggFhY8IgnusdT
 38lsXeKl3Yub53n5OnBZhUCx+mbaSt2XN5l41aBA3U8cGxyPMR9XszNfzQWI3Ktm
 MXjl4B5AffvpqRJKMFEIPtf+p2yI2ZvhuPALps7StVG+Azkbrok6s3gqa2wGK8Cn
 xvHJbljzXdqmzxbEBDEv
 =6/BZ
 -----END PGP SIGNATURE-----

Merge tag 'stm32-defconfig-for-v4.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32 into next/defconfig

STM32 defconfig updates for v4.11, round 1.

Highlights:
----------
 - Enable ADC
 - Enable RTC

* tag 'stm32-defconfig-for-v4.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32:
  ARM: configs: stm32: Add RTC support in STM32 defconfig
  ARM: configs: stm32: enable ADC driver

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 21:04:16 -08:00
Olof Johansson
3c63c24d81 mvebu dt for 4.11 (part 2)
Switch device tree files to the new DSA binding
 -----BEGIN PGP SIGNATURE-----
 
 iIEEABECAEEWIQQYqXDMF3cvSLY+g9cLBhiOFHI71QUCWIt8ZyMcZ3JlZ29yeS5j
 bGVtZW50QGZyZWUtZWxlY3Ryb25zLmNvbQAKCRALBhiOFHI71fx4AJ4mibAO0PUJ
 Hbts4+PNC5f8PMYHlQCeIDfqtqLKlfJMVH3YFasSLYmb0lo=
 =PRxv
 -----END PGP SIGNATURE-----

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

mvebu dt for 4.11 (part 2)

Switch device tree files to the new DSA binding

* tag 'mvebu-dt-4.11-2' of git://git.infradead.org/linux-mvebu:
  ARM: dts: kirkwood-rd88f6281: Utilize new DSA binding
  ARM: dts: kirkwood-mv88f6281gtw-ge: Utilize new DSA binding
  ARM: dts: kirkwood-linksys-viper: Utilize new DSA binding
  ARM: dts: kirkwood-dir665: Utilize new DSA binding
  ARM: dts: armada-xp-linksys-mamba: Utilize new DSA binding
  ARM: dts: armada-388-clearfog: Utilize new DSA binding
  ARM: dts: armada-385-linksys: Utilize new DSA binding
  ARM: dts: armada-370-rd: Utilize new DSA binding

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 21:02:20 -08:00
Olof Johansson
0cc7d0a6ea mvebu soc for 4.11 (part 1)
Cleanup up on dove pmu and mv78x00 pci
 -----BEGIN PGP SIGNATURE-----
 
 iIEEABECAEEWIQQYqXDMF3cvSLY+g9cLBhiOFHI71QUCWIt76SMcZ3JlZ29yeS5j
 bGVtZW50QGZyZWUtZWxlY3Ryb25zLmNvbQAKCRALBhiOFHI71ei+AKCfHdyZYwW1
 uRXvVqdkSgOYQ8hAiwCfd2NeIfkr/7rEufrswNvqcmVc078=
 =FdKA
 -----END PGP SIGNATURE-----

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

mvebu soc for 4.11 (part 1)

Cleanup up on dove pmu and mv78x00 pci

* tag 'mvebu-soc-4.11-1' of git://git.infradead.org/linux-mvebu:
  soc: dove: constify reset_control_ops structures
  ARM: mv78xx0: fix possible PCI buffer overflow

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 21:01:52 -08:00
Olof Johansson
b7441582a3 Merge branch 'sti-dt-for-v4.11-round2' of git://git.kernel.org/pub/scm/linux/kernel/git/pchotard/sti into next/dt
* 'sti-dt-for-v4.11-round2' of git://git.kernel.org/pub/scm/linux/kernel/git/pchotard/sti:
  ARM: dts: STiH407-family: Add missing pwm irq

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 21:01:23 -08:00
Olof Johansson
0a019a28e0 STi DT fix:
Since v4.10-rc1, xhci is complaining in loop with :
     [  801.953836] usb usb6-port1: Cannot enable. Maybe the USB cable is bad?
     [  801.960455] xhci-hcd xhci-hcd.0.auto: Cannot set link state.
     [  801.966611] usb usb6-port1: cannot disable (err = -32)
 
 set property "snps,dis_u3_susphy_quirk" in DT fix it.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJYi29RAAoJEMrHeC97M/+mhgUQAIXb0rYrEy0taXWlOY1VhcS3
 U314DO5t+aomOLhlhsdygwuayHWjjLGvgBIegvToZaqKfgj1Mf8KwQ6yEOaVRnsw
 rVEKQgjbtGYoW6xSBo+GA/cRDyG+XDKU/3xcuQCgYHFlighpOiBYShOCxG72qL15
 xgYR5cQIExovGKcUxIfMoo3weGBNTCtrPRTCIzR14z5sjow/bIzKXBAdEROSCpJp
 5B2cp4sMJmUdFfrOavUMhbh4Dyu4Xt6ECd4gdMLrAupK3cuDslSUTa6e31sg+6PY
 p46E9TmJDuFIqtkbVRqO2EHpVjsMtRgqegn8KwipNeUWQnPg/1zvrj/cmYkg72wj
 Wp7j/SY/xpTdi+bxDdZ5fW7V3MTMeXoQFifOqOjo6JgLMPPFurJfNukG6PjdTeqv
 xmAlTYEtPTnpPc61nF83IHf/Hlo/FcuajrpBTN94qJEreYxRI4YuuhYYlh3OR/sY
 qPB9wZnKeOxdklun2RGiMgeKwn8hgoz8UdW4BmrFkq4xClxQzgiVQ+blylXFMwQ+
 PNTR6H559dfSc6n68YyCwp2bywoU7064zruOsU0gWNYqXdr9xbik17DPL261NrnG
 B1jn1TxRhffI3uhwOqDp8tSXMNVRIODmLMhkKhsp4J3LhQaGGkLw47uz7BhM2t4D
 bM6o07qhZ5fIZ7uB0VvO
 =+Frf
 -----END PGP SIGNATURE-----

Merge tag 'sti-dt-for-v4.10-rc' of git://git.kernel.org/pub/scm/linux/kernel/git/pchotard/sti into fixes

STi DT fix:

Since v4.10-rc1, xhci is complaining in loop with :
    [  801.953836] usb usb6-port1: Cannot enable. Maybe the USB cable is bad?
    [  801.960455] xhci-hcd xhci-hcd.0.auto: Cannot set link state.
    [  801.966611] usb usb6-port1: cannot disable (err = -32)

set property "snps,dis_u3_susphy_quirk" in DT fix it.

* tag 'sti-dt-for-v4.10-rc' of git://git.kernel.org/pub/scm/linux/kernel/git/pchotard/sti:
  ARM: dts: STiH407-family: set snps,dis_u3_susphy_quirk

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 21:00:48 -08:00
Olof Johansson
2dcfbf13f4 ARM: tegra: Device tree changes for v4.11-rc1
This contains a set of patches that add hardware compatibility for newer
 revisions of the Toradex Apalis TK1. Also included is a fix to the PAZ00
 that stabilizes panel initialization on boot as well as a patch to add
 card detection for the µSD card slot on TrimSlice.
 
 To round things off there are a couple of fixes and changes to the Nyan
 device tree files to fix the battery charger, add compatibility with new
 revisions of Nyan Blaze and Nyan Big, as well as properly support the
 TPM.
 -----BEGIN PGP SIGNATURE-----
 
 iQJHBAABCAAxFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAliLDnETHHRyZWRpbmdA
 bnZpZGlhLmNvbQAKCRDdI6zXfz6zoQ8VEACrXqha5c4/lbDW1MIzD90McHHAL3U1
 UtyvDp8lyOYXWMhwgraJvfHM0VVyyGsjzxn+DflKFo4LF9iro2nOOSJqeMxVIxhC
 EC7kbJ1jjoc81sYTMy7oPtgMDy3eYnKzsf3Ua7mo7yFR+zQ4S1HovEF4xqOSyGfC
 rPwrwvgl+KuVj4KkEY71DAqMXmuSEBRbgW03IPa1yEJhQ5KCH7gE8ox1HZBtorrl
 ITf8up/YUvA/HzBhZTPjn8D65QJIH2g7ehOAlMvIfM8qshCH+mPfBNR2pVKzFP7B
 r51RRpUlSriZVMXglq6cQ7zyEoGTMph3h33DLnPbYTcDGJz7ETVp/TS8sGG6YNHg
 KsVmmgbS+sQGEKz1/Eq9LRv4xnQm0x2oOTRO96oD+WAs9r8csJlnSbWfQOPRgXgz
 fL/X7SW229eXrejg4faxH2jVX9qWwnWua0TkUFMArmall/iFjqhFfc/0GIdVFpmU
 wXXuKTtHyAHQBwgXUVe3Y3SSIHT5qS9yRMHJyaTt/c25gdgCMDtZVTyNbY05Lcv6
 f3RLdJEEvm0xIPneRpF7FDZIohvlGnTidHgSp8CaJkk1KNett/DiK7N5NN6wjOVF
 EZZm2tPY/nXL3pyspt0ZsZhVsp97p50rkkAKBHu+u+h2K1f39NX3Qm6886a/J/h4
 ijqExw48RGedig==
 =QqnB
 -----END PGP SIGNATURE-----

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

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

This contains a set of patches that add hardware compatibility for newer
revisions of the Toradex Apalis TK1. Also included is a fix to the PAZ00
that stabilizes panel initialization on boot as well as a patch to add
card detection for the µSD card slot on TrimSlice.

To round things off there are a couple of fixes and changes to the Nyan
device tree files to fix the battery charger, add compatibility with new
revisions of Nyan Blaze and Nyan Big, as well as properly support the
TPM.

* tag 'tegra-for-4.11-arm-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  ARM: tegra: nyan-blaze: Proper pinmux for TPM I2C
  ARM: tegra: nyan-big: Proper pinmux for TPM I2C
  ARM: tegra: nyan-blaze: Include compatible revisions for proper detection
  ARM: tegra: nyan-big: Include compatible revisions for proper detection
  ARM: tegra: nyan: Use external control for bq24735 charger
  ARM: tegra: nyan: Use proper IRQ type definitions
  ARM: dts: tegra: Fix missing card detection in Trimslice µSD card slot
  ARM: tegra: paz00: Mark panel regulator as enabled on boot
  ARM: tegra: apalis-tk1: Update compatibility comment
  ARM: tegra: apalis-tk1: Fix SD card detect on v1.1 HW
  ARM: tegra: apalis-tk1: Adjust pin muxing for v1.1 HW
  ARM: tegra: apalis-tk1: Optional DisplayPort hot-plug detect
  ARM: tegra: apalis-tk1: Pull-up temperature alert

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 20:58:56 -08:00
Olof Johansson
faff11d1bc ARM: tegra: Core SoC changes for v4.11-rc1
This contains a single cleanup patch for the placement of the __initdata
 annotation, as suggested by checkpatch.
 -----BEGIN PGP SIGNATURE-----
 
 iQJHBAABCAAxFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAliLDTMTHHRyZWRpbmdA
 bnZpZGlhLmNvbQAKCRDdI6zXfz6zofCHEADCEKzpctp7yZcjm+CJmyQ8BQnvh/Lu
 D7Rpa1fZaojZVuRHbAHvtbzWibybQVC+CYQqVALl75IpPdTJcBaON8sk2OEXI+2j
 5OUU3xRrCUaOeMEIyAbGdVYpU9PQdP08S4dUVMrDhXod1XkPa+luQ3ojPBfelll5
 XfG/xqos32jJ4iSBd8hr1U1g80MgFPNQasloaB6W4oLvUXnye/G4vgT6MVICm8d1
 hQRS0KU9hK1pR4YoebH4/vO2jMRuBPSKGem/DBx9jnxrE8oqMyLGOKt5sxffI2DI
 UHtn4o2Y8uaHrCmdIdVZ9Frvp76+iINI5jqO6rTrhF2Jhd5V+eXXFLB9yGOHPpIl
 uxyZpou6cOfMQ5aclYEHeLP1BNboA6sMNt2YagKQVdGBL8d4WsWcCwzUvkAbghVq
 3wQxp7vQ4ZD6bPZj22EtprchECCcIWqwo7AWMNr3CnL/wyNCrdRwesjVUwVnLOlO
 9Lb2XpJEF435setIU7jOW+7fUAhC3AqBZ2jj98fOHFMjDspnGNhr4PCqkPk7glHv
 b+jQvV5cRkiojrTz68FoeWMrFb7afL4CgYUUdfvNUO0yChHwsL+CS6q7LrEuYMAE
 3Ub73Jjgie/gZlqSqcTKBDHgs9iKx3HdmJUrPziCdha+wKU9/bNUtFWfvH+KE/SE
 BZaboFE8N2oJZw==
 =NF/K
 -----END PGP SIGNATURE-----

Merge tag 'tegra-for-4.11-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into next/soc

ARM: tegra: Core SoC changes for v4.11-rc1

This contains a single cleanup patch for the placement of the __initdata
annotation, as suggested by checkpatch.

* tag 'tegra-for-4.11-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  ARM: tegra: paz00: Fix __initdata placement

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 20:58:22 -08:00
Olof Johansson
d47949868b DT for 4.11 #2:
- Enable the DMA on sama5d2 and sama5d4 xplained to fix an issue seen by
  kernelci
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEl0I5XWmUIrwBfFMm2KKDO9oT4sIFAliKH7cACgkQ2KKDO9oT
 4sJTvw/9Fcr20eWIofLNXsZ0yFLB359rZePuxC6o07xyY+Oy9wCmLgIFZ07cbR2n
 9od56oTu9fJ+sAJlkSQ/5cZXIzJFYqbaO/uFBCQGJzBvJNhpaqKEDVX7Pdk5BPcl
 BG1U2O0FlUbMAuXrV5EuAMIs1LU9hCvm/EuMPQmAiqyNX/UJIH8QmxttTm1QGIIh
 aa25MSV6Hnd+KQfsnUOORK86MzMK3pzVeSThqjTZM8npU5i5dr8rhJPSXTcFh8oN
 bu3RQ27IbzwEoFEetPQG64oZ9Dmu96gseN8tdbTg7wwV6lmb9Q7NE/ettJZf7h6J
 kJfvhIXfPPWqqy1Sho5sEAfAfUfuzPWzAM6dsBriGA1nEMeowICdpDno6hCdICtt
 V2IIKs2HsAQ6+FjEQF1lldDsImAfxbDI+OLqQkvpev2Gydu1AUYjVvaX1T/90p8p
 3mR3T7u3qhS0Ethn19DDfUn7is/zZvXTscohA9SGgwy7acj12S8BGyCGMEcbscbH
 Xoo1xkCDoiVmNXQQWLT7GVSGdvSztNlfVnMNnhN2tAiI2hxkKH7P2Jq8wFZAK/ib
 H7TgFBV8SrdmfMj2v0LUOWRy8x3wWXx6deTu23a2uFoId8WqU1tVFWkUkzqarHO8
 cLt//jHk2kuq10pSXtprsuYI5o1IRq41flI6o+9+ZC4H9XRptaE=
 =MsBR
 -----END PGP SIGNATURE-----

Merge tag 'at91-ab-4.11-dt2' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux into next/dt

DT for 4.11 #2:

 - Enable the DMA on sama5d2 and sama5d4 xplained to fix an issue seen by
 kernelci

* tag 'at91-ab-4.11-dt2' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux:
  ARM: dts: at91: Enable DMA on sama5d2_xplained console
  ARM: dts: at91: Enable DMA on sama5d4_xplained console

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 20:56:06 -08:00
Olof Johansson
8b6bc21e69 Second Round of Renesas ARM Based SoC Updates for v4.11
* Add more register documentation to R-Car Gen2 PM
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJYicrUAAoJENfPZGlqN0++hX0P/RfsvYchYCwmgwNjUsC45dLJ
 UCR+jRFEciq4XzOpF4yExqR8+16/Ne7JFU5ayKd6cv9x/NlDbtcWDRl2eJ2uw1QF
 o2gESzrO67rcrSBSqGp/Fk9lqp42HrrAXlHew9NpmPCLGzlWusgn40ET9IVF9KGa
 HgWBIeJaB3R0DeViYeUcCiizYgTMORHsi+JPxvHnP1je7+jjfhK2oOLs++nzpISl
 0BJgKM5vtW7UCRkMbqYCXNmb+Ej9ReSX+EvfGKlw/EyotGY7uxku0FsQDZFSTsf6
 un6wgoGF+41U85KTN6uEEaM+VK42z1+/eAGGgn37efHC+GrpQP/1LXTGJBhNZszB
 JwWJk7y+a5EjAp5Hfdc00x2G+0vj7ohk++7ffFA+tz249PX7Wbd7JeNzxsQRFzri
 8VPpiFtGImVSy6Cq/fR05CjAns20JW8BGM3U8gY1FQare/ZPaExHMisX71lgv/mi
 27SJ0M3THOGu2RSkbtzYmOfUUrC1DCmTSUtD6s4ZZYu/79n5db1+6mdNRB+P89UR
 pDagZqNK6v0YgBaCO7fkLe6jkYhPCKFGjOSxVuOtnDkLAC8kIazQBDE5mNlr/8Yo
 gVhdskUhBQHmwFU1iuTTnfiiotc2Ef8oiY18JyGTCE5x6AB0sMytN91UlYBkLs9H
 4U4iuWx5jYhkQahD6jTM
 =WcAl
 -----END PGP SIGNATURE-----

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

Second Round of Renesas ARM Based SoC Updates for v4.11

* Add more register documentation to R-Car Gen2 PM

* tag 'renesas-soc2-for-v4.11' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  ARM: shmobile: rcar-gen2: Add more register documentation

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 20:55:29 -08:00
Olof Johansson
18e738d767 Second Round of Renesas ARM Based SoC DT Updates for v4.11
Enhancements:
 * Add power-domains to mmcif on r7s72100 SoC
 * Add OSTM to rskrza1/r7s72100
 * Link ARM GIC to clock and clock domain on r8a774[35] SoCs
 
 Clean-up:
 * Correct SATA device status on r8a7779/marzen
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJYicoiAAoJENfPZGlqN0+++P8P/REww60pI3KHlxzdU/WeMfMi
 VEyQCKXJ4x9HVNubJ1f9w8aJBYqSFLCJulYqk4yu1LZJNmTqqD/Z1xtk382z6vmr
 uDW3JUj5Vn8kX5FmobN8boU/al4ozildB6Z2r6blnhwC1w3/fZnY88U4PHnKZ9Y2
 dJDaYUsjPawf81vJu68MzyEkOXQBfrWrxGr0wdngdOY1BE0ahL7tMvPy3uAtXVC3
 YWSJXf25cxiDzDRbmnpMe1dz5nziOq9juaPnDiJCIi8L0Cuf1ZYpvLV2nzrA0MC2
 hX+aF94CH8niZW74FMWa8ijjuq7BbgDla9G0R37St29D7/C4c+1mI2cy3qUeJBAn
 PKNj+Cmjvrdg/4dFU2X5NaufDXE+wbjsZ8I07iftqhkH6c0EZle6adhAVSlLAQHo
 Kk7PRKvTLQV3YsItlW41w0Q13jfkBhtnW3SQtTYQDY88omHytcrM5/EqLdfQxNzQ
 6IEUjPuBLLufHfXL0OADAVFitOB6djT5qZDJcGFOcZ1Bh8Fx4+zY2kCpcIi/tAl1
 s66kkG8QUiekl0hYcIfviFhkksYmIGVLIrQ17cSB31FCf9jR6b3zUkpPWZChXHDc
 jReosGFSfvbxiTdllDyKrDW8CuMaFsc9K/HVMcsRDUwUcCvTdTDF2MruQ5svChyL
 axMDOW4cOiSqMko0i4lQ
 =5/D6
 -----END PGP SIGNATURE-----

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

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

Enhancements:
- Add power-domains to mmcif on r7s72100 SoC
- Add OSTM to rskrza1/r7s72100
- Link ARM GIC to clock and clock domain on r8a774[35] SoCs

Clean-up:
- Correct SATA device status on r8a7779/marzen

* tag 'renesas-dt2-for-v4.11' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  ARM: dts: r7s72100: add power-domains to mmcif
  ARM: dts: rskrza1: add ostm DT support
  ARM: dts: r7s72100: add ostm to device tree
  ARM: dts: r7s72100: add ostm clock to device tree
  ARM: dts: r8a7745: Link ARM GIC to clock and clock domain
  ARM: dts: r8a7743: Link ARM GIC to clock and clock domain
  ARM: dts: r8a7779, marzen: Fix sata device status

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 20:54:31 -08:00
Olof Johansson
4b35ba1108 This is the pxa changes for v4.11 cycle.
This cycle is a minor fixes one, covering :
  - build fixes from Arnd, mainly include related
  - transfer of maintainance of Motorala phone to Robert
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJYibmfAAoJEAP2et0duMsSNoMP/0XbmPRO7cu0HjrBUYm9aWeJ
 omandU8yhpfvHbURWhq0sAMMbOJuBanQbI/W6n91Pijx5ms2X2nGPD820Csj/2SN
 LQoRhqFp3nf9c/U9PSJuBwHooYY2VWvdY2LiCu4H/cbgOe5XEdSHYYexynStVxuW
 1+eINYeoNQz63o2u29PJceHdZgXAJrymqXaI3T53oUyfIY8EvZu4Cs6hCBBrurU/
 vdvAQ1oRJUj2Rfbzb7JxVmY9kVRoMEecbPfd1EPrrsDs6QBsQnSmnhavDWn1AG04
 8VfbMeuFJrkBhXMUeKbEDIRT9DD5bVbQ5S/Lvz/mWIRq0M7noIYR1BIVes2auYfs
 9DAgZ4C0yqyN+Qd/us3iU97OxL3qNX38a1hiH4AMSiDd0d8MzZV73UUzPXjPRFRB
 dZ1KedAPqGCtwAuvvDf9ldPVrt1PX29EgYGbRXxLPcK+60QOKuajs3PYqDAGYLa1
 RHqz81xWMBSF50VsU9GD3PaE1W0+oQikHCDn+DY1z0pPJvsnQ+Ew2/5XEPoLlCES
 MsJhpBliir7ZvYrCrVHzaKwlH+Ps6CPZG7VXHx42XsuG4JMexS8wnXhv77xV4wRu
 uFiO69raOeeSZOoAvWiqXEX2gtN+saE1UzyG/HAjWUFbROUgNCrhkm2BpqVW7FtM
 VnXT0cwOLcj6RXbI1cCu
 =Z3AX
 -----END PGP SIGNATURE-----

Merge tag 'pxa-for-4.11' of https://github.com/rjarzmik/linux into next/soc

This is the pxa changes for v4.11 cycle.

This cycle is a minor fixes one, covering :
 - build fixes from Arnd, mainly include related
 - transfer of maintainance of Motorala phone to Robert

* tag 'pxa-for-4.11' of https://github.com/rjarzmik/linux:
  MAINTAINERS: transfer maintainership for the EZX platform
  ARM: pxa: include linux/leds.h
  ARM: pxa: ezx: fix a910 camera data

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 17:36:44 -08:00
Olof Johansson
f2d53a8f6e ARM: mach-hisi: Hisilicon SoC updates for 4.11
- Drop the declaration of the unimplemented hip01_cpu_die
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJYiNOBAAoJEAvIV27ZiWZcmkIP/jiTcu/KpJDKbhsf04QKvlNr
 lHxcH+PuBpvp33Emw2b17dyKqRq5+74LtxShxVIW3KLBipi1w9dsHhlFc1QfnFNb
 lxZNvhIOWJshHsnu9Xn23Vbari1cxcpoEZe1R+6ij20UXdg282C7Zj3Hg8oHa5oB
 eCGgoSxwnEqh55MmUOTSh+7GG1eSK/MExjZAI/nT8NUu2JIhLopAXCMJVZu3tUUz
 BEOrz+76WC3KWkG7aFdBu10/7qRT++Wh2jirguxCEXo9SxaUs1i7G1DGzhy8N9oh
 Vs2EKNdYTeKu9IMJAx2RFEcxEusc+oAfTLQBQCSQFaKYKp+K+ZZ3pKF6E7LT1AyL
 Sz/xQETtWNjETgE5YVXwfHUlZOB7k9/2q/SoL9gqbQ+302Que1U6a+i747ZLmYH9
 /N7HS1WLMLIGGvcp7X/iMwBqZAnVY+vi7KNiqGzRd2YYRnJ/L44fTbEIB/Ve5tvT
 vj81yKTLx228VJM9IB0F2Sz6KXsJeW2TcNk2sF88TfGx80FTmxFfdK1lHNQXQWcu
 4aRG2o2np3PFXCn1pGW1KoVvvhhnzFRcXQSXlRQTOcc/SBOK9E1hOCvEf3eG0cdj
 TSRLbvlg2Gs7BdX8O4axNoN9nbXD1MvF6yuAgbxdavgJGUx72Eq7J7ebzUXNFwTh
 nxhqaOtpmPyigm8aS2nb
 =XY+A
 -----END PGP SIGNATURE-----

Merge tag 'hisi-armv7-soc-for-4.11' of git://github.com/hisilicon/linux-hisi into next/soc

ARM: mach-hisi: Hisilicon SoC updates for 4.11

- Drop the declaration of the unimplemented hip01_cpu_die

* tag 'hisi-armv7-soc-for-4.11' of git://github.com/hisilicon/linux-hisi:
  arm: hisi: drop extern hip01_cpu_die

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 17:30:56 -08:00
Olof Johansson
1a0c4ca509 Lots of updates for mt2701:
Rearrange the dt nodes and fix unit address for pincontroler
 Add nodes for:
 - clock controller subsystems
 - scpsys controller
 - iommu and smi
 - spi
 - nand
 - auxadc
 - thermal controller and zones
 
 Email address updated for mt7623 devicetree files.
 -----BEGIN PGP SIGNATURE-----
 
 iQJLBAABCAA1FiEEiUuSfQSYnG8EMsBltDliWyzx00MFAliIioEXHG1hdHRoaWFz
 LmJnZ0BnbWFpbC5jb20ACgkQtDliWyzx00Nn5BAAho8TohilGoDXa6aozC74sQf3
 w3ew/0DwdtUrPe6jS0MM9KAlscCiA+wcDKcg8bOoH9IlDBMkU1xFSDGjIKwEotL5
 +qKmYse+8SV/TAlCKkHGROT7DTIS3/mC0v57mAGglJ47Z4D1aFVFeWTxEUfj9VxE
 pwGH4rZJ+qUw1fMnYZBmbdg5iA4J6q54gXi62l1BnhF6qSvv6fJTsx7l5kT8+viU
 alUmQLvHPoOVxDfXHAUgvhIgzoK1tcvMeO4nqSZ+upoMX+Tq9wyrSbyXQsIoThOd
 GnjVUFV6YfniG2pUzqdA+g30ptTK8Itcb/xy3U4/FIHQjMLL+0SmdQQ8yqH5CPE1
 pK2uJbJUobrc2bL+faV+GAju1tnvQtccwuVjILAtR6tLzPb/Sr/j5+2BfAmolteb
 m4FxZEmwA+FWV9VX/ky554iXXz7QfMeEJEFRH9lAOaegBRYLykdXkWLTWZITZxDu
 b97mmfcD+MCgZETRmmfPH0/xed1CwrWp1A8hfub4O04EvSPTr47M5J8k3yAf8z/4
 dsGi/KCddeHP7K+mQMvsl7jYWXGbhOZX/jUXB8UniDeDBN7i3XGK4whoxKY2E2I7
 2ZLArji2obym1xy9KR7DYhhJUEbTxprMimV5K6BKAW2SGpFbZFAiJTbl80GWjIFb
 Xx3obOE7qA5LE74qwUY=
 =MxSr
 -----END PGP SIGNATURE-----

Merge tag 'v4.10-next-dts32' of https://github.com/mbgg/linux-mediatek into next/dt

Lots of updates for mt2701:
Rearrange the dt nodes and fix unit address for pincontroler
Add nodes for:
- clock controller subsystems
- scpsys controller
- iommu and smi
- spi
- nand
- auxadc
- thermal controller and zones

Email address updated for mt7623 devicetree files.

* tag 'v4.10-next-dts32' of https://github.com/mbgg/linux-mediatek:
  arm: dts: mt2701: Add thermal device node.
  arm: dts: mt2701: Add auxadc device node.
  arm: dts: mt2701: Add nand device node
  arm: dts: mt2701: Add spi device node
  ARM: dts: mt2701: add iommu/smi dtsi node for mt2701
  ARM: dts: mediatek: update my email address
  arm: dts: mt2701: Add power domain controller device node
  arm: dts: mt2701: Add subsystem clock controller device nodes
  arm: dts: mt2701: Sort DT nodes by register address

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 17:19:58 -08:00
Olof Johansson
8179a77deb Few omap2plus_defconfig changes for v4.11 merge window:
- Switch to use LIS3LV02DL IIO driver instead of the
   LIS3LC02D misc driver
 
 - Set CONFIG_SERIAL_8250_RUNTIME_UARTS=6 to avoid runtime
   warnings on omap5 and dra7
 
 - Enable ksz9021 phy and m41t80 rtc as they are used at
   least on phyCORE-AM335x
 -----BEGIN PGP SIGNATURE-----
 
 iQJFBAABCAAvFiEEkgNvrZJU/QSQYIcQG9Q+yVyrpXMFAliHbxYRHHRvbnlAYXRv
 bWlkZS5jb20ACgkQG9Q+yVyrpXPLDBAAmEKb4eMFYBJ2Df48PugoIhslvfS/in8a
 3mNtH8RY9TzoB7+wu2535hVifBGrLtg10TateZLzJtGNZ0eZurms+gvP4pP+Pgsw
 +aUz3pQgYyx9xCdvPR4rGxrgU7fjk+NI8JqgoPgVo6WU/+vWpvFu8TJguSst1VDX
 jxSeQUOvDDK5N3w42WSiLrecg+hCiZqiMbK/+UtuJvgfByeVqA3Azk8/imQxOISU
 A2TNCTlcCgSiCEOueIP9JDJZuUkqeswzThhNUksRfl3WhjOyXso2iOqvN2tbUH5o
 gLC3GSTmBVgu0O5tf8Zjnqkp+2aAKgb6Ilwzcjk0FkRfCty/wnJAGh/izfUJTcPK
 aza99As0WFFKmRiD/9QNKaoDptTINQAA8SpXLNp/KBvok67j84YoP3SXUC7fwnYd
 UnC9DGleBBhj/6I7S9TcBdn06lTDXZ0vvFGXQTTxQG/u6erI+DuzMYRbrBEO5e1H
 L44BSL7/enZ3Bk9DzqkrIuJudXYuHxxMsjL1J4IdA8YBrs6JhByBEjFkyzVR3CWH
 1AhCtZWTAVGSebTSgVUompCQfynond9prae0pUz+p7GQzXQcMnmxh5rWHM9OTV2C
 3PnFb6brhLomkIoAujgH3O60N9EvpXKx+hl6JGSXB0Gorf4zU7INswZkjLtoZhNo
 FyghpmnV/W0=
 =Vv0t
 -----END PGP SIGNATURE-----

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

Few omap2plus_defconfig changes for v4.11 merge window:

- Switch to use LIS3LV02DL IIO driver instead of the
  LIS3LC02D misc driver
- Set CONFIG_SERIAL_8250_RUNTIME_UARTS=6 to avoid runtime
  warnings on omap5 and dra7
- Enable ksz9021 phy and m41t80 rtc as they are used at
  least on phyCORE-AM335x

* tag 'omap-for-v4.11/defconfig-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  ARM: omap2plus_defconfig: Enable support for RTC M41T80
  ARM: omap2plus_defconfig: Enable support for micrell phys
  ARM: omap2plus_defconfig: Fix probe errors on UARTs 5 and 6
  ARM: defconfig: omap2plus: switch LIS3LV02DL driver

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 17:18:21 -08:00
Olof Johansson
7a38003b69 Device tree changes for omaps for v4.11 merge window. These
changes add earlycon stdout-path propety for the SoCs so far
 tested with it. The other changes are addition of BeagleBone
 green and making WLAN work on BeagleBone black wireless and
 green wireless. The rest of the changes are the usual enabling
 features on various devices:
 
 - Enable devices on am335x-sl50
 
 - Changes to dra7-evm boards to enable enable irqs for dp83867
   eth phys, add pinmux configuration for mmc, remov erratum
   i869 pinmux configurations, disable NAND support because of
   pin conflict, add pcf8575 used for lcd
 
 - Remove NAND partition table for omap3-igep
 
 - Configure USB Ethernet MAC from device tree for beagleboard
   xm, pandaboard, omap5-uevm and igepv5
 
 - Configure am335x-chilisom to wake from RTC-only state
 
 - Update Nanobone for external FRAM chip
 
 - Clean up n900 dts
 
 - Update am335x-phycore and am335x-wega for various devices
 
 - Changes for am57xx-beagle-x15 to implement rgmii2 errata
 -----BEGIN PGP SIGNATURE-----
 
 iQJFBAABCAAvFiEEkgNvrZJU/QSQYIcQG9Q+yVyrpXMFAliHfDQRHHRvbnlAYXRv
 bWlkZS5jb20ACgkQG9Q+yVyrpXPCJBAAyuB6b3ebspjJXNgJetboPsfms81pqSCr
 5ZcYLRsOkPc0858Q/vhXqkWdsfeZ62hIu/8DKj98dpjL/0w0hvzqK2eUpdrcmf74
 AUf1lXkhj9lIX3K3g/3oQNgfhhpFpYduepzuBtaWio5KE0nTH0NcPEBa8YsKXTAZ
 geCP6eB1aTjhBBxzvI2UNmbzoJmhBUf6ccGv7uNWhF2yRh52e6uyUMD48Z2+ti7A
 N40k9+n2vbp8M1nijszUU0GzsvIKKNaA2tH+c1V57IW7KUPQJ2XXE6aTycrqrg7W
 aDz5jjwZOppud2o5TihMPzKsJzj9KFbk8VeRSV57N7dBjstHvWBHh67OCpKVL9rb
 8lDYu+ndkHDBSHjBfz32tRWceIjpc8n/dDn3IAZSL88Xd2/3Juw0XsJDeVuMu0Xr
 zNBcdIA9ph8rPMO2y9oPGhEo136NveuvnblazNBzsFzgRu9O9sBKDLnfEx1tRGCo
 cwqQf6H5slw4JwoiEFUBc3eERiImT1l7A5qFtrjQGQ9JGn6gN3bHEUM2uaC9KH1D
 HG4kru5QLMnvxWxDC6+vw9mosqlDvzalpz71gdAeGJgS2iaswuCvy0ITTKlxXzLP
 Fl6+Dm7aaTakc2cD0acMG+apyXQOmIOiJ7gKQ8R7VNVMQyS7JfjJWWUTy3hr9sN1
 VYYccZ5tO1M=
 =URbm
 -----END PGP SIGNATURE-----

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

Device tree changes for omaps for v4.11 merge window. These
changes add earlycon stdout-path propety for the SoCs so far
tested with it. The other changes are addition of BeagleBone
green and making WLAN work on BeagleBone black wireless and
green wireless. The rest of the changes are the usual enabling
features on various devices:

- Enable devices on am335x-sl50
- Changes to dra7-evm boards to enable enable irqs for dp83867
  eth phys, add pinmux configuration for mmc, remov erratum
  i869 pinmux configurations, disable NAND support because of
  pin conflict, add pcf8575 used for lcd
- Remove NAND partition table for omap3-igep
- Configure USB Ethernet MAC from device tree for beagleboard
  xm, pandaboard, omap5-uevm and igepv5
- Configure am335x-chilisom to wake from RTC-only state
- Update Nanobone for external FRAM chip
- Clean up n900 dts
- Update am335x-phycore and am335x-wega for various devices
- Changes for am57xx-beagle-x15 to implement rgmii2 errata

* tag 'omap-for-v4.11/dt-signed-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: (35 commits)
  ARM: dts: dra72/1-evm: add pcf8575 used for lcd
  ARM: dts: dra7xx: Add stdout-path property
  ARM: dts: am57xx: Add stdout-path property
  ARM: dts: am43xx: Add stdout-path property
  ARM: dts: am33xx: Add stdout-path property
  ARM: dts: am335x-sl50: Enable the Ambient Light Sensor.
  ARM: dts: am335x-sl50: Enable the MCP23017 GPIO Expander.
  ARM: dts: am335x-sl50: Enable BQ32000 Real Time Clock.
  ARM: dts: am335x-sl50: Enable SPI0 interface and Flash Memory.
  ARM: dts: am335x-sl50: Enable UART1.
  ARM: dts: am335x-sl50: Remove I2C1 node.
  ARM: dts: omap3-igep: Remove NAND partition table
  ARM: dts: am57xx-beagle-x15: implement errata "Ethernet RGMII2 Limited to 10/100 Mbps"
  ARM: dts: am335x-phycore-som: Remove partition tables
  ARM: dts: dra72-evm-revc: enable irqs for dp83867 eth phys
  ARM: dts: Configure BeagleBone peripheral USB VBUS irq
  ARM: dts: omap5-igep0050: Allow bootloader to configure USB Ethernet MAC
  ARM: dts: omap5-uevm: Allow bootloader to configure USB Ethernet MAC
  ARM: dts: pandaboard: Allow bootloader to configure USB Ethernet MAC
  ARM: omap3: beagleboard-xm: dt: Add ethernet to the device tree
  ...

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 17:16:52 -08:00
Olof Johansson
f0d0b8cb6b SoC changes for omaps for v4.11 merge window. This adds support
for keeping the interconnect target module active for uart if
 earlycon is specified. And we're adding Aaro Koskinen as a
 co-maintainer for omap1 to make sure things stay working for
 omap1. The other changes are mostly clean-up of old legacy code:
 
 - Remove unused omap_display_init()
 
 - Make omapdss_find_dss_of_node() function static
 
 - Add support for earlycon
 
 - Tidy up omap1 usb logging output with pr_cont
 
 - Make omap_otg_init() static
 
 - Delete redundant CPU class checks for omap1
 
 - Remove unused mpurate cmdline option that has not done
   anything for past 1.5 years at least
 -----BEGIN PGP SIGNATURE-----
 
 iQJFBAABCAAvFiEEkgNvrZJU/QSQYIcQG9Q+yVyrpXMFAliHc5MRHHRvbnlAYXRv
 bWlkZS5jb20ACgkQG9Q+yVyrpXNVVBAAoNj2A8PfRJMYhQthtmUn0ORPe9QrF3k7
 5WaIRWhithkRIJl+kVuGLTzR0Uqvzo1CCXug+rJxs0JQ6PJEe+cp++ygioZzjZwE
 t0oHugvT1+MYCM475OwMG9ajgKYBX/GMsWDmuuG5nLm1JRzWQfMAQsmuyP0Oey+D
 bWOC0Hlz1gHn2xrlvjZah54rkERaWnKUIdi1YMqAAjmh/RuDED5VNskOcacVbqI1
 0C8wLC7mOviM3RyiQSCNTIKLC5illanjoZ/QHFnPLHV36KXJWCL/dB8gnAX+ORpF
 oCsL3t8erjq6cyhJIchs+UbqCEZv7HpIgbJBwc1oli3ExzS5iqmGQjhNkVN7Q+8Z
 TEQP6OhpPL4EXNEYOnE5pDgXATluWhD0rsg6XHt2CEsLZCOTzPTZCl0Of0vg3kcE
 eID7dz9CPXRquzyilVmyYla9Ty4XF3ePhdvLuI/06WgGU/M+6AvlZ40L8G73xKAu
 0wHx2rpN0H4ySXsAtnyanCxld5njPGiLn5Ehmnib0CQU16Zxc6mbxVQVfaaSSbAu
 LJrLHBdeqWYEkUJV6n+lBg1WeCgL4qDolMTm8aRhESTCBHQEaLYXe57dluYCt0g2
 2Rj1g/OuGFw+cViT2ICCvsAwE3jcHj32g8iJdnvfsypJ8pIO0znp2Sk7T7AYUXzw
 AafZ0ClGrws=
 =GiAL
 -----END PGP SIGNATURE-----

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

SoC changes for omaps for v4.11 merge window. This adds support
for keeping the interconnect target module active for uart if
earlycon is specified. And we're adding Aaro Koskinen as a
co-maintainer for omap1 to make sure things stay working for
omap1. The other changes are mostly clean-up of old legacy code:

- Remove unused omap_display_init()
- Make omapdss_find_dss_of_node() function static
- Add support for earlycon
- Tidy up omap1 usb logging output with pr_cont
- Make omap_otg_init() static
- Delete redundant CPU class checks for omap1
- Remove unused mpurate cmdline option that has not done
  anything for past 1.5 years at least

* tag 'omap-for-v4.11/soc-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  ARM: OMAP: clock: Remove unused mpurate cmdline option
  ARM: OMAP2+: omap_hwmod: Add support for earlycon
  MAINTAINERS: Add Aaro Koskinen as TI omap1 SoC co-maintainer
  ARM: OMAP1: USB: delete redundant CPU class checks
  ARM: OMAP1: USB: make omap_otg_init() static
  ARM: OMAP1: USB: tidy up logging output
  ARM: OMAP2+: Make the omapdss_find_dss_of_node() function static
  ARM: OMAP2+: Remove unused omap_display_init() function

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 17:15:36 -08:00
Olof Johansson
c0d3245609 Non-urgent fixes for omaps for v4.11 merge window. These all are
fixes for things that have never worked or have been broken for
 a long time and nobody noticed:
 
 - Fix omap3 off mode pull defines
 
 - Allow multiple pdata quirks instead of just one
 
 - Fix am335x and dm814x scm syscon to probe children too
 
 - Fix compatible for ti81xx to allow use with 8250_omap as well
 
 - Fix 8250_omap on omap5 by adding HWMOD_SWSUP_SIDLE_ACT flag
 
 - Fix SoC detection for omap36/37 SoCs
 -----BEGIN PGP SIGNATURE-----
 
 iQJFBAABCAAvFiEEkgNvrZJU/QSQYIcQG9Q+yVyrpXMFAliHdcARHHRvbnlAYXRv
 bWlkZS5jb20ACgkQG9Q+yVyrpXOdpA//cV9JLHoQWAheQIxPKcSC6bNANOJDik7I
 thKcbOmiH23xbLbOI/DoOY/jNfXIKHm67LUbfWRCljW03n2EaPgdaaM4Yar66MNC
 /n1JNqOF4ldetMb1uFw6Mlr5Jq44i4yZf6Q/0QwTN9pWnMBFj91nsKBSONrFEQJP
 snNtUwK1lSBHeVoOHVUujKHJJGpZvtclnPlzZ2Xqf1eDysfjQRrA1PAHljB8ScmY
 JfSVifZcR8MGMezEHbonimEH725Cwev/GuDJ3ADqBah1E/3ahRL3F9bkZnro9eqv
 0kPagVla+HSDS8SDzBYeUBwsUccYKx4haGGzQ5bHACbEtCGOgjO3wRdFNkCALnxG
 jcLerUI4DVPYYAuzowUK6gU60cErxIbVhMCxkDcslliFzuK4i9xVYhdPTnE/7pAN
 14dgNjz8drYm6SJHg4LWY9nq5UE2H3Gk5eWr52zlwhID2M0FJXCp2Fr51OocS/JB
 qrCLsuJCmtcxMEaI++iRf6b6OblfAV5bwpHOBX1QkZfz7GwhhKhK2ZERewTWWJS4
 eagdF4B+aw9zrRq/nLf09RMB4OjE+7OqvIVnA1MWxnDyfACcYuOodkXys4DxB7In
 z+3ToH3lwzqLP4Zi3enr7Bs669Hz2KWJzjf8WwfbDG3e9IEa9t5sLMBFtrVfPRG9
 qH53nlHABqQ=
 =SNQE
 -----END PGP SIGNATURE-----

Merge tag 'omap-for-v4.11/fixes-not-urgent-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/fixes-non-critical

Non-urgent fixes for omaps for v4.11 merge window. These all are
fixes for things that have never worked or have been broken for
a long time and nobody noticed:

- Fix omap3 off mode pull defines
- Allow multiple pdata quirks instead of just one
- Fix am335x and dm814x scm syscon to probe children too
- Fix compatible for ti81xx to allow use with 8250_omap as well
- Fix 8250_omap on omap5 by adding HWMOD_SWSUP_SIDLE_ACT flag
- Fix SoC detection for omap36/37 SoCs

* tag 'omap-for-v4.11/fixes-not-urgent-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  ARM: OMAP3: Fix SoC detection of OMAP36/37 Family
  ARM: OMAP5: Add HWMOD_SWSUP_SIDLE_ACT flag for UART
  ARM: dts: Fix compatible for ti81xx uarts for 8250
  ARM: dts: Fix am335x and dm814x scm syscon to probe children
  ARM: OMAP2+: Fix init for multiple quirks for the same SoC
  ARM: dts: Fix omap3 off mode pull defines

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 17:14:43 -08:00
Marc Gonzalez
e66e937121 ARM: Import tango4_defconfig
Import a minimal defconfig for tango4 boards.

Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 17:06:45 -08:00
Olof Johansson
cf63d01af4 Enable config options for DaVinci
VPIF, LCDC, PWM, Pull up/down pinconf
 driver and IIO in davinci_all_defconfig
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJYh0ffAAoJEGFBu2jqvgRNppQP/RW9eM+v81QmDrP6797F/Dl3
 5RBiBoV5ayrZ+hs5SH6T5J/2jrlCSp5CzmVIJdzxplgTprieO6zo6YsW5bXNeZ1D
 PO9C5H/VMk3aUnC0NGZ4Hf+aJD3/7dEd9mzc2lKHkG0Jd7+lGi7ZrtqoI+6zVvHp
 hQtjwz6Ye33Wclgd/PZhaSUFzv47LI41hicT+tG3uRVPv8bBIzJeX9lMH56xrSYo
 ys0EX2okoh5sBl5hOs3tnsBeA6VtI87KT/gSwkKQUsIezlnIAaz5ErJuO2CyehLB
 RpkCZ2yWNl2/sombgNWRVK+0cCUPDQyCLDjOMW+QibYqlIbC10/pr5Wl0e8x5IeA
 KQCHGEHsUX1cHuFe19u8bmkPBiToBPBnWEa0fH2kbJAjn4FAvkbjYsltQCsIDUMw
 hylAGmANzavczKT45lpq1VstqzJkj5JXd2zfsmTzumnc/IhglcIoIolbnkIs/pdU
 3Eje/FRIwOD56RtC8ql61OorVMSXNHnyaw6QNlZ4R6dOdKhNll/WeE74znTGU76o
 AwOfpjQNheMRkreDPVdjLUzU/V9i2x61w5C+TiF2qGhIh/50E62hJQ8Isaes/5cE
 jaelOzAPxrOYHHECE+iY424SU+h/WPXHXJqgxwCa0USLg9WhGSv+fF/Jak8WmEgs
 Gxitz4/zBY2lR3tZhDsj
 =zXfG
 -----END PGP SIGNATURE-----

Merge tag 'davinci-for-v4.11/defconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci into next/defconfig

Enable config options for DaVinci
VPIF, LCDC, PWM, Pull up/down pinconf
driver and IIO in davinci_all_defconfig

* tag 'davinci-for-v4.11/defconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci:
  ARM: davinci_all_defconfig: enable iio
  ARM: davinci_all_defconfig: Enable PWM modules
  ARM: davinci_all_defconfig: enable DA8xx pinconf
  ARM: davinci_all_defconfig: enable pwm-beeper
  ARM: davinci_all_defconfig: enable dumb vga-dac drm bridge
  ARM: davinci_all_defconfig: enable video capture as modules

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 17:05:52 -08:00
Olof Johansson
2e33f29400 Device tree updates for DaVinci DA850
* GPIO keys on DA850 LCDK
 * LCDC display on DA850 LCDK
 * USB OHCI on DA850 LCDK
 * VPIF (video input) on DA850 LCDK
 * Add a DA8xx specific compatible for UARTs
 * Introduce support for Lego Mindstorms EV3
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJYh0jIAAoJEGFBu2jqvgRNivsQAJpyONkOU7T7GQ/w4cU699zP
 Af83IFATZWvaeuscKNWHF/Fb9kTiPk8CB+HYSs0CFybGX8XoSaN8l/EI0jG0k4Zv
 7izWjvt/jFkIXEsKcORBXeRQ4MirmsWOY/J0J761L0WHO1GyoPtrtnOFzxWNO9jC
 P7e+1kwd0umtLhHJ4LKOqarfiFA70MiOw7FAN9luRQBgCD8sSfsYkgqne5MFCrc1
 Aaf8OV49ayTqjJRynDb2I6JnAt5WFt8q1AR/3Q5b4P1QK2wxJLA/ISAbgoNvZL9h
 NG1jTrKhk5iXF9XoeE4THi5nKupSpVk4zhl0tenwLg/SRcW97LZ3ar3cg96XrrZU
 Ng4poCkh5EdtgaMGstScoSr5DACRMsZWvTI4Ie9x8oPQiirT1an0w2xSVRDI77Kc
 Qmv3InOteRQJU9xoYC6DBb2CmaGsE0SJjuMgjguguQQkeznXFAl0PVj841c5ipUP
 JFAq4hUYE9G6/vBf+oOvtO3IsPDeEv3DCgW03gL2gxgZLd8BE65SPyGEMV2jeW57
 ctO0MJdRTg4VnYoOHwKU3LKytc/fjYC9ETx+VEManqIdwXj0wxtOdncUNLwYxKeo
 1U076HVBdmqXU45Qn9+ZIfkb1g9QJCqKYq8giOeaQzfG5HMAefoVHTfnhEeRPHs4
 R5KaT9XMRkUuNC4CNyMb
 =EOxA
 -----END PGP SIGNATURE-----

Merge tag 'davinci-for-v4.11/dt' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci into next/dt

Device tree updates for DaVinci DA850

* GPIO keys on DA850 LCDK
* LCDC display on DA850 LCDK
* USB OHCI on DA850 LCDK
* VPIF (video input) on DA850 LCDK
* Add a DA8xx specific compatible for UARTs
* Introduce support for Lego Mindstorms EV3

* tag 'davinci-for-v4.11/dt' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci:
  ARM: dts: Add LEGO MINDSTORMS EV3 dts
  dt-bindings: add "microchip,24c128" compatible string
  dt-bindings: Add LEGO MINDSTORMS EV3 compatible specification
  dt-bindings: Add vendor prefix for LEGO
  ARM: dts: da850: Add ti,da830-uart compatible for serial ports
  ARM: dts: davinci: da850-lcdk: enable VPIF
  ARM: dts: davinci: da850-evm: enable VPIF
  ARM: dts: davinci: da850: VPIF: add node and muxing
  ARM: dts: da850-lcdk: Enable ohci for omapl138 lcdk
  ARM: dts: da850: Add usb device node
  ARM: dts: da850: specify the maximum pixel clock rate for tilcdc
  ARM: dts: da850-lcdk: add the vga-bridge node
  ARM: dts: da850: rename the display node label
  ARM: dts: da850-lcdk: add gpio-keys

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 17:05:23 -08:00
Olof Johansson
43d08e211f Qualcomm Device Tree Changes for v4.11
* Add Coresight components for APQ8064
 * Fixup PM8058 nodes
 * Add APQ8060 gyro and accel support
 * Enable SD600 HDMI support
 * Add RIVA supprort for Sony Yuga and SD600
 * Add PM8821 support
 * Add MSM8974 ADSP, USB gadget, SMD, and SMP2P support
 * Fix IPQ8064 clock frequencies
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJYhiypAAoJEFKiBbHx2RXVvUAP/2l1mGHcPWrQ5IYclxJUgT65
 OmjA9MDWHgqpOAjibGZoNj8+CuS54/JlHCGXv9vuU9r96YmnpCyoebFdpWiE6KfM
 K+RYmraGVrUl673jmIxxJR5kZ3AkFb1fapfx8wBLcQ1FU8203HPB+izVrSxMFHwS
 KrVpJHl2qp8D6E+O6bhLl2iBQo1njwMDW0dgs+1V8mmRkeBSC44JoY/dxgay0/7M
 c6MP8/EWg63Luo+wrNNyiQemiyCM/ZwXOr/el62QDi0vdNVu9FTWx3iFSU3N277q
 Kgr+gJNrMQy8KcIrTtw5sLBTIHvrl6f7kXJ1KA6QtGEEiQI99opLwOdrqKq/O1yD
 bFbKLzG+KdzymTTfOf2kyB/jscQDPq9bbqTC8LYg1FVO63OHFtm2suBgZwtf8WJT
 j1o/pZBl7s3PpOemEfhm9i+SbwBZKfssb6cFinvqaDkfo+re3FGH02f0227YgB2Q
 2xhhekEU0xUH5w5ZUWXOmvCTXYghBINEtZydCvOFETemOmpWiAT0l8BRNjdG7fid
 py+EVbCp19F8u/tBKb32q6yPvDZTR1vdVGiD4Pt+j09vPuU6SMagu5bmlCYqDSca
 bcw7g3Fa37Za8Buv3GOYByZourY4ol+1Te0tqxQbPwu5N+H5zKvHGMiUnlmbtkKD
 WM/tWW4vz7kDUcvRFt3c
 =i5Qt
 -----END PGP SIGNATURE-----

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

Qualcomm Device Tree Changes for v4.11

* Add Coresight components for APQ8064
* Fixup PM8058 nodes
* Add APQ8060 gyro and accel support
* Enable SD600 HDMI support
* Add RIVA supprort for Sony Yuga and SD600
* Add PM8821 support
* Add MSM8974 ADSP, USB gadget, SMD, and SMP2P support
* Fix IPQ8064 clock frequencies

* tag 'qcom-dts-for-4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux:
  ARM: dts: qcom: Add apq8064 CoreSight components
  ARM: dts: Add gyro and accel to APQ8060 Dragonboard
  ARM: dts: reference PM8058 as IRQ parent
  ARM: dts: rename MSM8660/APQ8060 pmicintc to pm8058
  ARM: dts: sd-600eval: enable 1.8v regulator on LS expansion
  ARM: dts: sd-600eval: add hdmi support
  ARM: dts: move hdmi pinctrl out of board file.
  ARM: dts: qcom: sd600eval: Enable riva-pil
  ARM: dts: qcom: sd600-eval: pm8921_s2 regulator properties
  ARM: dts: qcom: apq8064-sony-yuga: Enable riva-pil
  ARM: dts: qcom: apq8064: Add riva-pil node
  ARM: dts: apq8064: add support to pm8821
  arm: dts: qcom: Fix ipq board clock rates
  ARM: dts: msm8974: Remove "unused" reserved region
  ARM: dts: msm8974: Add ADSP PIL node
  ARM: dts: msm8974: Add ADSP smp2p and smd nodes
  ARM: dts: qcom: msm8974: Add USB gadget nodes

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 16:09:01 -08:00
Olof Johansson
e6fb51c1a9 Qualcomm ARM Based defconfig Updates for v4.11
* Enable APQ8060 Dragonboard related devices
 * Enable AHCI, PCIE, USB, thermal sensors, and ATL1C related configs
 * Enable RPM/RPM-SMD clocks
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJYhit4AAoJEFKiBbHx2RXV4NYQAK2EvuxfXoNEoEajbCUuFJIv
 RlL0fuS/vjymLcXq483VxELlj4G3w2NWzDgOWpfMcdUka0zdR44HQA4353qZV1GM
 0jHhEE/xyWU8D2DZfQbJzudGUsG+1z/o2TG5WCkHCWQlpM8v0Z4HLtpuYzuf0xtT
 DicFcP5XxcO2FaTtv7btKnX+8dORh6AR17Og4XimLytkzA111mjS3d2a0MbH+hMa
 WSuOSY+4F4t+zUJ++WsH2Qbl+KkYtmHvy4Y5S4qwIf89SKPTtH2VyRxd/dSEc7W7
 3XpEjHFINsMxR8K6/drOOo892pDFKpMUGQvWEAutWv05AZwEDIgioP9RwtQOBcHA
 L3KZAoAYmkAB6xImoVdRK8r1qTm18+wLwVGNULpld5y1/ue/EtjW1GB91k2z42iZ
 UM7B4J0aiUsMqtd1F2RjSLEGEzbQt4yeTSda8/wHcH6+ltX/zvftFD17RISZIj6v
 UalpSzJprMSoThgEC0ZjWvdV2b9f/pfIbLra5L2n/w1hAACIUBp7pv6STW8UVNfn
 8stAZ9NO3GEysgMT7Ctq4dh3NcNhoCESQkj2Zvf0qMuCG9aX0mqmmfPsFBBmZWqi
 KwEuDbWU31Gxg+Ndjdxtck1wvSWKK0ka3eFiC7ew3drXPNe9tlooMXEML5bsQ5CJ
 KA1i4OPY0HtLWYtfV/Sl
 =4Unw
 -----END PGP SIGNATURE-----

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

Qualcomm ARM Based defconfig Updates for v4.11

* Enable APQ8060 Dragonboard related devices
* Enable AHCI, PCIE, USB, thermal sensors, and ATL1C related configs
* Enable RPM/RPM-SMD clocks

* tag 'qcom-defconfig-for-4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux:
  ARM: defconfig: qcom: add APQ8060 DragonBoard devices
  ARM: qcom_defconfig: enable thermal sensors
  ARM: qcom_defconfig: add ahci configs
  ARM: qcom_defconfig: add pcie and atl1c ethernet configs
  ARM: qcom_defconfig: add usb related configs
  ARM: qcom_defconfig: Enable RPM/RPM-SMD clocks

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 15:40:07 -08:00
Olof Johansson
d12556ea05 UniPhier ARM SoC DT updates for v4.11
- Add eMMC, SD pin-mux nodes
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJYhLS0AAoJED2LAQed4NsGrWkQALS3vTg37mg9TFsbM4Yj2kqP
 h+STurZKf250CQcjaxA46710OfHikWboWUQ6tsDQ0vglZy2XWHGO5uD0YvI0v7gk
 CWfDZksqtrUiDjwiRCK/uYr6vgtrCby6IKQuRd7rAfOtDqi/uDwZOoUWmdtlEyF5
 VMD7g31r4sc3FmiLOncqGXx7bubBUGbOvb2ZNGwQTPgzPQOrPNEPxWG8eRfIq23g
 /Yqr7Q5/qdN8onJDODnIShBAKEZnjBNSphNSrwREZ2GREon2O4Uz+gNI51QpLfuD
 2Zb1VclCQjCKOZXUplaEs/XKKvbeyfT2TTZU77L4Xwjob05loHCpiIrHaGa8diw6
 F+YRdhfwZoT541JTK85ZpTc/8/OYd/Kk3nLDpw3TgRaRb0bFcRuwrN6wiEhhtS/6
 JCIFmZhBMgLQLlsLAm880HyKzLqMxhTM6YdPPMtby80a0z5xNifVTgcYr63wJ+oC
 4H2f0VOmak7gXBBrJyCozolEKgJ7+dIWZi+kZ8oeep5VJfutnpdmljR+BJx76rKb
 kcU2TEGtZwe4O3CfqBItQHJu+wW7V1L3MJaVUmFDEVIEl7xhg6Vd7HtnHd7+OnD5
 A/ENnLoJBAC00f/eN3dWmYUBen+4Y/mP+hOJbeonookVKYC7k82vbVTX7g6sh8vR
 9aMATQ0L4wwM1VY6JljJ
 =HVXC
 -----END PGP SIGNATURE-----

Merge tag 'uniphier-dt-v4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier into next/dt

UniPhier ARM SoC DT updates for v4.11

- Add eMMC, SD pin-mux nodes

* tag 'uniphier-dt-v4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier:
  ARM: dts: uniphier: add SD pin-mux node
  ARM: dts: uniphier: add eMMC pin-mux node

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 14:47:53 -08:00
Olof Johansson
de474f9b97 ARM: Keystone config support for 4.11
- Enable Reset controller and on chip MSM RAM support.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJYg+UMAAoJEHJsHOdBp5c/wKIP/0+QwZH58jfU0BvKVCQGUW7G
 k66IdViqW6rVxUJzP5V7QCPHbg9Lv8t1evdJmrSg1xAou7mzF2Vog06r885TZD76
 3QBFVKO6Bzf5PVBiGsTyYqsKEA9WGhoaPNv26o25S7c60QeAWoGhlucmmOetbo7v
 q8dQwJ5MWDe05ZoSRV+g4hcPy3xAUoPSaR4nPs6l0TcMX8LLP9GybETv9TN1EnOW
 1pOqRDD/NmnnOICLpIVJSPVAdKnF0YP6KNx6AXcNclrSWs7dhqfpFYwoxy8lsnoS
 YVvZ12C0XcURXbqkNvVVg5s5nVM7m0Wv8HJKzIRcTTSMN4COmUQJpAfWK1tKohIx
 nsXHzPXpyO2vceG5MbdcdKD9/jkWihcyPZa/dB9lqf4q4vO0BBOcmPk5ORQoz9NW
 VzmPZ6wi9oof/2ouChIyDeqRcZ61CcS2VXl+pU5a5LzlRKvErx49f3mg60WMPKM/
 /yvvH/orI8xgOLu4pZpW9IOsjoPVc+s3IefuXhqCxoID2d5AGAToINS1vDv0+i8F
 8kHlFg4RO46TV1aObXQ+dGU/XG7I6p8bZgLDBd8mMThHELPBXle7wPj0j095ao/B
 yiIIWxo3au+hs/VBoLIElSxHYyJLOi7Im+j5ENAvbHyVNM7F34dHwItZMq3V2iY+
 tQeHDJ3EVo1MkrCp3ebX
 =2cL9
 -----END PGP SIGNATURE-----

Merge tag 'keystone_config_for_4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone into next/defconfig

ARM: Keystone config support for 4.11

 - Enable Reset controller and on chip MSM RAM support.

* tag 'keystone_config_for_4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone:
  ARM: Keystone: Enable ARCH_HAS_RESET_CONTROLLER
  ARM: configs: keystone: Enable Generic on-chip SRAM driver

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 14:46:54 -08:00
Olof Johansson
89f6ce1be2 ARM: Keystone DTS update for 4.11
Brief:
 	- MSM RAM node support for the Keystone 2 SOCs.
 	- PSC node & reset controller node support for keystone 2 SOCs.
 	- da830 UART node support.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJYg+ScAAoJEHJsHOdBp5c/9kwQAI9IB6Z2AuLex5wCIR63MYMQ
 A2sYFRDBhOQJanlZM9oS9buX1sT0N9CKjIPHm2x3d7K7ouPoiy5NPDWV/LZEpuQz
 xcisTVCiHTDgzJVcLKq08/dkB/BVT8TVcPXMCy8YYsxj0mhUTUQEv9FiBNP5cHYF
 7mMIrsAkMoScxftItdWDDx1ZBrRsoSUTUNJpuwRCsJqbw/Tb91alfjH3604nkvV9
 zUHYCFS1h7464XLxlOV8bI8q1UieW9M2KfhiDGujMQcdwzrjbAtAG0tcxJEBRFnz
 tywWNDYEv64oPKvzJ4urW6rpxgqj5D4LZdNdaxvtX6LIRdX2qlOSf2RbjDkJCE9b
 HEm6Ecog6pQSgakiJi1YaBPTC63wu7hpTnbOeLIZlWjIfxvhpSMtng/H4PN/cgk5
 /UP/ccaxcVJBs4fJuDIt2fVt67m2+dgR89XwKtOEhoHakYoZ5FDsh/ZpgSZBB1m6
 Z9BYRZVcgc+OKQhI83oaS4PP8gyetqnAuc8emCJdPP7n5sQqjXCafiowURCEpCG8
 VyunxJU6n690oLH4YUKEHnXkQOBX+NKu0vELzpy5KaFXKx53mG8l+LDwSqEncQ+K
 /kFPAoax3ZdI9BGP7cp8OV0wYEGT2N4MyQ5+XJ3bAn8ACEgT69/kRW41SkBJ8GXT
 N2Doguf2jP+KP6fmvWcy
 =ElOC
 -----END PGP SIGNATURE-----

Merge tag 'keystone_dts_for_4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone into next/dt

ARM: Keystone DTS update for 4.11

Brief:
	- MSM RAM node support for the Keystone 2 SOCs.
	- PSC node & reset controller node support for keystone 2 SOCs.
	- da830 UART node support.

* tag 'keystone_dts_for_4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone:
  ARM: dts: keystone-k2e: Add PSC reset controller node
  ARM: dts: keystone-k2l: Add PSC reset controller node
  ARM: dts: keystone-k2hk: Add PSC reset controller node
  ARM: dts: keystone: Add PSC node
  ARM: keystone: dts: fix netcp clocks and add names
  ARM: dts: keystone-k2g: Reserve MSM RAM for boot monitor
  ARM: dts: keystone-k2e: Reserve MSM RAM for boot monitor
  ARM: dts: keystone-k2l: Reserve MSM RAM for boot monitor
  ARM: dts: keystone-k2hk: Reserve MSM RAM for boot monitor
  ARM: dts: keystone-k2g: Add MSM RAM node
  ARM: dts: keystone-k2e: Add MSM RAM node
  ARM: dts: keystone-k2l: Add MSM RAM node
  ARM: dts: keystone-k2hk: Add MSM RAM node
  ARM: dts: keystone: Add "ti,da830-uart" compatible string

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 14:45:17 -08:00
Olof Johansson
eb9503e99a Bit of cleanup for the cortex-a9 uarts to have that soc-specific
spare-compatible as all others have, conversion to gpio constants
 and addition of rk3288 qos nodes that need to be saved before a
 power-domain gets turned off.
 -----BEGIN PGP SIGNATURE-----
 
 iQFEBAABCAAuFiEE7v+35S2Q1vLNA3Lx86Z5yZzRHYEFAliBUsIQHGhlaWtvQHNu
 dGVjaC5kZQAKCRDzpnnJnNEdgZKBB/9BVOysNvR/vLcao9jlU/an7c5vAwBdDl/G
 uvsAgVAYRT2FUPcy7LPIQCoQOkk9HA3kMwiKVJH+hGQ+/0FdrKZvKkln/Yb/bT+9
 GgQT2NblgNNDMfE76xQM0c7Y7Kj1oDrkGaAmdumnUPOSwMnSlxKD5j3fS2k4fz/t
 ZOnqHxfEVDldmPIe4C58X5aqsQ4OmAgE7uiykZ4P3Vc0le71/QtJ4jsx4kkXNh9l
 1+tGDfc1axmze/rEohw+BbNm3H5l8xMKFURlNE1Sr4dbW1y4o99mG7JVuxxfAQqd
 XYP76I2foNtaxKgW29sQs0vopw9UimUiIH9i8xu4UsOWoj6N29Gj
 =B1HN
 -----END PGP SIGNATURE-----

Merge tag 'v4.11-rockchip-dts32-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into next/dt

Bit of cleanup for the cortex-a9 uarts to have that soc-specific
spare-compatible as all others have, conversion to gpio constants
and addition of rk3288 qos nodes that need to be saved before a
power-domain gets turned off.

* tag 'v4.11-rockchip-dts32-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
  ARM: dts: rockchip: add soc-specific uart compatibles for rk3066/rk3188
  ARM: dts: rockchip: use pin constants to describe gpios
  ARM: dts: rockchip: add qos node for rk3288

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 14:42:05 -08:00
Olof Johansson
61c5e4927b Some extensions to the power-domain driver to support domains in
hiword registers (write-mask in upper 16bit) and domain-definitions
 for the rk3328 soc.
 
 Secondly a "driver" that attaches to the already existing grf nodes
 and is able to set static defaults for settings that cannot really
 be attached to any specific subsystem.
 Most GRF settings can already be set from drivers using them, but there
 are some behavioural settings like the mmc/jtag switch that cannot.
 
 As the commit message states this is really meant as a last line
 of defence for things that neither belong to a subsystem nor to the
 
 Having this here allows arm64 socs to have this as well and also
 moves another bit of code out of the arm32 mach-rockchip.
 -----BEGIN PGP SIGNATURE-----
 
 iQFEBAABCAAuFiEE7v+35S2Q1vLNA3Lx86Z5yZzRHYEFAliBTccQHGhlaWtvQHNu
 dGVjaC5kZQAKCRDzpnnJnNEdgdMAB/42pPY0pKqOWlAfqzTSlIh98vi9jp0nZUu+
 6RMlaqewhHq/zbH0qqJdcBrYRZF+EmJpTDGG2nltNi8FLNMyr+y7a0FVyjk/u43L
 FnYELcDm7yeCZ0012ZP/4hlhWI9YizojbIKH4p2o8nIj64CS132ZMVVgojyzvVc1
 0WLWUf8FBiMqsBpa6Kl117pvKayagk79PM570Ee2kRBxanN8yQaKmXTqG670eKzo
 7nar1VGAubAVpCZfbv4opugGfrjYPJFX4gcu3yJvtRRN+hTt6idRP40YoCMZSVds
 +okL0XW4G70ioXqZBS59Wq5FJS7frr8HRJbYD8lZg2vF948ZQnbC
 =4aXM
 -----END PGP SIGNATURE-----

Merge tag 'v4.11-armsoc-drivers1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into next/drivers

Some extensions to the power-domain driver to support domains in
hiword registers (write-mask in upper 16bit) and domain-definitions
for the rk3328 soc.

Secondly a "driver" that attaches to the already existing grf nodes
and is able to set static defaults for settings that cannot really
be attached to any specific subsystem.
Most GRF settings can already be set from drivers using them, but there
are some behavioural settings like the mmc/jtag switch that cannot.

As the commit message states this is really meant as a last line
of defence for things that neither belong to a subsystem nor to the

Having this here allows arm64 socs to have this as well and also
moves another bit of code out of the arm32 mach-rockchip.

* tag 'v4.11-armsoc-drivers1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
  ARM: rockchip: drop rk3288 jtag/mmc switch handling
  soc: rockchip: add driver handling grf setup
  dt-bindings: add used but undocumented rockchip grf compatible values
  soc: rockchip: power-domain: add power domain support for rk3328
  dt-bindings: add binding for rk3328 power domains
  dt-bindings: power: add RK3328 SoCs header for idle-request
  soc: rockchip: power-domain: Support domain control in hiword-registers

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-29 14:32:07 -08:00
Krzysztof Kozlowski
dfaf06baad ARM: dts: exynos: Fix indentation of EHCI and OHCI ports
Replace spaces with tabs in EHCI and OHCI ports indentation.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
2017-01-29 21:03:46 +02:00
Patrick Bruenn
8b649e4263 ARM: dts: imx53-qsb-common: fix FEC pinmux config
The pinmux configuration in device tree was different from manual
muxing in <u-boot>/board/freescale/mx53loco/mx53loco.c
All pins were configured as NO_PAD_CTL(1 << 31), which was fine as the
bootloader already did the correct pinmuxing for us.
But recently u-boot is migrating to reuse device tree files from the
kernel tree, so it seems to be better to have the correct pinmuxing in
our files, too.

Signed-off-by: Patrick Bruenn <p.bruenn@beckhoff.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2017-01-29 10:05:33 +08:00
Breno Lima
18ba386826 ARM: dts: udoo_neo: Add Bluetooth support
Udoo Neo has a TI WL1831 Bluetooth chip connected to the UART3 port.

Add support for it.

Signed-off-by: Breno Lima <breno.lima@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2017-01-29 10:04:06 +08:00
Breno Lima
850a983f16 ARM: dts: udoo_neo: Add Wifi support
Udoo Neo has a TI WL1831 Wifi chip connected to the USDHC3 port.

Add support for it.

Signed-off-by: Breno Lima <breno.lima@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2017-01-29 10:04:05 +08:00
Breno Lima
ab51eba74c ARM: dts: udoo_neo: Add UDOO Neo USB OTG1 and OTG2 support
Add support for micro USB (OTG1) and USB Host (OTG2) for UDOO Neo board.

Tested on a UDOO Neo Full board by mounting a mass storage device
on both ports.

Signed-off-by: Breno Lima <breno.lima@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2017-01-29 10:04:05 +08:00
Lucas Stach
c519d57b19 ARM: imx6: remove unit address from LDB node
The LDB has no reg property as it uses the IOMUX-GPR syscon to access
its registers. Remove the unit address from the DT node to make DT
compiler happy.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2017-01-29 10:01:25 +08:00
Lucas Stach
7c3f836369 ARM: imx6qp: adapt DT to changed FEC interrupts
On i.MX6QP the FEC interrupts are wired to the GPC, just like all other
device interrupts. This allows to FEC to wake the CPU from WFI, but for
this to work the kernel needs to know about the new IRQ routing.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2017-01-29 09:55:58 +08:00
Lucas Stach
ecbf5e7019 ARM: imx6: fix regulator constraints on anatop 1p1 and 2p5
Fix the min/max voltage constraints for the anatop 1p1 and 2p5
regulator to match the typical operating range mentioned in the
datasheet.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2017-01-29 09:54:02 +08:00
Lucas Stach
993051b27e ARM: imx6: fix min/max voltage of anatop 2p5 regulator
The regulation bound of this regulator are 2.1V to 2.875V, the
wrong DT values cause the driver to miscalculate the effective
voltage.

This isn't really an issue right now, as nobody actively changes
the regulator voltage, but better fix it now.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2017-01-29 09:53:56 +08:00
Sascha Hauer
213e51ca8d ARM: dts: imx7: Add "LPSR" to LPSR iomux pin names
The i.MX7 has two iomux controllers. the iomuxc and the iomuxc_lpsr.
In a board dts we have to make sure that both controllers are supplied
with the correct pins. It's way too easy to do this wrong since only
a look into the reference manual can reveal which pins belong to which
controller. To make this clearer add "LPSR" to the pin names which
belong to the LPSR controller.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2017-01-29 09:53:27 +08:00
Sascha Hauer
ccc59b0c18 ARM: dts: imx7d-cl-som: Fix OTG power pinctrl
GPIO01_IO05 is controlled by the LPSR iomux controller, so attach
the corresponding pin to this controller.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2017-01-29 09:53:08 +08:00
Sascha Hauer
9a20aa2677 ARM: dts: imx7d-sdb: Fix watchdog and pwm pinmux
The watchdog pin and the pwm output pin are controlled by the
iomuxc_lpsr, not the regular iomux, so move the pins there.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2017-01-29 09:53:01 +08:00
Sascha Hauer
1d4a594338 ARM: dts: imx7s-warp: Fix watchdog pinmux
The watchdog pin is controlled by the iomuxc_lpsr, not the regular
iomux, so move it there.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2017-01-29 09:52:55 +08:00
Javier Martinez Canillas
bb46d1eb41 ARM: dts: exynos: Increase MFC left reserved memory region size
The sizes of the MFC reserved memory regions for CMA are 16 MiB for the
left bank and 8 MiB for the right bank. But this isn't enough to decode
high resolution videos so increase the size for the left bank to 36 MiB
which is enough for 1080p (1920x1080).

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
2017-01-28 17:49:02 +02:00
David S. Miller
4e8f2fc1a5 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Two trivial overlapping changes conflicts in MPLS and mlx5.

Signed-off-by: David S. Miller <davem@davemloft.net>
2017-01-28 10:33:06 -05:00
Marcus Cooper
ef09e0f539 ARM: dts: sun8i-h3: Add SPDIF to the Beelink X2
Enable the S/PDIF transmitter that is present on the Beelink X2 STB.

Signed-off-by: Marcus Cooper <codekipper@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2017-01-27 21:09:58 +01:00
Marcus Cooper
b91a391204 ARM: dts: sun8i-h3: Add the SPDIF block to the H3
Add the SPDIF transceiver controller block to the H3 dtsi.

Signed-off-by: Marcus Cooper <codekipper@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2017-01-27 21:09:56 +01:00
Marcus Cooper
b0f3615423 ARM: dts: sun8i-h3: Add SPDIF TX pin to the H3
Add the SPDIF TX pin to the H3 dtsi.

Signed-off-by: Marcus Cooper <codekipper@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2017-01-27 21:09:54 +01:00
Arnd Bergmann
5de267b299 ARM: mv78xx0: fix possible PCI buffer overflow
gcc-7.0 reports a potential array overflow:

arch/arm/mach-mv78xx0/pcie.c: In function 'mv78xx0_pcie_preinit':
arch/arm/mach-mv78xx0/pcie.c:81:4: error: output may be truncated before the last format character [-Werror=format-truncation=]

I haven't checked if this can actually happen, but making the
array one 32-bit word longer addresses the warning and makes
it completely safe.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2017-01-27 17:52:57 +01:00
Patrice Chotard
c58736c160 ARM: dts: STiH407-family: Add missing pwm irq
Add the missing interrupt node to properly probe
the pwm device.

This fix following error log :
[    0.208119] sti-pwm 9510000.pwm: Failed to obtain IRQ
[    0.222352] pwm-regulator pwm-regulator: Failed to get PWM: -517

Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
Signed-aff-by: Patrice CHOTARD <patrice.chotard@st.com>
2017-01-27 17:34:03 +01:00
Arnd Bergmann
ec026b5020 i.MX fixes for 4.10, 3rd round:
- Fix a 'defined but not used' warning in MMDC driver when
    CONFIG_PERF_EVENTS is disabled.
  - Fix i.MX6DL device tree GPIO4_11 range setting.
  - A bandaid fix for boot failure found on a couple of platforms due to
    missing 'chosen' and 'memory' node.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABAgAGBQJYihihAAoJEFBXWFqHsHzOpUsH/2u6xsOfLENcJ4JhSm1Xk3An
 rSbOrl2OcphdYLC8jx6abKHknS/Tv1oxRQWjpZRse6CONV0e5LGm129c1/ZpgBat
 lC35ApK+uv9iPRQkmOKotOSWchOPr3jfmIeSxJnCTLtmQfOhDwfxbYfuZHooNa5t
 Ql0qD3wEc5+hjKGyNkWgFx7P+HmYB7m8BS/d4Daih6rQPtHGuIzf700SIpqQ+J40
 /czLm0Ei0bJiOM8BwBFoHOhvqomkNWbMh5RR/lOhSwXdJ0EkEHXZ2196WEADEUbw
 LuPHZqvihuZNSvdVfB5UoPjkpRPu4yTq12M9kGO9hxqN8QLBVE6VbcVonQEFlTo=
 =QI4I
 -----END PGP SIGNATURE-----

Merge tag 'imx-fixes-4.10-3' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into HEAD

Pull "i.MX fixes for 4.10, 3rd round" from Shawn Guo:
 - Fix a 'defined but not used' warning in MMDC driver when
   CONFIG_PERF_EVENTS is disabled.
 - Fix i.MX6DL device tree GPIO4_11 range setting.
 - A bandaid fix for boot failure found on a couple of platforms due to
   missing 'chosen' and 'memory' node.

* tag 'imx-fixes-4.10-3' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  ARM: dts: imx: Pass 'chosen' and 'memory' nodes
  ARM: dts: imx6dl: fix GPIO4 range
  ARM: imx: hide unused variable in #ifdef
2017-01-27 16:46:51 +01:00
Marcus Cooper
e582b47a92 ARM: dts: sun8i-h3: Add dts for the Beelink X2 STB
The Beelink X2 is an STB based on the Allwinner H3 SoC with a uSD slot,
2 USB ports( 1 * USB-2 Host, 1 USB OTG), a 10/100M ethernet port using the
SoC's integrated PHY, Wifi via an sdio wifi chip, HDMI, an IR receiver, a
dual colour LED and an optical S/PDIF connector.

Signed-off-by: Marcus Cooper <codekipper@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2017-01-27 16:18:18 +01:00
Maxime Ripard
7ac9183267 ARM: sun8i: sina33: Enable display
Enable the display pipeline with the associated 7" panel sold with the
SinA33.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2017-01-27 16:18:17 +01:00
Maxime Ripard
fc26feeb2e ARM: sun8i: a23/a33: Add the oscillators accuracy
The datasheet provided by Allwinner requires oscillators with an accuracy
of 50ppm. Add it to our fixed clocks so that we can properly track the
accuracy chain.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2017-01-27 16:18:17 +01:00
Maxime Ripard
e7f68403f4 ARM: sun8i: a23/a33: Enable the real LOSC and use it
So far, the LOSC was generated through the RTC internal oscillator, which
was a pretty poor and inaccurate choice.

Now that the RTC properly exposes its internal mux between its oscillator
and the external oscillator, we can use it were relevant.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2017-01-27 16:18:16 +01:00
Icenowy Zheng
01dc563b63 ARM: dts: sunxi: add support for Lichee Pi Zero board
Lichee Pi Zero is a small-sized V3s board, which is
breadboard-compatible, and with a MicroUSB port with both OTG function
and power function.

Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2017-01-27 16:18:16 +01:00
Icenowy Zheng
f989086ccb ARM: dts: sunxi: add dtsi file for V3s SoC
As we have the pinctrl and clock support for the V3s SoC, it's now to
run a mainline Linux on it.

So add a .dtsi file for it.

Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
[Maxime: Removed the dependency on the CCU headers]
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2017-01-27 16:17:56 +01:00
Patrice Chotard
8413299cb3 ARM: dts: STiH407-family: set snps,dis_u3_susphy_quirk
Since v4.10-rc1, the following logs appears in loop :
[  801.953836] usb usb6-port1: Cannot enable. Maybe the USB cable is bad?
[  801.960455] xhci-hcd xhci-hcd.0.auto: Cannot set link state.
[  801.966611] usb usb6-port1: cannot disable (err = -32)
[  806.083772] usb usb6-port1: Cannot enable. Maybe the USB cable is bad?
[  806.090370] xhci-hcd xhci-hcd.0.auto: Cannot set link state.
[  806.096494] usb usb6-port1: cannot disable (err = -32)

After analysis, xhci try to set link in U3 and returns an error.
Using snps,dis_u3_susphy_quirk fix this issue.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
2017-01-27 16:17:13 +01:00
Krzysztof Kozlowski
ee55ae6194 soc: samsung: pmu: Remove duplicated define for ARM_L2_OPTION register
The register ARM_L2_OPTION (0x2608 in Exynos4 and Exynos5 PMU) was
defined twice.  Both names were used in the Exynos542x code.  Simplify
this.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
2017-01-27 11:32:31 +02:00
Teresa Remmet
bb07a829ec ARM: dts: Add support for phyCORE-AM335x PCM-953 carrier board
The phyCORE-AM335x development kit is a combination of the
phyCORE-AM335x SoM and a PCM-953 carrier board. The features
of the PCM-953 are:
* ETH phy on carrier board: 1x RGMII
* 1x CAN
* Up to 4x UART
* USB0 (otg)
* USB1 (host)
* SD slot
* User gpio-keys
* User LEDs

Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Reviewed-by: Wadim Egorov <w.egorov@phytec.de>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2017-01-26 08:08:48 -08:00
Marek Szyprowski
dabd145692 pinctrl: samsung: Move retention control from mach-s5pv210 to the pinctrl driver
This patch moves pad retention control from S5PV210 machine code to
Exynos pin controller driver. This helps to avoid possible ordering
and logical dependencies between machine and pin control code. Till
now it worked fine only because sys_ops for machine code and pin
controller were called in registration order.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Tomasz Figa <tomasz.figa@gmail.com>
For mach-s5pv210:
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2017-01-26 16:57:03 +01:00
Marek Szyprowski
07731019c5 pinctrl: samsung: Move retention control from mach-exynos to the pinctrl driver
This patch moves pad retention control from PMU driver to Exynos pin
controller driver. This helps to avoid possible ordering and logical
dependencies between machine, PMU and pin control code. Till now it
worked fine only because sys_ops for PMU and pin controller were called
in registration order.
This is also a preparation for adding new features to Exynos pin
controller driver, like runtime power management and suspending
individual pin controllers, which might be a part of some power domain.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Tomasz Figa <tomasz.figa@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2017-01-26 16:56:57 +01:00
Dinh Nguyen
59d94d2ed4 ARM: dts: watchdog0 cannot reliably trigger reset
On the Arria10, because of hardware bug, watchdog0 cannot reliably trigger
a reset to the CPU. The workaround would be to use watchdog1 instead.

Also for watchdog1, there is a dependency on the bootloader to enable the
boot_clk source to be from the cb_intosc_hs_clk/2, versus from EOSC1. This
corresponds to the (SWCTRLBTCLKEN & SWCTRLBTCLKSEL) bits enabled in the
control register in the clock manager module of Arria10.

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
2017-01-25 10:01:28 -06:00
Christoffer Dall
10f92c4c53 KVM: arm/arm64: vgic: Add debugfs vgic-state file
Add a file to debugfs to read the in-kernel state of the vgic.  We don't
do any locking of the entire VGIC state while traversing all the IRQs,
so if the VM is running the user/developer may not see a quiesced state,
but should take care to pause the VM using facilities in user space for
that purpose.

We also don't support LPIs yet, but they can be added easily if needed.

Reviewed-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
2017-01-25 13:50:03 +01:00
Jerome Coste
393a33c745 ARM: tegra: nyan-blaze: Proper pinmux for TPM I2C
This corrects the pinmux for accessing the TPM over the I2C line. Thus,
it allows correctly probing the module, that previously failed with I2C
errors.

Signed-off-by: Jerome Coste <jerome.coste@etu.utc.fr>
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2017-01-25 12:07:21 +01:00
Paul Kocialkowski
8a44a98d91 ARM: tegra: nyan-big: Proper pinmux for TPM I2C
This corrects the pinmux for accessing the TPM over the I2C line. Thus,
it allows correctly probing the module, that previously failed with I2C
errors.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2017-01-25 12:04:41 +01:00
Paul Kocialkowski
a02620ea09 ARM: tegra: nyan-blaze: Include compatible revisions for proper detection
Depthcharge (the payload used with cros devices) will attempt to detect
boards using their revision. This includes all the known revisions for
the nyan-blaze board so that the dtb can be selected preferably.

Defining compatibly revisions allows depthcharge to select the kernel
via the revision it detects instead of using the default kernel. This
allows having a FIT image with multiple kernels for multiple devices.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2017-01-25 12:03:50 +01:00
Paul Kocialkowski
bfa3c0d4e8 ARM: tegra: nyan-big: Include compatible revisions for proper detection
Depthcharge (the payload used with cros devices) will attempt to detect
boards using their revision. This includes all the known revisions for
the nyan-big board so that the dtb can be selected preferably.

Defining compatibly revisions allows depthcharge to select the kernel
via the revision it detects instead of using the default kernel. This
allows having a FIT image with multiple kernels for multiple devices.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2017-01-25 12:01:09 +01:00
Paul Kocialkowski
5fc01a9909 ARM: tegra: nyan: Use external control for bq24735 charger
Nyan boards come with an embedded controller that controls when to
enable and disable the charge. Thus, it should not be left up to the
kernel to handle that.

Using the ti,external-control property allows specifying this use-case.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2017-01-25 11:58:47 +01:00
Paul Kocialkowski
38333641b6 ARM: tegra: nyan: Use proper IRQ type definitions
This switches a few interrupt definitions that were using
GPIO_ACTIVE_HIGH as IRQ type, which is invalid.

This is mostly a cosmetic change, that doesn't affect any driver.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2017-01-25 11:57:31 +01:00
Chris Brandt
5786ac1423 ARM: dts: r7s72100: add power-domains to mmcif
Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Reported-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2017-01-25 11:32:02 +01:00
Geert Uytterhoeven
aa7f39d51e ARM: shmobile: rcar-gen2: Add more register documentation
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2017-01-25 11:28:28 +01:00
Rask Ingemann Lambertsen
a3e4863ea9 ARM: dts: tegra: Fix missing card detection in Trimslice µSD card slot
Card insertion and removal currently goes undetected. AFAIK there's no
way to generate interrupts on card changes in this slot, so use polling.

Signed-off-by: Rask Ingemann Lambertsen <rask@formelder.dk>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2017-01-25 10:23:45 +01:00
Marc Dietrich
0c18927f51 ARM: tegra: paz00: Mark panel regulator as enabled on boot
Current U-Boot enables the display already. Marking the regulator as
enabled on boot fixes sporadic panel initialization failures.

Signed-off-by: Marc Dietrich <marvin24@gmx.de>
Tested-by: Misha Komarovskiy <zombah@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2017-01-25 09:13:50 +01:00
Dmitry Torokhov
ed0a27ef64 ARM: tegra: paz00: Fix __initdata placement
Placement of attributes, such as __initdata, is standardized through the
checkpatch script. Fix up this instance to make checkpatch happy.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2017-01-25 09:09:32 +01:00
Marcel Ziswiler
6270bd3d91 ARM: tegra: apalis-tk1: Update compatibility comment
Now with the new V1.1A HW card detect being implemented update resp.
compatibility information.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2017-01-25 07:48:36 +01:00
Marcel Ziswiler
ab9670d552 ARM: tegra: apalis-tk1: Fix SD card detect on v1.1 HW
Add SD card detect SD1_CD# applicable for V1.1 modules using GPIO_PV2.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2017-01-25 07:47:50 +01:00
Marcel Ziswiler
5142bd659c ARM: tegra: apalis-tk1: Adjust pin muxing for v1.1 HW
Configure Apalis MMC1 D6 GPIO on SDMMC3_CLK_LB_IN as reserved function
without any pull-up/down.

Configure GPIO_PV2 as SD1_CD# according to latest V1.1 HW.

Leave SDMMC3_CLK_LB_OUT muxed as SDMMC3 with output driver enabled aka
not tristated and input driver enabled as well as it features some
magic properties even though the external loopback is disabled and the
internal loopback used as per SDMMC_VENDOR_MISC_CNTRL_0 register's
SDMMC_SPARE1 bits being set to 0xfffd according to the TRM! This pin is
now a not-connect on V1.1 HW in order to avoid any interference.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2017-01-25 07:46:54 +01:00
Marcel Ziswiler
a7f9d4febc ARM: tegra: apalis-tk1: Optional DisplayPort hot-plug detect
Configure DP_HPD_PFF0 pin as optional DisplayPort hot-plug detect.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2017-01-25 07:45:24 +01:00
Marcel Ziswiler
02888f8be5 ARM: tegra: apalis-tk1: Pull-up temperature alert
Pull-up GPIO_PI6 connected to TMP451's ALERT#/THERM2#.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2017-01-25 07:38:51 +01:00
Paul Gortmaker
0ea9365a51 arm: migrate exception table users off module.h and onto extable.h
These files were only including module.h for exception table
related functions.  We've now separated that content out into its
own file "extable.h" so now move over to that and avoid all the
extra header content in module.h that we don't really need to compile
these files.

Cc: Russell King <linux@armlinux.org.uk>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2017-01-24 12:41:46 -05:00
Bart Van Assche
815dd18788 treewide: Consolidate get_dma_ops() implementations
Introduce a new architecture-specific get_arch_dma_ops() function
that takes a struct bus_type * argument. Add get_dma_ops() in
<linux/dma-mapping.h>.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Juergen Gross <jgross@suse.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: linux-arch@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: Russell King <linux@armlinux.org.uk>
Cc: x86@kernel.org
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-01-24 12:23:35 -05:00
Bart Van Assche
ca6e8e1031 treewide: Consolidate set_dma_ops() implementations
Now that all set_dma_ops() implementations are identical (ignoring
BUG_ON() statements), remove the architecture specific definitions
and add a definition in <linux/dma-mapping.h>.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Chris Metcalf <cmetcalf@mellanox.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: linux-arch@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Cc: linuxppc-dev@lists.ozlabs.org
Cc: Paul Mackerras <paulus@samba.org>
Cc: Russell King <linux@armlinux.org.uk>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-01-24 12:23:35 -05:00
Bart Van Assche
5657933dbb treewide: Move dma_ops from struct dev_archdata into struct device
Some but not all architectures provide set_dma_ops(). Move dma_ops
from struct dev_archdata into struct device such that it becomes
possible on all architectures to configure dma_ops per device.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Juergen Gross <jgross@suse.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: linux-arch@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: Russell King <linux@armlinux.org.uk>
Cc: x86@kernel.org
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-01-24 12:23:35 -05:00
Bart Van Assche
5299709d0a treewide: Constify most dma_map_ops structures
Most dma_map_ops structures are never modified. Constify these
structures such that these can be write-protected. This patch
has been generated as follows:

git grep -l 'struct dma_map_ops' |
  xargs -d\\n sed -i \
    -e 's/struct dma_map_ops/const struct dma_map_ops/g' \
    -e 's/const struct dma_map_ops {/struct dma_map_ops {/g' \
    -e 's/^const struct dma_map_ops;$/struct dma_map_ops;/' \
    -e 's/const const struct dma_map_ops /const struct dma_map_ops /g';
sed -i -e 's/const \(struct dma_map_ops intel_dma_ops\)/\1/' \
  $(git grep -l 'struct dma_map_ops intel_dma_ops');
sed -i -e 's/const \(struct dma_map_ops dma_iommu_ops\)/\1/' \
  $(git grep -l 'struct dma_map_ops' | grep ^arch/powerpc);
sed -i -e '/^struct vmd_dev {$/,/^};$/ s/const \(struct dma_map_ops[[:blank:]]dma_ops;\)/\1/' \
       -e '/^static void vmd_setup_dma_ops/,/^}$/ s/const \(struct dma_map_ops \*dest\)/\1/' \
       -e 's/const \(struct dma_map_ops \*dest = \&vmd->dma_ops\)/\1/' \
    drivers/pci/host/*.c
sed -i -e '/^void __init pci_iommu_alloc(void)$/,/^}$/ s/dma_ops->/intel_dma_ops./' arch/ia64/kernel/pci-dma.c
sed -i -e 's/static const struct dma_map_ops sn_dma_ops/static struct dma_map_ops sn_dma_ops/' arch/ia64/sn/pci/pci_dma.c
sed -i -e 's/(const struct dma_map_ops \*)//' drivers/misc/mic/bus/vop_bus.c

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Juergen Gross <jgross@suse.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: linux-arch@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: Russell King <linux@armlinux.org.uk>
Cc: x86@kernel.org
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-01-24 12:23:35 -05:00
Andrew Murray
8c4bc91063 ARM: OMAP: clock: Remove unused mpurate cmdline option
The 'mpurate' option, historically used for specifying an initial
MPU rate at boot, no longer has any effect due to the supporting
code being removed as it was 'wrong and dangerous' [1].

This patch removes the remaining dead code associated with the
__setup macros to avoid confusion and reduce bloat.

[1] https://patchwork.kernel.org/patch/5954631/

Signed-off-by: Andrew Murray <amurray@embedded-bits.co.uk>
Acked-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2017-01-24 07:20:02 -08:00
Tony Lindgren
e33a316a54 Merge branch 'omap-for-v4.11/omap1' into omap-for-v4.11/soc 2017-01-24 07:19:08 -08:00
Teresa Remmet
ac57feb258 ARM: omap2plus_defconfig: Enable support for RTC M41T80
The phyCORE-AM335x SoM has a RV4162 RTC populated which is supported
by the M41T80 driver. Enabled it so make the RTC support on the SoM
available.

Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2017-01-24 07:04:11 -08:00
Teresa Remmet
e5e6cf4b81 ARM: omap2plus_defconfig: Enable support for micrell phys
The phyCORE-AM335x SoM with PCM-953 carrierboard has a
KSZ9021 phy mounted. To add support for this we need to enable
the micrell phy driver in the config.

Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2017-01-24 07:03:54 -08:00
afzal mohammed
5aaac4278a ARM: vf610m4: defconfig: enable EXT4 filesystem
Enable EXT4_FS to have rootfs in EXT[2-4].

Other changes are result of savedefconfig keeping minimal config (even
without enabling EXT4_FS, these would be present).

Signed-off-by: afzal mohammed <afzal.mohd.ma@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2017-01-24 21:50:14 +08:00
Fabio Estevam
a971c5545c ARM: dts: imx: Pass 'chosen' and 'memory' nodes
Commit 7f107887d1 ("ARM: dts: imx: Remove skeleton.dtsi") causes boot
issues when the bootloader does not create a 'chosen' node if such node
is not present in the dtb.

The reason for the boot failure is well explained by Javier Martinez
Canillas: "the decompressor relies on a pre-existing chosen node to be
available to insert the command line and merge other ATAGS info."

, so pass an empty 'chosen' node to fix the boot problem.

This issue has been seen in the kernelci reports with Barebox as
bootloader.

Also pass the 'memory' node in order to fix boot issues on the SolidRun
iMX6 platforms.

Fixes: 7f107887d1 ("ARM: dts: imx: Remove skeleton.dtsi")
Reported-by: kernelci.org bot <bot@kernelci.org>
Reported-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2017-01-24 21:24:28 +08:00
Chris Brandt
37dfe2afc5 ARM: dts: rskrza1: add ostm DT support
Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2017-01-24 13:26:00 +01:00
Chris Brandt
69b5c6dcea ARM: dts: r7s72100: add ostm to device tree
Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2017-01-24 13:25:30 +01:00
Chris Brandt
cfddd3db08 ARM: dts: r7s72100: add ostm clock to device tree
Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2017-01-24 13:25:04 +01:00
Dawei Chien
e348dc74f7 arm: dts: mt2701: Add thermal device node.
Add thermal controller device nodes for MT2701.

Signed-off-by: Dawei Chien <dawei.chien@mediatek.com>
Signed-off-by: Erin Lo <erin.lo@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
2017-01-24 11:24:35 +01:00
Jagan Teki
abb397f479 ARM: dts: imx6ul: Add Engicam Is.IoT MX6UL NAND initial support
Engicam Is.IoT MX6UL has separate module for NAND, so add nand dts
file for imx6ul-isiot.dtsi.

dmesg:
-----
nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
nand: Micron MT29F2G08ABAEAH4
nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
gpmi-nand 1806000.gpmi-nand: enable the asynchronous EDO mode 5
gpmi-nand 1806000.gpmi-nand: driver registered.

Cc: Matteo Lisi <matteo.lisi@engicam.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2017-01-24 14:21:28 +08:00
Jagan Teki
e44a3bfc17 ARM: dts: imx6ul: Add Engicam Is.IoT MX6UL eMMC initial support
Engicam Is.IoT MX6UL has separate module for eMMC, so add emmc dts
file for imx6ul-isiot.dtsi, usdhc2 node represent eMMC.

dmesg:
-----
mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
mmc1: new DDR MMC card at address 0001
mmcblk1: mmc1:0001 M62704 3.53 GiB

Cc: Matteo Lisi <matteo.lisi@engicam.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2017-01-24 14:21:28 +08:00
Tomi Valkeinen
d8e166b4ad ARM: dts: dra72/1-evm: add pcf8575 used for lcd
DRA72 and DRA718 EVM boards has a pcf8575 gpio expander
which is used for the LCD/LEDs and USB vbus detection.
Add the node for the pcf8575.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2017-01-23 11:01:13 -08:00
Tony Lindgren
4cd6a59f5c ARM: omap2plus_defconfig: Fix probe errors on UARTs 5 and 6
We have more than four uarts on some SoCs and that can cause
noise with errors while booting.

Signed-off-by: Tony Lindgren <tony@atomide.com>
2017-01-23 10:59:22 -08:00
Kevin Hilman
9c9b1bc252 ARM: davinci: add skeleton for pdata-quirks
Add skeleton pdata-quirks for davinci.

Signed-off-by: Kevin Hilman <khilman@baylibre.com>
[nsekhar@ti.com: move changes to build pdata-quirks.c and call
		 to pdata_quirks_init() to this patch]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2017-01-23 20:52:38 +05:30
Ard Biesheuvel
13954e788d crypto: arm/aes-neonbs - fix issue with v2.22 and older assembler
The GNU assembler for ARM version 2.22 or older fails to infer the
element size from the vmov instructions, and aborts the build in
the following way;

.../aes-neonbs-core.S: Assembler messages:
.../aes-neonbs-core.S:817: Error: bad type for scalar -- `vmov q1h[1],r10'
.../aes-neonbs-core.S:817: Error: bad type for scalar -- `vmov q1h[0],r9'
.../aes-neonbs-core.S:817: Error: bad type for scalar -- `vmov q1l[1],r8'
.../aes-neonbs-core.S:817: Error: bad type for scalar -- `vmov q1l[0],r7'
.../aes-neonbs-core.S:818: Error: bad type for scalar -- `vmov q2h[1],r10'
.../aes-neonbs-core.S:818: Error: bad type for scalar -- `vmov q2h[0],r9'
.../aes-neonbs-core.S:818: Error: bad type for scalar -- `vmov q2l[1],r8'
.../aes-neonbs-core.S:818: Error: bad type for scalar -- `vmov q2l[0],r7'

Fix this by setting the element size explicitly, by replacing vmov with
vmov.32.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2017-01-23 22:50:25 +08:00
Maxime Ripard
6b48644b1d ARM: gr8: Convert to CCU
Now that we have a driver for the GR8, we can convert our DT to it.

Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2017-01-23 11:45:36 +01:00
Maxime Ripard
98a59a0fbf ARM: sun5i: Convert to CCU
Now that we have drivers for all of them, convert all the SoCs that share
the sun5i DTSI to the new CCU driver.

Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2017-01-23 11:45:35 +01:00
Sébastien Szymanski
7f59b31911 ARM: dts: imx6dl: fix GPIO4 range
GPIO4_11 is on pin 152(MX6DL_PAD_KEY_ROW2) and not on pin
151(MX6DL_PAD_KEY_ROW1).

I found the error while booting a mainline kernel on APF6S SoM and
noticed the following message:

[    2.609337] imx6dl-pinctrl 20e0000.iomuxc: pin MX6DL_PAD_KEY_ROW1
already requested by 20a8000.gpio:105; cannot claim for 20a8000.gpio:107
[    2.621884] imx6dl-pinctrl 20e0000.iomuxc: pin-151 (20a8000.gpio:107)
status -22
[    2.629303] spi_imx 2008000.ecspi: Can't get CS GPIO 107

With this patch, the message is gone and spi_imx driver probes correctly.

Fixes: bb728d662b ("ARM: dts: add gpio-ranges property to iMX GPIO controllers")
Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2017-01-23 18:07:03 +08:00
Geert Uytterhoeven
db017f3996 ARM: dts: r8a7745: Link ARM GIC to clock and clock domain
Link the ARM GIC to the INTC-SYS module clock, and add it to the SYSC
"always-on" PM Domain, so it can be power managed using that clock.

Note that currently the GIC-400 driver doesn't support module clocks nor
Runtime PM, so this must be handled as a critical clock.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2017-01-23 10:41:40 +01:00
Geert Uytterhoeven
7add1da17a ARM: dts: r8a7743: Link ARM GIC to clock and clock domain
Link the ARM GIC to the INTC-SYS module clock, and add it to the SYSC
"always-on" PM Domain, so it can be power managed using that clock.

Note that currently the GIC-400 driver doesn't support module clocks nor
Runtime PM, so this must be handled as a critical clock.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2017-01-23 10:41:24 +01:00
Jagan Teki
ca38f9cb76 ARM: dts: imx6qdl: Fix "ERROR: code indent should use tabs where possible"
Fixed code indent tabs in respective imx6qdl dtsi files and
also add space on imx6qdl-icore-rqs.dtsi on usdhc bus-width nodes.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2017-01-23 17:34:08 +08:00
Vivien Didelot
8fe1764ea8 ARM: dts: vf610-zii-dev: add EEPROM entry to Rev C
The ZII Dev Rev C board has EEPROMs hanging the 88E6390 Ethernet switch
chips. Add an "eeprom-length" property to allow access from ethtool.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2017-01-23 15:37:33 +08:00
Sébastien Szymanski
13444ac9ee ARM: dts: add Armadeus Systems OPOS6UL and OPOS6ULDEV support
OPOS6UL is an i.MX6UL based SoM.
OPOS6ULDev is a carrier board for the OPOS6UL SoM.

For more details see:
http://www.opossom.com/english/products-processor_boards-opos6ul.html
http://www.opossom.com/english/products-development_boards-opos6ul_dev.html

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
2017-01-23 15:02:17 +08:00
Arnd Bergmann
7f1931b35f ARM: imx: hide unused variable in #ifdef
A bugfix added a new local variable that is only used inside of an #ifdef
section, and unused if CONFIG_PERF_EVENTS is disabled:

arch/arm/mach-imx/mmdc.c:63:25: warning: 'cpuhp_mmdc_state' defined but not used [-Wunused-variable]

This moves the variable down inside that same ifdef.

Fixes: a051f220d6 ("ARM/imx/mmcd: Fix broken cpu hotplug handling")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2017-01-23 14:55:08 +08:00
Christopher Spinrath
d8f2be936c ARM: dts: imx6q-utilite-pro: enable 2nd display pipeline
Apart from the already enabled Designware HDMI port, the Utilite Pro
has a second display pipeline which has the following shape:

  IPU1 DI0 --> Parallel display --> tfp410 rgb24 to DVI encoder
                                --> HDMI connector.
Enable support for it.

In addition, since this pipeline is hardwired to IPU1, sever the link
between IPU1 and the SoC-internal Designware HDMI encoder forcing the
latter to be connected to IPU2 instead of IPU1. Otherwise, it is not
possible to drive both displays at high resolution due to the bandwidth
limitations of a single IPU.

Signed-off-by: Christopher Spinrath <christopher.spinrath@rwth-aachen.de>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2017-01-23 13:23:21 +08:00
Alexandre Belloni
78162d4846 ARM: dts: at91: Enable DMA on sama5d2_xplained console
Enable DMA on uart1 to get a more reliable console.

Cc: stable <stable@vger.kernel.org> #v4.3+
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-01-23 00:33:43 +01:00
Masahiro Yamada
74b51465c0 ARM: dts: uniphier: add SD pin-mux node
The Pro4 SoC has 2 slots of SD controllers, so 2 pin-mux nodes
(SD and SD1) are needed.  The other SoCs have only 1 SD slot.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2017-01-22 22:21:54 +09:00
Masahiro Yamada
e1bd326f4c ARM: dts: uniphier: add eMMC pin-mux node
All UniPhier SoCs support an eMMC controller.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2017-01-22 22:19:40 +09:00
Linus Torvalds
4c9eff7af6 KVM fixes for v4.10-rc5
ARM:
  - Fix for timer setup on VHE machines
  - Drop spurious warning when the timer races against the vcpu running
    again
  - Prevent a vgic deadlock when the initialization fails (for stable)
 
 s390:
  - Fix a kernel memory exposure (for stable)
 
 x86:
  - Fix exception injection when hypercall instruction cannot be patched
 -----BEGIN PGP SIGNATURE-----
 
 iQEcBAABCAAGBQJYglwIAAoJEED/6hsPKofoZp0H+gLLEeKP0Mu+olXiOWjB/KFp
 WBDAR1872xIjvEcOl9l6AZgdmp2hk7KW1t+kJj5npgu237v6fHBO9ybqrAfhfU4l
 PH23zOebL15HINcwCK6OcxOTiOtgae5Nui1cnLJBHDQgPTC/VmIE8NgV/qrMyo2r
 Vth+K/cBLKiWG9JhyQvxmrfupNJUknLSH7CTnlO/fC8GEJzDfMpUl7B1Ui0TGK53
 ExVgVLg3F28SErj9bUU8y4VJhMrwDAf2Kx2BNHqDbzXMzTdp0LrGRymFLl2/Gxez
 zLtZDfGYYzEhPp1NuDydlxLb8ymnsQNB7K6Kau0w9JoAvOYwfUYfDt+GaTegwYM=
 =dPtS
 -----END PGP SIGNATURE-----

Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm

Pull KVM fixes from Radim Krčmář:
 "ARM:
   - Fix for timer setup on VHE machines
   - Drop spurious warning when the timer races against the vcpu running
     again
   - Prevent a vgic deadlock when the initialization fails (for stable)

  s390:
   - Fix a kernel memory exposure (for stable)

  x86:
   - Fix exception injection when hypercall instruction cannot be
     patched"

* tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
  KVM: s390: do not expose random data via facility bitmap
  KVM: x86: fix fixing of hypercalls
  KVM: arm/arm64: vgic: Fix deadlock on error handling
  KVM: arm64: Access CNTHCTL_EL2 bit fields correctly on VHE systems
  KVM: arm/arm64: Fix occasional warning from the timer work function
2017-01-20 14:19:34 -08:00
Icenowy Zheng
b074fede01 arm: sunxi: add support for V3s SoC
Allwinner V3s is a low-end single-core Cortex-A7 SoC, with 64MB
integrated DRAM, and several peripherals.

Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2017-01-20 21:31:34 +01:00
Lokesh Vutla
8dd6666f49 ARM: OMAP2+: omap_hwmod: Add support for earlycon
Hwmod core tries to reset and idles each IP that is registered with hwmod.
In case of earlycon, that specific uart IP cannot be reset or keep it in
idle state else earlycon hangs once hwmod resets that uart IP. So add support
to not reset uart that is being used as earlycon only if CONFIG_SERIAL_EARLYCON
is enabled.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2017-01-20 10:39:10 -08:00
Lokesh Vutla
220fbc13c2 ARM: dts: dra7xx: Add stdout-path property
Add stdout-path property in /chosen node so that earlycon can be
used by just adding earlycon in bootargs.

Tested-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2017-01-20 10:39:01 -08:00
Lokesh Vutla
bc1baa6b8f ARM: dts: am57xx: Add stdout-path property
Add stdout-path property in /chosen node so that earlycon can be
used by just adding earlycon in bootargs.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2017-01-20 10:39:01 -08:00
Lokesh Vutla
24a1eb45b4 ARM: dts: am43xx: Add stdout-path property
Add stdout-path property in /chosen node so that earlycon can be
used by just adding earlycon in bootargs.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2017-01-20 10:39:01 -08:00
Lokesh Vutla
b763973a18 ARM: dts: am33xx: Add stdout-path property
Add stdout-path property in /chosen node so that earlycon can be
used by just adding earlycon in bootargs.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2017-01-20 10:39:00 -08:00
Enric Balletbo i Serra
885658fd37 ARM: dts: am335x-sl50: Enable the Ambient Light Sensor.
Add support for the ISL29023 ALS connected via the I2C bus.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2017-01-20 10:34:22 -08:00
Enric Balletbo i Serra
4340f9d7e0 ARM: dts: am335x-sl50: Enable the MCP23017 GPIO Expander.
Add support for the 16-Bit I/O Expander connected via the I2C bus.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2017-01-20 10:34:22 -08:00
Enric Balletbo i Serra
1d669a7128 ARM: dts: am335x-sl50: Enable BQ32000 Real Time Clock.
Add support for the BQ32000 Real Time Clock connected to the I2C bus
and disable the AM335x Real Time Clock.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2017-01-20 10:34:21 -08:00
Enric Balletbo i Serra
f37f911b80 ARM: dts: am335x-sl50: Enable SPI0 interface and Flash Memory.
Add support for the 32Mb Serial Flash Memory connected to SPI0
and using CS1.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2017-01-20 10:34:21 -08:00
Enric Balletbo i Serra
e9c7bebed3 ARM: dts: am335x-sl50: Enable UART1.
The UART1 is connected to the infrared (IR) receiver module, so enable it
to be able to comunicate with it.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2017-01-20 10:34:21 -08:00
Enric Balletbo i Serra
fd25231201 ARM: dts: am335x-sl50: Remove I2C1 node.
I2C1 is not used so remove it in order to avoid conflicts.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2017-01-20 10:34:20 -08:00
Adam Ford
631af44c10 ARM: OMAP3: Fix SoC detection of OMAP36/37 Family
The OMAP36/37 families are similar, but there are a few features sections
that can help identify some of them.  Let's add checks for 3630/3730,
OMAP3621, DM3725, OMAP3615/DM3715, OMAP3611, and AM3703 all based on
features similar to what was done for the OMAP34xx/35xx series

The checkpatch flags some warnings for braces, but I kept the coding style
to match the adjacent code for consistency.

I don't have an OMAP36xx to test, but this was tested on both a DM3730 and
AM3703.

Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2017-01-20 10:13:06 -08:00
Vignesh R
bd5e444bf1 ARM: OMAP5: Add HWMOD_SWSUP_SIDLE_ACT flag for UART
According to the commit ca43ea345d ("ARM: OMAP2+: hwmod: Add a new
flag to handle SIDLE in SWSUP only in active"), UART IP needs the sidle
mode to be controlled in SW only while they are active. Once inactive,
the IP needs to be put back in HW control so they are also wakeup
capable. The flag HWMOD_SWSUP_SIDLE takes care of this. So add this flag
to all instances of UART.

With this change, 8250 UART now gives out proper RX Timeout interrupts
and is usable as console.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2017-01-20 10:08:57 -08:00
Kefeng Wang
0ecac9f312 arm: hisi: drop extern hip01_cpu_die
Since the hip01 doesn't support cpu hotplug now, and doesn't implement
the hip01_cpu_die function, drop the declaration.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
2017-01-20 16:39:57 +00:00
Amelie Delaunay
a4e6964a78 ARM: dts: stm32: enable RTC on stm32429i-eval
This patch enables RTC on stm32429i-eval with default LSE clock source.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
2017-01-20 14:59:58 +01:00
Amelie Delaunay
3709e0ce19 ARM: dts: stm32: enable RTC on stm32f469-disco
This patch enables RTC on stm32f469-disco with default LSE clock source.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
2017-01-20 14:59:55 +01:00
Amelie Delaunay
8cc12f2668 ARM: dts: stm32: enable RTC on stm32f429-disco
This patch enables RTC on stm32f429-disco with LSI as clock source because
X2 crystal for LSE is not fitted by default.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
2017-01-20 14:59:52 +01:00
Amelie Delaunay
5e6ec1b58c ARM: dts: stm32: Add RTC support for STM32F429 MCU
This patch adds STM32 RTC bindings for STM32F429.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
2017-01-20 14:59:50 +01:00
Amelie Delaunay
8867295da3 ARM: dts: stm32: set HSE_RTC clock frequency to 1 MHz on stm32f429
This patch set HSE_RTC clock frequency to 1 MHz, as the clock supplied to
the RTC must be 1 MHz.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
2017-01-20 14:59:47 +01:00
Gabriel Fernandez
2da751b09a ARM: dts: stm32: Include auxiliary stm32fx clock definition
This patch include auxiliary clock definition (clocks which are not derived
from system clock.

Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
2017-01-20 14:59:45 +01:00
Gabriel Fernandez
305b0495e4 ARM: dts: stm32: Add external I2S clock on stm32f429 MCU
This patch adds an external I2S clock in the DT.
The I2S clock could be derived from an external I2S clock or by I2S pll.

Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
2017-01-20 14:59:42 +01:00
Fabrice GASNIER
7465d81191 ARM: dts: stm32: enable ADC on stm32f429i-eval board
Enable analog to digital converter on stm32f429i-eval board.
It has on-board potentimeter wired to ADC3 in8 analog pin and
uses fixed regulator to provide reference voltage.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
2017-01-20 14:59:39 +01:00
Fabrice GASNIER
ee58bfa158 ARM: dts: stm32: Add ADC support to stm32f429
Add ADC support & pinctrl analog phandle (adc3_in8) to stm32f429.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
2017-01-20 14:59:32 +01:00
Bruno Meirelles Herrera
872c87f0ea ARM: dts: stm32: Add missing USART3 pin config to stm32f469-disco board
This patch adds USART3 pin configuration on PB10/PA11 pins
for STM32F469I-DISCO board.

Signed-off-by: Bruno Herrera <bruherrera@gmail.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
2017-01-20 14:59:28 +01:00
Bruno Herrera
38b3200f86 ARM: dts: stm32: Fix memory size from 8MB to 16MB on stm32f469-disco board
This patch fix memory size to support 16MB of external SDRAM.

Signed-off-by: Bruno Herrera <bruherrera@gmail.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
2017-01-20 14:59:25 +01:00
David Lechner
685db57ace ARM: davinci_all_defconfig: enable iio
This enables the iio subsystem. This will be used by LEGO MINDSTORMS EV3,
which has an ADS7957 chip.

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2017-01-20 17:21:03 +05:30
David Lechner
4302a38ef6 ARM: dts: Add LEGO MINDSTORMS EV3 dts
This adds a device tree definition file for LEGO MINDSTORMS EV3.

What is working:

* Pin muxing
* Pinconf
* GPIOs
* MicroSD card reader
* UART on input port 1
* Buttons
* LEDs
* Poweroff/reset
* Flash memory
* EEPROM
* USB host port
* USB peripheral port

What is not working/to be added later:

* Speaker - have patch submitted to get pwm-beeper working - maybe someday
  it will have a real sound driver that uses PRU
* A/DC chip - have driver submitted and accepted - waiting for ack on
  device tree bindings
* Display - waiting for "simple DRM" to be mainlined
* Bluetooth - needs new driver for sequencing power/enable/clock
* Input and output ports - need some sort of new phy or extcon driver as
  well as PRU UART and PRU I2C drivers
* Battery indication - needs new power supply driver

Note on flash partitions:

These partitions are based on the official EV3 firmware from LEGO. It is
expected that most users of the mainline kernel on EV3 will be booting from
an SD card while retaining the official firmware in the flash memory.
Furthermore, the official firmware uses an ancient U-Boot (2009) that has
no device tree support. So, it makes sense to have this partition table in
the EV3 device tree file. In the unlikely case that anyone does create
their own firmware image with different partitioning, they can use a modern
U-Boot in their own firmware image that modifies the device tree with the
custom partitions.

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2017-01-20 17:17:29 +05:30
Linus Torvalds
44b4b461a0 ARM: SoC fixes
We've been sitting on fixes for a while, and they keep trickling in at a low
 rate. Nothing in here comes across as particularly scary or noteworthy, for
 the most part it's a large collection of small DT tweaks.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJYgVpgAAoJEIwa5zzehBx3umkP/A2082k9R6srk+/bdeDf6F+w
 YiiMJdu37jWb/W71gMlr95NC3zmk4c+U0eHj8iOdsuOYyzSZ6uUQcm8Etg7N2JwR
 cupsySXvlRJ9Hq28SPe6vRnNFqGiDGmGrcfNlwnfHd/CausaJBdcocbyTsVt+omO
 WGMDPy5miN8TIbYQiu6jF2sXkuuVHwXlQyBi52xW5w7Uy0iZDZdsW6GuziK0zpDH
 k0QktKkVx/Q8Riy3b9Vj7kKwvaGXF2JBMsGpORhs4+JcdZl9u+GBJnmehpXmABTn
 8mXEU5zu6gnBHMXxExaK/ZlFDk0yHNxGfapoRQwYecPeBZQGXWu9vyUa3/38npLr
 egyMDzBgJJyHXbs7BXy6weiysn8adsNS3juhniL7mLuTp2hGZHNK6IcH2tV4Z/kD
 hq/VTK/BzmKAY/GP3psoQXVavIUifh498ymCkgoZtUx8Eqq9ZrFA9hkm86F/9eOJ
 vfGNTdVuPI51tdKrmqMXglI4iBc35oSyOQUlUL0DXVlKrzzaVPbQwnIZclgI+VGn
 qos8l8vPxDzQ7lRgMzXsmq8D6pDSfUZQqvUr8gld/zNvd8+LsdmVYHdrvbIQu+sN
 TsI0TyfU4JphSdCPtFKasu7aDBmwfB8npDXUcOazAyG8UyHZpikR9WmmIQ63BwRL
 DYVre9JMhrfL6ZY2kaKC
 =cc1U
 -----END PGP SIGNATURE-----

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

Pull ARM SoC fixes from Olof Johansson:
 "We've been sitting on fixes for a while, and they keep trickling in at
  a low rate. Nothing in here comes across as particularly scary or
  noteworthy, for the most part it's a large collection of small DT
  tweaks"

* tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (24 commits)
  ARM: dts: da850-evm: fix read access to SPI flash
  ARM: dts: omap3: Fix Card Detect and Write Protect on Logic PD SOM-LV
  ARM64: dts: meson-gxbb-odroidc2: Disable SCPI DVFS
  ARM: dts: OMAP5 / DRA7: indicate that SATA port 0 is available.
  ARM: dts: NSP: Fix DT ranges error
  ARM: multi_v7_defconfig: set bcm47xx watchdog
  ARM: multi_v7_defconfig: fix config typo
  ARM: dts: dra72-evm-revc: fix typo in ethernet-phy node
  soc: ti: wkup_m3_ipc: Fix error return code in wkup_m3_ipc_probe()
  ARM: ux500: fix prcmu_is_cpu_in_wfi() calculation
  ARM: dts: sunxi: Change node name for pwrseq pin on Olinuxino-lime2-emmc
  ARM: dts: sun8i: Support DTB build for NanoPi M1
  ARM: dts: sun6i: hummingbird: Enable display engine again
  ARM: dts: sun6i: Disable display pipeline by default
  ARM, ARM64: dts: drop "arm,amba-bus" in favor of "simple-bus" part 3
  ARM: dts: imx6qdl-nitrogen6_som2: fix sgtl5000 pinctrl init
  ARM: dts: imx6qdl-nitrogen6_max: fix sgtl5000 pinctrl init
  ARM: OMAP1: DMA: Correct the number of logical channels
  ARM: dts: am335x-icev2: Remove the duplicated pinmux setting
  ARM: OMAP2+: Fix WL1283 Bluetooth Baud Rate
  ...
2017-01-19 16:40:03 -08:00
Olof Johansson
828a34b94c This pull request contains Broadcom ARM-based SoC Device Tree changes for 4.11,
please pull the following changes:
 
 - Rafal enables the UART by default on all BCM5301x, BCM4708, BCM4709 since
   every device found out there has it enabled by default. He also fixes the
   LED definitions for the Luxul XWR-3100 device, enables USB controllers and
   their respective PHY devices, specifies the correct GPIO to power on USB
   HUBs, adds the additional RAM bank for somes devices, and finally sets the
   correct 5Ghz frequency limits on the Netgear R8000
 
 - Jon does a number of Norsthar Plus SoC cleanups, fixes NAND partitions unit
   addresses, adds QSPI support to a bunch of boards, adds Ethernet switch ports
   to the BCM958625K reference board, enables 3rd Ethernet MAC instance to
   relevant DTSes, enables Ethernet on the XMC board, and finally adds SD/MMC
   support to the XMC board
 
 - Boris adds the Video Encoder nodes to the Raspberry Pi DTS include files
   ands enables it on the relevant boards
 
 - Dan adds support for two new Luxul devices: XAP-1410 and XWR-1200, both
   BCM47081 based SoCs
 -----BEGIN PGP SIGNATURE-----
 
 iQIcBAABCAAGBQJYgBUvAAoJEIfQlpxEBwcED8sQAJxH/wTLvHkXxbc1sXeizGW9
 FKxRnYR0gvUAm1skSttw8OADQzYcSa3frNh4sV3X9dV1SqzSzaRJP5hjBlzxIQdJ
 72TJC8t7tFbjNBOG/fVqei8yAtgu/VjOP7Co8oLlON9EX1A2nsFgHQfOM7pJWdkR
 mzaWQr/PI1+Jp3DFRVG/G503ummxN4SR6MG+37juW9ip446N9asT4e7eeRZkkGtD
 uXtPn34sS3Pp2CN/4wFrG9Y6NRs4eVdaw+VNjelSRbhgBzFzSJVr255fHpazq5xw
 UwUMsfYv1gBhvzMoHCyAohF7nTIll7rMqoPBsjawlbkaCV1UYkA0fG/fRZ7oDuU4
 5BZoztqRzr0XRi95ssfuzb9A1aXa2Et15XAvcKL+ZwqSU6LNPe9alNV3TjQEoAFX
 713owKbAiKA0ACtiRlOgRG9TlcE86u4XCh0IpDhLwsyVl02BzASLpX9x61Ztg2FS
 HsZlXUDFL2e9lFrz9ECqvWcZGGDKZDovLWXWNUebe0L1LEoSB4+lQvMJ1kYGupP4
 ceVROUhB5DiTHHxPrg2bpaYSSLA/GMvvA8A/peDPGxxh7vQMy9ZPT7ows4k/q4Gl
 jsnUW6ukOUaiMRbwbh2cAqBVDxvz733FZhYils2Q/FgZBfiVBDOia6JQqfsBvHvY
 jZ0kzHgxCg5gKuZ2+sZ4
 =wFmP
 -----END PGP SIGNATURE-----

Merge tag 'arm-soc/for-4.11/devicetree' of http://github.com/Broadcom/stblinux into next/dt

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

- Rafal enables the UART by default on all BCM5301x, BCM4708, BCM4709 since
  every device found out there has it enabled by default. He also fixes the
  LED definitions for the Luxul XWR-3100 device, enables USB controllers and
  their respective PHY devices, specifies the correct GPIO to power on USB
  HUBs, adds the additional RAM bank for somes devices, and finally sets the
  correct 5Ghz frequency limits on the Netgear R8000

- Jon does a number of Norsthar Plus SoC cleanups, fixes NAND partitions unit
  addresses, adds QSPI support to a bunch of boards, adds Ethernet switch ports
  to the BCM958625K reference board, enables 3rd Ethernet MAC instance to
  relevant DTSes, enables Ethernet on the XMC board, and finally adds SD/MMC
  support to the XMC board

- Boris adds the Video Encoder nodes to the Raspberry Pi DTS include files
  ands enables it on the relevant boards

- Dan adds support for two new Luxul devices: XAP-1410 and XWR-1200, both
  BCM47081 based SoCs

* tag 'arm-soc/for-4.11/devicetree' of http://github.com/Broadcom/stblinux:
  ARM: dts: bcm283x: Enable the VEC IP on all RaspberryPi boards
  ARM: dts: bcm283x: Add VEC node in bcm283x.dtsi
  ARM: dts: BCM5301X: Add DT for Luxul XWR-1200
  ARM: dts: BCM5301X: Add DT for Luxul XAP-1410
  ARM: dts: BCM5301X: Set 5 GHz wireless frequency limits on Netgear R8000
  ARM: dts: NSP: Add SD/MMC support
  ARM: dts: NSP: Add Ethernet to NSP XMC
  ARM: dts: NSP: Add and enable amac2
  ARM: dts: NSP: Add BCM958625K switch ports
  ARM: dts: NSP: Add QSPI support to missing boards
  ARM: dts: NSP: Correct NAND partition unit address
  ARM: dts: NSP: DT Clean-ups
  ARM: dts: BCM53573: Specify USB ports of on-SoC controllers
  ARM: dts: BCM5301X: Specify all RAM by including an extra block
  ARM: dts: BCM5301X: Set GPIO enabling USB power on Netgear R7000
  ARM: dts: BCM5301X: Specify USB controllers in DT
  ARM: dts: BCM5301X: Fix LAN LED labels for Luxul XWR-3100
  ARM: dts: BCM5301X: Enable UART by default for BCM4708(1), BCM4709(4) & BCM53012

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-19 16:25:07 -08:00
Marc Gonzalez
15fa000908 ARM: dts: tango4: Import USB nodes
Tango4 provides 2 USB 2.0 controllers.

Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-19 16:24:27 -08:00
Marc Gonzalez
ab3b8023f0 ARM: dts: tango4: Import MMC nodes
Tango4 provides 2 SD/SDIO/eMMC controllers.

Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-19 16:24:24 -08:00
Marc Gonzalez
0e89d65176 ARM: dts: tango4: Add alias for eth0
http://elinux.org/Device_Tree_Usage#aliases_Node

Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-19 16:24:18 -08:00
Fabien Parent
43849785e1 ARM: dts: da850-evm: fix read access to SPI flash
Read access to the SPI flash are broken on da850-evm, i.e. the data
read is not what is actually programmed on the flash.
According to the datasheet for the M25P64 part present on the da850-evm,
if the SPI frequency is higher than 20MHz then the READ command is not
usable anymore and only the FAST_READ command can be used to read data.

This commit specifies in the DTS that we should use FAST_READ command
instead of the READ command.

Cc: stable@vger.kernel.org
Tested-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Fabien Parent <fparent@baylibre.com>
[nsekhar@ti.com: subject line adjustment]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-01-19 16:23:19 -08:00
Florian Fainelli
a3fe1d5dce ARM: dts: kirkwood-rd88f6281: Utilize new DSA binding
Utilize the new DSA binding, introduced with commit 8c5ad1d617 ("net: dsa:
Document new binding"). The legacy binding node is kept included, but is marked
disabled.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2017-01-19 23:47:11 +01:00
Florian Fainelli
cd0cc11acb ARM: dts: kirkwood-mv88f6281gtw-ge: Utilize new DSA binding
Utilize the new DSA binding, introduced with commit 8c5ad1d617 ("net: dsa:
Document new binding"). The legacy binding node is kept included, but is marked
disabled.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2017-01-19 23:47:07 +01:00
Florian Fainelli
69e8e6aead ARM: dts: kirkwood-linksys-viper: Utilize new DSA binding
Utilize the new DSA binding, introduced with commit 8c5ad1d617 ("net: dsa:
Document new binding"). The legacy binding node is kept included, but is marked
disabled.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2017-01-19 23:46:56 +01:00
Florian Fainelli
5f84613ba1 ARM: dts: kirkwood-dir665: Utilize new DSA binding
Utilize the new DSA binding, introduced with commit 8c5ad1d617 ("net: dsa:
Document new binding"). The legacy binding node is kept included, but is marked
disabled.

Tested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2017-01-19 23:46:52 +01:00
Florian Fainelli
499400c9ac ARM: dts: armada-xp-linksys-mamba: Utilize new DSA binding
Utilize the new DSA binding, introduced with commit 8c5ad1d617 ("net: dsa:
Document new binding"). The legacy binding node is kept included, but is marked
disabled.

Tested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2017-01-19 23:46:32 +01:00
Florian Fainelli
c0405563a6 ARM: dts: armada-388-clearfog: Utilize new DSA binding
Utilize the new DSA binding, introduced with commit 8c5ad1d617 ("net:
dsa: Document new binding"). The legacy binding node is kept included, but is
marked disabled.

Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Tested-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2017-01-19 23:45:38 +01:00
Florian Fainelli
455b82f03f ARM: dts: armada-385-linksys: Utilize new DSA binding
Utilize the new DSA binding, introduced with commit 8c5ad1d617 ("net: dsa:
Document new binding"). The legacy binding node is kept included, but is marked
disabled.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2017-01-19 23:40:16 +01:00
Florian Fainelli
4cb2ec8cad ARM: dts: armada-370-rd: Utilize new DSA binding
Utilize the new DSA binding, introduced with commit 8c5ad1d617 ("net: dsa:
Document new binding"). The legacy binding node is kept included, but is marked
disabled.

Tested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2017-01-19 23:40:08 +01:00
Alexandre Belloni
ef8d02d4a2 ARM: dts: at91: Enable DMA on sama5d4_xplained console
Enable DMA on usart3 to get a more reliable console. This is especially
useful for automation and kernelci were a kernel with PROVE_LOCKING enabled
is quite susceptible to character loss, resulting in tests failure.

Cc: stable <stable@vger.kernel.org> #v4.1+
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-01-19 23:00:57 +01:00
Suman Anna
0623013ca6 ARM: dts: keystone-k2e: Add PSC reset controller node
The Power Sleep Controller (PSC) module contains specific
memory-mapped registers that can be used to perform reset
management using specific bits for the DSPs available on the
SoC. The PSC is defined using a syscon node, and the reset
functionality is defined using a child syscon reset controller
node.

Add this syscon reset controller node as well as the reset
control data for the resets it supports for the 66AK2E SoCs.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
2017-01-19 09:44:11 -08:00
Suman Anna
2ae4dad352 ARM: dts: keystone-k2l: Add PSC reset controller node
The Power Sleep Controller (PSC) module contains specific
memory-mapped registers that can be used to perform reset
management using specific bits for the DSPs available on the
SoC. The PSC is defined using a syscon node, and the reset
functionality is defined using a child syscon reset controller
node.

Add this syscon reset controller node as well as the reset
control data for the resets it supports for the 66AK2L SoCs.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
2017-01-19 09:44:11 -08:00
Suman Anna
e695c71892 ARM: dts: keystone-k2hk: Add PSC reset controller node
The Power Sleep Controller (PSC) module contains specific
memory-mapped registers that can be used to perform reset
management using specific bits for the DSPs available on the
SoC. The PSC is defined using a syscon node, and the reset
functionality is defined using a child syscon reset controller
node.

Add this syscon reset controller node as well as the reset
control data for the resets it supports for the 66AK2H SoCs.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
2017-01-19 09:44:11 -08:00
Suman Anna
e2dd60f9a5 ARM: dts: keystone: Add PSC node
The Power Sleep Controller (PSC) module is responsible
for the power and clock management for each of the peripherals
present on the SoC. Represent this as a syscon node so that
multiple users can leverage it for various functionalities.

Signed-off-by: Suman Anna <s-anna@ti.com>
[afd@ti.com: add simple-mfd compatible]
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
2017-01-19 09:44:11 -08:00
Suman Anna
a2735c3067 ARM: Keystone: Enable ARCH_HAS_RESET_CONTROLLER
The Keystone 2 family of SoCs will use various Reset Controller
drivers for managing the resets of remote processor devices like
DSPs on the SoC, so select the ARCH_HAS_RESET_CONTROLLER option
by default to enable the Reset framework.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
2017-01-19 09:36:08 -08:00
Murali Karicheri
32a34441a9 ARM: keystone: dts: fix netcp clocks and add names
Fix the pa clock to point to the clkpa which has clock rate of 1/3 of PA
PLL clock and add clock names.

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
2017-01-19 09:31:48 -08:00