aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
AgeCommit message (Collapse)AuthorFilesLines
2021-02-02ARM: dts: qcom: msm8974-klte: Mark essential regulatorsIskren Chernev1-0/+2
s1 and l12 regulators are used for the memory and cache on the Samsung S5 (klte). If they are turned off the phone shuts down. So mark them as always-on to prevent that from happening. Signed-off-by: Iskren Chernev <iskren.chernev@gmail.com> Tested-by: Alexey Minnekhanov <alexeymin@postmarketos.org> Link: https://lore.kernel.org/r/20210201105657.1642825-4-iskren.chernev@gmail.com Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-02-02ARM: dts: qcom: msm8974-klte: add support for displaySamuel Pascua1-0/+95
Add initial support for the display found on the Samsung Galaxy 5 (klte) phone. This is based on work from Jonathan Marek & Brian Masney. Signed-off-by: Samuel Pascua <pascua.samuel.14@gmail.com> [iskren.chernev@gmail.com: add reset gpio, regulators] Signed-off-by: Iskren Chernev <iskren.chernev@gmail.com> Link: https://lore.kernel.org/r/20210201105657.1642825-3-iskren.chernev@gmail.com Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-02-02ARM: dts: qcom: msm8974-klte: add support for GPUSamuel Pascua1-0/+4
Enable adreno dt node. Signed-off-by: Samuel Pascua <pascua.samuel.14@gmail.com> [iskren.chernev@gmail.com: changes after v1] Signed-off-by: Iskren Chernev <iskren.chernev@gmail.com> Link: https://lore.kernel.org/r/20210201105657.1642825-2-iskren.chernev@gmail.com Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-02-02ARM: dts: qcom: msm8974: add gpu supportBrian Masney2-0/+48
Add support for the a3xx GPU. opp_table is chosen to include lower frequencies common to all different msm8974 variants. Signed-off-by: Brian Masney <masneyb@onstation.org> [iskren.chernev@gmail.com: change after v1] Signed-off-by: Iskren Chernev <iskren.chernev@gmail.com> Link: https://lore.kernel.org/r/20210201105657.1642825-1-iskren.chernev@gmail.com Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-02-02ARM: dts: mmp3: Fix the CCIC interruptsLubomir Rintel1-2/+4
A copy & paste oversight from MMP2; camera interrupts are handled via a multiplexer on MMP3. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20210121034130.1381872-13-lkundrak@v3.sk' Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02ARM: dts: mmp3-dell-ariel: Replace SSP2 with spi-gpioLubomir Rintel1-1/+12
The firmware leaves the pins in GPIO mode. Until we have a proper pinmux driver hooked on we just need to bitbang SPI. No big deal, this is just used for the power button and performance is not important. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20210121034130.1381872-12-lkundrak@v3.sk' Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02ARM: dts: mmp3-dell-ariel: Add the power button nodeLubomir Rintel1-1/+9
This adds support for the power button attached to the Embedded Controller on a Dell Wyse 3020 "Ariel" board. However, while the EC itself is controlled via I2C, the input capability for the power button acts as a separate device attached to the SPI, hence it has a separate device node. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20210121034130.1381872-11-lkundrak@v3.sk' Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02ARM: dts: mmp3-dell-ariel: Add the embedded controllerLubomir Rintel1-0/+9
Add the device node for the computer's embedded controller, responsible for controlling the LEDs and system power. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20210121034130.1381872-10-lkundrak@v3.sk' Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02ARM: dts: mmp2-olpc-xo-1-75: Use symbolic names for audio clocksLubomir Rintel1-2/+3
These are slighly easier to read. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20210121034130.1381872-9-lkundrak@v3.sk' Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02ARM: dts: mmp2: Use symbolic names for audio clocksLubomir Rintel1-2/+3
These are slighly easier to read. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20210121034130.1381872-8-lkundrak@v3.sk' Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02ARM: dts: mmp3: Extend the MPMU reg rangeLubomir Rintel1-1/+1
The ACGR register is at the offset of 0x1024, beyond the 4k originally assigned to the MPMU range. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20210121034130.1381872-7-lkundrak@v3.sk' Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02ARM: dts: mmp3-dell-ariel: Drop linux,usable-memory from /memoryLubomir Rintel1-1/+0
Drop the linux,usable-memory properties; the schema is unhappy about them. They've been cargo-culted from Open Firmware and I don't know what purpose they serve. Perhaps they are meant to provide the OFW runtime. In that case it's still okay to drop them from here; OFW is welcome to add it upon boot. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20210121034130.1381872-6-lkundrak@v3.sk' Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02ARM: dts: mmp2-olpc-xo-1-75: Drop linux,usable-memory from /memoryLubomir Rintel1-1/+0
Drop the linux,usable-memory properties; the schema is unhappy about them: mmp2-olpc-xo-1-75.dt.yaml: /: memory: False schema does not allow {'linux,usable-memory': [[0, 528482304]], 'available': [[847872, 519245824, 4096, 782336]], 'reg': [[0, 536870912]], 'device_type': ['memory']} They've been cargo-culted from Open Firmware and I don't know what purpose they serve. Perhaps they are meant to provide the OFW runtime. In that case it's still okay to drop them from here; OFW is welcome to add it upon boot. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20210121034130.1381872-5-lkundrak@v3.sk' Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02ARM: dts: mmp2-olpc-xo-1-75: Fix memory node nameLubomir Rintel1-1/+1
It contains a reg property. Add its base to the node name. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20210121034130.1381872-4-lkundrak@v3.sk' Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02Merge tag 'mvebu-dt-5.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu into arm/dtArnd Bergmann2-6/+24
mvebu dt for 5.12 (part 1) Improve LED and fan support on Helios4 boad (Armada 388 based) Add ECC configuration for Linksys board (Aramda 385 based) * tag 'mvebu-dt-5.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu: ARM: dts: armada388-helios4: assign pinctrl to each fan ARM: dts: armada388-helios4: assign pinctrl to LEDs ARM: dts: armada-385-linksys: fix usage with newer devices Link: https://lore.kernel.org/r/87sg6fn49o.fsf@BL-laptop Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02ARM: dts: ux500: Add Flash LEDs to Samsung phonesLinus Walleij3-0/+107
This adds the Richtek RT8515 Flash LED to the Golden, Skomer and Janice device trees. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20210201091308.284465-1-linus.walleij@linaro.org' Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02Merge tag 'keystone_dts_for_5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone into arm/dtArnd Bergmann2-5/+5
ARM: DTS: Keystone update for v5.12 Contains couple updates for DWC USB3 DT nodes * tag 'keystone_dts_for_5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone: arm: dts: keystone: Harmonize DWC USB3 DT nodes name arm: dts: keystone: Correct DWC USB3 compatible string Link: https://lore.kernel.org/r/1612156910-11159-1-git-send-email-santosh.shilimkar@oracle.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02Merge tag 'arm-soc/for-5.12/devicetree' of https://github.com/Broadcom/stblinux into arm/dtArnd Bergmann3-1/+49
This pull request contains Broadcom ARM-based SoCs Device Tree changes for 5.12, please pull the following: - Dave adds a proper compatile string for the DSI1 panel on 2711 (Raspberry Pi 4) to permit adequate driver differentiation - Nicolas declares reserved memory regions filed by the Rasbperry Pi bootloader to indicate the running system configuration - Maxime declares the BSC (HDMI I2C controller) and CEC interrupt controllers - Stanislav fixes a tab vs. space issue in the BCM21664 DTS * tag 'arm-soc/for-5.12/devicetree' of https://github.com/Broadcom/stblinux: ARM: dts: bcm2711: Add the CEC interrupt controller ARM: dts: bcm21664: Replace spaces with a tab ARM: dts: bcm2711: Add the BSC interrupt controller ARM: dts: bcm2711: Add reserved memory template to hold firmware configuration ARM: dts: bcm2711: Use compatible string for BCM2711 DSI1 Link: https://lore.kernel.org/r/20210131221721.685974-3-f.fainelli@gmail.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02Merge tag 'sunxi-dt-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into arm/dtArnd Bergmann82-128/+423
Our usual bunch of patches to support the Allwinner SoCs, this time adding: - DT fixes spotted through the schemas - Mali Support for the A10s/A13/GR8/R8 - MMC improvements for the A64 and H6 - New board: SL631 Action Camera, PineTab Early Adopter * tag 'sunxi-dt-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux: (47 commits) ARM: dts: sunxi: Rename nmi_intc to r_intc ARM: dts: sun8i: h2-plus: bananapi-m2-zero: Increase BT UART speed ARM: dts: sunxi: bananapi-m2-plus: Increase BT UART speed arm64: dts: allwinner: pine-h64: Fix typos in BT GPIOs arm64: dts: allwinner: pinetab: Fix the panel compatible arm64: dts: allwinner: pinephone: Remove useless light sensor supplies arm64: dts: allwinner: h6: Use - instead of @ for DT OPP entries ARM: dts: sun8i-a33: sina33: Add missing panel power supply ARM: dts: sun8i-a83t: Remove empty CSI port ARM: dts: sun8i-s3: pinecube: Fix CSI DTC warnings ARM: dts: sun8i-s3: impetus: Fix the USB PHY ID detect GPIO properties ARM: dts: sun8i: nanopi-r1: Fix GPIO regulator state array ARM: dts: sun6i: primo81: Remove useless io-channel-cells ARM: dts: sunxi: Fix CPU thermal zone node name ARM: dts: sunxi: Add missing backlight supply ARM: dts: sunxi: Fix the LED node names dt-bindings: rtc: sun6i-a31-rtc: Loosen the requirements on the clocks dt-bindings: iio: adc: Add AXP803 compatible dt-bindings: sunxi: Fix the pinecube compatible ARM: dts: sun8i-v3s: Add CSI0 MCLK pin definition ... Link: https://lore.kernel.org/r/48511540-fdd6-4fbe-8037-ec9fa8436147.lettre@localhost Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-01ARM: 9046/1: decompressor: Do not clear SCTLR.nTLSMD for ARMv7+ coresVladimir Murzin1-2/+2
It was observed that decompressor running on hardware implementing ARM v8.2 Load/Store Multiple Atomicity and Ordering Control (LSMAOC), say, as guest, would stuck just after: Uncompressing Linux... done, booting the kernel. The reason is that it clears nTLSMD bit when disabling caches: nTLSMD, bit [3] When ARMv8.2-LSMAOC is implemented: No Trap Load Multiple and Store Multiple to Device-nGRE/Device-nGnRE/Device-nGnRnE memory. 0b0 All memory accesses by A32 and T32 Load Multiple and Store Multiple at EL1 or EL0 that are marked at stage 1 as Device-nGRE/Device-nGnRE/Device-nGnRnE memory are trapped and generate a stage 1 Alignment fault. 0b1 All memory accesses by A32 and T32 Load Multiple and Store Multiple at EL1 or EL0 that are marked at stage 1 as Device-nGRE/Device-nGnRE/Device-nGnRnE memory are not trapped. This bit is permitted to be cached in a TLB. This field resets to 1. Otherwise: Reserved, RES1 So as effect we start getting traps we are not quite ready for. Looking into history it seems that mask used for SCTLR clear came from the similar code for ARMv4, where bit[3] is the enable/disable bit for the write buffer. That not applicable to ARMv7 and onwards, so retire that bit from the masks. Fixes: 7d09e85448dfa78e3e58186c934449aaf6d49b50 ("[ARM] 4393/2: ARMv7: Add uncompressing code for the new CPU Id format") Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2021-02-01ARM: 9045/1: uncompress: Validate start of physical memory against passed DTBGeert Uytterhoeven3-4/+168
Currently, the start address of physical memory is obtained by masking the program counter with a fixed mask of 0xf8000000. This mask value was chosen as a balance between the requirements of different platforms. However, this does require that the start address of physical memory is a multiple of 128 MiB, precluding booting Linux on platforms where this requirement is not fulfilled. Fix this limitation by validating the masked address against the memory information in the passed DTB. Only use the start address from DTB when masking would yield an out-of-range address, prefer the traditional method in all other cases. Note that this applies only to the explicitly passed DTB on modern systems, and not to a DTB appended to the kernel, or to ATAGS. The appended DTB may need to be augmented by information from ATAGS, which may need to rely on knowledge of the start address of physical memory itself. This allows to boot Linux on r7s9210/rza2mevb using the 64 MiB of SDRAM on the RZA2MEVB sub board, which is located at 0x0C000000 (CS3 space), i.e. not at a multiple of 128 MiB. Suggested-by: Nicolas Pitre <nico@fluxnic.net> Suggested-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Acked-by: Nicolas Pitre <nico@fluxnic.net> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2021-02-01ARM: 9039/1: assembler: generalize byte swapping macro into rev_lArd Biesheuvel1-4/+1
Take the 4 instruction byte swapping sequence from the decompressor's head.S, and turn it into a rev_l GAS macro for general use. While at it, make it use the 'rev' instruction when compiling for v6 or later. Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Tested-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Nicolas Pitre <nico@fluxnic.net> Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2021-01-31ARM: dts: sunxi: Rename nmi_intc to r_intcSamuel Holland15-15/+15
The R_INTC block controls more than just the NMI, and it is a different hardware block than the NMI INTC found in some other Allwinner SoCs, so the label "nmi_intc" is inaccurate. Name it "r_intc" to match the compatible and to match the few references in the vendor documentation. Signed-off-by: Samuel Holland <samuel@sholland.org> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20210118055040.21910-6-samuel@sholland.org
2021-01-31ARM: dts: sun8i: h2-plus: bananapi-m2-zero: Increase BT UART speedJernej Skrabec1-0/+1
Bluetooth module on BananaPi M2 Zero can also be used for streaming audio. However, for that case higher UART speed is required. Add a max-speed property. Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> Acked-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20210116103710.245617-1-jernej.skrabec@siol.net
2021-01-31ARM: dts: sunxi: bananapi-m2-plus: Increase BT UART speedJernej Skrabec1-0/+1
Bluetooth module on BananaPi M2 Plus can also be used for streaming audio. However, for that case higher UART speed is required. Add a max-speed property. Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> Acked-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20210116105228.847073-1-jernej.skrabec@siol.net
2021-01-31ARM: dts: sun8i-a33: sina33: Add missing panel power supplyMaxime Ripard1-0/+1
The SinA33 panel is missing its power-supply property, even though the binding mandates it. Signed-off-by: Maxime Ripard <maxime@cerno.tech> Acked-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Jernej Skrabec <jernej.skrabec@siol.net> Link: https://lore.kernel.org/r/20210114113538.1233933-15-maxime@cerno.tech
2021-01-31ARM: dts: sun8i-a83t: Remove empty CSI portMaxime Ripard1-3/+0
The empty CSI port triggers a dt-validate warning. Let's align with the other DTSI and remove it entirely, expecting the DTS to fill it. Signed-off-by: Maxime Ripard <maxime@cerno.tech> Acked-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Jernej Skrabec <jernej.skrabec@siol.net> Link: https://lore.kernel.org/r/20210114113538.1233933-14-maxime@cerno.tech
2021-01-31ARM: dts: sun8i-s3: pinecube: Fix CSI DTC warningsMaxime Ripard1-3/+0
Our CSI endpoint trigger some DTC warnings due to the fact that we're having a single endpoint that doesn't need any reg property, and since we don't have a reg property, we don't need the address-cells and size-cells properties anymore. Fix those Signed-off-by: Maxime Ripard <maxime@cerno.tech> Acked-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Jernej Skrabec <jernej.skrabec@siol.net> Link: https://lore.kernel.org/r/20210114113538.1233933-13-maxime@cerno.tech
2021-01-31ARM: dts: sun8i-s3: impetus: Fix the USB PHY ID detect GPIO propertiesMaxime Ripard1-1/+1
While the USB PHY Device Tree mandates that the name of the ID detect pin should be usb0_id_det-gpios, a significant number of device tree use usb0_id_det-gpio instead. This was functional because the GPIO framework falls back to the gpio suffix that is legacy, but we should fix this. Signed-off-by: Maxime Ripard <maxime@cerno.tech> Acked-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Jernej Skrabec <jernej.skrabec@siol.net> Link: https://lore.kernel.org/r/20210114113538.1233933-12-maxime@cerno.tech
2021-01-31ARM: dts: sun8i: nanopi-r1: Fix GPIO regulator state arrayMaxime Ripard1-2/+2
Even though it translates to the same thing down to the binary level, we should have an array of 2 number cells to describe each voltage state, which in turns create a validation warning. Let's fix this. Signed-off-by: Maxime Ripard <maxime@cerno.tech> Acked-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Jernej Skrabec <jernej.skrabec@siol.net> Link: https://lore.kernel.org/r/20210114113538.1233933-11-maxime@cerno.tech
2021-01-31ARM: dts: sun6i: primo81: Remove useless io-channel-cellsMaxime Ripard1-1/+0
The mma8452 binding doesn't expect an io-channel-cells property, let's remove it. Signed-off-by: Maxime Ripard <maxime@cerno.tech> Acked-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Jernej Skrabec <jernej.skrabec@siol.net> Link: https://lore.kernel.org/r/20210114113538.1233933-10-maxime@cerno.tech
2021-01-30Merge tag 'devicetree-fixes-for-5.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linuxLinus Torvalds1-1/+2
Pull devicetree fixes from Rob Herring: - Cleanups on properties with standard unit suffixes - Fix overwriting dma_range_map if there's no 'dma-ranges' property - Fix a bug when creating a /chosen node from ARM ATAGs - Add missing properties for TI j721e USB binding - Several doc reference updates due to DT schema conversions * tag 'devicetree-fixes-for-5.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: dt-bindings: Cleanup standard unit properties of/device: Update dma_range_map only when dev has valid dma-ranges ARM: zImage: atags_to_fdt: Fix node names on added root nodes dt-bindings: usb: j721e: add ranges and dma-coherent props dt-bindings:iio:adc: update adc.yaml reference dt-bindings: memory: mediatek: update mediatek,smi-larb.yaml references dt-bindings: display: mediatek: update mediatek,dpi.yaml reference ASoC: audio-graph-card: update audio-graph-card.yaml reference
2021-01-30ARM: dts: imx6: RDU2: adjust audio devices nomenclatureCory Tusar1-10/+12
This adds a "HPA1" prefix to the amplifiers on both audio cards, this is done in order to get more consistency for userspace running on RDU2 and RDU3, where we have two amplifiers on a single card device in the "Zest" configuration. Also adjust the card names to the new standard expected by userspace. Signed-off-by: Cory Tusar <cory.tusar@zii.aero> [adjusted commit message] Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2021-01-30ARM: dts: imx6: RDU2: only trigger IRQ on falling edge ucs1002 ALERT pinLucas Stach1-1/+1
The ALERT signaling happens on the falling edge of the signal, as rising edge doesn't really have any notion, as it may happen much later (due to shared IRQ line) or too early if the chip resolves the fault itself. So only trigger the IRQ on the edge we are actually interested in. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2021-01-30ARM: dts: imx6: RDU2: enable RMI4 reduced reportingLucas Stach1-0/+2
To use the reduced reporting mode the threshold values need to be set explicitly. Configure the threshold to be less than 0.5% of the full touchscreen range. This seems to be a good compromise between system load and input accurancy. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2021-01-30ARM: dts: imx6: RDU2: reduce i2c drive-strengthLucas Stach1-6/+6
The current 25 Ohm drive-strength is much too strong, resulting in significant overshoot of the signal. Reduce the drive-strength to 75 Ohm to get rid of those issues. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2021-01-30ARM: dts: imx6: rdu2: enable WDOG1Philipp Zabel1-4/+0
Enable the i.MX6 WDOG1 internal watchdog for warm reboots. This allows to issue emergency restarts without clearing the RAM, so collecting oops logs from ramoops pstore in barebox becomes feasible. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2021-01-30Merge tag 'tegra-for-5.12-arm-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into arm/dtArnd Bergmann1-2/+2
ARM: tegra: Device tree changes for v5.12-rc1 Fixes the pinmux configuration for the eMMC on the Ouya to fix issues with certain bootloaders. * tag 'tegra-for-5.12-arm-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux: ARM: tegra: ouya: Fix eMMC on specific bootloaders Link: https://lore.kernel.org/r/20210129193254.3610492-3-thierry.reding@gmail.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-01-29ARM: tegra: ouya: Fix eMMC on specific bootloadersPeter Geis1-2/+2
Ouya fails to detect the eMMC module when booted via certain bootloaders. Fastboot and hard-kexec bootloaders fail while u-boot does not. It was discovered that the issue manifests if the sdmmc4 alternate configuration clock pin is input disabled. Ouya uses sdmmc4 in the primary pin configuration. It is unknown why this occurs, though it is likely related to other eMMC limitations experienced on Ouya. For now, fix it by enabling input on cam_mclk_pcc0. Fixes: d7195ac5c9c5 ("ARM: tegra: Add device-tree for Ouya") Reported-by: Matt Merhar <mattmerhar@protonmail.com> Tested-by: Matt Merhar <mattmerhar@protonmail.com> Signed-off-by: Peter Geis <pgwipeout@gmail.com> Acked-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
2021-01-29Merge tag 'omap-for-v5.12/dt-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into arm/dtArnd Bergmann22-33/+1018
Devicetree changes for omaps for v5.12 merge window This includes the following earlier patches that were considered too late for v5.11 as discussed between Arnd and me on freenode #armlinux in December: - More updates to use cpsw switchdev driver - Enable gta04 PMIC power management - Updates for dra7 for ECC support, 1.8GHz speed and keep the ldo0 regulator always on as specified in the data manual And then we have the new devicetree changes: - Configure the original Amazon Echo to for audio - Configure missing thermal interrupt for omap4430 - Configure mapphone devices for passive thermal cooling, and add 1.2GHz mode. - Correct omap4430 sgx clock rate to use the runtime Android kernel value, the earlier value was for a lower power operating point - Drop turbo mode for 1GHz omap3 variants as we now have passive cooling configured - Update email address for Javier - Add new MYIR Tech Limited board support * tag 'omap-for-v5.12/dt-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: ARM: dts: am335x-myirtech-*: Add DT for AM335X MYIR Tech Limited board ARM: dts: omap3-igep: Change email address in copyright notice ARM: dts: omap36xx: Remove turbo mode for 1GHz variants ARM: dts: omap443x: Correct sgx clock to 307.2MHz as used on motorola vendor kernel ARM: dts: motorola-mapphone: Add 1.2GHz OPP ARM: dts: motorola-mapphone: Configure lower temperature passive cooling ARM: dts: Configure missing thermal interrupt for 4430 ARM: dts: omap3-echo: Add speaker sound card support ARM: dts: dra71-evm: mark ldo0 regulator as always on ARM: dts: dra76x: add support for OPP_PLUS ARM: dts: am574x-idk: add support for EMIF1 ECC ARM: dts: omap3-gta04: fix twl4030-power settings ARM: dts: am335x-evm/evmsk/icev2: switch to new cpsw switch drv ARM: dts: am33xx-l4: add dt node for new cpsw switchdev driver Link: https://lore.kernel.org/r/pull-1611845066-809577@atomide.com-2 Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-01-29Merge tag 'stm32-dt-for-v5.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32 into arm/dtArnd Bergmann14-48/+99
STM32 DT updates for v5.12, round 1 Highlights: ---------- MCU part: -Rename mmc nodes to match with yaml validation. MPU part: -Rename mmc nodes to match with yaml validation. -Move vdda1v1 & vdda1v8 (used by usbphyc) from boards files to SoC dtsi file. -LXA: -Fix leds schema for yaml validation. -DH: -Enable SDMMC1 internal pull-ups and disable CKIN feedabck clock on DHCOM. -Add SDMMC1 init state inorder to use some gpios during probing phase. -Disable KS8851 and FMC on PicoITX board. * tag 'stm32-dt-for-v5.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32: ARM: dts: stm32: add #clock-cells property to usbphyc node on stm32mp151 ARM: dts: stm32: remove usbphyc ports vdda1v1 & vdda1v8 on stm32mp15 boards ARM: dts: stm32: add usbphyc vdda1v1 and vdda1v8 supplies on stm32mp151 ARM: dts: stm32: Add STM32MP1 I2C6 SDA/SCL pinmux ARM: dts: stm32: Rename mmc controller nodes to mmc@ ARM: dts: stm32: Enable voltage translator auto-detection on DHCOM ARM: dts: stm32: Add additional init state for SDMMC1 pins ARM: dts: stm32: Disable KS8851 and FMC on PicoITX board ARM: dts: stm32: Fix schema warnings for pwm-leds on lxa-mc1 ARM: dts: stm32: Disable SDMMC1 CKIN feedback clock on DHCOM ARM: dts: stm32: Enable internal pull-ups for SDMMC1 on DHCOM SoM ARM: dts: stm32: Fix GPIO hog flags on DHCOM DRC02 ARM: dts: stm32: Fix GPIO hog flags on DHCOM PicoITX ARM: dts: stm32: Fix GPIO hog names on DHCOM ARM: dts: stm32: Disable optional TSC2004 on DRC02 board ARM: dts: stm32: Disable WP on DHCOM uSD slot ARM: dts: stm32: Connect card-detect signal on DHCOM ARM: dts: stm32: Fix polarity of the DH DRC02 uSD card detect Link: https://lore.kernel.org/r/5e8897a0-8f68-5e41-bfa0-ccdf1e23a3c1@foss.st.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-01-29ARM: dts: armada388-helios4: assign pinctrl to each fanRosen Penev1-3/+10
Split up the pins for each fan. This is needed in order to control them Fixes: ced8025b569e ("ARM: dts: armada388-helios4") Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2021-01-29ARM: dts: armada388-helios4: assign pinctrl to LEDsRosen Penev1-3/+12
Split up the pins to match earlier definitions. Allows LEDs to flash properly. Fixes: ced8025b569e ("ARM: dts: armada388-helios4") Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2021-01-29ARM: dts: armada-385-linksys: fix usage with newer devicesRosen Penev1-0/+2
Newer Linksys boards might come with a Winbond W29N02GV which can be configured in different ways. Make sure we configure it the same way as the older chips so everything keeps working. Signed-off-by: Imre Kaloz <kaloz@openwrt.org> Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
2021-01-29ARM: dts: stm32: add #clock-cells property to usbphyc node on stm32mp151Amelie Delaunay1-0/+1
usbphyc is a 48Mhz clock provider: the clock can be used as clock source for USB OTG. Add #clock-cells property to usbphyc node to reflect this capability. Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2021-01-29ARM: dts: stm32: remove usbphyc ports vdda1v1 & vdda1v8 on stm32mp15 boardsAmelie Delaunay7-26/+0
vdda1v1 and vdda1v8 supplies are required by USB PLL, not by the PHYs. Remove them from usbphyc child phy nodes now that they are managed in usbphyc parent node at SoC level. Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com> Tested-by: Marek Vasut <marex@denx.de> Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2021-01-29ARM: dts: stm32: add usbphyc vdda1v1 and vdda1v8 supplies on stm32mp151Amelie Delaunay1-0/+2
vdda1v1 and vdda1v8 supplies are required by USB PLL. Add them in usbphyc node. Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2021-01-29ARM: dts: stm32: Add STM32MP1 I2C6 SDA/SCL pinmuxJagan Teki1-0/+17
Add SDA/SCL pinmux lines for I2C6 on STM32MP1. This support adds both in default and sleep states. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
2021-01-29ARM: dts: imx6-sr-som: increase at8035 PHY gigabit Tw parameterRussell King1-0/+2
Increase the SmartEEE Tw parameter for Atheros PHYs to stop gigabit links from sporadically dropping. Jon Nettleton found that a value of 23 was the minimum to give a stable link, but testing with the Com Express 7 module shows 24 is the minimum - so 23 may still be on the margins. Use 24 instead for consistency across SolidRun platforms. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2021-01-29Merge tag 'imx-fixes-5.11-2' into imx/dtShawn Guo5-6/+22
i.MX fixes for 5.11, round 2: - Fix pcf2127 reset for imx7d-flex-concentrator board. - Fix i.MX6 suspend with Thumb-2 kernel. - Fix ethernet-phy address issue on imx6qdl-sr-som board. - Fix GPIO3 `gpio-ranges` on i.MX8MP. - Select SOC_BUS for IMX_SCU driver to fix build issue.