summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)AuthorFilesLines
2020-03-25Merge tag 'stm32-dt-for-v5.7-1' of ↵Arnd Bergmann11-27/+769
git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32 into arm/dt STM32 DT updates for v5.3, round 1 Highlights: ---------- - Add support for DH Electronics DHCOM SoM and PDK2 rev. 400 carrier board. It is based on stm32mp157c SoC. - Add OTG full support on stm32mp15. - Fix issues seen during yaml validation on stpmic and stmfx. - Add i2c power/wakeup support on stm32mp15. - Add card detect on sdcard on stm32mp boards * tag 'stm32-dt-for-v5.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32: (25 commits) ARM: dts: stm32: use correct vqmmc regu for eMMC on stm32mp1 ED1/EV1 boards ARM: dts: stm32: add disable-wp property for SD-card on STM32MP1 boards ARM: dts: stm32: add cd-gpios properties for SD-cards on STM32MP1 boards ARM: dts: stm32: Do clean up in stmpic nodes on stm32mp15 boards ARM: dts: stm32: Rename stmfx joystick pins on stm32mp157c-ev1 ARM: dts: stm32: add cpu clock-frequency property on stm32mp15x ARM: dts: stm32: add wakeup-source in all I2C nodes of stm32mp157c ARM: dts: stm32: add i2c4 sleep pinctrl on stm32mp157c-ed1 ARM: dts: stm32: add i2c2/i2c5 sleep pinctrl on stm32mp157c-ev1 ARM: dts: stm32: add i2c4 sleep pinctrl on stm32mp15xx-dkx ARM: dts: stm32: set i2c4 bus freq to 400KHz on stm32mp15 DK boards ARM: dts: stm32: set i2c4 bus freq to 400KHz on stm32mp157c-ed1 ARM: dts: stm32: Correct stmfx node name on stm32mp157c-ev1 board ARM: dts: stm32: Correct stmfx node name on stm32746g-eval board ARM: dts: stm32: add resets property on all DMA nodes on stm32mp151 ARM: dts: stm32: enable USB OTG Dual Role on stm32mp157c-ev1 ARM: dts: stm32: add USB OTG pinctrl to stm32mp15 ARM: dts: stm32: add USB OTG full support on stm32mp151 ARM: dts: stm32: remove useless properties in stm32mp157a-avenger96 stmpic node ARM: dts: stm32: Add DH Electronics DHCOM STM32MP1 SoM and PDK2 board ... Link: https://lore.kernel.org/r/ded09d01-df47-9572-4679-34669bff8916@st.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2020-03-25Merge tag 'renesas-arm64-dt-for-v5.7-tag2' of ↵Arnd Bergmann7-1/+197
git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel into arm/dt Renesas ARM64 DT updates for v5.7 (take two) - Thermal support for R-Car M3-W+, - Support for the M3ULCB board with R-Car M3-W+, - CPUIdle support for R-Car M3-N and E3, - Display support for the HiHope RZ/G2M board, - A minor fix. * tag 'renesas-arm64-dt-for-v5.7-tag2' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel: arm64: dts: renesas: Add HiHope RZ/G2M board with idk-1110wr display arm64: dts: renesas: r8a77990: Add CPUIdle support for CA53 cores arm64: dts: renesas: r8a77965: Add CPUIdle support for CA57 cores arm64: dts: renesas: r8a77961: salvator-xs: Fix memory unit-address arm64: dts: renesas: Add support for M3ULCB with R-Car M3-W+ arm64: dts: renesas: r8a77961: Add thermal nodes Link: https://lore.kernel.org/r/20200313154304.1636-3-geert+renesas@glider.be Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2020-03-25Merge tag 'renesas-arm-dt-for-v5.7-tag2' of ↵Arnd Bergmann2-0/+99
git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel into arm/dt Renesas ARM DT updates for v5.7 (take two) - LCD/touchscreen support for the iwg22d-sodimm board. * tag 'renesas-arm-dt-for-v5.7-tag2' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel: ARM: dts: iwg22d-sodimm: Enable touchscreen ARM: dts: iwg22d-sodimm: Enable LCD panel Link: https://lore.kernel.org/r/20200313154304.1636-2-geert+renesas@glider.be Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2020-03-25Merge tag 'sunxi-dt-for-5.7' of ↵Arnd Bergmann30-108/+1707
git://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into arm/dt Allwinner Device Tree Changes for v5.7 A fairly large set of changes for v5.7, including some new devices. SoC specific changes: - SPI on H6 SoC enabled - Thermal sensor on R40 SoC enabled - Deinterlace core hardware on A64 SoC enabled - Redundant assigned-clocks properties removed - required clock rates are now enforced by drivers - LVDS panel support on A20 SoC enabled - PMU compatible fixed for H5 and H6 SoCs - Thermal trip points added for A83T and H5 SoCs - (Image) Rotation core hardware on A83T and A64 SoCs enabled Device specific changes: - Pine64 PineTab and PinePhone added - Various cleanups and improvements for Pine64 PineBook - GPIO pin bank regulator supplies added for A64-OlinXino - eMMC enabled on Orange Pi 3 - PocketBook Touch Lux 3 added - Linutronix Testbox v2 added - Ethernet enabled on Orange Pi One Plus - HDMI enabled on H6-based Orange Pi boards * tag 'sunxi-dt-for-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux: (46 commits) arm64: dts: allwinner: a64: add node for rotation core ARM: dts: sun8i: a83t: Add device node for rotation core arm64: dts: allwinner: a64: Fix display clock register range ARM: dts: sunxi: Fix DE2 clocks register range arm64: dts: allwinner: h6: orangepi: Enable HDMI arm64: dts: allwinner: h6: orangepi-one-plus: Enable ethernet arm64: dts: allwinner: h6: Move ext. oscillator to board DTs arm64: dts: allwinner: Add initial support for Pine64 PinePhone dt-bindings: arm: sunxi: Add PinePhone 1.0 and 1.1 bindings arm64: dts: sun50i-a64: Add i2c2 pins ARM: dts: sunxi: h3/h5: add r_pwm node arm64: allwinner: a64: enable LCD-related hardware for Pinebook ARM: dts: sun8i-a83t: Add thermal trip points/cooling maps ARM: dts: sun8i-h3: Add thermal trip points/cooling maps arm64: dts: allwinner: h6: Fix PMU compatible arm64: dts: allwinner: h5: Fix PMU compatible ARM: dts: sun8i-a83t-tbs-a711: Drop superfluous dr_mode arm64: dts: sun50i-h5-orange-pi-pc2: Add CPUX voltage regulator ARM: dts: sun5i: Add PocketBook Touch Lux 3 support dt-bindings: arm: sunxi: Add PocketBook Touch Lux 3 ... Link: https://lore.kernel.org/r/20200313055459.GA19820@wens.csie.org Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2020-03-25Merge tag 'arm-soc/for-5.7/devicetree' of ↵Arnd Bergmann2-5/+94
https://github.com/Broadcom/stblinux into arm/dt This pull request contains Broadcom ARM-based SoCs Device Tree changes for 5.7, please pull the following: - Stefan adds GPIO labels to the Raspberry Pi 4 Model B board DTS - Nicolas moves the eMMC2 controller into its separate node in order for platform firmware to perform the necessary "dma-ranges" property patching based on the chip revision since the eMMC controller has different addressing constraints. - Florian convers a whole bunch of Broadcom boards bindings from text to YAML. * tag 'arm-soc/for-5.7/devicetree' of https://github.com/Broadcom/stblinux: dt-bindings: arm: Document Broadcom SoCs 'secondary-boot-reg' dt-bindings: arm: bcm: Convert Vulcan to YAML dt-bindings: arm: bcm: Convert BCM11351 to YAML dt-bindings: arm: bcm: Convert BCM4708 to YAML dt-bindings: arm: bcm: Convert BCM23550 to YAML dt-bindings: arm: bcm: Convert BCM21664 to YAML dt-bindings: arm: bcm: Convert Stingray to YAML dt-bindings: arm: bcm: Convert Northstar 2 to YAML dt-bindings: arm: bcm: Convert Northstar Plus to YAML dt-bindings: arm: bcm: Convert Hurricane 2 to YAML dt-bindings: arm: bcm: Convert Cygnus to YAML ARM: dts: bcm2711: Move emmc2 into its own bus ARM: dts: bcm2711-rpi-4-b: Add SoC GPIO labels Link: https://lore.kernel.org/r/20200311212012.9418-2-f.fainelli@gmail.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2020-03-25arm64: dts: specify console via command lineChunyan Zhang1-1/+1
The SPRD serial driver need to know which serial port would be used as console in an early period during initialization, otherwise console init would fail since we added this feature[1]. So this patch add console to command line via devicetree. [1] https://lore.kernel.org/lkml/20190826072929.7696-4-zhang.lyra@gmail.com/ Link: https://lore.kernel.org/r/20200311112120.30890-1-zhang.lyra@gmail.com Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2020-03-25Merge tag 'omap-for-v5.7/dt-signed' of ↵Arnd Bergmann3-2/+38
git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into arm/dt Devicetree changes for omaps for v5.7 merge window Few device tree changes for omaps for v5.7 to configure omap5 AESS module and to add idle_states for am335x and am437x cpuidle. * tag 'omap-for-v5.7/dt-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: ARM: dts: am4372: Add idle_states for cpuidle ARM: dts: am33xx: Add idle_states for cpuidle ARM: dts: Configure omap5 AESS Link: https://lore.kernel.org/r/pull-1583511417-919838@atomide.com-4 Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2020-03-25Merge tag 'versatile-dts-v5.7-1' of ↵Arnd Bergmann17-17/+16
git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator into arm/dt Versatile DTS updates for the v5.7 series take one: - Schema validation for the top level of all ARM reference designs: Integrator, Versatile, RealView, Juno. - Clean up some node names in the trees so they pass validation fine. - Drop the old text bindings. - A top level DMA ranges patch from Rob. * tag 'versatile-dts-v5.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator: ARM/arm64: dts: Rename SMB bus to just bus dt-bindings: arm: Drop the non-YAML bindings dt-bindings: arm: Add Versatile Express and Juno YAML schema dt-bindings: arm: Add RealView YAML schema dt-bindings: arm: Add Versatile YAML schema dt-bindings: arm: Add Integrator YAML schema ARM: dts: RealView: Fix the name of the SoC node ARM: dts: Versatile: Use syscon as node name for IB2 ARM: dts: integratorap: Remove top level dma-ranges Link: https://lore.kernel.org/r/CACRpkdbbniYVnsE-pAmU2qCerswserNgEFtY48XQ+_K+DUNC9Q@mail.gmail.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2020-03-25Merge tag 'renesas-arm64-dt-for-v5.7-tag1' of ↵Arnd Bergmann13-35/+84
git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel into arm/dt Renesas ARM64 DT updates for v5.7 - CryptoCell support for R-Car M3-W, M3-W+, M3-N, E3, and D3, - Miscellaneous fixes and improvements. * tag 'renesas-arm64-dt-for-v5.7-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel: arm64: dts: renesas: rzg2: Add reset control properties for display arm64: dts: renesas: rcar-gen3: Add reset control properties for display arm64: dts: renesas: Remove use of ARCH_R8A7795 arm64: dts: renesas: rcar-gen3: Add CCREE nodes arm64: dts: renesas: rcar-gen3: Replace "vsps" by "renesas,vsps" arm: dts: renesas: r8a77980: Remove r8a77970 DU compatible Link: https://lore.kernel.org/r/20200226110221.19288-5-geert+renesas@glider.be Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2020-03-25Merge tag 'renesas-arm-dt-for-v5.7-tag1' of ↵Arnd Bergmann20-26/+42
git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel into arm/dt Renesas ARM DT updates for v5.7 - Miscellaneous fixes and improvements. * tag 'renesas-arm-dt-for-v5.7-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel: ARM: dts: rzg1: Add reset control properties for display ARM: dts: rcar-gen2: Add reset control properties for display ARM: dts: r8a7745: Convert to new DU DT bindings ARM: dts: r7s72100: Add SPIBSC clocks ARM: dts: renesas: Group tuples in operating-points properties ARM: dts: renesas: Add missing ethernet PHY reset GPIO on Gen2 reference boards Link: https://lore.kernel.org/r/20200226110221.19288-2-geert+renesas@glider.be Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2020-03-13ARM: dts: stm32: use correct vqmmc regu for eMMC on stm32mp1 ED1/EV1 boardsYann Gautier1-1/+1
On those boards, as stated in schematics files, the regulator used for IOs is VDD. It was wrongly set to v3v3. Signed-off-by: Yann Gautier <yann.gautier@st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
2020-03-13ARM: dts: stm32: add disable-wp property for SD-card on STM32MP1 boardsYann Gautier3-0/+3
On STM32MP1 DK1, DK2, ED1 and EV1 boards, there is only a micro SD socket. This is also the case on Avenger board. They don't support the Write Protect pin. The disable-wp is then added in the SD-cards sdmmc1 nodes. This avoids executing some code and a warning during driver probe. Signed-off-by: Yann Gautier <yann.gautier@st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
2020-03-13ARM: dts: stm32: add cd-gpios properties for SD-cards on STM32MP1 boardsYann Gautier3-3/+3
The broken-cd properties are replaced with cd-gpios, with the correct GPIO to detect the card insertion. The GPIO lines require a pull-up. Signed-off-by: Yann Gautier <yann.gautier@st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
2020-03-13ARM: dts: stm32: Do clean up in stmpic nodes on stm32mp15 boardsBenjamin Gaignard3-10/+0
Remove unused properties from stpmic node. The issues have been detected by running dtbs_check. Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
2020-03-13ARM: dts: stm32: Rename stmfx joystick pins on stm32mp157c-ev1Benjamin Gaignard1-1/+1
Rename stmfx joystick pins names according to yaml description. Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
2020-03-13ARM: dts: stm32: add cpu clock-frequency property on stm32mp15xAhmad Fatoum2-0/+2
All of the STM32MP151[1], STM32MP153[2] and STM32MP157[3] have their Cortex-A7 cores running at 650 MHz. Add the clock-frequency property to CPU nodes to avoid warnings about them missing. [1]: https://www.st.com/en/microcontrollers-microprocessors/stm32mp151.html [2]: https://www.st.com/en/microcontrollers-microprocessors/stm32mp153.html [3]: https://www.st.com/en/microcontrollers-microprocessors/stm32mp157.html Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
2020-03-13ARM: dts: stm32: add wakeup-source in all I2C nodes of stm32mp157cAlain Volmat1-0/+6
Add the wakeup-source property in all i2c nodes of the SoC stm32mp157c so that those I2C controllers can become wakeup-source. Signed-off-by: Alain Volmat <alain.volmat@st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
2020-03-13ARM: dts: stm32: add i2c4 sleep pinctrl on stm32mp157c-ed1Alain Volmat1-1/+2
Add the sleep state pinctrl entry for the i2c4 node of the stm32mp157c-ed1 board. Signed-off-by: Alain Volmat <alain.volmat@st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
2020-03-13ARM: dts: stm32: add i2c2/i2c5 sleep pinctrl on stm32mp157c-ev1Alain Volmat1-2/+4
Add the sleep state pinctrl entry for the i2c2 and i2c5 nodes of the stm32mp157c-ev1 board. Signed-off-by: Alain Volmat <alain.volmat@st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
2020-03-13ARM: dts: stm32: add i2c4 sleep pinctrl on stm32mp15xx-dkxAlain Volmat1-1/+2
Add the sleep state pinctrl entry for the i2c4 node of the stm32mp15xx-dkx.dtsi Signed-off-by: Alain Volmat <alain.volmat@st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
2020-03-13ARM: dts: stm32: set i2c4 bus freq to 400KHz on stm32mp15 DK boardsAlain Volmat1-0/+1
On DK boards, all I2C4 bus slaves supports I2C Fast Mode hence setting the bus frequency to 400 KHz. Signed-off-by: Alain Volmat <alain.volmat@st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
2020-03-13ARM: dts: stm32: set i2c4 bus freq to 400KHz on stm32mp157c-ed1Alain Volmat1-0/+1
On this board, the I2C4 bus has only a single slave (pmic) which supports I2C Fast Mode hence setting bus frequency to 400 KHz. Signed-off-by: Alain Volmat <alain.volmat@st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
2020-03-12arm64: dts: renesas: Add HiHope RZ/G2M board with idk-1110wr displayFabrizio Castro2-0/+53
The HiHope RZ/G2M is advertised as compatible with panel idk-1110wr from Advantech, however the panel isn't sold alongside the board. A new dts, adding everything that's required to get the panel to work with HiHope RZ/G2M, is the most convenient way to support the HiHope RZ/G2M when it's connected to the idk-1110wr. Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Link: https://lore.kernel.org/r/1583957020-16359-3-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2020-03-12arm64: dts: renesas: r8a77990: Add CPUIdle support for CA53 coresTakeshi Kihara1-0/+15
Enable cpuidle (core shutdown) support for the CA53 cores on R-Car E3. Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20200309171200.21226-1-geert+renesas@glider.be
2020-03-12arm64: dts: renesas: r8a77965: Add CPUIdle support for CA57 coresTakeshi Kihara1-0/+15
Enable cpuidle (core shutdown) support for the CA57 cores on R-Car M3-N. Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20200309171112.21086-1-geert+renesas@glider.be
2020-03-12arm64: dts: renesas: r8a77961: salvator-xs: Fix memory unit-addressGeert Uytterhoeven1-1/+1
Correct the unit-address of the second memory node, to match the corresponding reg property. Fixes: 92980759c1699a3c ("arm64: dts: renesas: Add support for Salvator-XS with R-Car M3-W+") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20200309170825.20882-1-geert+renesas@glider.be
2020-03-12arm64: dts: renesas: Add support for M3ULCB with R-Car M3-W+Yuya Hamamachi3-0/+34
Add initial support for the Renesas M3ULCB board equipped with an R-Car M3-W+ SiP with 8 (2 x 4) GiB of RAM. To avoid build error on 'ulcb.dtsi', ssi2 is added into 'r8a77961.dtsi'. Based on commit 92980759c1699a3c ("arm64: dts: renesas: Add support for Salvator-XS with R-Car M3-W+"). Signed-off-by: Yuya Hamamachi <yuya.hamamachi.sx@renesas.com> Link: https://lore.kernel.org/r/20200309064425.25437-3-yuya.hamamachi.sx@renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2020-03-12arm64: dts: renesas: r8a77961: Add thermal nodesGeert Uytterhoeven1-0/+79
Add a device node for the Thermal Sensor/Chip Internal Voltage Monitor in the R-Car M3-W+ (R8A77961) SoC, and describe the thermal zones. According to the R-Car Gen3 Hardware Manual Errata for Revision 2.00 of Jan 31, 2020, the thermal parameters for R-Car M3-W+ are the same as for R-Car M3-W. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Link: https://lore.kernel.org/r/20200306110025.24747-1-geert+renesas@glider.be
2020-03-11arm64: dts: allwinner: a64: add node for rotation coreJernej Skrabec1-0/+12
Allwinner A64 contains rotation core compatible to A83T. Add a node for it. Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> Signed-off-by: Chen-Yu Tsai <wens@csie.org>
2020-03-11ARM: dts: sun8i: a83t: Add device node for rotation coreJernej Skrabec1-0/+11
Allwinner A83T contains rotation core. Add a node for it. Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> Signed-off-by: Chen-Yu Tsai <wens@csie.org>
2020-03-11arm64: dts: allwinner: a64: Fix display clock register rangeJernej Skrabec1-1/+1
Register range of display clocks is 0x10000, as it can be seen from DE2 documentation. Fix it. Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> Fixes: 2c796fc8f5dbd ("arm64: dts: allwinner: a64: add necessary device tree nodes for DE2 CCU") [wens@csie.org: added fixes tag] Signed-off-by: Chen-Yu Tsai <wens@csie.org>
2020-03-11ARM: dts: sunxi: Fix DE2 clocks register rangeJernej Skrabec4-4/+4
As it can be seen from DE2 manual, clock range is 0x10000. Fix it. Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> Fixes: 73f122c82775 ("ARM: dts: sun8i: a83t: Add display pipeline") Fixes: 05a43a262d03 ("ARM: dts: sun8i: r40: Add HDMI pipeline") Fixes: 21b299209330 ("ARM: sun8i: v3s: add device nodes for DE2 display pipeline") Fixes: d8c6f1f0295c ("ARM: sun8i: h3/h5: add DE2 CCU device node for H3") [wens@csie.org: added fixes tags] Signed-off-by: Chen-Yu Tsai <wens@csie.org>
2020-03-11ARM: dts: iwg22d-sodimm: Enable touchscreenMarian-Cristian Rotariu1-0/+33
In one of the iWave-G22D development board variants, called Generic SODIMM Development Platform, we have an LCD with touchscreen. The resistive touch controller, STMPE811 is on the development board and is connected through the i2c5 of the RZ-G1E. Additionally, this controller should generate an interrupt to the CPU and it is connected through GPIO4,4 to the GIC. Touch was tested with one of our iW-RainboW-G22D-SODIMM RZ/G1E development platforms. More details on the iWave website: https://www.iwavesystems.com/rz-g1e-sodimm-development-kit.html Signed-off-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com> Link: https://lore.kernel.org/r/1583336650-25848-1-git-send-email-marian-cristian.rotariu.rb@bp.renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2020-03-11ARM: dts: iwg22d-sodimm: Enable LCD panelMarian-Cristian Rotariu2-0/+66
On the Generic SODIMM Development Platform there is an RGB LCD panel directly connected to the DU output. It uses the TPU0 as backlight, one GPIO pull-up configuration for power enable, R[2:7], G[2:7], B[2:7], VSYNC, HSYNC, DU0_DISP and, DU0_CLK as inputs. There is no encoder between the DU and the panel, therefore the default connector driver is used. The two variants of the iW-G22D should be mutually exclusive, therefore this patch also disables the RGB LCD display when the HDMI extension board is used. Signed-off-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com> Link: https://lore.kernel.org/r/1583239490-8837-1-git-send-email-marian-cristian.rotariu.rb@bp.renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2020-03-09ARM: dts: bcm2711: Move emmc2 into its own busNicolas Saenz Julienne2-5/+21
Depending on bcm2711's revision its emmc2 controller might have different DMA constraints. Raspberry Pi 4's firmware will take care of updating those, but only if a certain alias is found in the device tree. So, move emmc2 into its own bus, so as not to pollute other devices with dma-ranges changes and create the emmc2bus alias. Based in Phil ELwell's downstream implementation. Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> Link: https://lore.kernel.org/r/20200304132437.20164-1-nsaenzjulienne@suse.de
2020-03-09ARM: dts: bcm2711-rpi-4-b: Add SoC GPIO labelsStefan Wahren1-0/+73
This adds the labels for all the SoC GPIOs on the Raspberry Pi 4. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/1581166975-22949-5-git-send-email-stefan.wahren@i2se.com Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
2020-03-09arm64: dts: allwinner: h6: orangepi: Enable HDMIMarcus Cooper1-0/+26
Both, OrangePi One Plus and OrangePi Lite 2 have HDMI output. Enable it in common DTSI. Signed-off-by: Marcus Cooper <codekipper@gmail.com> [patch split and commit message] Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> Reviewed-by: Christopher Obbard <chris@64studio.com> Tested-by: Christopher Obbard <chris@64studio.com> Signed-off-by: Maxime Ripard <maxime@cerno.tech>
2020-03-09arm64: dts: allwinner: h6: orangepi-one-plus: Enable ethernetMarcus Cooper1-0/+33
OrangePi One Plus has gigabit ethernet. Add nodes for it. Signed-off-by: Marcus Cooper <codekipper@gmail.com> [patch split and commit message] Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> Reviewed-by: Christopher Obbard <chris@64studio.com> Tested-by: Christopher Obbard <chris@64studio.com> Signed-off-by: Maxime Ripard <maxime@cerno.tech>
2020-03-09arm64: dts: allwinner: h6: Move ext. oscillator to board DTsJernej Skrabec5-8/+44
It turns out that not all H6 boards have external 32kHz oscillator. Currently the only one known such H6 board is Tanix TX6. Move external oscillator node from common H6 dtsi to board specific dts files where present. Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> Signed-off-by: Maxime Ripard <maxime@cerno.tech>
2020-03-04ARM/arm64: dts: Rename SMB bus to just busLinus Walleij14-14/+14
Discussing the YAML validation schema with the DT maintainers it came out that a bus named "smb@80000000" is not really accepted, and the schema was written to name the static memory bus just "bus@80000000". This change is necessary for the schema to kick in and validate these device trees, else the schema gets ignored. Cc: Rob Herring <robh+dt@kernel.org> Acked-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2020-03-04ARM: dts: RealView: Fix the name of the SoC nodeLinus Walleij1-1/+1
Drop the surplus @0 on the soc node making the devicetree conform strictly to the schema. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2020-03-04ARM: dts: Versatile: Use syscon as node name for IB2Linus Walleij1-1/+1
The IB2 syscon should not have any funny names, just call it syscon@ as per the convention so the schema will apply properly. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2020-03-04ARM: dts: integratorap: Remove top level dma-rangesRob Herring1-1/+0
'dma-ranges' at the top level doesn't make sense. 'dma-ranges' implies there is a parent bus node with '#address-cells' and '#size-cells' which is impossible here. Likely this translation needs to be moved down to sub-nodes that need it. Cc: Linus Walleij <linus.walleij@linaro.org> Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2020-03-02Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds19-104/+169
Pull KVM fixes from Paolo Bonzini: "More bugfixes, including a few remaining "make W=1" issues such as too large frame sizes on some configurations. On the ARM side, the compiler was messing up shadow stacks between EL1 and EL2 code, which is easily fixed with __always_inline" * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: KVM: VMX: check descriptor table exits on instruction emulation kvm: x86: Limit the number of "kvm: disabled by bios" messages KVM: x86: avoid useless copy of cpufreq policy KVM: allow disabling -Werror KVM: x86: allow compiling as non-module with W=1 KVM: Pre-allocate 1 cpumask variable per cpu for both pv tlb and pv ipis KVM: Introduce pv check helpers KVM: let declaration of kvm_get_running_vcpus match implementation KVM: SVM: allocate AVIC data structures based on kvm_amd module parameter arm64: Ask the compiler to __always_inline functions used by KVM at HYP KVM: arm64: Define our own swab32() to avoid a uapi static inline KVM: arm64: Ask the compiler to __always_inline functions used at HYP kvm: arm/arm64: Fold VHE entry/exit work into kvm_vcpu_run_vhe() KVM: arm/arm64: Fix up includes for trace.h
2020-03-01KVM: VMX: check descriptor table exits on instruction emulationOliver Upton1-0/+15
KVM emulates UMIP on hardware that doesn't support it by setting the 'descriptor table exiting' VM-execution control and performing instruction emulation. When running nested, this emulation is broken as KVM refuses to emulate L2 instructions by default. Correct this regression by allowing the emulation of descriptor table instructions if L1 hasn't requested 'descriptor table exiting'. Fixes: 07721feee46b ("KVM: nVMX: Don't emulate instructions in guest mode") Reported-by: Jan Kiszka <jan.kiszka@web.de> Cc: stable@vger.kernel.org Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Jim Mattson <jmattson@google.com> Signed-off-by: Oliver Upton <oupton@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-02-28Merge tag 'kvmarm-fixes-5.6-1' of ↵Paolo Bonzini13-75/+83
git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD KVM/arm fixes for 5.6, take #1 - Fix compilation on 32bit - Move VHE guest entry/exit into the VHE-specific entry code - Make sure all functions called by the non-VHE HYP code is tagged as __always_inline
2020-02-28kvm: x86: Limit the number of "kvm: disabled by bios" messagesErwan Velu1-2/+2
In older version of systemd(219), at boot time, udevadm is called with : /usr/bin/udevadm trigger --type=devices --action=add" This program generates an echo "add" in /sys/devices/system/cpu/cpu<x>/uevent, leading to the "kvm: disabled by bios" message in case of your Bios disabled the virtualization extensions. On a modern system running up to 256 CPU threads, this pollutes the Kernel logs. This patch offers to ratelimit this message to avoid any userspace program triggering this uevent printing this message too often. This patch is only a workaround but greatly reduce the pollution without breaking the current behavior of printing a message if some try to instantiate KVM on a system that doesn't support it. Note that recent versions of systemd (>239) do not have trigger this behavior. This patch will be useful at least for some using older systemd with recent Kernels. Signed-off-by: Erwan Velu <e.velu@criteo.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-02-28KVM: x86: avoid useless copy of cpufreq policyPaolo Bonzini1-5/+5
struct cpufreq_policy is quite big and it is not a good idea to allocate one on the stack. Just use cpufreq_cpu_get and cpufreq_cpu_put which is even simpler. Reported-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-02-28KVM: allow disabling -WerrorPaolo Bonzini2-1/+14
Restrict -Werror to well-tested configurations and allow disabling it via Kconfig. Reported-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-02-28KVM: x86: allow compiling as non-module with W=1Valdis Klētnieks2-0/+4
Compile error with CONFIG_KVM_INTEL=y and W=1: CC arch/x86/kvm/vmx/vmx.o arch/x86/kvm/vmx/vmx.c:68:32: error: 'vmx_cpu_id' defined but not used [-Werror=unused-const-variable=] 68 | static const struct x86_cpu_id vmx_cpu_id[] = { | ^~~~~~~~~~ cc1: all warnings being treated as errors When building with =y, the MODULE_DEVICE_TABLE macro doesn't generate a reference to the structure (or any code at all). This makes W=1 compiles unhappy. Wrap both in a #ifdef to avoid the issue. Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu> [Do the same for CONFIG_KVM_AMD. - Paolo] Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>