Commit Graph

51063 Commits

Author SHA1 Message Date
Christoph Hellwig 2436bdcda5 dma-coherent: remove the DMA_MEMORY_MAP and DMA_MEMORY_IO flags
DMA_MEMORY_IO was never used in the tree, so remove it.  That means there is
no need for the DMA_MEMORY_MAP flag either now, so remove it as well and
change dma_declare_coherent_memory to return a normal errno value.

Signed-off-by: Christoph Hellwig <hch@lst.de>
 Reviewed-by: Marek Szyprowski <m.szyprowski@samsung.com>
2017-09-01 11:59:17 +02:00
Jérôme Glisse fb1522e099 KVM: update to new mmu_notifier semantic v2
Calls to mmu_notifier_invalidate_page() were replaced by calls to
mmu_notifier_invalidate_range() and are now bracketed by calls to
mmu_notifier_invalidate_range_start()/end()

Remove now useless invalidate_page callback.

Changed since v1 (Linus Torvalds)
    - remove now useless kvm_arch_mmu_notifier_invalidate_page()

Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
Tested-by: Mike Galbraith <efault@gmx.de>
Tested-by: Adam Borowski <kilobyte@angband.pl>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Cc: kvm@vger.kernel.org
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-08-31 16:13:00 -07:00
Thomas Gleixner 9fbd7fd28d irqchip updates for 4.14
- irqchip-specific part of the monster GICv4 series
 - new UniPhier AIDET irqchip driver
 - new variants of some Freescale MSI widget
 - blanket removal of of_node->full_name in printk
 - random collection of fixes
 -----BEGIN PGP SIGNATURE-----
 
 iQJJBAABCAAzFiEEn9UcU+C1Yxj9lZw9I9DQutE9ekMFAlmoQxkVHG1hcmMuenlu
 Z2llckBhcm0uY29tAAoJECPQ0LrRPXpDVUMQAIyE1q3fjSNZ+EkfK8+mbcWC80Wc
 suklgcqVbHahu6FHuHALlR7rgJIPSaFYFpDIwybA9A0Pwia/5Jf2mOL3RGVF4f97
 nyHlSS16kocZz8lKn+NtgcaUiFRma3y7GNek0pnsSlm+Vu+Syw3xssN+yYcGujTu
 jWRocvIqIJlScpzHG/Ulx3tZTXYfipQFfIQ3+9gm/i+KYqTwGDH/MsdxI7uAbctx
 YJGwLVtv4MGGmNHaq4iS64d55yrG/4Yqv+q92zFaaxj+V0di+Ds01+MDhdq8X7N/
 fhLGY/Yh/I3FiIIdIO/O1sj1EPO6lLbg4DPYXIMdjzwhBdKhu8i66/ttH/Kx//Aa
 1hhLZSN6rYiJM3lWcTxej45bs8MR/3MBm4gKpZxTgJ12YRIwgY8lRyoqXTlto5ls
 w10yi5wFsJaAO1E/HdEs/dyndV1jpvGo9KIRnfh7E5+Hw7PCYs9kZa4MUtq9RYT8
 Civyppi2sMfKYtGvwm+FS6sIigoFCh4DJ5MmUbM5CLh5imnggyYJlTsJdBuxVDZM
 1RoDnX/YebpVceezIZ/oCKq60Utck0Oqge2pc+NjVQupAp/x/13R/7DQPnFCq/OL
 Avx9kBtSzdYmYgE3EWt9n+h4LT23JpOym2OEUF3fhpPE96BKAJkMEPB/QlBi39fo
 0cZEX8M7xq5KjRJy
 =3ZS3
 -----END PGP SIGNATURE-----

Merge tag 'irqchip-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into irq/core

Pull irqchip updates for 4.14 from Marc Zyngier:

- irqchip-specific part of the monster GICv4 series
- new UniPhier AIDET irqchip driver
- new variants of some Freescale MSI widget
- blanket removal of of_node->full_name in printk
- random collection of fixes
2017-08-31 20:12:51 +02:00
Minghuan Lian df3015888d arm: dts: ls1021a: Share all MSIs
In order to maximize the use of MSI, a PCIe controller will share
all MSI controllers. The patch changes msi-parent to refer to all
MSI controller dts nodes.

Signed-off-by: Minghuan Lian <Minghuan.Lian@nxp.com>
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2017-08-31 16:19:13 +01:00
Minghuan Lian c9041ea324 arm: dts: ls1021a: Fix typo of MSI compatible string
"1" should be replaced by "l". This is a typo.
The patch is to fix it.

Signed-off-by: Minghuan Lian <Minghuan.Lian@nxp.com>
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2017-08-31 16:18:59 +01:00
Marc Zyngier f6a91da7c7 irqchip/gic-v3-its: Add VPE interrupt masking
When masking/unmasking a doorbell interrupt, it is necessary
to issue an invalidation to the corresponding redistributor.
We use the DirectLPI feature by writting directly to the corresponding
redistributor.

Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2017-08-31 15:31:38 +01:00
Marc Zyngier 3ca63f363f irqchip/gic-v3-its: Add VPENDBASER/VPROPBASER accessors
V{PEND,PROP}BASER being 64bit registers, they need some ad-hoc
accessors on 32bit, specially given that VPENDBASER contains
a Valid bit, making the access a bit convoluted.

Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2017-08-31 15:31:36 +01:00
Olof Johansson 1595de0e7f Allwinner DT changes for 4.14, take 3
One new board, and a revert of a patch relying on a binding not stable
 enough so that we can commit to it.
 -----BEGIN PGP SIGNATURE-----
 
 iQIcBAABAgAGBQJZo+BEAAoJEBx+YmzsjxAgjlAP/i6utvIWo08uofBGwABwxRL9
 F+fToDOXwGDR6u0FlC7hB1dq6PtEe41qQwNIZC3UnQ7inoUGOYSiY1NBvci+4FEm
 ibvqcsXwLtkbSdK3fPSvSxnn4gFqyZf0lW1dUUbnpOCV2p8E5phzw7zdAvkvySD6
 S0XJHd5zXNXYfPuXYnK6etMaaVbybeCKdbwu3UTdgyCFgksO6Iufc06khC7DYdrv
 EmOPcI6APAx+iYUgrfMJ3XaAG8ps/mmTM5lirofTjO2Le2xZT3mxzEIeoF0CuCuO
 h0vzfDpjy7hoGq4QuR/46B03wePvP/azKUdswe76rHm5rv1OlwdT+mbF1UMatKIs
 fzpqOpThNqO41wmPOaDfYYp18uBch2sazN7C1Gun4YBzGZ38VINSOzX85sQvaWVw
 qb+z+zQYETMPwYzhdTz/Dxnzfh0sSpJF6lueGgYwLxf1IPZiV/9r3EMoD8px++9E
 yJuaomTJn136fzK/rZMAbkqkebRIVmdmRyzccwvf4lqhWc45przvpRLuk1DWClHr
 mED8W+yvxY0RQX+JEhg0DJXRPbFElpawx/2wLGBnyozycs75SZmKpuMm1lC4Fgvk
 16G5/xxUHrHhCRTdVTyKPNuvEKUQLiEqgvGPhjyOfaQuMM57hpyioIHiUEiX2WiN
 Nle9Mo522KZU7ITcUOWG
 =jgbH
 -----END PGP SIGNATURE-----

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

Allwinner DT changes for 4.14, take 3

One new board, and a revert of a patch relying on a binding not stable
enough so that we can commit to it.

* tag 'sunxi-dt-for-4.14-3' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux:
  Revert "ARM: dts: sun8i: h3: Enable dwmac-sun8i on the Beelink X2"
  ARM: sun8i: a83t: Add device tree for Sinovoip Bananapi BPI-M3

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-08-30 09:58:03 -07:00
Dmitry Rezvanov 2b17939d9e ARM: dts: at91: at91sam9g45: add AC97
AT91SAM9G45 has an AC97 controller, but it is not described in the dts
file.
This patch adds AC97 node in device tree.

Signed-off-by: Dmitry Rezvanov <dmitry.rezvanov@yandex.ru>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-08-30 18:30:56 +02:00
Olof Johansson 983d7c4570 UniPhier ARM SoC DT updates for v4.14 (2nd)
- add AIDET irqchip device nodes
 - fix size of sdctrl node
 - add ethernet pinmux nodes
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJZpDJuAAoJED2LAQed4NsGM4IP/2z+izg3mArX6NRJp/RdswKz
 s58bWJpqN/wlerNStLw02RE6AlrgozZiwRfY5nKwgIZRXUIajEshOjZkn41Y8AEq
 bPCCijKz/xfq7hz/E9IHNM7aRRzhjf1PxGPWYzfVp4HZMo1H90rcDEOBwgpoulrJ
 fOZtEJeUyLqe8pj0z35j9kNNpWAeLEfaApD7XwwJSjjWxr6nrMx11p9Fu/GDK5v0
 G+pO1FfoFk3oQsaXiq85olNktUbld4HTja82jtxIShXk5s/p/JiTzsNjHQDYgdU/
 B0U0euVBVlv0Mjx0cREBxCKJpu5V3W+gl85ktiI4keENiQ0e5SjcvqBGIoRZgzzc
 McIgJGqYjiRmF+x9Hrn4Qy/eRtCM9xFmU42FhZk2rqfobCqWcIPVKa2RNfiZc72S
 KuGvgPuD2WTZTD9N0cHobx1UVKVK9ZM0Butd1N38xQyvvefHuol7/mHyolmmdGUk
 qMpfEdP21txQrls0SbdcE8q6EmIcXsKweU4gQ8XEEM+/SSsWZJ8eyuGgItepJV5n
 l16w6O4ZIFMUzxwUaLrF7Vkr+DMFBsxsIGYMKfYz9E+E9HGx/vMst48gWlA7u0+z
 oSCZyIJ+VioOftEsCUdFYBZYFDZycVE0MWZEhhh/3GThw3/SnGTp4rGWniKvKa/M
 B9wCOH7fo9d3fWEXh3ZP
 =rA66
 -----END PGP SIGNATURE-----

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

UniPhier ARM SoC DT updates for v4.14 (2nd)

- add AIDET irqchip device nodes
- fix size of sdctrl node
- add ethernet pinmux nodes

* tag 'uniphier-dt-v4.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-uniphier:
  ARM: dts: uniphier: add pinctrl groups of ethernet phy mode
  ARM: dts: uniphier: fix size of sdctrl nodes
  ARM: dts: uniphier: add AIDET nodes

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-08-29 22:41:34 -07:00
Olof Johansson fabed5ad23 Allwinner fixes for 4.13, take 3
This is a revert of the EMAC bindings. The discussion has not settled down
 yet on a proper representation of the PHY, and therefore we cannot commit
 to a binding yet
 -----BEGIN PGP SIGNATURE-----
 
 iQIcBAABAgAGBQJZo+FRAAoJEBx+YmzsjxAgarAP/3UNFp1qce9IorGf9YOYFRcf
 YVFf/laHpEsbjGC2iDDCMSrW34hx1Jsmnci8Pp9QM6d5vzDg4F41MW1T6Vx6R72v
 DioMLctVi6nHUmJa0nJuiwhMQUmu+9gn7qFYk1N/bBFmKNrrettNv6kb929a+U29
 5xiBNzaV7lVOPLJleOcAjRhxndsCcoSQ7r5yUQ04L0D2VItSw+tkQg9RVCeW/wxZ
 mGgXUSSvz0IMQ9bAyczG8RRlT2tLXRyXqJ5ktPJbxigV9OehMQOsShZZvzTiisbp
 pQxw5NoWuy4Bs1dnSW9+FmkQc+ikhD+jl1l8e/dFN8OS6YmBZYSWsJ7usdxMmxx/
 iiVPFFg0cheDlnu3njokBkOOUiEwYcM662bXDhXe8nZlVlZHfomq50JW89PVdM9F
 6hXPO38uYGf8qjD35N55mU97iLRZawHTeBHvH1uhOCRxxAVYpgEFMyWSVXjDVzZv
 SncMlMqx0wDtc11G72aF3TL6Mvfcp88X52l0otvAiQbjLltOSxUuDLXQd/ydVE+p
 jRJXjYPxQa+TKg/36WGe2gdLIONiV39NSpy951gJR96OI4/CcuSkk8n1oMmMYBbB
 2JMOC3q3KypuHOUXyw1fyZdZvgvQXWOwiETXqp7VnCIHP0RRXEKJC/41vLBwhlb0
 0YNQmFIbjzIFGFN6PjsX
 =0xy6
 -----END PGP SIGNATURE-----

Merge tag 'sunxi-fixes-for-4.13-3' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into fixes

Allwinner fixes for 4.13, take 3

This is a revert of the EMAC bindings. The discussion has not settled down
yet on a proper representation of the PHY, and therefore we cannot commit
to a binding yet

* tag 'sunxi-fixes-for-4.13-3' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux:
  arm: dts: sunxi: Revert EMAC changes
  arm64: dts: allwinner: Revert EMAC changes
  dt-bindings: net: Revert sun8i dwmac binding

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-08-29 22:39:18 -07:00
Olof Johansson 940bf1d6f7 - mt7623: add mt7623n and mt7623a plattform
- add mt7623 based reference boards
 - mt7623: add usb3, ethernet, cpufreq,
 - Add banana-pi board
 - add mt6323 pmic
 - mt2701: add larb-id property to smi larb
 -----BEGIN PGP SIGNATURE-----
 
 iQJLBAABCAA1FiEEiUuSfQSYnG8EMsBltDliWyzx00MFAlmVfAMXHG1hdHRoaWFz
 LmJnZ0BnbWFpbC5jb20ACgkQtDliWyzx00NzChAAnj/93phTJunguMQlmiLopPFq
 a6ojH7ETUom+cajkm+vrYoJgfltYi4ghVfJhjlqsUNIjKfdT8GcfH9Ic0ceOgJIJ
 d1ss1D5SVuvtDshhS4Ja6NP5oBXLjpvf3Mf5AIcOMkWw0d+dmPk4wJQ4WnyaWUdz
 8RzN4i9JNdcvTuFLpq99gdJerS/sQ1oXAd1QzIcvKr4YFzdxE/RrBLOBVHxP6OpD
 N8/hIb2bVsS1vfaPsI/UeN19jpxTxMrttRYCt1PBVcwribifG+C+jQg9kJXnewaj
 J/3FoXQBtLwoSDDxZq/p5woDZhfDnsgAo0szmHbxVBdrKZWPvWxekneoc8uYnFI4
 i9NVtpnPSVGzCxuHrEwOVWuS4okKgwEho6tqot8P7MzjwQ4v0ms9S3m/bJz55ZIf
 QCqnPHb4LMnwdkHhgI4oFgz5YjsC3pjsxcsEbC3VNyFx4qfbq8u9ZcjQWOUxPitF
 R+tlJVp0TJOJkOg2ZMAqaF0BYM7NeXmC2owKSM649k6/n/Mw44tLm8SGPTBPzq6n
 Iyxlf3vir+eGKhVfgOLhHd/3Yre1qPxcZ5KwwEJHo8f3alWUE4fCORtu2TWnaxhp
 5dkt7j8QlNAoti7apo8eiN4srWSv2GZJNeR5gth0X9KNFzyKt/gIsIRQCf38UqbF
 NwMfgKXfcXGI6DOt7To=
 =yAoq
 -----END PGP SIGNATURE-----

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

- mt7623: add mt7623n and mt7623a plattform
- add mt7623 based reference boards
- mt7623: add usb3, ethernet, cpufreq,
- Add banana-pi board
- add mt6323 pmic
- mt2701: add larb-id property to smi larb

* tag 'v4.13-next-dts32' of https://github.com/mbgg/linux-mediatek:
  arm: dts: mt7623: cleanup binding file
  arm: dts: mt7623: Add SD-card and EMMC to bananapi-r2
  arm: dts: mediatek: add larbid property for larb
  arm: dts: mt7623: fix mmc interrupt assignment
  arm: dts: mt2701: Add usb3 device nodes
  arm: dts: mt2701: Add ethernet device node
  arm: dts: mt7623: add clock-frequency to CPU nodes
  arm: dts: mt7623: add support for Bananapi R2 (BPI-R2) board
  arm: dts: mt7623: enable the nand device on the mt7623n nand rfb
  arm: dts: mt7623: enable the usb device on the mt7623n rfb
  arm: dts: mt7623: cleanup the mt7623n rfb uart nodes
  arm: dts: mt7623: rename mt7623-evb.dts to arch/arm/boot/dts/mt7623n-rfb.dtsi
  arm: dts: mt7623: add mt6323.dtsi file
  dt-bindings: arm: mediatek: add bindings for mediatek MT7623a SoC Platform
  dt-bindings: arm: mediatek: update for MT7623n SoC and relevant boards
  arm: dts: mt7623: fixup binding violation missing reset in ethernet node
  dt-bindings: net: mediatek: update documentation for reset signals

Signed-off-by: Olof Johansson <olof@lixom.net>
2017-08-29 22:21:59 -07:00
Mark Rutland 746a272e44 ARM: 8692/1: mm: abort uaccess retries upon fatal signal
When there's a fatal signal pending, arm's do_page_fault()
implementation returns 0. The intent is that we'll return to the
faulting userspace instruction, delivering the signal on the way.

However, if we take a fatal signal during fixing up a uaccess, this
results in a return to the faulting kernel instruction, which will be
instantly retried, resulting in the same fault being taken forever. As
the task never reaches userspace, the signal is not delivered, and the
task is left unkillable. While the task is stuck in this state, it can
inhibit the forward progress of the system.

To avoid this, we must ensure that when a fatal signal is pending, we
apply any necessary fixup for a faulting kernel instruction. Thus we
will return to an error path, and it is up to that code to make forward
progress towards delivering the fatal signal.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Steve Capper <steve.capper@arm.com>
Cc: stable@vger.kernel.org
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2017-08-29 13:09:14 +01:00
Hoeun Ryu f26fee5f11 ARM: 8690/1: lpae: build TTB control register value from scratch in v7_ttb_setup
Reading TTBCR in early boot stage might return the value of the previous
kernel's configuration, especially in case of kexec. For example, if
normal kernel (first kernel) had run on a configuration of PHYS_OFFSET <=
PAGE_OFFSET and crash kernel (second kernel) is running on a configuration
PHYS_OFFSET > PAGE_OFFSET, which can happen because it depends on the
reserved area for crash kernel, reading TTBCR and using the value to OR
other bit fields might be risky because it doesn't have a reset value for TTBCR.

Suggested-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Hoeun Ryu <hoeun.ryu@gmail.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2017-08-29 13:09:12 +01:00
Kunihiko Hayashi 8a7a516afa ARM: dts: uniphier: add pinctrl groups of ethernet phy mode
Add pinctrl groups of ethenet phy mode, such as "ether_rgmii", "ether_rmii",
and "ether_mii".

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2017-08-29 00:00:43 +09:00
Masahiro Yamada 7b8330d28c ARM: dts: uniphier: fix size of sdctrl nodes
All registers are located within 0x400 size from the base address.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2017-08-28 23:58:48 +09:00
Masahiro Yamada 80a687041a ARM: dts: uniphier: add AIDET nodes
Add UniPhier AIDET (ARM Interrupt Detector) nodes to support
active low interrupts.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2017-08-28 23:58:48 +09:00
Maxime Ripard fe45174b72 arm: dts: sunxi: Revert EMAC changes
Since the discussion is not settled yet for the EMAC, and that the release
in getting really close, let's revert the changes for now, and we'll
reintroduce them later.

Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2017-08-28 11:11:24 +02:00
Maxime Ripard 6b0e06df5c Revert "ARM: dts: sun8i: h3: Enable dwmac-sun8i on the Beelink X2"
This reverts commit ddb56254ae. The EMAC
bindings have not stabilized yet, so we can't commit to keeping them
stable.

Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2017-08-28 10:56:32 +02:00
Greg Kroah-Hartman 9749c37275 Merge 4.13-rc7 into char-misc-next
We want the binder fix in here as well for testing and merge issues.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-08-28 10:19:01 +02:00
David Wu 901c5d2fbf ARM: dts: rk3228-evb: Fix the compiling error
This patch solves the following error:
arch/arm/boot/dts/rk3228-evb.dtb: ERROR (phandle_references): Reference to non-existent node or label "phy0"

Fixess db40f15b53 ("ARM: dts: rk3228-evb: Enable the integrated PHY for gmac")
Signed-off-by: David Wu <david.wu@rock-chips.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-08-27 17:04:23 -07:00
Sakari Ailus d726a0dcdf media: arm: dts: omap3: N9/N950: Add AS3645A camera flash
Add the as3645a flash controller to the DT source.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-08-26 20:30:31 -04:00
Ingo Molnar 3cb9bc8502 Merge branch 'x86/mm' into efi/core, to pick up dependencies
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-08-26 09:20:01 +02:00
Jiri Slaby 30d6e0a419 futex: Remove duplicated code and fix undefined behaviour
There is code duplicated over all architecture's headers for
futex_atomic_op_inuser. Namely op decoding, access_ok check for uaddr,
and comparison of the result.

Remove this duplication and leave up to the arches only the needed
assembly which is now in arch_futex_atomic_op_inuser.

This effectively distributes the Will Deacon's arm64 fix for undefined
behaviour reported by UBSAN to all architectures. The fix was done in
commit 5f16a046f8 (arm64: futex: Fix undefined behaviour with
FUTEX_OP_OPARG_SHIFT usage). Look there for an example dump.

And as suggested by Thomas, check for negative oparg too, because it was
also reported to cause undefined behaviour report.

Note that s390 removed access_ok check in d12a29703 ("s390/uaccess:
remove pointless access_ok() checks") as access_ok there returns true.
We introduce it back to the helper for the sake of simplicity (it gets
optimized away anyway).

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc)
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com> [s390]
Acked-by: Chris Metcalf <cmetcalf@mellanox.com> [for tile]
Reviewed-by: Darren Hart (VMware) <dvhart@infradead.org>
Reviewed-by: Will Deacon <will.deacon@arm.com> [core/arm64]
Cc: linux-mips@linux-mips.org
Cc: Rich Felker <dalias@libc.org>
Cc: linux-ia64@vger.kernel.org
Cc: linux-sh@vger.kernel.org
Cc: peterz@infradead.org
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: sparclinux@vger.kernel.org
Cc: Jonas Bonn <jonas@southpole.se>
Cc: linux-s390@vger.kernel.org
Cc: linux-arch@vger.kernel.org
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: linux-hexagon@vger.kernel.org
Cc: Helge Deller <deller@gmx.de>
Cc: "James E.J. Bottomley" <jejb@parisc-linux.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Matt Turner <mattst88@gmail.com>
Cc: linux-snps-arc@lists.infradead.org
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: linux-xtensa@linux-xtensa.org
Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Cc: openrisc@lists.librecores.org
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Stafford Horne <shorne@gmail.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Richard Henderson <rth@twiddle.net>
Cc: Chris Zankel <chris@zankel.net>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Tony Luck <tony.luck@intel.com>
Cc: linux-parisc@vger.kernel.org
Cc: Vineet Gupta <vgupta@synopsys.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Richard Kuo <rkuo@codeaurora.org>
Cc: linux-alpha@vger.kernel.org
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: linuxppc-dev@lists.ozlabs.org
Cc: "David S. Miller" <davem@davemloft.net>
Link: http://lkml.kernel.org/r/20170824073105.3901-1-jslaby@suse.cz
2017-08-25 22:49:59 +02:00
Ingo Molnar 290d9bf281 Merge branch 'perf/urgent' into perf/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-08-25 11:01:05 +02:00
Arnd Bergmann ec4259aa44 ARM: ux500: don't select CPUFREQ_DT
The new 'select CPUFREQ_DT' statement causes a warning in some
configurations:

warning: (ARCH_U8500) selects CPUFREQ_DT which has unmet direct dependencies (CPU_FREQ && HAVE_CLK && OF && (!CPU_THERMAL || THERMAL))

No other platform does this, so I think for consistency it's
best if we remove it again from ux500 and instead add the driver
to the defconfig.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2017-08-25 01:34:45 +02:00
Linus Torvalds 1cffe5955f ARM: SoC fixes for 4.13
A small number of bugfixes, again nothing serious.
 
 - Alexander Dahl found multiple bugs in the Atmel memory interface driver
 
 - A randconfig build fix for at91 was incomplete, the second
   attempt fixes the remaining corner case
 
 - One fix for the TI Keystone queue handler
 
 - The Odroid XU4 HDMI port (added in 4.13) needs a small
   DT fix
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIVAwUAWZ7eqmCrR//JCVInAQIklg/8DNhWPxYzlsCEDN3l2/NdMKeUxQebVEs8
 uxSviP3k95nk0G1GwpExX4ywhKRjtdGiwjGtpajtRW06OSTwsd44k1NWMSb2ezUl
 01bEjakd/n0OKE9HSuH2ZVs7Wr6BI/4wGhlf5lyB7iq8nuwqOj4w+UBF62aqV3e/
 1I9lsumyzwoKo2egDwSusdhivY/IBLggjZGH/Zm3iHzQH5PAM9t701e7/Cc65Pv5
 67RUmMbHY5zlTmXtvNlSfw2bMrgXBAh/e5qlaxu/FSxqw9iV2fFikOgjFGGQYofV
 /aPiJogAoI1g5aMcq6EwToo1rc9ct9dXHmaquRiPCHEsBSq6DENQ3qC7jwByyaHq
 Owzm5Hqoiw6hQ0ERef0zl+0vxwKwAFjDLhAufl3qA4Nihnt8BYpAi72qjMI09fM5
 6SR0JHqmlxSg7lydjXORtYtbL40Eiige529LD1lgS5L1WC/p2sVRXrzkyPsiSbdG
 HGuYOQWSVRqmihV/WrWYf6gIvcSapxes1SfPGECmGsxPQaSOpQITn9p1kpjtP+u1
 KryKKCc93uO+Tk3UgOcujEzT7/+MgQDEksmukXdcD8KS4vK33QPE7SdKAJHvKFo+
 Xu8wis5SqHtqga7KMU2qoDzPFyiTSSC0Hry/fEghOCRNguD9jS19DDLdggGXJkV0
 +hhvq41jWJA=
 =efYA
 -----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 Arnd Bergmann:
 "A small number of bugfixes, again nothing serious.

   - Alexander Dahl found multiple bugs in the Atmel memory interface
     driver

   - A randconfig build fix for at91 was incomplete, the second attempt
     fixes the remaining corner case

   - One fix for the TI Keystone queue handler

   - The Odroid XU4 HDMI port (added in 4.13) needs a small DT fix"

* tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
  ARM: dts: exynos: add needs-hpd for Odroid-XU3/4
  ARM: at91: don't select CONFIG_ARM_CPU_SUSPEND for old platforms
  soc: ti: knav: Add a NULL pointer check for kdev in knav_pool_create
  memory: atmel-ebi: Fix smc cycle xlate converter
  memory: atmel-ebi: Allow t_DF timings of zero ns
  memory: atmel-ebi: Fix smc timing return value evaluation
2017-08-24 14:01:18 -07:00
Arnd Bergmann 7ee7b6663d Enable the ARCH_DMA_ADDR_T_64BIT kconfig option for LPAE builds,
as some peripherals like the Mali gpu do support 64bit dma addresses.
 -----BEGIN PGP SIGNATURE-----
 
 iQFEBAABCAAuFiEE7v+35S2Q1vLNA3Lx86Z5yZzRHYEFAlmeoV4QHGhlaWtvQHNu
 dGVjaC5kZQAKCRDzpnnJnNEdgQdACAC0lVl2/kcQigHyGAwHZI6WU3kQvPzw1hBI
 PjFL1VGP+J5ZgqYYGiA+HGJn1Wb2u05kWf73LJikyTjYty0JIbpGLT/zZIymkrGE
 jJTHx7UsddaayC4h3PfVc9xjV35L1Uxr/3pCYXmbB4DZZD9jUyR5Aa4bHQ3TjAHA
 ZMZsp4WO29UWIRpafYRgMXxmxofJLOUUi0hQdS/LXhLDRozNgtVRfQibC4LgDX00
 gbMaLOmmdbNrRDtC4IQw8u0GNDaJ88gVPpjVdkYovh22lS3V0EfmBwW9bVmXHyVc
 vwLhCgjqkqKdQnuMOD1c+6mC+L97Q51dO8iBnUUnU+fM44E86rcn
 =bBGl
 -----END PGP SIGNATURE-----

Merge tag 'v4.14-rockchip-soc32-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into next/soc

Pull "second round of Rockchip soc32 changes for 4.14" from Heiko Stübner:

Enable the ARCH_DMA_ADDR_T_64BIT kconfig option for LPAE builds,
as some peripherals like the Mali gpu do support 64bit dma addresses.

* tag 'v4.14-rockchip-soc32-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
  ARM: rockchip: select ARCH_DMA_ADDR_T_64BIT for LPAE
2017-08-24 15:54:33 +02:00
Arnd Bergmann c32e176ac1 A lot of attention for the rv1108 soc targetted at media-processing
(usb, operating points, spi, pwm, adc, watchdog, i2c and devices for
 its evb).
 
 RK3228/3229 gets iommu and spi nodes. Similar to the rk3288 which
 also gets some more iommu nodes as well as getting converted to 64
 bit addresses due to wanting to address more than 4GB of memory
 via LPAE.
 -----BEGIN PGP SIGNATURE-----
 
 iQFEBAABCAAuFiEE7v+35S2Q1vLNA3Lx86Z5yZzRHYEFAlmdoA4QHGhlaWtvQHNu
 dGVjaC5kZQAKCRDzpnnJnNEdgeBtB/9oM4MmVRJ0YX7hk4NuU9c4HHdvCW0f1rJe
 Q6rE6dP7fW3J27d6PuySVWzvIBmD+3xVA2t0dDm85DIP8f1DFz3vyNhkEsu1VG89
 MULTektihczugCy+sh3iHILs4fLXJ8QUjCKJWOcWmZHOaXNXXjJIVjC97m5F4ZAj
 KVOYXNnCKdaHYIeP0lkjStL8Z9Ua7svkjfgsSPTGTSJQQ+bGcd/8JnmlkzjfHWLw
 qNz6M7FPoJ1rAffskr1At27oRs7UAVSKNAejl8DWKvLXml6NQPRRRu99sLLanxII
 3b6LsC6Vwea4a1Rjwx0LZWdDUtB1W34/ZIEw4JceK/i6HfV5K2Oi
 =di6U
 -----END PGP SIGNATURE-----

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

Pull "second round of Rockchip dts32 changes for 4.14" from Heiko Stübner:

A lot of attention for the rv1108 soc targetted at media-processing
(usb, operating points, spi, pwm, adc, watchdog, i2c and devices for
its evb).

RK3228/3229 gets iommu and spi nodes. Similar to the rk3288 which
also gets some more iommu nodes as well as getting converted to 64
bit addresses due to wanting to address more than 4GB of memory
via LPAE.

* tag 'v4.14-rockchip-dts32-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
  ARM: dts: rockchip: enable usb for rv1108-evb
  ARM: dts: rockchip: add usb nodes for rv1108 SoCs
  dt-bindings: update grf-binding for rv1108 SoCs
  ARM: dts: rockchip: add cpu power supply for rv1108 evb
  ARM: dts: rockchip: add cpu opp table for rv1108
  ARM: dts: rockchip: add rk322x iommu nodes
  ARM: dts: rockchip: add accelerometer bma250e dt node for rv1108 evb
  ARM: dts: rockchip: add pmic rk805 dt node for rv1108 evb
  ARM: dts: rockchip: add pwm backlight for rv1108 evb
  ARM: dts: rockchip: add pwm dt nodes for rv1108
  ARM: dts: rockchip: add spi dt node for rv1108
  ARM: dts: rockchip: add saradc support for rv1108
  ARM: dts: rockchip: add watchdog dt node for rv1108
  ARM: dts: rockchip: add i2c dt nodes for rv1108
  clk: rockchip: fix up indentation of some RV1108 clock-ids
  clk: rockchip: rename the clk id for HCLK_I2S1_2CH
  clk: rockchip: add more clk ids for rv1108
  ARM: dts: rockchip: add more iommu nodes on rk3288
  ARM: dts: rockchip: convert rk3288 device tree files to 64 bits
  ARM: dts: rockchip: add spi node and spi pinctrl on rk3228/rk3229

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2017-08-24 15:49:06 +02:00
Arnd Bergmann d1bbc82378 ARM: OMAP2+: fix missing variable declaration
The function that was added doesn't actually build:

arch/arm/mach-omap2/display.c: In function 'omapdss_init_fbdev':
arch/arm/mach-omap2/display.c:184:2: error: 'r' undeclared (first use in this function)

This adds a declaration for 'r' to fix it.

Fixes: 5ce783025c ("ARM: OMAP2+: Don't register omapdss device for omapdrm")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2017-08-24 15:17:25 +03:00
Arnd Bergmann 7bf53b96bd Aspeed devicetree updates for 4.14
- fix to expose the full flash windows on ast2400.
 -----BEGIN PGP SIGNATURE-----
 
 iQIcBAABCAAGBQJZnh+fAAoJEGt2WQeBR3CeVUcP+wWs6ZPnSpbma1OwEXawOZ8H
 Lihjcb9lkIbHNRXXN54odL0kCK9Z2fXsjYr0BPci0uNyBAP9oy1U+cu0SU+v1E+h
 neUexuqxuwPwOXW4ZnVhfrTzdyAJ7vp95AQSUUK4ZiKDqORrFWQurTcE4IIFhLBD
 Og0/tihXHu7jq4mugiAHh7oy80q0vpvwmTdf8C6mrjyk+ODyxy3xcPGNACn8ygjj
 PE7hH7t/k3PuC8A2mwqc/SWvxnHBqBdbpRkdqORHle92g/JxtvfOOPJUsA6RdYLX
 eHOS5w6sX9uj1sCNMZU9vy+nmlUP3iIwJ6Zcb4fKVdKc8duTY9QLTZn9xG+VDp1K
 CbrL/M3Bb5jjDszMreRPo1jMuAHxpTRxSl5lTdjknRkGkGWD1kGnkQVzUJ3sfiYw
 NA7kfOJ48UKwp0etnkW5gpUD/9EMz9FvmaKICjVc2JPxSIy8idXKz208yFe2JeXi
 Lpo/YRZDT72EPoHN3IueuuS+uWSdysnSLmMiv7I3dhvZkrsSBIwMc+EVkBMwRyXT
 TjkdlHSpF+nxKYl2IpctOjW6FK+sT0Faa+IYKvU4ZmhKOPIxtCs2IewQgNTiaPhG
 sRd9jRuyazYTqVNmkUGDFaLCDQWvSFV1tWkpuQHZzOMU4gZyD9I9TnaavIjZ4o/J
 XDc99JT9OGFO+zQRUN+g
 =q9Dz
 -----END PGP SIGNATURE-----

Merge tag 'aspeed-4.14-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/aspeed into next/dt

Pull "Aspeed devicetree updates for 4.14" from Joel Stanley:

 - fix to expose the full flash windows on ast2400.

* tag 'aspeed-4.14-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/aspeed:
  ARM: dts: aspeed-g4: fix AHB window size of the SMC controllers
2017-08-24 13:10:12 +02:00
Arnd Bergmann ec02bf393c Aspeed defconfig updates for 4.14
- Enable new Aspeed drivers for i2c, lpc snoop and vuart
  - Set VMSPLIT_2G for ast2400 platforms, required for mtd driver
 -----BEGIN PGP SIGNATURE-----
 
 iQIcBAABCAAGBQJZniFVAAoJEGt2WQeBR3CeGggP/0K25YYkRNSna33B9zZv3zgR
 BS8x6Z5OclC314rTJkSKe+uQEMFsmOvN2AmGElaPPudM4XRqfNh7EOyoi3MkD0NY
 qFP6mFjYQu5RFxW0CNLPlAZC/XqReDNF2qsfznjUEfj3FPhiUzKSvrQKCtxyAR2R
 GEUQ4/nAFhk9IOC86G0K4j8qNACvM1Lx0Yw8/bYTgrJAFzesj3xNC2aEIaR2yum0
 q9T2D6kGE4HiL9pnFlYLVsiwL9XnJOnpSDmEr8X63JjAGomXrYYwZYQC893qrM5W
 ool3KRrBE8n1YOL5YdEpmIU+tQj1IrgqUgOc42TDzhiOg2be6I2wYG0thR52lio3
 kHZVxQKdWyA4IpaBBgLynQ2hxpUE0C6LzuhCcgCr0BinMZXuLNi18QFRxyFNGeDH
 vfS+2aS0wnzZgepDZD1hLPSbXYPbQQQIjEaJTO8/pXmKMYP0Kodogu3k/4W8qG7S
 KNiBZwpfX6sh8I5vT48IRWk32E/VOPnlIK9CnpdRCwxwtKoy1I810GHelEYnk/eV
 MuoMaI0NYnN0FPJ3cHy879ocRYXk55tCY23CGCZa3A+S/3+6U0eMmt/qVLIoqOyn
 x8GWi05OxuKVeXgzScG6lLpS2S7FZufYnqGjwleRlPG9dObbVDAtx2UAK1jHelJ6
 cV6C2bx4ZoQkmEcspH9H
 =brUg
 -----END PGP SIGNATURE-----

Merge tag 'aspeed-4.14-defconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/aspeed into next/defconfig

Pull "Aspeed defconfig updates for 4.14" from Joel Stanley:

 - Enable new Aspeed drivers for i2c, lpc snoop and vuart
 - Set VMSPLIT_2G for ast2400 platforms, required for mtd driver

* tag 'aspeed-4.14-defconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/aspeed:
  ARM: config: aspeed: Add I2C, VUART, LPC Snoop
  ARM: configs: aspeed: Update Aspeed G4 with VMSPLIT_2G
2017-08-24 13:03:49 +02:00
Ingo Molnar 93da8b221d Merge branch 'linus' into perf/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-08-24 10:12:33 +02:00
Arnd Bergmann cea92099c9 Samsung DTS ARM changes for v4.14, part 2
Fix PCI bus dtc warnings.
 -----BEGIN PGP SIGNATURE-----
 
 iQIcBAABCAAGBQJZna4DAAoJEME3ZuaGi4PXsWoP/1IwPnPEunNnLjyM0KB//VHF
 8HXQ0sQfJHi9Zb10nnlnWDJRyuam9qewqFjZihy4IsmeKmC5eIwBZT4xVZ6JP26D
 XXSDC7sxKbo9eGy795NrJv2SC4Dy6y77R2W4bMJOG/L7t4IyIXrkCMaW2Wp3W2eh
 5+/Ism6tBhH6MXgJ1lEW2kV/hwSqQLMclM/WrFcJcONQ4UPbdGsjfnDadjCl7TCo
 LLGmde2HtcjPobiL7BlsR815JwFkUrIo9aityixDOvlkVLoKDF+Td94TMbirifqU
 eXiXgvxZPXvZQbva5999zRXkhnX/bdenFCdvc+pxsy0geDTKSfLOedrzwMl5ORFc
 ZqmNXS9HovVzyeR5g/YEMI7Cbjck/f/wzk3QUzUdn2EDx1/3AVCOdhTsyICGvvpC
 KWHtt71KOIlWHN34IFtx3nzqcsOyQFKOrFIwR1oO4z7W+hBSXsXwtYaRkTNNTm5e
 A2haGjGRPmBwDGU47auLht0seJjmiwwB5r+XB6rOcQk9uGRNN3Hi3nqyzbSTJW7w
 NBZH5r7egMML44LVx/m7ThINvEjJbY7/OHyNKKdJabYx9ZxXy2Gbu2rpVtwcIdSt
 Vl4Lhc0d98Fys4RDnV4ShyTJX/4Zb6ecoyYpkCEkBdieyswj4VEXXURAaOsSBmq4
 hZJviCJDujD44Gdt4PqR
 =6neG
 -----END PGP SIGNATURE-----

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

Pull "Samsung DTS ARM changes for v4.14, part 2" from Krzysztof Kozłowski:

Fix PCI bus dtc warnings.

* tag 'samsung-dt-4.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  ARM: dts: exynos: fix PCI bus dtc warnings
2017-08-23 21:48:05 +02:00
Arnd Bergmann 9e3d3619e1 Samsung mach/soc changes for v4.14, part 2
Fix NAND ECC mode for mini2440 board.
 -----BEGIN PGP SIGNATURE-----
 
 iQIcBAABCAAGBQJZna0CAAoJEME3ZuaGi4PXh+EP/0J4owzvP50bdgwNyxgKAdrN
 DRNVnFczIX9WVwjnLKZrEfScFNdh/4rH5nWQf+uepaNFtZI0QHnVjXmasknF9S3U
 FKv0SSvlPSzOH2WV8h9JUh8efSznj5oKMb4nd+/N1ny/VCFKR4OFYciGBV7xD29W
 kZ69yVC3VsCDN+d1uFOu8sjWWFBilag+PunmepBCvqU0E1a2zgtR7rICPoQ4PJhx
 4KLYE8f7qwkapkrITvbB1/BMVP3/C73+2lx6+VK4Nb20np9FtcuYQDuePgJ0asbu
 NyRIjiPuAF3ZhxIvTR2A4D7ObQhCrV9D538QqMYfFJUGO2rKU8sh/3VwSFoTjNi3
 djneKugR19SbsoZDs6byXwfUKgzNpqRMvhx7XKNCNYK9XTxL7dme1WVyjFuRnd82
 ojyAxrvrh7P49K0g9264RM1v6n9RpyNSc53gE5E4R7tKFaruKRGKe4x8xBh89IiJ
 p2Br6c/y4lESA72ueW0+RSbDxW7I129qu6cHW7WaCYlUY8GQVoXoIPYdYZu1L6aJ
 4Ow8x4ufTDdK2/sTaA6d2Jjli2wlhzpH2bczwGNcIo72+LChorgjQkDcrmeXw99e
 tSzfWHiZkV31/UkcR6rzeGaUrSjTtg0r8zruxIoSyb8HH8CbFyKdkxpoP/KLWhWw
 ivAZKctJY3nAW7Ure3A+
 =nsr5
 -----END PGP SIGNATURE-----

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

Pull "Samsung mach/soc changes for v4.14, part 2" from Krzysztof Kozłowski:

Fix NAND ECC mode for mini2440 board.

* tag 'samsung-soc-4.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  ARM: s3c24xx: Fix NAND ECC mode for mini2440 board
2017-08-23 21:46:48 +02:00
Hans Verkuil 93a4c8355e ARM: dts: exynos: add needs-hpd for Odroid-XU3/4
CEC support was added for Exynos5 in 4.13, but for the Odroids we need to set
'needs-hpd' as well since CEC is disabled when there is no HDMI hotplug signal,
just as for the exynos4 Odroid-U3.

This is due to the level-shifter that is disabled when there is no HPD, thus
blocking the CEC signal as well. Same close-but-no-cigar board design as the
Odroid-U3.

Tested with my Odroid XU4.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2017-08-23 21:43:29 +02:00
Arnd Bergmann dbeb0c8e84 ARM: at91: don't select CONFIG_ARM_CPU_SUSPEND for old platforms
My previous patch fixed a link error for all at91 platforms when
CONFIG_ARM_CPU_SUSPEND was not set, however this caused another
problem on a configuration that enabled CONFIG_ARCH_AT91 but none
of the individual SoCs, and that also enabled CPU_ARM720 as
the only CPU:

warning: (ARCH_AT91 && SOC_IMX23 && SOC_IMX28 && ARCH_PXA && MACH_MVEBU_V7 && SOC_IMX6 && ARCH_OMAP3 && ARCH_OMAP4 && SOC_OMAP5 && SOC_AM33XX && SOC_DRA7XX && ARCH_EXYNOS3 && ARCH_EXYNOS4 && EXYNOS5420_MCPM && EXYNOS_CPU_SUSPEND && ARCH_VEXPRESS_TC2_PM && ARM_BIG_LITTLE_CPUIDLE && ARM_HIGHBANK_CPUIDLE && QCOM_PM) selects ARM_CPU_SUSPEND which has unmet direct dependencies (ARCH_SUSPEND_POSSIBLE)
arch/arm/kernel/sleep.o: In function `cpu_resume':
(.text+0xf0): undefined reference to `cpu_arm720_suspend_size'
arch/arm/kernel/suspend.o: In function `__cpu_suspend_save':
suspend.c:(.text+0x134): undefined reference to `cpu_arm720_do_suspend'

This improves the hack some more by only selecting ARM_CPU_SUSPEND
for the part that requires it, and changing pm.c to drop the
contents of unused init functions so we no longer refer to
cpu_resume on at91 platforms that don't need it.

Fixes: cc7a938f5f ("ARM: at91: select CONFIG_ARM_CPU_SUSPEND")
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2017-08-23 17:31:39 +02:00
Frank Wang 274ff50d3a ARM: dts: rockchip: enable usb for rv1108-evb
Rockchip's rv1108-evb board has one usb otg controller and one usb
host controller, each usb controller connect with one usb-phy port
through UTMI+ interface. This patch enables them to support usb on
rv1108-evb board.

Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2017-08-23 09:24:51 +02:00
Frank Wang 24f9f5bb52 ARM: dts: rockchip: add usb nodes for rv1108 SoCs
This patch adds usb otg/host controllers and phys nodes for RV1108 SoCs.

Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2017-08-23 09:24:04 +02:00
Cédric Le Goater bcbd328d3f ARM: dts: aspeed-g4: fix AHB window size of the SMC controllers
The window of the Aspeed AST2400 SMC Controllers to map chips on the
AHB Bus has a 256MB size. The full window range is

    [ 0x20000000 - 0x2FFFFFFF ] for the FMC controller
    [ 0x30000000 - 0x3FFFFFFF ] for the SPI controller

This change requires CONFIG_VMSPLIT_2G to be set.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Joel Stanley <joel@jms.id.au>
2017-08-23 16:06:02 +09:30
Joel Stanley 652213cd10 ARM: config: aspeed: Add I2C, VUART, LPC Snoop
These drivers have been recently upstreamed, so add them to the
defconfigs.

Acked-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
2017-08-23 16:04:42 +09:30
Cédric Le Goater ea1ef2242c ARM: configs: aspeed: Update Aspeed G4 with VMSPLIT_2G
This is required for the SMC controller mapping windows on the AHB
Bus.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Joel Stanley <joel@jms.id.au>
2017-08-23 15:50:05 +09:30
Andy Yan be2d026f61 ARM: dts: rockchip: add cpu power supply for rv1108 evb
The cpu is powered by regulator vdd_core on RV1108 evalution
board. Add it to the cpu dt node.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2017-08-23 01:31:26 +02:00
Andy Yan 38baa5a90c ARM: dts: rockchip: add cpu opp table for rv1108
Add cpu opp table for rv1108 to support frequency
from 408MHZ to 1008MHZ.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2017-08-23 01:30:47 +02:00
Shubham Bansal 39c13c204b arm: eBPF JIT compiler
The JIT compiler emits ARM 32 bit instructions. Currently, It supports
eBPF only. Classic BPF is supported because of the conversion by BPF core.

This patch is essentially changing the current implementation of JIT compiler
of Berkeley Packet Filter from classic to internal with almost all
instructions from eBPF ISA supported except the following
	BPF_ALU64 | BPF_DIV | BPF_K
	BPF_ALU64 | BPF_DIV | BPF_X
	BPF_ALU64 | BPF_MOD | BPF_K
	BPF_ALU64 | BPF_MOD | BPF_X
	BPF_STX | BPF_XADD | BPF_W
	BPF_STX | BPF_XADD | BPF_DW

Implementation is using scratch space to emulate 64 bit eBPF ISA on 32 bit
ARM because of deficiency of general purpose registers on ARM. Currently,
only LITTLE ENDIAN machines are supported in this eBPF JIT Compiler.

Tested on ARMv7 with QEMU by me (Shubham Bansal).

Testing results on ARMv7:

1) test_bpf: Summary: 341 PASSED, 0 FAILED, [312/333 JIT'ed]
2) test_tag: OK (40945 tests)
3) test_progs: Summary: 30 PASSED, 0 FAILED
4) test_lpm: OK
5) test_lru_map: OK

Above tests are all done with following flags enabled discreatly.

1) bpf_jit_enable=1
	a) CONFIG_FRAME_POINTER enabled
	b) CONFIG_FRAME_POINTER disabled
2) bpf_jit_enable=1 and bpf_jit_harden=2
	a) CONFIG_FRAME_POINTER enabled
	b) CONFIG_FRAME_POINTER disabled

See Documentation/networking/filter.txt for more information.

Signed-off-by: Shubham Bansal <illusionist.neo@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-08-22 09:26:43 -07:00
Arnd Bergmann 02fba04ebf Enable driver for display used on Lego Mindstorms
EV3.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJZmsALAAoJEGFBu2jqvgRNPO0QAJHUbzCCvH5hFEnFpPvrowly
 SQ382edzoUxAAwMw59+vrLK4J8alLCl9j7fcxJZknoXvlLCtl0ybds3GXoF6DfTG
 rCHmk4IkSFRsULNuU0p4ATMR5++ybQqSwSiS4Bq1/lfJvJJ2KNJi06M+Ic4otTLN
 awXQ+jppk2EIis5gjfa5V03L/4sKJk/ksSaFdiiv2n2j8hE8NXwNL+T6b0py7bRk
 3C09FHZpKAx5UqdAeDeu904FihLe6gEfldDpUN23kO9hHjuGIP264mlZ2pDDkHGU
 JTKyh8qvrLiV986iezZmuXfXDVI4SsvA/KZYMWRFab+K6g5O4JxKY7aWWfcoJNSj
 tspFJvFlJzKROoH9Pfrwn6EDLcXL//cTwE4siIwyvOIl+805x+HXs7wdCCFa53JQ
 Ft1pXmMz5Gx3H6li6VNPXfZI7Sz5ETy5P3H4//i/+GhHUfpnn3YVVFoNpRk8xizr
 pZN+N3hCt6wkE5n/uuDnrtYeYKKr62z3noYGczVB5M66omg3iYdWiu6llpjPz73f
 m2uZlFVGIMhpuECWfwwkWyIFMEzhjJOj+YqC5gYZz/HQII7q+gno9P8yY+m5x9Wj
 GR0Xw2JP6UjZPW8LglQbEAviW+S8540aaraDyjVuKXc3iN1rzrHVtZl2actPelAB
 tJav2PmRFWdbW+hQ+maC
 =iS7O
 -----END PGP SIGNATURE-----

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

Pull "Enable driver for display used on Lego Mindstorms EV3"
from Sekhar Nori:

* tag 'davinci-for-v4.14/defconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci:
  ARM: davinci_all_defconfig: enable tinydrm and ST7586
2017-08-22 17:47:21 +02:00
Arnd Bergmann 94717836b7 Add device-tree node for display on Lego Mindstorms EV3
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJZmsEEAAoJEGFBu2jqvgRNhEoP+QHObLUik9DeE+k+3GksM7u0
 Z02NEUh0BC+SfjsHIRN2Z+yvg7t6t06R75oxT71VMSGsteazwM9wMuRy4KMRjprO
 604eFVaoDbZ+wrlNmK2OVfip4YehphExDk4dxLs3c/OqZi8nywYCmPf3KqNvxuQK
 3KZE68M33FqJl1jToDhSYq5BIoki85dWbu/T1uPJLNiC/sJRAZUpd7XX9HvnBFU7
 6HjiuzJ+wUK9QF5a2kBy2p/jUXtLIZvnoiifSGivES6MZZouOu43GaCCAQtmDEyT
 k/iOphOZsRUt59U/sod7+C3RA7TnMY9qgoybgFC7JLkaLTjWACL81Qz/yi3qMXR4
 mKJqrS+kv+QbX274raNJsWxDqPI3DxTgMGFIEXXlwP1aN7GjwZltKrUk8vs2clIZ
 xd6O/I2IzEY/62thuKBCczUBr6vpXXvehMBBPvDrzWIikHJMe2R+wLt2C491VfMe
 lZyPbwH3FHflZn/M0kc+F1fYFQT8S97G2pFU/j94fUh4i09O4MKoqpXSVW3OZgZA
 34KeEn4MXqkY3r+RGijkxvF3kb4gYGRHLaSE6yoQzYDUPgnGxkdxPt/cQkmSC1hU
 LWdAkfMOPgZlKPFc+gbaNt+7XcHwADmxPH1JvMmuPR4HYll5j2p26rkrK/JIg8gc
 pXsFwNWyTOR0g5Ltjt+/
 =4jYT
 -----END PGP SIGNATURE-----

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

Pull "Add device-tree node for display on Lego Mindstorms EV3" from Sekhar Nori:

* tag 'davinci-for-v4.14/dt' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci:
  ARM: dts: da850-lego-ev3: Add node for LCD display
2017-08-22 17:46:18 +02:00
Linus Walleij 919096f7f3 cpufreq: dbx500: Delete obsolete driver
We have moved the Ux500 over to use the generic DT based
cpufreq driver, so delete the old custom driver.

At the same time select CPUFREQ_DT from the machine's
Kconfig in order to satisfy the "default ARCH_U8500"
selection on the old driver.

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2017-08-22 15:50:02 +02:00
Arnd Bergmann 840fa4a080 arm: Xilinx Zynq DT fixes for v4.14
- Remove earlycon
 - Use C pre-processor
 - Add fpga full region
 - Add ethernet-phy as device-type
 - Add adv7511 nodes to zc70x
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iEYEABECAAYFAlmaypgACgkQykllyylKDCEpkACgkWAijGmJRMDb5HvrH7npUkwz
 QRkAnjQCUrRIO5RbuXob5fIZurV2kMwn
 =7Ggj
 -----END PGP SIGNATURE-----

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

Pull "arm: Xilinx Zynq DT fixes for v4.14" from Michal Simek:

- Remove earlycon
- Use C pre-processor
- Add fpga full region
- Add ethernet-phy as device-type
- Add adv7511 nodes to zc70x

* tag 'zynq-dt-for-4.14' of https://github.com/Xilinx/linux-xlnx:
  arm: zynq: Remove earlycon from bootargs
  arm: zynq: Use C pre-processor for includes in dts
  arm: zynq: Label whole PL part as fpga_full region
  arm: zynq: Add device-type property for zynq ethernet phy nodes
  arm: zynq: Add adv7511 on i2c bus for zc70x
2017-08-22 15:31:38 +02:00
Linus Walleij a435adbec2 ARM: dts: augment Ux500 to use DT cpufreq
This adds the operating points to the Ux500 device tree and
deletes the old special-purpose cpufreq node, as we can now
use the generic DT cpufreq driver.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2017-08-22 15:29:15 +02:00
David S. Miller e2a7c34fb2 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-08-21 17:06:42 -07:00
Simon Xue 4e1b222d80 ARM: dts: rockchip: add rk322x iommu nodes
Add VPU/VDEC/VOP/IEP iommu nodes

Signed-off-by: Simon Xue <xxm@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2017-08-21 23:16:36 +02:00
Sylwester Nawrocki 225bd1de16 ARM: s3c24xx: Fix NAND ECC mode for mini2440 board
After commit e9f66ae23c ("mtd: s3c2410: make ecc mode configurable via
platform data") booting of the mini2440 board is broken, since
for this board we have CONFIG_MTD_NAND_S3C2410_HWECC set. The console
gets flooded with errors reported by the mtd subsystem.
This patch changes ecc_mode to NAND_ECC_HW which restores proper
operation of the NAND flash memory.

Cc: Sergio Prado <sergio.prado@e-labworks.com>
Fixes: e9f66ae23c ("mtd: s3c2410: make ecc mode configurable via platform data")
Signed-off-by: Sylwester Nawrocki <snawrocki@kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
2017-08-21 19:50:51 +02:00
Michal Simek 21ad06cc9e arm: zynq: Remove earlycon from bootargs
Earlyconsole is used for early kernel debugging that's why this option
shouldn't be enabled by default.
Earlyconsole is partially copying the part of the bootlog after
"bootconsole [uart0] disabled".

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
2017-08-21 13:54:42 +02:00
Michal Simek 1188c024f2 arm: zynq: Use C pre-processor for includes in dts
Change the dtsi include code to use the C pre-processor #include instead
of the device tree /include/. This brings all Zynq device trees inline
with each other.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
2017-08-21 13:52:56 +02:00
Michal Simek 3c220bf420 arm: zynq: Label whole PL part as fpga_full region
This will simplify dt overlay structure for the whole PL.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
2017-08-21 13:52:49 +02:00
Sai Pavan Boddu e5e6f6872c arm: zynq: Add device-type property for zynq ethernet phy nodes
Mention device-type = "ethernet-phy", as qemu will need this in absence
of compatible.

Signed-off-by: Sai Pavan Boddu <saipava@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
2017-08-21 13:52:43 +02:00
Christian Kohn b090348922 arm: zynq: Add adv7511 on i2c bus for zc70x
Describe adv7511 on i2c bus.

Signed-off-by: Christian Kohn <christian.kohn@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
2017-08-21 13:52:35 +02:00
David Lechner 2798c4b75a ARM: dts: da850-lego-ev3: Add node for LCD display
This adds a new node for the LEGO MINDSTORMS EV3 LCD display.

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2017-08-21 16:45:11 +05:30
David Lechner 8c0b16fb33 ARM: davinci_all_defconfig: enable tinydrm and ST7586
This enables the tinydrm and ST7586 panel modules used by the display
on LEGO MINDSTORMS EV3.

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2017-08-21 16:28:24 +05:30
Andy Yan 684bcba8ec ARM: dts: rockchip: add accelerometer bma250e dt node for rv1108 evb
Add dt node of bosch accelerometer bma250e on rv1108 evb.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2017-08-21 11:52:00 +02:00
Andy Yan a6e31eb34b ARM: dts: rockchip: add pmic rk805 dt node for rv1108 evb
RK805 is used as the voltage regulator on rv1108 evaluation
board. Add device tree node for it.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2017-08-21 11:47:47 +02:00
Ingo Molnar 94edf6f3c2 Merge branch 'for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu into core/rcu
Pull RCU updates from Paul E. McKenney:

 - Removal of spin_unlock_wait()
 - SRCU updates
 - Torture-test updates
 - Documentation updates
 - Miscellaneous fixes
 - CPU-hotplug fixes
 - Miscellaneous non-RCU fixes

Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-08-21 09:45:19 +02:00
Ard Biesheuvel e4bae4d0b5 arm/efi: Split zImage code and data into separate PE/COFF sections
To prevent unintended modifications to the kernel text (malicious or
otherwise) while running the EFI stub, describe the kernel image as
two separate sections: a .text section with read-execute permissions,
covering .text, .rodata, .piggytext and the GOT sections (which the
stub does not care about anyway), and a .data section with read-write
permissions, covering .data and .bss.

This relies on the firmware to actually take the section permission
flags into account, but this is something that is currently being
implemented in EDK2, which means we will likely start seeing it in
the wild between one and two years from now.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Matt Fleming <matt@codeblueprint.co.uk>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-efi@vger.kernel.org
Link: http://lkml.kernel.org/r/20170818194947.19347-12-ard.biesheuvel@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-08-21 09:43:51 +02:00
Ard Biesheuvel 609eaf0748 arm/efi: Replace open coded constants with symbolic ones
Replace the various open coded constants in the EFI PE/COFF header with
definitions from pe.h, or expressions based on local symbols.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Matt Fleming <matt@codeblueprint.co.uk>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-efi@vger.kernel.org
Link: http://lkml.kernel.org/r/20170818194947.19347-11-ard.biesheuvel@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-08-21 09:43:50 +02:00
Ard Biesheuvel 574cea724c arm/efi: Remove pointless dummy .reloc section
The kernel's EFI PE/COFF header contains a dummy .reloc section, and
an explanatory comment that claims that this is required for the EFI
application loader to accept the Image as a relocatable image (i.e.,
one that can be loaded at any offset and fixed up in place)

This was inherited from the x86 implementation, which has elaborate host
tooling to mangle the PE/COFF header post-link time, and which populates
the .reloc section with a single dummy base relocation. On ARM, no such
tooling exists, and the .reloc section remains empty, and is never even
exposed via the BaseRelocationTable directory entry, which is where the
PE/COFF loader looks for it.

The PE/COFF spec is unclear about relocatable images that do not require
any fixups, but the EDK2 implementation, which is the de facto reference
for PE/COFF in the UEFI space, clearly does not care, and explicitly
mentions (in a comment) that relocatable images with no base relocations
are perfectly fine, as long as they don't have the RELOCS_STRIPPED
attribute set (which is not the case for our PE/COFF image)

So simply remove the .reloc section altogether.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Matt Fleming <matt@codeblueprint.co.uk>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-efi@vger.kernel.org
Link: http://lkml.kernel.org/r/20170818194947.19347-10-ard.biesheuvel@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-08-21 09:43:50 +02:00
Ard Biesheuvel 4415f9f4a6 arm/efi: Remove forbidden values from the PE/COFF header
Bring the PE/COFF header in line with the PE/COFF spec, by setting
NumberOfSymbols to 0, and removing the section alignment flags.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Matt Fleming <matt@codeblueprint.co.uk>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-efi@vger.kernel.org
Link: http://lkml.kernel.org/r/20170818194947.19347-9-ard.biesheuvel@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2017-08-21 09:43:50 +02:00
Arnd Bergmann e982d58c70 Allwinner device tree changes for 4.14, round 2
The usual improvements:
 
   - AXP813/AXP818 PMIC (mfd and codec) enabled for Allwinner A83T boards
 
   - USB enabled for Allwinner A83T boards
 -----BEGIN PGP SIGNATURE-----
 
 iQJCBAABCgAsFiEE2nN1m/hhnkhOWjtHOJpUIZwPJDAFAlmX8QEOHHdlbnNAY3Np
 ZS5vcmcACgkQOJpUIZwPJDBrBQ/+ILnPeKzSWzFJxZY+39CmW2rn6e4lpp+0C2zX
 RomyujDgd3vUCDWxS5S/ut5lXk1uwEynMNthujMTHe8G+9J8i6glMf1T3jwOBngO
 Wpfau0VZnyOlJMwLcbla6/pRFVEWSBWSI/xsq2xYw9viXSzEz617eZqE/n+KDkCl
 WqM1805xr0L3e+tge5IbjEPzPz70YIYRzJEQdPYo/d7W8cNWnutqtangy4GORiNL
 QhJXChw9FM4/z1eziKHcIz0TYuN6n/lNazPPnxab3mTg8maSxbS3WS4o2g//QRKK
 +l6FgPLpIUUs6t47D0GKYCoDSkF9Jgd4OG/hXQ3W2n3w6PZ04vjNSFINophi7cUa
 Xfbtzv/a5W+OrUOThCVdPzC5NGx1XXSWRWvBPnhuZcNoAbvtgZ2WOoKfNCPwKW9c
 KYHeJpNfMWkDhIJEZG3ngc7RWc/xBX2LqAyHhkz5yMOmeRoJqG6IPKg+eZAr6l2w
 TWf1ocVD4hUGnpCU1F9/vjLowq4clpPtxE2RaO1u6iZPl9vRLmtexwyroDefTDsg
 VpN6YNk3wTu4LiBsG34EEZwZLmE8Pp0/m+Uf4nwnFZKYsTXvUHdyhmllSg8zIm+5
 8xTVB8rxuZ3kTA5C++YxSfMwST4u/N+GgB0bcvq4alSsuWIIxhaClLApCzNCmBAA
 hwcWW3I=
 =gJS6
 -----END PGP SIGNATURE-----

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

Pull "Allwinner device tree changes for 4.14, round 2" from Chen-Yu Tsai:

The usual improvements:

  - AXP813/AXP818 PMIC (mfd and codec) enabled for Allwinner A83T boards

  - USB enabled for Allwinner A83T boards

* tag 'sunxi-dt-for-4.14-2' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux:
  ARM: sun8i: a83t: h8homlet-v2: Enable USB ports
  ARM: sun8i: a83t: cubietruck-plus: Enable onboard USB peripherals
  ARM: sun8i: a83t: Add device node for USB OTG controller
  ARM: sun8i: a83t: Add USB PHY and host device nodes
  ARM: sun8i: a83t: h8homlet-v2: Enable AC100 combo chip in AXP818 PMIC
  ARM: sun8i: a83t: h8homlet-v2: Enable PMIC part of AXP818 PMIC
  ARM: sun8i: a83t: cubietruck-plus: Enable AC100 combo chip in AXP818 PMIC
  ARM: sun8i: a83t: cubietruck-plus: Enable PMIC part of AXP818 PMIC
  ARM: sun8i: a83t: Add device node and pinmux setting for RSB controller
2017-08-21 09:27:37 +02:00
Sean Young b9e1486e0e media: rc-core: do not depend on MEDIA_SUPPORT
There is no dependency between the two, so remove the dependency in
Kconfig files.

Signed-off-by: Sean Young <sean@mess.org>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-08-20 09:39:36 -04:00
Chen-Yu Tsai 359b5a1e1c ARM: sun8i: a83t: Add device tree for Sinovoip Bananapi BPI-M3
The BPI-M3 is an Allwinner A83T based SBC in the Bananapi/Bpi family.
It is roughly the same form factor as the BPI-M1+, with roughly the
same peripherals and connectors:

  - 2GB LPDDR3 DRAM
  - 8GB eMMC
  - Micro-SD card slot
  - HDMI output
  - Headset (stereo + mic) jack
  - Onboard mic
  - Gigabit Ethernet with RTL8211E transceiver
  - Ampak AP6212 WiFi + BT
  - USB OTG connector
  - USB-to-SATA bridge connected through a USB 2.0 hub
  - Consumer IR receiver
  - MIPI DSI LCD panel connector
  - Camera interface (parallel and MIPI CSI) connector
  - 3 LEDs (Red, Green, Blue), of which 2 are controllable (GB)
  - Raspberry Pi 2 compatible GPIO header

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
2017-08-19 11:13:25 +08:00
Andy Yan b67377430e ARM: dts: rockchip: add pwm backlight for rv1108 evb
RV1108 EVB uses pwm0 modulate the backlight, add dt
node to enable it.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2017-08-19 00:53:03 +02:00
Andy Yan 0c2d34aae2 ARM: dts: rockchip: add pwm dt nodes for rv1108
Add pwm device tree node for rv1108 soc

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2017-08-19 00:49:57 +02:00
Arnd Bergmann 2ad93fa37f Non-urgent fixes for omaps for v4.14 merge window. These all
can wait for the merge window as we have not seemed to hit
 any of these so far:
 
 - Fix error handling in omap_ocp2scp_probe affecting runtime
   PM error path
 
 - Drop broken RPM status update for omap_device
 
 - Two fixes for of_irq_get() usage that can return 0
 -----BEGIN PGP SIGNATURE-----
 
 iQJFBAABCAAvFiEEkgNvrZJU/QSQYIcQG9Q+yVyrpXMFAlmV1ZwRHHRvbnlAYXRv
 bWlkZS5jb20ACgkQG9Q+yVyrpXOggBAAww/zeW/QgmQjVgcDlVRYYM+ZgJNnhZB8
 BMZzXXr0+OGmpdC6oV3134Ww+ZDRacRWZIAL8fTqLm1eoCb0BJDGcwh3yleLoVqG
 AS96ogWrZjlLvu2KQXnJeZCksEpkgxm+8HJTn2uw3x3TRIqx8s//vA39wufV3BN0
 mWSiolH0ri4/ucIPYVCLXJMF6/h0L8yVg8xmNxUlSAAgvBgewDjgp85WF/vsdiG1
 /gzbO7cgy0mUxH0uBpi0LoSr3cFkzO6/p5oM4+613BoI7qK3KRQFt3hWB5JG0Z0C
 ldRfFSANjzKTadzxjh74fWIoItIKw1Pa8vnuqMtXP8Rse9/h9fukbdlwDJfeH2lA
 7fZC033SLvHcY8xwhwohtzKEM8FhdIWis8pZIA8AL8u/B4tRFKKjDq0ePWfWNvTF
 ceuC/7DdbmmVejFTie6ddSHl/BqCNV7p+L9obAdIrxfZqFXA2OdAlBc49vUeByeP
 SlrfwXDOsYqOyuDmgQXZtOW2ZobbVbQjV16YLN5myZfkMACALdt2mpr/Lpg0lwSg
 tmkmeXwLSmwFtJbJpLYt+Fh08Pgh05q27y5h3xyAyGn1x2Ie7fpNqlS7X5lYn/9f
 7oHykqzNbVzVvioBl6DBfYdofoBt1OXK8zi/ThaMeqAo0IclTfhrJwGwfJWnGMyi
 rklzIc0WwKQ=
 =+wbL
 -----END PGP SIGNATURE-----

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

Pull "non-urgent fixes for omaps for v4.14" from Tony Lindgren:

Non-urgent fixes for omaps for v4.14 merge window. These all
can wait for the merge window as we have not seemed to hit
any of these so far:

- Fix error handling in omap_ocp2scp_probe affecting runtime
  PM error path

- Drop broken RPM status update for omap_device

- Two fixes for of_irq_get() usage that can return 0

* tag 'omap-for-v4.14/fixes-not-urgent-v2-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  ARM: OMAP4+: PRM: fix of_irq_get() result checks
  ARM: OMAP3+: PRM: fix of_irq_get() result check
  ARM: OMAP2+: omap_device: drop broken RPM status update from suspend_noirq
  bus: omap-ocp2scp: Fix error handling in omap_ocp2scp_probe
2017-08-19 00:07:56 +02:00
Arnd Bergmann ac9ae4dfff ARM: tegra: Changes for v4.14-rc1
Contains a single fix for platforms with more than 2 GiB of memory
 running on a kernel with LPAE enabled.
 -----BEGIN PGP SIGNATURE-----
 
 iQJHBAABCAAxFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlmW+8ATHHRyZWRpbmdA
 bnZpZGlhLmNvbQAKCRDdI6zXfz6zocORD/9yp/PI/vuF1pn5fZ/pNomw3MzMbvT3
 am+w3L42Rt3JMfnX6hZyFgD7CeMuFeZu6HxeXmift7hWirmLeGlExPG2K44goBjr
 a3x520XVGkZ/sIRNtJ+5bXx+7de4+7b08s6Prrdx0wfGNhmQtpbr3ghDnd6GUKp3
 phThCBGJf2t2wozc0vmXa5GUhJWf5yHOsp69U3U46uxW3Xm5o8EzSh21J+2uO35Z
 spFkJvfbHcK957UrWkjaMUd9G2Hhj21305axJUy1uu9okFpwMEbqVEus4NgkxME4
 PGwM6922FQtplLs9rWNe2yTPz9YJzTw6qyv54tr0xaeoOERk4VC8nmSYcwQ5UCs6
 QuwcvpfCsmPQDo4cduvrTuRBBgQZENOH9jHUP9V2NqOISmGE8yUBGeDsVQnI38C7
 gSIQkBkeJzbVIY8ykAb5LdiiJwfbBBuon0CQtcXC6E9ZAO+kp/N0F7xQU5L1YGBN
 L5p8RApFOyRTqi7986XdOju91oGRg/GK/lkf7AifL5jsYaKA/SoQALi9QiGeluOW
 Fc1uUUu8gR6FrMPKRXgnDOzw1M9cLXrWKpKHCpEKDG5cbJB5yJzSoBr45v75GtZj
 dXW6mGmjpyFoVMCvvQ5W6b818wwqV0E3E4fXPDCQyrY6oBKGuvqolih4ncrPI3Si
 CyTV0Ec9dy+1NQ==
 =1dt0
 -----END PGP SIGNATURE-----

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

Pull "ARM: tegra: Changes for v4.14-rc1" from Thierry Reding:

Contains a single fix for platforms with more than 2 GiB of memory
running on a kernel with LPAE enabled.

* tag 'tegra-for-4.14-arm-core' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  ARM: tegra: Select appropriate DMA options for LPAE
2017-08-18 23:36:09 +02:00
Arnd Bergmann f2970be50a soc/tegra: Changes for v4.14-rc1
Contains a fix for unbalanced reference counting of device tree nodes in
 the PMC-based generic power domains code.
 
 A second change moves the SoC device registration code from its old
 location in arch/arm/mach-tegra to drivers/soc/tegra so that it can be
 shared between 32-bit and 64-bit ARM Tegra SoCs.
 -----BEGIN PGP SIGNATURE-----
 
 iQJHBAABCAAxFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlmW+3ITHHRyZWRpbmdA
 bnZpZGlhLmNvbQAKCRDdI6zXfz6zocmaEACeb9YuHAXaLz4ujzE8JiDmjIIKTtbd
 16d75z/d29vVfxCzKAV7yzqugJjPsvc1J6IsWA5g9m+0O36chgpqaQq6AOmTP4us
 zE9WRXG922aGu3++9YQVFA3I+ew/9SKBMDJ53JptP8oQsHNERolgNgV5OAeX1SQ7
 XBrGLvsnLWtYIj4QjtkbTQhRy8/O7r4kl/mNWuh5LP+dmYA5dfd8v2d2w2xBGKua
 4w9f1iLK8fJnBoRXNZj+e/d4LFsYuZcElsqQ46fHN0APAjg9TBuTvYGTAmWeAP8b
 VEKjTR1Jaix8XLxyjjIivEUT591BnO15NLfZ3yC8/1wY64daRtE3oFuH3VLM5fgt
 E1mrIAd3SJSt2zD/ubh1+Dm21e7bXehajsb+AL6t6wheHbVlM4jf0rjszzGGZof6
 s76IY1WcuSYQYx0u0S3upPGBcjPqw+JEf/4hJQ8H/RXpx70v1KDP4dUW6PR58jxk
 cPZeOtcqLGWvCfg04/U20OjWn2mpVDU1Gbr7nO5J0xyam/IG7fiDgU4hFLC7HqoE
 q67QI7/kssGRmYuWQMBu+cqLj6saOXTUDLvGCrN508r04HbuVwhK4t42P+tmaK8G
 ujDNcsdcekjvWn7tgxm5LV7m0puCWbblBwV2WTaFaR5Jv/EKRBQisBByDndNxy8h
 lFV8tbUTL8tvNw==
 =Qbm4
 -----END PGP SIGNATURE-----

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

Pull "soc/tegra: Changes for v4.14-rc1" from Thierry Reding:

Contains a fix for unbalanced reference counting of device tree nodes in
the PMC-based generic power domains code.

A second change moves the SoC device registration code from its old
location in arch/arm/mach-tegra to drivers/soc/tegra so that it can be
shared between 32-bit and 64-bit ARM Tegra SoCs.

* tag 'tegra-for-4.14-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  soc/tegra: Register SoC device
  soc/tegra: Fix bad of_node_put() in powergate init
2017-08-18 23:29:52 +02:00
Arnd Bergmann 9da95d8f5b - add mt7623a smp support
- scpsys: reduce code duplication
 - scpsys: add mt7622 support
 - pmic wrapper: make of_device_ids constant
 -----BEGIN PGP SIGNATURE-----
 
 iQJLBAABCAA1FiEEiUuSfQSYnG8EMsBltDliWyzx00MFAlmVfMEXHG1hdHRoaWFz
 LmJnZ0BnbWFpbC5jb20ACgkQtDliWyzx00MGyw//b1Ax9tAl+eX1phkU5r/sdyd6
 KS72i4pMo4yyyuoPCLKhpwH2rL1UrgY/T6f6bEyVf6KNhzgUvx1P4Y5PSpo2R+Jv
 AJ9lIypXCxUvmrQL5FOuQ+8SY694SSm1IBsoJ70pNA+/m7//Yfk0eiueUa7epNI0
 dhrHOvNaZPQbnCUjFa+qdkK8x04MoAKUQcq9sp1vpcvYTL7V6OrW2V6kc0iqwaN1
 G91QW2r+XAgO1KA1PIMqC8E9v06dhYWuaPI3SMCIqp/NFnNZA8j58KySzW7+nB/B
 7IlDARYDyzokw/JTUuWSlOOPh425xVSExidkTbCgb7m0Lt8i3CvW89yXsqKSL/+U
 Ezek9w/rJNGb5OoLhT1xQfy6XrXFCW78gl9HKZhbrM1eBiEeJctLlmQula57nyJH
 qIlCMjuueKYHUKTGT5LXidNbGesfx4vLt6v803XouF4D3NCIqPahdFqtBnEfsOEO
 l1xwbTSq44VSFtUKSdRrgt6e8Uxa25ftOkbKlS8vIPcsYJ7gnK7r2/ERWNJF8F+f
 x4toGOKhOVRTRwAZIx9ncKnQp08g6jegiRHW4JrJNmPnUwwC00I06+Jiltg5KJIP
 ZqgfjXesdjD660pWl70YGMRtdUNLuNgZRnyXg1CM94CfOimUBZi2PXhoK1Wm/7sj
 Db0QrPV4DQHti15Q0ig=
 =IW3o
 -----END PGP SIGNATURE-----

Merge tag 'v4.13-next-soc' of https://github.com/mbgg/linux-mediatek into next/drivers

Pull "arm: mediatek: soc updates for v4.14" from Matthias Brugger:

- add mt7623a smp support
- scpsys: reduce code duplication
- scpsys: add mt7622 support
- pmic wrapper: make of_device_ids constant

* tag 'v4.13-next-soc' of https://github.com/mbgg/linux-mediatek:
  soc: mediatek: add SCPSYS power domain driver for MediaTek MT7622 SoC
  soc: mediatek: add header files required for MT7622 SCPSYS dt-binding
  soc: mediatek: reduce code duplication of scpsys_probe across all SoCs
  dt-bindings: soc: update the binding document for SCPSYS on MediaTek MT7622 SoC
  soc: mtk-pmic-wrap: make of_device_ids const.
  ARM: mediatek: add MT7623a smp bringup code
2017-08-18 23:27:22 +02:00
Rob Herring 2666797050 ARM: dts: versatile: fix PCI bus dtc warnings
dtc recently added PCI bus checks. Fix these warnings.

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Russell King <linux@armlinux.org.uk>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2017-08-18 23:16:17 +02:00
Rob Herring a7a34d116f ARM: dts: spear13xx: fix PCI bus dtc warnings
dtc recently added PCI bus checks. Fix these warnings.

Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Shiraz Hashim <shiraz.linux.kernel@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2017-08-18 23:16:12 +02:00
Arnd Bergmann 81f794d701 Second Round of Renesas ARM Based SoC DT Updates for v4.14
* Use newly added Gen-3 fallback compat string
 
   This is consistent with ongoing efforts to use per-generation
   fallback strings where appropriate across devices found
   on R-Car SoCs. The aim of the effort being to strike a balance
   between the limited information available about the compatibility
   of devices found on different SoCs and the desire to ease enabling
   devices on new SoCs.
 
   This has no run-time effect due to the presence of a per-SoC
   compat string.
 
 * Enable second CPU core on RZ/G1M (r8a7743)
 
   The RZ/G1M has two CA15 cores running at up to 1.5GHz
 
 * Enable frequency scaling on RZ/G1M (r8a7743)
 
 * Add six I2C cores to RZ/G1M (r8a7743) SoC DT
 
   This is a step towards enabling these cores on boards that use this SoC
 
 * Add CEC clock for HDMI transmitter to R-Car M2-W (r8a7791) Koelsch
 
   Hans Verkuil says "The adv7511 on the Koelsch board has a 12 MHz fixed
   clock for the CEC block. Specify this in the dts to enable CEC support."
 
 * Add PFC support to RZ/G1E (r8a7745) SoC and add Ethernet and SCIF2
   pins to SK-RZG1E board.
 
   This allows the kernel to control multiplexed pins for Ethernet
   and SCIF2 rather than relying on setup inherited at boot.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJZlWSzAAoJENfPZGlqN0++hzgQAK58yzDkHbv4fyI0Y/9sflVW
 V+xHtpXEr6hHiBLejrxoahUD1ljdYOroeADRnO0td6DVdCwQDVs1MlcoDGzfSLM9
 9PKwhsCEUDWXW72AZMym8P/sng8LzFffLJx8m71aMTHAGLiLGCis3aUxiDtqNWNG
 kx9Ouc1fGXLVm2WmKGDPF1QphAH03zhZIzqaPjNJfZoqZVPmnsIpjTbmRFjCZFbv
 l3R/Ys9O1gBarO1USww4kRsBGYhRbWHZKiPbL0iZ4T5cSiAiu9i2584opdE+Z0ty
 OXsrAMTZPXmkwOVguypjPA+H77Hk4+/ACO2RVnOJ1Ois5qeVSDdPaOPdbq1pw7mn
 3WJtgyO5bfHqrniRQsAi5K2uDlL19hHc//R8lwZA2mRF23Tz/UkiCXnEkzxlAM03
 3UI7lkJvp1umK1fMZwG6sDwxj+jQ17p6M+S9LinA1vnVxK7ucLRf05IehlZHYUx0
 R6SoAhHauxjx4ZKYwB0cGpKGvwSmXCFRy/zsNdeawgjuCJKIAgPKXd0HoNkH9VoA
 eJ+qVopj9xZSHrrgkhRKKggig91/24STwzgVjhdY16cXZgYL+iN6+epXItGd6IZK
 xx0cCYarDMTPjWcICwdM4krKE/boshX9e/Ts05RQv1W4TwQ08eA8Ro5JhQDGRz4L
 Tb5gC7Wnpi0sCvyicxeD
 =G9vX
 -----END PGP SIGNATURE-----

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

Pull "Second Round of Renesas ARM Based SoC DT Updates for v4.14" from Simon Horman:

* Use newly added Gen-3 fallback compat string

  This is consistent with ongoing efforts to use per-generation
  fallback strings where appropriate across devices found
  on R-Car SoCs. The aim of the effort being to strike a balance
  between the limited information available about the compatibility
  of devices found on different SoCs and the desire to ease enabling
  devices on new SoCs.

  This has no run-time effect due to the presence of a per-SoC
  compat string.

* Enable second CPU core on RZ/G1M (r8a7743)

  The RZ/G1M has two CA15 cores running at up to 1.5GHz

* Enable frequency scaling on RZ/G1M (r8a7743)

* Add six I2C cores to RZ/G1M (r8a7743) SoC DT

  This is a step towards enabling these cores on boards that use this SoC

* Add CEC clock for HDMI transmitter to R-Car M2-W (r8a7791) Koelsch

  Hans Verkuil says "The adv7511 on the Koelsch board has a 12 MHz fixed
  clock for the CEC block. Specify this in the dts to enable CEC support."

* Add PFC support to RZ/G1E (r8a7745) SoC and add Ethernet and SCIF2
  pins to SK-RZG1E board.

  This allows the kernel to control multiplexed pins for Ethernet
  and SCIF2 rather than relying on setup inherited at boot.

* tag 'renesas-dt2-for-v4.14' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  ARM: dts: r8a7791: Use R-Car SATA Gen2 fallback compat string
  ARM: dts: r8a7790: Use R-Car SATA Gen2 fallback compat string
  ARM: dts: r8a7743: Add OPP table for frequency scaling
  ARM: dts: r8a7743: Add APMU node and second CPU core
  ARM: dts: koelsch: Add CEC clock for HDMI transmitter
  ARM: dts: sk-rzg1e: add Ether pins
  ARM: dts: sk-rzg1e: add SCIF2 pins
  ARM: dts: r8a7745: add PFC support
  ARM: dts: r8a7743: Add I2C DT support
2017-08-18 23:10:31 +02:00
Arnd Bergmann f928e1030b ARM: tegra: Device tree changes for v4.14-rc1
One fix for Tegra124 to hook the host1x device up with the SMMU.
 
 The remainder of this enables USB device mode on a couple of boards
 where the port is currently unused.
 -----BEGIN PGP SIGNATURE-----
 
 iQJHBAABCAAxFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlmW/EYTHHRyZWRpbmdA
 bnZpZGlhLmNvbQAKCRDdI6zXfz6zodegD/0Ql+A5xvkH6spXD9ElDHU0GFDSsBxz
 0m5k/G3SeLy0X01LTbrT+aQYwu+TbGlUMFfWoTzc2AZCc4dJdCcyVUc5iHLbZDlR
 ZkwW+x7jSYYGxzVCjw7iWUVWIV4nzYlK9gKVPNoy8wObBvkp47eLhoEbuMjTm6/p
 AXziTVu5CSe513Gktw6jnXyreARy1zGAbp/nrRt4zl1dFfZvuForQmVYhxqEJgvl
 ZV76Dz4UAf29tKVi2Qzv884sK7mNI0PiRk5zxo3uHMzWB4mPeDU7cfy4OsRr5Epe
 gzoKmx+Aagjlznr4C3qhH4ZgNiXki4JDSVRljMpZkd18ugGDdkjuE/EjEAvVFG6+
 hu9kx3AIrwo1A2xGvE3QzmFOlZufo6rAoosbsX/6wtJW/X9B6auGxI1NXjJmcXCC
 U/6QMtFwYreRyck5mitEoOMbvXCtriABVBKkq4VvXKAWp3g63d/cK5aZTlVoiaPj
 w6I/rQ3CdZhkGWtRDqzDglFs+28vbfsoYVsAR8g7iHYg5+BixtDudzb6BP96IOU1
 So49JjqNpOYIT4iEJQzeG7QYumHIFV/rW9OSfHS5J4tB6icrwbKjX78boen7YDqN
 VoVfSUJwNgLPBB9iQKhEo2QVbOoHOxd/88/0BkS3C3IqsWmyCroTG4vTfHWBVR2Y
 O3nMCfR5pifpOg==
 =0VoF
 -----END PGP SIGNATURE-----

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

Pull "ARM: tegra: Device tree changes for v4.14-rc1" from Thierry Reding:

One fix for Tegra124 to hook the host1x device up with the SMMU.

The remainder of this enables USB device mode on a couple of boards
where the port is currently unused.

* tag 'tegra-for-4.14-arm-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  ARM: tegra: Enable UDC on AC100
  ARM: tegra: Enable UDC on Jetson TK1
  ARM: tegra: Enable UDC on Dalmore
  ARM: tegra: Enable UDC on Beaver
  ARM: tegra: Register host1x node with IOMMU binding on Tegra124
2017-08-18 23:02:58 +02:00
Arnd Bergmann fdccc4fc45 ZTE device tree updates for 4.14:
- A clean up patch from Shawn Lin to remove the deprecated dwmmc
    property 'num-slots'.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABAgAGBQJZloxmAAoJEFBXWFqHsHzOmiYH/3dBPc18iMgsEjHJ73FUJCb8
 RvIxN/o4W60Kokm+vsrNHx3LfZYUCfgQCeHlYCHpL1jFGpwD0DBxNQ9QlMDG+TCa
 IN+c32aB0a0U0RHl+c5jKLqPy4eVvD4NNDWGVpwjSpK/MARrsKjhEwr/Yjcrj87c
 +miIiXBmTsUhzwXQF1UkK719rXI7tgZQNqO06qxJN0QxwKajZPyZzRbe1kgI1xQK
 k7F8WG3OGxyRJYRt/qnovnCv7lDX1Jk4S0ySqhocEyyqkqUOXElRARWZOyP3D8CY
 wJQIHRzlM/ffqDpbQDa17YuGmnMgsHZ/+Fa8tHvdL353Ow0TM6KkjoRGTd8F4GI=
 =WoGP
 -----END PGP SIGNATURE-----

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

Pull "ZTE device tree updates for 4.14" from Shawn Guo:
 - A clean up patch from Shawn Lin to remove the deprecated dwmmc
   property 'num-slots'.

* tag 'zte-dt-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  ARM: dts: zte: remove num-slots from zx296702-ad1
2017-08-18 23:01:42 +02:00
Arnd Bergmann 3d12971ebd i.MX device tree updates for 4.14:
- A series from Andrew Lunn updating imx6-rdu2 board to enable
    on-board Marvell switch support.
  - A series from Jagan Teki updating imx6ul-isiot and imx6ul-geam to
    enable audio card and FEC support.
  - Add support for Toradex Ixora V1.1 and Apalis Evaluation Board
    along with some cleanups.
  - Enable DRM display support for imx6ul-evk and imx7d-sdb board.
  - Add i.MX53 based Beckhoff CX9020 board support.
  - Add GPMI NAND and APBH DMA devices for i.MX7 and enables NAND support
    for imx7-colibri board.
  - Enables the ADV7180 analog video decoder sensor connected to the
    IMX6 IPU on various Gateworks Ventana boards.
  - Minor updates on misc boards and some random cleanups.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABAgAGBQJZloV7AAoJEFBXWFqHsHzOeIAH/ieM8fZEeUHO9waD4aoQJulp
 kQHbJFKlEaQrB/y9LVUmNae0w/dpOaf5k/NVtfLQAZQhMqN6Y9XFQA0fnUAgiNbs
 fknQpL6VnrO7nGUDEbIUommrRDPEVN9SEiiPpLpD938QjUDxTAibb8++QQOHC/S6
 NLQbYMvubDTaUXkOiRodLQU6U/RQ5Byzmu+ytuKjlB1la0OzMegebD/OMXZtgysx
 hcEDVBIEZmQO1TPrl5p6IZjjdHs1ua4gfRLQWq1RPXECakHJuyCPKILibyRID15j
 w0C+sTxP1uIN950VYzufrbLIdyheWHSrx0FZSWa7tnus8W+h8kBAUd6NxyHLiyU=
 =0Cwx
 -----END PGP SIGNATURE-----

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

Pull "i.MX device tree updates for 4.14" from Shawn Guo:
 - A series from Andrew Lunn updating imx6-rdu2 board to enable
   on-board Marvell switch support.
 - A series from Jagan Teki updating imx6ul-isiot and imx6ul-geam to
   enable audio card and FEC support.
 - Add support for Toradex Ixora V1.1 and Apalis Evaluation Board
   along with some cleanups.
 - Enable DRM display support for imx6ul-evk and imx7d-sdb board.
 - Add i.MX53 based Beckhoff CX9020 board support.
 - Add GPMI NAND and APBH DMA devices for i.MX7 and enables NAND support
   for imx7-colibri board.
 - Enables the ADV7180 analog video decoder sensor connected to the
   IMX6 IPU on various Gateworks Ventana boards.
 - Minor updates on misc boards and some random cleanups.

* tag 'imx-dt-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: (47 commits)
  ARM: dts: imx6q-bx50v3: Enable i2c recovery mechanism
  ARM: dts: imx6q-apalis-eval: add support for Apalis Evaluation Board
  ARM: dts: imx6: add support for Toradex Ixora V1.1 carrier board
  ARM: dts: imx6qdl-apalis: imx6q-apalis-ixora: use i2c from dwc hdmi
  ARM: dts: imx6q-apalis-ixora: add camera i2c bus definition
  ARM: dts: imx6q-apalis-ixora: get rid of obsolete fusion comment
  ARM: dts: imx6qdl-apalis: reword cam i2c comment
  ARM: dts: imx6qdl-apalis: imx6q-apalis-ixora: get rid of tegra legacy gen1_i2c comment
  ARM: dts: imx6q-apalis-ixora: combine aliases
  ARM: dts: imx6qdl-apalis: split usdhc1 pinctrl to support 4- and 8-bit
  ARM: dts: imx6q-apalis-ixora: fix usdhc2 pinctrl property
  ARM: dts: imx6ul-liteboard: Support poweroff
  ARM: dts: imx: add CX9020 Embedded PC device tree
  ARM: dts: imx53: add alternative UART2 configuration
  ARM: dts: imx53: add srtc node
  dt-bindings: arm: Add entry for Beckhoff CX9020
  ARM: dts: i.MX25: add RNGB node to dtsi
  ARM: dts: imx6ul-14x14-evk: Remove unrelated pin from ENET group
  ARM: dts: imx7d-sdb: Add flexcan support
  ARM: dts: imx7-colibri: add NAND support
  ...
2017-08-18 23:00:27 +02:00
Arnd Bergmann 522a6efef2 This pull request contains Broadcom ARM-based SoCs Device Tree changes for
4.14, please pull the following:
 
 - Eric moves the bcm2837 DT file from arm64 to arm because it created a maintenance
   problem and would have required either duplication or cross merges
 
 - Stefan changes how the pinmuxing is defined and pushes it at the board level
   to support Raspberry Pi Zero Wireless. He then adds supports for the actual
   Raspberry Pi Zero Wireless board along with binding documentation. Stefan
   also defines a proper SMP enable-method property and binding for BCM2836
   (Raspbery Pi 2)
 
 - Rafal describes the BCM5301X USB ports correctly in Device Tree such that
   it becomes possible to assign them to specific LED triggers (e.g: USB activity).
   He does the same thing for BCM53573 and defines default LED triggers for USB.
 
 - Jon provides a fix for Northstar Plus which consists in correctly defining
   the "dma-coherent" property for peripherals which are DMA coherent. He also
   does a bit of re-arrangement of the USB DT nodes and finally adds USB 3 PHY
   and host controller support for NorthStar Plus
 
 - Florian adds support for Broadcom's BCM947189ACDBMR reference board which is
   based on BCM47182/53573 and which supports external MoCA (BCM6802)
 
 - Ray fixes the wrong UART2 base address for Cygnus
 
 - Scott moves the v3d node in the proper unit address order and defines the correct
   UART alias for the BCM91130_entphn reference board to be UART3
 
 - Jason adds the DT node for the Cygnus Cortex-A9 Performance Monitoring Unit
 
 - Jonathan adds a bunch of additional peripherals to the Cygnus DTS include file:
   SDHCI, Keypad, SPI, DMA and pinmux configurations
 
 - Raveendra adds the Cygnus OHCI and EHCI Device Tree nodes
 -----BEGIN PGP SIGNATURE-----
 
 iQIcBAABCAAGBQJZldUgAAoJEIfQlpxEBwcEUIgQAIdyDJn+q+mxVhtY8m5xd7ru
 +pnSvzJoL0nNUALPez4SGRBSBsv8oH3zO77aLQcPEcy1W+FCvjGI3eh22bm5PkOO
 UASbrw5c5RfwYI/fVVkTqoZT3d4Xo4ZXTe+ML0wVS7x9Hw8ozQPBCc5hRJ7PQYaO
 U1Ttvpud354xgCFXnvtadDwwTa2W9MdPtsTkrk42Q+p06KZTlONUslAL+DI1RlUw
 Zf81r/93YzmEbsPpnG4nlW1dJTTILPE7AFQfJQ47Fg+aJ/suhYMlEH2EvxqgXhh0
 FzAWd0Zo1p83chArSQdKGEkS+RvSGuSX1D1n1ZVMO2NJZd3RSqLVy6zUB38f+5Eu
 0nOxwxWaG/isyGJ9DtMSyM7ZdgZhYSEI847DC3zOah3/kNquF/NmFFUOPzW79D53
 WJ/qvjxYZ9fcy3p2W3Vk8LSNiBeiQGQ+zodpRjTrHIBocqQUf2yxSeepGV9zeHk8
 ZwwUmtSE/qZd+MAqiki1DdUIWqHvkvOx0BbYZHLqA3ND2Vz6n6hVvMMMDo2+TyN7
 WNhOdrM7Gwt+LNYyW6Gjrvxe5wIYn6Gw3+wPbxTSZH7lBbBC/c56cR0V3nJkpuiS
 C5OwCx1Miocz61GPjKtkaYat3cnRum96X5hsadTLJ/cNscNKdIXqUkPtZ6jLs7VI
 SbSQS4Im7fdGaGeRRsj1
 =WUr3
 -----END PGP SIGNATURE-----

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

Pull "Broadcom devicetree changes for 4.14" from Florian Fainelli:

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

- Eric moves the bcm2837 DT file from arm64 to arm because it created a maintenance
  problem and would have required either duplication or cross merges

- Stefan changes how the pinmuxing is defined and pushes it at the board level
  to support Raspberry Pi Zero Wireless. He then adds supports for the actual
  Raspberry Pi Zero Wireless board along with binding documentation. Stefan
  also defines a proper SMP enable-method property and binding for BCM2836
  (Raspbery Pi 2)

- Rafal describes the BCM5301X USB ports correctly in Device Tree such that
  it becomes possible to assign them to specific LED triggers (e.g: USB activity).
  He does the same thing for BCM53573 and defines default LED triggers for USB.

- Jon provides a fix for Northstar Plus which consists in correctly defining
  the "dma-coherent" property for peripherals which are DMA coherent. He also
  does a bit of re-arrangement of the USB DT nodes and finally adds USB 3 PHY
  and host controller support for NorthStar Plus

- Florian adds support for Broadcom's BCM947189ACDBMR reference board which is
  based on BCM47182/53573 and which supports external MoCA (BCM6802)

- Ray fixes the wrong UART2 base address for Cygnus

- Scott moves the v3d node in the proper unit address order and defines the correct
  UART alias for the BCM91130_entphn reference board to be UART3

- Jason adds the DT node for the Cygnus Cortex-A9 Performance Monitoring Unit

- Jonathan adds a bunch of additional peripherals to the Cygnus DTS include file:
  SDHCI, Keypad, SPI, DMA and pinmux configurations

- Raveendra adds the Cygnus OHCI and EHCI Device Tree nodes

* tag 'arm-soc/for-4.14/devicetree' of http://github.com/Broadcom/stblinux:
  ARM: BCM53573: Specify ports for USB LED for Tenda AC9
  ARM: dts: cygnus: Add generic-ehci/ohci nodes
  ARM: dts: cygnus: add serial0 alias for uart3 on bcm91130_entphn
  ARM: dts: cygnus: Add additional peripherals to dtsi
  ARM: dts: cygnus: Enable Performance Monitoring Unit
  ARM: dts: cygnus: place v3d in proper address ordered location
  ARM: dts: cygnus: Fix incorrect UART2 register base
  ARM: dts: bcm283x: Add 32-bit enable method for SMP
  dt-bindings: arm: add SMP enable-method for BCM2836
  ARM: dts: BCM53573: Add Broadcom BCM947189ACDBMR board support
  ARM: dts: BCM5301X: Specify USB ports for USB LEDs of few devices
  ARM: dts: NSP: Add USB3 and USB3 PHY to NSP
  ARM: dts: NSP: Rearrage USB entries
  ARM: dts: NSP: Add dma-coherent to relevant DT entries
  ARM: dts: bcm2835: Add Raspberry Pi Zero W
  dt-bindings: bcm: Add Raspberry Pi Zero W
  ARM: bcm283x: Define UART pinmuxing on board level
  ARM: dts: BCM5301X: Specify USB ports for each controller
  ARM: dts: bcm283x: Move the BCM2837 DT contents from arm64 to arm.
2017-08-18 22:57:43 +02:00
Arnd Bergmann fe7a70db48 Second set of device tree changes for omaps for v4.14 merge window.
These got delayed a bit because the iodelay changes had to be
 reworked for a missing Signed-off-by. And the beagleboard-x15
 wants to use iodelay too for mmc:
 
 - A series of changes to add dra7 iodelay data used for mmc
 
 - Add support for new beagleBoard-x15 revision c
 
 - Fix logicpd-torpedo-37xx-devkit mmc card detect direction
 -----BEGIN PGP SIGNATURE-----
 
 iQJFBAABCAAvFiEEkgNvrZJU/QSQYIcQG9Q+yVyrpXMFAlmV0+MRHHRvbnlAYXRv
 bWlkZS5jb20ACgkQG9Q+yVyrpXO5lw//aPYIMinp6aR2pGlbnlzN9RksduXwKVgY
 NwtXFTBZQc8c/7IbqSn2vn/VduEw+OfnGIcV/B49TlxBpi8yWFuDkCNM95Ob1zeZ
 Mj/MLuUOIFV7NWimeFQc1qSHDRQO3y4HIVzKHLeiK85V8WsTPcfNRsUz5NeW3YmB
 72Acl/nCCwV4imtzW9dsTd2pXngw+ZqckHq3T/SZhz6fTolSGvlGd20qGfQ3kIZ5
 BgL6Ykl7WHcsUvus/ee/71QVdgLNqrEdUJKoQSMiIA6KBwuL3idYNEAGabRJA9fV
 TH0FS9Jd/b+ph4gUiWRQIhlKQe2N91pdDA37ahlOijoXdL30TiW1W5EfTg+ucd/G
 L5hVNNJXPxyBqLMruy4ejiwddXbBlRZ7vyDQULNYk3+c87zIGgo+b4rVtZTxCHim
 xRIizeQJHm86Jk/UxdEs+m3LeTGOpkCglvZuIinju1DHyUVn4AoJR98p1rNTs1y0
 +oZCZwTcx4QodncfFxUidPczzRojsUpue+8luC2EI3q0G4ATdPj8sgFzpDyZYMDQ
 8docf2rfQVT3vRAGR+HM+q6rsZHErnqBMsm6hMQzA50bo5Wqm/5VYgj+FbUZ/YqQ
 dl73PSrH8Uhm0MqQDzp1j3HjFV01ENfgMrbSZ/Wnj23JKF9z2EPqqKpUvQ95Fjf+
 BgPLlSF68aQ=
 =R16f
 -----END PGP SIGNATURE-----

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

Pull "device tree changes for omaps for v4.14, part2" from Tony Lindgren:

Second set of device tree changes for omaps for v4.14 merge window.
These got delayed a bit because the iodelay changes had to be
reworked for a missing Signed-off-by. And the beagleboard-x15
wants to use iodelay too for mmc:

- A series of changes to add dra7 iodelay data used for mmc

- Add support for new beagleBoard-x15 revision c

- Fix logicpd-torpedo-37xx-devkit mmc card detect direction

* tag 'omap-for-v4.14/dt-v3-pt2-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  ARM: dts: omap3: logicpd-torpedo-37xx-devkit: Fix MMC1 cd-gpio
  ARM: dts: am57xx-beagle-x15: Add support for rev C
  ARM: dts: dra71-evm: Add pinmux configuration for MMC
  ARM: dts: dra72-evm-revc: Add pinmux configuration for MMC
  ARM: dts: dra72-evm: Add pinmux configuration for MMC
  ARM: dts: am572x-idk: Add pinmux configuration for MMC
  ARM: dts: am571x-idk: Add pinmux configuration for MMC
  ARM: dts: am57xx-idk: Move common MMC/SD properties to common file
  ARM: dts: am57xx-beagle-x15: Add pinmux configuration for MMC
  ARM: dts: dra7-evm: Add pinmux configuration for MMC
  ARM: dts: dra74x: Create a common file with MMC/SD IOdelay data
  ARM: dts: dra72x: Create a common file with MMC/SD IOdelay data
2017-08-18 22:55:20 +02:00
Arnd Bergmann 5a9c1e12e0 ARM: tegra: Default configuration updates for v4.14-rc1
Enables the ChipIdea UDC driver and selects some symbols that were
 previously being selected by other drivers but will no longer be in
 v4.14.
 -----BEGIN PGP SIGNATURE-----
 
 iQJHBAABCAAxFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlmW/J4THHRyZWRpbmdA
 bnZpZGlhLmNvbQAKCRDdI6zXfz6zoZuOD/98l3zIq+3HsLxAbYqg+pBqGQ6ycwPL
 IoizE+vBjAB1umxYBcKw1kQj6QubVoT28UeWSjTFTK4cY36tvAdEx0ryjJP/G2MF
 Kwh0emJI2NoDeQSYoqfUM6VNvACuh/CLsTYjuYYrsM3m9qaZeEmOkvOcjxdLdyhl
 Skb5fdyN6EMDTlymzuBKPIoZiyi8JlqUPBJWxPbha01inKuBVSwEf0aPfcHtkHFY
 Wls/o1nZUeGSV8Ui8LwAp1cOsKh8zv2G2HsjMmiXMjhXp0QJZuHWlJtU/J2HPhYo
 L8y1crXauM4qjALbftC6fVWOskEAAuxqwVbcTtDxPgWVYpR442ddEX3Xpmjl6GQL
 n1HG5ixm0352/wqDZ2lv77SwfckbMzxW8HEUQ5er6LmNyOP/OBC331w5aYYLcVnQ
 F4TmqqPd0nF9n4OkkvZrhUBE03A1qu5Qdro+QuEpP9+wmuTXK1fhX3ZRsoqnbGix
 ecDM/C26odIwhyNEC38TRFI+E2TvdvWEIWg9Fv6mgWlsC2HKSC3lO5HctMIikBHK
 EpIgdEyNUw9qSGLL3dgJm4+g75g2d2B6xltRQ5UDO8KZ5MnBcohLkdo8Uka7DwL1
 uH6RDc1RtXj+HtGv8T15r0ahM6qUcRp/335pyRiYPCtek43m/li2bbgq5RWqAuSu
 uao2h7TPnKTrTQ==
 =mYch
 -----END PGP SIGNATURE-----

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

Pull "ARM: tegra: Default configuration updates for v4.14-rc1" from Thierry Reding:

Enables the ChipIdea UDC driver and selects some symbols that were
previously being selected by other drivers but will no longer be in
v4.14.

* tag 'tegra-for-4.14-arm-defconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  ARM: defconfig: tegra: Enable ChipIdea UDC driver
  ARM: configs: Add Tegra I2S interfaces to multi_v7_defconfig
  ARM: tegra: Add Tegra I2S interfaces to defconfig
  ARM: tegra: Update default configuration for v4.13-rc1
2017-08-18 22:30:27 +02:00
Arnd Bergmann dbd540fea0 i.MX defconfig updates for 4.14:
- Enable SPI_GPIO and GPIO_74X164 support which are useful for some
    boards like imx7d-sabresd.
  - Enable build of CODA video codec and staging video4linux drivers.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABAgAGBQJZloiPAAoJEFBXWFqHsHzOK9AH/2m3J8waqDJW1ln6emcBCB7X
 2LSHk+66UGN+V4rchXHtrdfjjrpszaRtregW29qCYqwATA+ZEmtCey6MR/8krzBk
 exjYOfZTDXvAqnVnbr5JT+/PWVzDKCLHLSVEMXZ3V2ylM0ps4Pdb1G19RxWg58HO
 tE69x1lIyHEphpaZ/xvVuD7k8BrTBYdgVn41qwlzZwZsiHIXLSih3wirxX911C11
 V3yWoFAG9NZ1qjIJEYn1m/wtpWtyUu8IRDiZlHyodlR+ffeE43Hgh2+Ih/lqyKrm
 SH4U0fN0D7Tta08/2MvPeHsGCnppk4kWs0tZDafUd8qOb+MPi3NzNDI2Y7QRktM=
 =ljhX
 -----END PGP SIGNATURE-----

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

Pull "i.MX defconfig updates for 4.14" from Shawn Guo:

 - Enable SPI_GPIO and GPIO_74X164 support which are useful for some
   boards like imx7d-sabresd.
 - Enable build of CODA video codec and staging video4linux drivers.

* tag 'imx-defconfig-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  ARM: imx_v6_v7_defconfig: Enable staging video4linux drivers
  ARM: imx_v6_v7_defconfig: Select the coda driver as module
  ARM: imx_v6_v7_defconfig: Enable GPIO_74X164
  ARM: imx_v6_v7_defconfig: Enable SPI_GPIO
2017-08-18 22:29:30 +02:00
Arnd Bergmann 6fdb351dfa This pull request contains defconfig file changes for Broadcom ARM-based SoCs
for 4.14, please pull the following:
 
 - Markus enables the Broadcom STB AVS thermal monitoring driver as a module
   which is currently queued in Rui Zhang's tree
 
 - Stefan updates the bcm2835_defconfig to contain a few useful changes: the RPI
   mini UART is enabled by default, the default CMA pool is bumped up to 32MB to
   support VC4 usages and finally BRCMFMAC is enabled as module since this is the
   wireless driver used on Raspberry Pi Zero Wireless.
 -----BEGIN PGP SIGNATURE-----
 
 iQIcBAABCAAGBQJZldaIAAoJEIfQlpxEBwcEaVMP/3MVHki9bl11DJVKmnF/itNa
 lGASCwdP+zHlBOtazBuDXxymrfZtn0xYPv+m5A/dzuMp7NJUeW7xuefk/hxeGLhA
 43VslCu/w6TKduhBykP1u0ktZHTz/esx71/Eb6wxLDzOnCXrhICoe1npp91othlo
 EmvsZx2hinjvNqVxPxcJOb/QLJdJaGkoclRTWNX57N9D1HMNnSTz5+FGzYEHYY86
 ud0DMTxHRZ1KeYQBto9Q6YdKspecSKCxXc2/Ir/k7dQ+ZOp5jSzS7nU7rZ3UsuBY
 SLhEcEwHPq2RXq5vZlRy/QcFwodi6BeWz6Ig18P3mJ2RVzCvx5GlGjpKdLS9WpIo
 jkUNav6k8R5Ygl+eWmcKX66JVSrELj81pEsznikM1ExGcI3EBhhTARHrol3NOmgh
 ZkH3OrFwz2MuKhhE8TJ14uPo5pa/SvECNWNXmgiWJOr0CO/XjhYxWE5lGbVOv1/R
 W8B0A2jrUh7lP7ziFfiREhSHJ2V3Br/q/ORi2N5atTggdVsZLQ4tltoozKcr+FmB
 z9eEAqeVY6kYePVbRkUjsMj/hzJgu3OGmsWBsbTKGkzvHSGLXL0n/A920zLuvyM3
 QEfqJexrTp5nH8JjnjXA/SS3qApeZXKScL3vhfO5wWHyvSaxJwzMj9YrBnpghYPb
 54aPGnolFtzNc8NIQx/e
 =+2/I
 -----END PGP SIGNATURE-----

Merge tag 'arm-soc/for-4.14/defconfig' of http://github.com/Broadcom/stblinux into next/defconfig

Pull "Broadcom defconfig changes for 4.14" from Florian Fainelli:

This pull request contains defconfig file changes for Broadcom ARM-based SoCs
for 4.14, please pull the following:

- Markus enables the Broadcom STB AVS thermal monitoring driver as a module
  which is currently queued in Rui Zhang's tree

- Stefan updates the bcm2835_defconfig to contain a few useful changes: the RPI
  mini UART is enabled by default, the default CMA pool is bumped up to 32MB to
  support VC4 usages and finally BRCMFMAC is enabled as module since this is the
  wireless driver used on Raspberry Pi Zero Wireless.

* tag 'arm-soc/for-4.14/defconfig' of http://github.com/Broadcom/stblinux:
  ARM: multi_v7_defconfig: add CONFIG_BRCMSTB_THERMAL
  ARM: bcm2835_defconfig: Enable wifi driver for RPi Zero W
  ARM: bcm2835_defconfig: Increase CMA for VC4
  ARM: bcm2835_defconfig: Enable Mini UART console support
2017-08-18 22:28:21 +02:00
Arnd Bergmann 9bdc9a9bc6 Second Round of Renesas ARM Based SoC Defconfig Updates for v4.14
* Enable BQ32000 rtc in shmobile_defconfig
 
   Biju Das says "The iWave RZ/G1M Q7 SOM supports RTC (TI BQ32000).  To
   increase hardware support enable the driver in the shmobile_defconfig
   multiplatform configuration."
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJZlVq6AAoJENfPZGlqN0++HoIQAIVxNObs37IPVp/pNK8C7zzK
 K+6xpcTsI2vT0/h3nFfWF0t0kOU5rQBMUOrL03NKsyVo2MWudAHXsnhn1tIyfvJ9
 ZJkocWLxjWJieQIOHOZ/a0yA8wsQu5o5fXs0FVb4VSckvVyFXGqn9NGkvKrVz4Yn
 4vYKE5BLv7o4yiqsKgapLq03QWBP9+QPr/4OIzKVFpSy1lgEIBsrh8n2OsHuYnfd
 vyOed/yOQBKlsvlp3ErX3zLsWZ2U3PlIhjOzXSpQTnJxq9pP85cc55KM63JY+amX
 2RJANcR/5iTjr7vkpQOAqSYAyflabhLtIm9JMwsWDljxMhaVmILNd4+7z0tKhkto
 gPGU2gJdXcMVHBV9Wl+RSPp3BzNj4b6RP8Sj6m9z5umnn+ZUS3yH5wRGRHcFVKTg
 alTwh3TnDf6OaxhD7KiREwSDb798bFzJINtcFkUZm12Uk+fX6e6J5SwxOaxIpX5R
 NiE0qnOm8pYextIh6G2U+jhX48YHbUmhzRAQgLPzvVZLkHohWBYb0Kct9I3N1N/y
 9dka1rVqqmi+XQqpKBRH5BWUgBKq8wQFJ8dxwtzoj9IeYMEPZ7LjaC980IRo1gBv
 Hz0Vd268qjEynh+3fa3bcH8wt6P6tyNdIrvLAQDUXcWYntWDYJZVHWqugNi+nBc0
 zif2WdZ2v5RjifkjAzTp
 =nQRM
 -----END PGP SIGNATURE-----

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

Pull "Second Round of Renesas ARM Based SoC Defconfig Updates for v4.14"
from Simon Horman:

* Enable BQ32000 rtc in shmobile_defconfig

  Biju Das says "The iWave RZ/G1M Q7 SOM supports RTC (TI BQ32000).  To
  increase hardware support enable the driver in the shmobile_defconfig
  multiplatform configuration."

* tag 'renesas-defconfig2-for-v4.14' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  ARM: shmobile: Enable BQ32000 rtc in shmobile_defconfig
2017-08-18 22:26:25 +02:00
Linus Torvalds 4283346802 ARM: SoC fixes for 4.13
A small number of bugfixes, nothing serious this time.
 Here is a full list.
 
 4.13 regression fix:
 
 - imx7d-sdb pinctrl support regressed in 4.13 due to an incomplete patch
 
 DT fixes for recently added devices:
 
 - badly copied DT entries on imx6qdl-nitrogen6_som broke PCI reset
 
 - sama5d2 memory controller had the wrong ID and registers
 
 - imx7 power domains did not work correctly with deferred probing
   (driver added in 4.12)
 
 - Allwinner H5 pinctrl (added in 4.12) did not work right with GPIO
   interrupts
 
 Fixes for older bugs that just got noticed:
 
 - i.MX25 ADC support (added in 4.6) apparently never worked right due
   to a missing 'ranges' property in DT.
 
 - Renesas Salvador Audio support (added in v4.5) was broken for device
   repeated bind/unbind due to a naming conflict.
 
 - Various allwinner boards are missing an 'ethernet' alias in DT,
   leading to unstable device naming.
 
 Preventive bugfix:
 
 - TI Keystone needs a fix to prevent a NULL pointer dereference with
   an upcoming PM change.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIVAwUAWZbAq2CrR//JCVInAQLM6xAAg6Z061j2pQn9J8+AJH6NlhNvZg6dhGmp
 mtIWs77lXgghqQU7LZrxGXNpqxpY+p3XD5F4EWl1LLZ+USIXjYZdPPnZobTClmeX
 9+z3PbiHTqmSVfxh+hwE/6Cwg1poqYhFn0tAmOstPBJ8+H3cZONwqGMeCrc2WguX
 v9AFnayisBZOnKz7zgpszthSGqovASSPpw/4VY7TwRO1fIFd9/2H0ZW3pd7alD7+
 yD0XO04OEqKKAmd1DT6kAX3E+E+oqqTvMgBUOYiYVIveokk1ONpJMeumjEqZng9w
 NAgDfT0in5hDWfl3eQ83CawgT4hUxOXqcC3nY6tEcrFO/qcMIW5TDM0YD7zqDKGN
 o0fELOdsW0hew7ceNNd/zjJVD4WXlxqcIAS0A/buhIvpFWr3ruA4DhycKw5L5wlw
 3XEQwxDGnBsEF6ZGeqIrLc6LpOLH3i6TWTskyig1AZxymjP5coo4mR36vKh3zKfS
 E0O/zLdkKpnaV8V5N9Ln26PGpL4JKSuAxy59mlEZ4VSR/FfCZTm+R6/w6NeY2noU
 DVMzso6WeOMLBkGFATSZ/D0MuRimBYoBGdC1wlinHGXmPqMBjkbwASmJakIRQdBV
 ifBw3pBQMEiLygyIV16KY/zAtI0waEwn61h0jGDoHA1FX3nHkSmpEjqSvG7nXJpF
 0wqpFPu93H0=
 =9Xbk
 -----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 Arnd Bergmann:
 "A small number of bugfixes, nothing serious this time. Here is a full
  list.

  4.13 regression fix:

   - imx7d-sdb pinctrl support regressed in 4.13 due to an incomplete
     patch

  DT fixes for recently added devices:

   - badly copied DT entries on imx6qdl-nitrogen6_som broke PCI reset

   - sama5d2 memory controller had the wrong ID and registers

   - imx7 power domains did not work correctly with deferred probing
     (driver added in 4.12)

   - Allwinner H5 pinctrl (added in 4.12) did not work right with GPIO
     interrupts

  Fixes for older bugs that just got noticed:

   - i.MX25 ADC support (added in 4.6) apparently never worked right due
     to a missing 'ranges' property in DT.

   - Renesas Salvador Audio support (added in v4.5) was broken for
     device repeated bind/unbind due to a naming conflict.

   - Various allwinner boards are missing an 'ethernet' alias in DT,
     leading to unstable device naming.

  Preventive bugfix:

   - TI Keystone needs a fix to prevent a NULL pointer dereference with
     an upcoming PM change"

* tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
  soc: ti: ti_sci_pm_domains: Populate name for genpd
  ARM: dts: imx6qdl-nitrogen6_som2: fix PCIe reset
  arm64: allwinner: h5: fix pinctrl IRQs
  arm64: allwinner: a64: sopine: add missing ethernet0 alias
  arm64: allwinner: a64: pine64: add missing ethernet0 alias
  arm64: allwinner: a64: bananapi-m64: add missing ethernet0 alias
  arm64: renesas: salvator-common: avoid audio_clkout naming conflict
  ARM: dts: i.MX25: add ranges to tscadc
  soc: imx: gpcv2: fix regulator deferred probe
  ARM: dts: at91: sama5d2: fix EBI/NAND controllers declaration
  ARM: dts: at91: sama5d2: use sama5d2 compatible string for SMC
  ARM: dts: imx7d-sdb: Put pinctrl_spi4 in the correct location
2017-08-18 11:08:48 -07:00
Chen-Yu Tsai 75ce73fdad ARM: sun8i: a83t: h8homlet-v2: Enable USB ports
The h8homlet board has the A83T's standard USB 1.1/2.0 host pair routed
to a USB host port on the board. The other USB host port is routed to
USB OTG controller.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
2017-08-19 00:25:25 +08:00
Chen-Yu Tsai 9f851d4ee6 ARM: sun8i: a83t: cubietruck-plus: Enable onboard USB peripherals
The Cubietruck-plus has a GL830 USB-to-SATA bridge connected to EHCI0,
and a USB3503 HSIC USB 2.0 hub connected to EHCI1. The USB3503's I2C
control interface is not connected.

This patch enables both EHCI controllers, adds a device node for the
USB hub, and includes sunxi-common-regulators.dtsi for the VBUS
regulators. The existing reg_vcc3v3 is dropped as it is also available
in the set of common regulators. Other unused regulators are disabled.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
2017-08-19 00:25:24 +08:00
Chen-Yu Tsai 25ac8b9bff ARM: sun8i: a83t: Add device node for USB OTG controller
The USB OTG controller found on the A83T is compatible with the one
found on the A33.

Add a device node for it.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
2017-08-19 00:25:23 +08:00
Chen-Yu Tsai 05a6a90df8 ARM: sun8i: a83t: Add USB PHY and host device nodes
The A83T has 3 USB PHYs, 1 for USB OTG, 1 for standard USB 2.0, 1 for
USB HSIC. EHCI0/OHCI0 are the standard USB host pair, while EHCI1 is
the host controller for HSIC. OTG is not added yet.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Tested-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2017-08-19 00:25:19 +08:00
Arnd Bergmann 93112486f4 i.MX fixes for 4.13, round 3:
- Fix PCIe reset GPIO of imx6qdl-nitrogen6_som2 board, which was
    a bad copy from nitrogen6_max device tree.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABAgAGBQJZlkchAAoJEFBXWFqHsHzO6YoIAJDpTP6zSPX7kbPHD9v6CyoJ
 X1U2r+QH2IToj0tIUMuwTpvYMqaDndK3fej5j34lv/aer4GLgopYimcRjs6BW+iU
 4bodY+WuVx7iFmY7dX9Zp6rtPPbMOtabEDWZPTSgCdEieCXijJgs6bCf0j/+gUqe
 RFv0cJqhQRA1iB44unULKjNd67q16XG7GExhGpvmmMNyqN0CiyWxGEn4rzcU7kbM
 stcBmj8MYxEJrRDkz2uVGupUaI1ci62de9oEIjz5V5bdfduPYnnQNalzlT0z/OM1
 R620rySNaC9Fqu1kkMLM0JVp8vdrW+T6SLt9yERirTibkTDw4F+KEdPAWkcEK9U=
 =MRXv
 -----END PGP SIGNATURE-----

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

Pull "i.MX fixes for 4.13, round 3" from Shawn Guo:

 - Fix PCIe reset GPIO of imx6qdl-nitrogen6_som2 board, which was
   a bad copy from nitrogen6_max device tree.

* tag 'imx-fixes-4.13-3' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
  ARM: dts: imx6qdl-nitrogen6_som2: fix PCIe reset
2017-08-18 11:58:38 +02:00
Marc Zyngier 79a0d4d8f1 irqchip/hip04: Report that effective affinity is a single target
The HIP04 driver only targets a single CPU at a time, even if
the notional affinity is wider. Let's inform the core code
about this.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: Chris Zankel <chris@zankel.net>
Cc: Kevin Cernekee <cernekee@gmail.com>
Cc: Wei Xu <xuwei5@hisilicon.com>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Gregory Clement <gregory.clement@free-electrons.com>
Cc: Matt Redfearn <matt.redfearn@imgtec.com>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Link: http://lkml.kernel.org/r/20170818083925.10108-11-marc.zyngier@arm.com
2017-08-18 10:54:42 +02:00
Gary Bisson c40bc54fdf ARM: dts: imx6qdl-nitrogen6_som2: fix PCIe reset
Previous value was a bad copy of nitrogen6_max device tree.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Fixes: 3faa1bb2e8 ("ARM: dts: imx: add Boundary Devices Nitrogen6_SOM2 support")
Cc: <stable@vger.kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2017-08-18 09:40:40 +08:00
Rafał Miłecki 0173b2cd69 ARM: BCM53573: Specify ports for USB LED for Tenda AC9
This uses trigger-sources documented in commit 80dc6e1cd8 ("dt-bindings:
leds: document new trigger-sources property") to specify USB ports. Such an
information can be used by operating system to setup LEDs behavior.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-08-17 10:18:07 -07:00
Raveendra Padasalagi fdacf0950c ARM: dts: cygnus: Add generic-ehci/ohci nodes
Add dt nodes for generic-ehci/ohci host controller.

Signed-off-by: Raveendra Padasalagi <raveendra.padasalagi@broadcom.com>
Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-08-17 10:13:39 -07:00
Scott Branden 556457fa76 ARM: dts: cygnus: add serial0 alias for uart3 on bcm91130_entphn
Use serial0 alias to select stdout-path on Cygnus bcm911360_entphon
board.

Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-08-17 10:13:34 -07:00
Jonathan Richardson 143d0d47cc ARM: dts: cygnus: Add additional peripherals to dtsi
Add nodes for peripherals in Cygnus dtsi: sdhci, keypad, spi, dma,
pinmux configs.

Signed-off-by: Jonathan Richardson <jonathan.richardson@broadcom.com>
Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-08-17 10:13:29 -07:00