summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'arm-soc/for-4.8/devicetree-arm64-part2' of ↵Arnd Bergmann2016-07-0711-0/+155
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://github.com/Broadcom/stblinux into next/dt64 Merge "Broadcom ARM64 Device Tree changes for 4.8 (part 2)" from Florian Fainelli: This pull request contains the second part of the Broadcom ARM64-based SoCs changes for 4.8. Please note that this pull request contains changes from the ARM 32-bits port and ARM 64-bits port as well: - Lubomir updates all BCM2835 (Raspberry Pi family) Device Tree source files with their proper information about the on-board USB Ethernet adapter so there is appropriate binding between this USB device and a device_node (useful for MAC address fetching and stuff), this commit is also present for the ARM DT pull request - Eric adds support for the Raspberry Pi 3 aka BCM2837 and provides the binding information and the basic SoC DT include file required to boot to a prompt - Gerd updates the Raspberry Pi 3 DT with Ethernet information based on the earlier change from Lubomir * tag 'arm-soc/for-4.8/devicetree-arm64-part2' of http://github.com/Broadcom/stblinux: ARM: bcm2837: dt: Add the ethernet to the device trees ARM: bcm2835: Add devicetree for the Raspberry Pi 3. dt-bindings: Add root properties for Raspberry Pi 3 ARM: bcm2835: dt: Add the ethernet to the device trees
| * Merge tag 'bcm2835-dt-64-next-2016-07-03' into devicetree-arm64/nextFlorian Fainelli2016-07-0611-0/+155
| |\ | | | | | | | | | | | | | | | | | | | | | This pull request brings in the Raspberry Pi 3 DT for its arm64 support. Note that it also merges in the ethernet DT changes so that the Pi3's ethernet can also get the MAC address. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
| | * ARM: bcm2837: dt: Add the ethernet to the device treesGerd Hoffmann2016-06-081-0/+1
| | | | | | | | | | | | | | | Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Eric Anholt <eric@anholt.net>
| | * Merge tag 'bcm2835-dt-ethernet' into HEADEric Anholt2016-06-087-0/+44
| | |\ | | | | | | | | | | | | | | | | | | | | This merge brings over the DT ethernet nodes from 32-bit (used so that we can get the MAC address for it) so that we can expose it on arm64 as well.
| | | * ARM: bcm2835: dt: Add the ethernet to the device treesLubomir Rintel2016-05-317-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The hub and the ethernet in its port 1 are hardwired on the board. Compared to the adapters that can be plugged into the USB ports, this one has no serial EEPROM to store its MAC. Nevertheless, the Raspberry Pi has the MAC address for this adapter in its ROM, accessible from its firmware. U-Boot can read out the address and set the local-mac-address property of the node with "ethernet" alias. Let's add the node so that U-Boot can do its business. Model B rev2 and Model B+ entries were verified by me, the hierarchy and pid/vid pair for the Version 2 was provided by Peter Chen. Original Model B is a blind shot, though very likely correct. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Eric Anholt <eric@anholt.net>
| | * | ARM: bcm2835: Add devicetree for the Raspberry Pi 3.Eric Anholt2016-06-083-0/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While this devicetree also works for booting in 32-bit mode, it's placed in arm64 since it's a 64-bit CPU (as suggested by Arnd). Signed-off-by: Eric Anholt <eric@anholt.net> Acked-by: Stephen Warren <swarren@wwwdotorg.org> (v1) Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
| | * | dt-bindings: Add root properties for Raspberry Pi 3Eric Anholt2016-06-071-0/+4
| | |/ | | | | | | | | | | | | | | | Signed-off-by: Eric Anholt <eric@anholt.net> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Acked-by: Rob Herring <robh@kernel.org>
* | | Merge tag 'amlogic-dt64-2' of ↵Arnd Bergmann2016-07-072-1/+27
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic into next/dt64 Merge "Amlogic 64-bit DT updates" from Kevin Hilman: - add RNG and new clock driver support * tag 'amlogic-dt64-2' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic: ARM64: DTS: meson-gxbb: switch ethernet to real clock arm64: dts: gxbb clock controller ARM64: dts: meson-gxbb: Add Hardware Random Generator node dt-bindings: hwrng: Add Amlogic Meson Hardware Random Generator bindings
| * | | ARM64: DTS: meson-gxbb: switch ethernet to real clockKevin Hilman2016-06-241-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | With the clock driver upstream, switch to the real clock. Signed-off-by: Kevin Hilman <khilman@baylibre.com>
| * | | arm64: dts: gxbb clock controllerMichael Turquette2016-06-241-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the clock controller node for the AmLogic GXBB machine. Signed-off-by: Michael Turquette <mturquette@baylibre.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
| * | | ARM64: dts: meson-gxbb: Add Hardware Random Generator nodeNeil Armstrong2016-06-151-0/+5
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
| * | | dt-bindings: hwrng: Add Amlogic Meson Hardware Random Generator bindingsNeil Armstrong2016-06-151-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
* | | | Merge tag 'mvebu-dt64-4.8-1' of git://git.infradead.org/linux-mvebu into ↵Arnd Bergmann2016-07-073-4/+57
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | next/dt64 Merge "mvebu dt64 for 4.8 (part 1)" from Gregory CLEMENT: - update dt with mv-xor-v2 found in the Armada 7K/8K SoCs - update dt with the clocks found in the Armada 3700 SoCs * tag 'mvebu-dt64-4.8-1' of git://git.infradead.org/linux-mvebu: arm64: dts: marvell: add peripherals clocks for Armada 37xx arm64: dts: marvell: add tbg clocks for Armada 37xx arm64: dts: marvell: Add xtal clock support for Armada 3700 arm64: dts: marvell: add XOR engine description for Armada 7K/8K CP arm64: dts: marvell: adjust to the latest mv-xor-v2 DT binding
| * | | | arm64: dts: marvell: add peripherals clocks for Armada 37xxGregory CLEMENT2016-07-041-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add two new blocks of clocks. The peripheral clocks are the source clocks of the peripheral of the Armada 3700 SoC. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
| * | | | arm64: dts: marvell: add tbg clocks for Armada 37xxGregory CLEMENT2016-07-041-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new block of clocks. The Time Base Generators clocks can be the parent of the peripheral clocks. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
| * | | | arm64: dts: marvell: Add xtal clock support for Armada 3700Gregory CLEMENT2016-07-041-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The configuration of the clock depend of the gpio latch. This information is stored in the gpio block registers. That's why the block is shared using a syscon node. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
| * | | | arm64: dts: marvell: add XOR engine description for Armada 7K/8K CPThomas Petazzoni2016-06-301-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds the Device Tree description for the two XOR engines found in the CP part of the Armada 7K/8K SoC. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
| * | | | arm64: dts: marvell: adjust to the latest mv-xor-v2 DT bindingThomas Petazzoni2016-06-301-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As suggested by Rob Herring, we should: 1/ Use a SoC-specific compatible string in addition to the more generic one. 2/ The generic compatible string has been changed from "marvell,mv-xor-v2" to "marvell,xor-v2". We simply reflect the changes made to the Device Tree bindings to the relevant Marvell 7K/8K Device Tree files. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
* | | | | Merge tag 'v4.7-next-dts' of https://github.com/mbgg/linux-mediatek into ↵Arnd Bergmann2016-07-077-0/+413
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | next/dt64 Merge "ARM: mediatek: dts 64 bit updates for v4.8" from Matthias Brugger: - Add nodes for the DISP function ports - Add dt-bindings for mt6755 - Add basic support for mt6755 SoC * tag 'v4.7-next-dts' of https://github.com/mbgg/linux-mediatek: arm64: dts: mediatek: add mt6755 support Document: DT: Add bindings for mediatek MT6755 SoC Platform arm64: dts: mt8173: Add display subsystem related nodes
| * | | | | arm64: dts: mediatek: add mt6755 supportMars Cheng2016-07-033-0/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds basic chip support for MT6755 SoC. Signed-off-by: Mars Cheng <mars.cheng@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
| * | | | | Document: DT: Add bindings for mediatek MT6755 SoC PlatformMars Cheng2016-07-033-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds DT binding documentation for Mediatek MT6755. Signed-off-by: Mars Cheng <mars.cheng@mediatek.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
| * | | | | arm64: dts: mt8173: Add display subsystem related nodesCK Hu2016-06-031-0/+223
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the device nodes for the DISP function blocks comprising the display subsystem. Signed-off-by: CK Hu <ck.hu@mediatek.com> Signed-off-by: Cawa Cheng <cawa.cheng@mediatek.com> Signed-off-by: Jie Qiu <jie.qiu@mediatek.com> Signed-off-by: Daniel Kurtz <djkurtz@chromium.org> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
* | | | | Merge tag 'v4.8-rockchip-dts64-1' of ↵Olof Johansson2016-07-074-5/+352
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into next/dt64 The rk3399 gets support for its emmc controller as well as thermal, i2c and core io-domain nodes and some reasonable default rates for core clocks. The rk3368 also gets io-domains for its r88 board as well as a small fix for the gic's memory regions. * tag 'v4.8-rockchip-dts64-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: arm64: dts: rockchip: add ap_pwroff and ddrio_pwroff pins for rk3399 arm64: dts: rockchip: Provide emmcclk to PHY for rk3399 arm64: dts: rockchip: Add soc-ctl-syscon to sdhci for rk3399 arm64: dts: rockchip: fixes the gic400 2nd region size for rk3368 arm64: dts: rockchip: add i2c nodes for rk3399 arm64: dts: rockchip: add thermal nodes for rk3399 SoCs arm64: dts: rockchip: add rk3399 io-domain core nodes arm64: dts: rockchip: add rk3368-r88 iodomains arm64: dts: rockchip: add rk3368 io-domain core nodes arm64: dts: rockchip: make rk3368 grf syscons simple-mfds arm64: dts: rockchip: enable eMMC for rk3399 EVB arm64: dts: rockchip: add sdhci/emmc for rk3399 arm64: dts: rockchip: make rk3399's grf a "simple-mfd" arm64: dts: rockchip: assign default rates for core rk3399 clocks Signed-off-by: Olof Johansson <olof@lixom.net>
| * | | | | arm64: dts: rockchip: add ap_pwroff and ddrio_pwroff pins for rk3399Douglas Anderson2016-06-271-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are two sleep related pins on rk3399: ap_pwroff and ddrio_pwroff. Let's add the definition of these two pins to rk3399's main dtsi file so that boards can use them. These two pins are similar to the global_pwroff and ddrio_pwroff pins in rk3288 and are expected to be used in the same way: boards will likely want to configure these pinctrl settings in their global pinctrl hog list. Note that on rk3288 there were two additional pins in the "sleep" section: "ddr0_retention" and "ddr1_retention". On rk3288 designs these pins appeared to actually route from rk3288 back to rk3288. Presumably on rk3399 this is simply not needed since the pins don't appear to exist there. Signed-off-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
| * | | | | arm64: dts: rockchip: Provide emmcclk to PHY for rk3399Douglas Anderson2016-06-221-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previous changes in this series allowed exposing the card clock from the rk3399 SDHCI device and allowed consuming the card clock in the rk3399 eMMC PHY. Hook things up in the main rk3399 dtsi file. Signed-off-by: Douglas Anderson <dianders@chromium.org> Tested-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
| * | | | | arm64: dts: rockchip: Add soc-ctl-syscon to sdhci for rk3399Douglas Anderson2016-06-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On rk3399 we'd like to be able to properly set corecfg registers in the Arasan SDHCI component. Specify the syscon to enable that. Signed-off-by: Douglas Anderson <dianders@chromium.org> Tested-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
| * | | | | arm64: dts: rockchip: fixes the gic400 2nd region size for rk3368Caesar Wang2016-06-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 2nd additional region is the GIC virtual cpu interface register base and size. As the gic400 of rk3368 says, the cpu interface register map as below : -0x0000 GICC_CTRL . . . -0x00fc GICC_IIDR -0x1000 GICC_IDR Obviously, the region size should be greater than 0x1000. So we should make sure to include the GICC_IDR since the kernel will access it in some cases. Fixes: b790c2cab5ca ("arm64: dts: add Rockchip rk3368 core dtsi and board dts for the r88 board") Signed-off-by: Caesar Wang <wxt@rock-chips.com> Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com> Cc: stable@vger.kernel.org [added Fixes and stable-cc] Signed-off-by: Heiko Stuebner <heiko@sntech.de>
| * | | | | arm64: dts: rockchip: add i2c nodes for rk3399David Wu2016-06-181-0/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We've got 9 (count em!) i2c controllers on rk3399, some of which are in the PMU power domain and some of which are normal peripherals. Add them all to the main rk3399 dtsi file so future patches can turn them on in the board dts files. Note: by default we try to set the i2c clock rate to 200 MHz so that we can achieve good i2c functional clock rates. 200 MHz gives us the ability to make very close to 100 kHz / 400 kHz / 1 MHz rates. If boards want to tune clock rates further they can always override. Possibly boards could want to tune this if: - they wanted to save an infinitesimal amount of power and they knew their i2c bus was slow anyway. Since we gate the functional clock when the i2c bus is not active, power savings would only be while i2c transfers were happening and probably won't be very big anyway. - they wanted to eek out a bit more speed by carefully tuning the source clock to make divisions work out perfectly, accounting for the rise / fall time measured on an actual board. Note also that we still request 200 MHz for the PMU i2c busses even though we expect that we won't make that exactly (currently PPLL is 676 MHz which gives us 169 MHz). Signed-off-by: David Wu <david.wu@rock-chips.com> Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com> [dianders: wrote desc; put in assigned-clocks; reordered nodes] Signed-off-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
| * | | | | arm64: dts: rockchip: add thermal nodes for rk3399 SoCsCaesar Wang2016-06-061-0/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds thermal zone and tsadc nodes to rk3399 dtsi, rk3399 thermal data is including the cpu and gpu sensor zone node. The thermal zone node is the node containing all the required info for describing a thermal zone, including its cooling device bindings. The thermal zone node must contain, apart from its own properties, one sub-node containing trip nodes and one sub-node containing all the zone cooling maps. The following is the parameter is introduced: * polling-delay: The maximum number of milliseconds to wait between polls * polling-delay-passive: The maximum number of milliseconds to wait between polls when performing passive cooling. * trips: A sub-node which is a container of only trip point nodes required to describe the thermal zone. * cooling-maps: A sub-node which is a container of only cooling device map nodes, used to describe the relation between trips and cooling devices. * cooling-device: A phandle of a cooling device with its specifier, referring to which cooling device is used in this cooling specifier binding. In the cooling specifier, the first cell is the minimum cooling state and the second cell is the maximum cooling state used in this map. Signed-off-by: Caesar Wang <wxt@rock-chips.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
| * | | | | arm64: dts: rockchip: add rk3399 io-domain core nodesHeiko Stuebner2016-05-301-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the core io-domain nodes to grf and pmugrf which individual boards than just have to enable and add the necessary supplies to. Signed-off-by: Heiko Stuebner <heiko@sntech.de>
| * | | | | arm64: dts: rockchip: add rk3368-r88 iodomainsHeiko Stuebner2016-05-301-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the supply-links according to the R88 schematics. Signed-off-by: Heiko Stuebner <heiko@sntech.de>
| * | | | | arm64: dts: rockchip: add rk3368 io-domain core nodesHeiko Stuebner2016-05-301-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the core io-domain nodes to grf and pmugrf which individual boards than just have to enable and add the necessary supplies to. Signed-off-by: Heiko Stuebner <heiko@sntech.de>
| * | | | | arm64: dts: rockchip: make rk3368 grf syscons simple-mfdsHeiko Stuebner2016-05-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The general register files do contain a lot of separate functions and while some really are only registers with a lot of different 1-bit settings, there are also a lot of them containing some bigger function blocks. To be able to define these as sub-devices, make them simple-mfds. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Tested-by: David Wu <david.wu@rock-chips.com>
| * | | | | arm64: dts: rockchip: enable eMMC for rk3399 EVBBrian Norris2016-05-301-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rockchip's rk3399 evaluation board has eMMC. Let's enable the newly-added nodes. Signed-off-by: Brian Norris <briannorris@chromium.org> Reviewed-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
| * | | | | arm64: dts: rockchip: add sdhci/emmc for rk3399Brian Norris2016-05-301-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add description for the SDHCI v5.1 eMMC controller on rk3399. Fix it to 200 MHz, to support all supported timing modes. Note that 'rockchip,rk3399-sdhci-5.1' is not documented; we presumably have a compliant Arasan controller, but let's have a rockchip property as the canonical backup/precautionary measure. Per Heiko's previous suggestion, let's not clutter the arasan doc with it. Signed-off-by: Brian Norris <briannorris@chromium.org> Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com> Reviewed-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
| * | | | | arm64: dts: rockchip: make rk3399's grf a "simple-mfd"Brian Norris2016-05-301-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Per the examples in Documentation/devicetree/bindings/phy/rockchip-emmc-phy.txt, we need the grf node to be a simple-mfd in order to properly enumerate child devices like our eMMC PHY. Signed-off-by: Brian Norris <briannorris@chromium.org> Reviewed-by: Douglas Anderson <dianders@chromium.org> [directly mimic for the pmugrf, which will need the same change later and there is no need to pollute commit history with another patch] Signed-off-by: Heiko Stuebner <heiko@sntech.de>
| * | | | | arm64: dts: rockchip: assign default rates for core rk3399 clocksXing Zheng2016-05-301-0/+16
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These clocks are all core clocks used by many blocks/peripherals, many of whose drivers don't set their clock rates at all. Let's assign reasonable default clock rates for these core clocks, so that these peripherals get something reasonable by default, and also so that if child devices want to select a clock rate themselves, their muxes have some reasonable parent clock rates to branch off of (rather than just the boot-time defaults). This helps the eMMC PHY, for one, to get a reasonable ACLK rate. Signed-off-by: Xing Zheng <zhengxing@rock-chips.com> Signed-off-by: Brian Norris <briannorris@chromium.org> Reviewed-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
* | | | | Merge tag 'hi6220-dt-for-4.8' of git://github.com/hisilicon/linux-hisi into ↵Olof Johansson2016-07-061-0/+143
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | next/dt64 ARM64: DT: Hisilicon Hi6220 hikey board updates for 4.8 - name the GPIO lines * tag 'hi6220-dt-for-4.8' of git://github.com/hisilicon/linux-hisi: arm64: dts: hikey: name the GPIO lines Signed-off-by: Olof Johansson <olof@lixom.net>
| * | | | | arm64: dts: hikey: name the GPIO linesLinus Walleij2016-06-281-0/+143
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This names the GPIO lines on the HiKey board in accordance with the 96Board Specification for especially the Low Speed External Connector: "GPIO-A" thru "GPIO-L". This will make these line names reflect through to userspace so that they can easily be identified and used with the new character device ABI. Some care has been taken to name all lines, not just those used by the external connectors, also lines that are muxed into some other function than GPIO: these are named "[FOO]" so that users can see with lsgpio what all lines are used for. Cc: devicetree@vger.kernel.org Cc: John Stultz <john.stultz@linaro.org> Cc: Rob Herring <robh@kernel.org> Cc: David Mandala <david.mandala@linaro.org> Cc: Haojian Zhuang <haojian.zhuang@linaro.org> Cc: Wei Xu <xuwei5@hisilicon.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
* | | | | Merge tag 'imx-dt64-4.8' of ↵Olof Johansson2016-07-063-14/+58
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into next/dt64 The Freescale arm64 device tree updates for 4.8: - Update address-cells and reg properties of cpu nodes, considering MPIDR_EL1[63:32] bits are not used for CPUs identification on ls1043a and ls2080a - Adds the cache nodes and next-level-cache property for ls1043a and ls2080a to get cacheinfo work on these platforms - Add dma-coherent for ls1043a PCI nodes to utilize the hardware capability on data coherency - Add dis_rxdet_inp3_quirk property for USB3 device to disable rx detection in P3 PHY mode * tag 'imx-dt64-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: arm64: dts: ls2080a: Add cache nodes for cacheinfo support arm64: dts: ls1043a: Add cache nodes for cacheinfo support arm64: dts: ls1043a: Add 'dma-coherent' for ls1043a PCI nodes bindings: PCI: layerscape: Add 'dma-coherent' property arm64: dts: ls1043a: Add dis_rxdet_inp3_quirk property to USB3 node arm64: dts: ls2080a: Add dis_rxdet_inp3_quirk property to USB3 node arm64: dts: fsl: Update address-cells and reg properties of cpu nodes Signed-off-by: Olof Johansson <olof@lixom.net>
| * | | | | arm64: dts: ls2080a: Add cache nodes for cacheinfo supportLi Yang2016-06-211-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds the cache nodes and next-level-cache property for the cacheinfo to work. Signed-off-by: Li Yang <leoyang.li@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
| * | | | | arm64: dts: ls1043a: Add cache nodes for cacheinfo supportLi Yang2016-06-211-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds the cache nodes and next-level-cache property for the cacheinfo to work. Signed-off-by: Li Yang <leoyang.li@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
| * | | | | arm64: dts: ls1043a: Add 'dma-coherent' for ls1043a PCI nodesLiu Gang2016-06-161-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'dma-coherent' indicates that the hardware IP block can ensure the coherency of the data transferred from/to the IP block. This can avoid the software cache flush/invalid actions, and improve the performance significantly. The PCI IP block of ls1043a has this capability, so adding this feature to improve the PCI performance. Signed-off-by: Liu Gang <Gang.Liu@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
| * | | | | bindings: PCI: layerscape: Add 'dma-coherent' propertyLiu Gang2016-06-161-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add 'dma-coherent' description for PCI nodes. The 'dma-coherent' indicates that the hardware IP block can ensure the coherency of the data transferred from/to the IP block. This can avoid the software cache flush/invalid actions, and improve the performance significantly. The PCI IP block of ls1043a has this capability, so adding this feature to improve the PCI performance. Signed-off-by: Liu Gang <Gang.Liu@nxp.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
| * | | | | arm64: dts: ls1043a: Add dis_rxdet_inp3_quirk property to USB3 nodeRajesh Bhagat2016-06-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add "dis_rxdet_inp3_quirk" boolean property to USB3 node. This property is used to disable rx detection in P3 PHY mode. Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
| * | | | | arm64: dts: ls2080a: Add dis_rxdet_inp3_quirk property to USB3 nodeRajesh Bhagat2016-06-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add "dis_rxdet_inp3_quirk" boolean property to USB3 node. This property is used to disable rx detection in P3 PHY mode. Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
| * | | | | arm64: dts: fsl: Update address-cells and reg properties of cpu nodesAlison Wang2016-06-092-14/+14
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MPIDR_EL1[63:32] value is equal to 0 for the CPUs of the LS1043A and LS2080A SoCs. The ARM CPU binding allows #address-cells to be set to 1, since MPIDR_EL1[63:32] bits are not used for CPUs identification. Update the #address-cells and reg properties accordingly. Signed-off-by: Alison Wang <alison.wang@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
* | | | | Merge tag 'qcom-arm64-for-4.8' of ↵Olof Johansson2016-07-054-4/+496
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux into next/dt64 Qualcomm ARM64 Updates for v4.8 * Enable assorted peripherals on APQ8016 SBC * Update reserved memory on MSM8916 * Add MSM8996 peripheral support * Add SCM firmware node on MSM8916 * Add PMU node on MSM8916 * Add PSCI cpuidle support on MSM8916 * tag 'qcom-arm64-for-4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/agross/linux: (22 commits) arm64: dts: msm8996: add sdc2 support arm64: dts: msm8996: add sdc2 pinctrl arm64: dts: msm8996: add support to blsp2_spi5 arm64: dts: msm8996: add support to blsp2_spi5 pinctrl arm64: dts: msm8996: add support to blsp1_spi0 arm64: dts: msm8996: add support to blsp1_spi0 pinctrl arm64: dts: msm8996: add support to blsp2_i2c0 arm64: dts: msm8996: add support to blsp2_i2c0 pinctrl arm64: dts: msm8996: add support to blsp2_i2c1 arm64: dts: msm8996: add blsp2_i2c1 pinctrl arm64: dts: msm8996: add support to blsp1_i2c2 device arm64: dts: msm8996: add blsp1_i2c2 pinctrl nodes. arm64: dts: msm8996: add support blsp2_uart2 arm64: dts: msm8996: add blsp2_uart2 pinctrl nodes. arm64: dts: msm8996: add blsp2_uart1 pinctrl arm64: dts: msm8996: add msmgpio label ARM: dts: msm8916: Update reserved-memory arm64: dts: msm8916: Add SCM firmware node arm64: dts: qcom: Add msm8916 PMU node ARM64: dts: Add PSCI cpuidle support for MSM8916 ... Signed-off-by: Olof Johansson <olof@lixom.net>
| * | | | | arm64: dts: msm8996: add sdc2 supportSrinivas Kandagatla2016-06-251-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support to sdc2 sdhci controller, which is used on some of the boards. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
| * | | | | arm64: dts: msm8996: add sdc2 pinctrlSrinivas Kandagatla2016-06-251-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds pinctrl required for sdhci for external sd card controller. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>