aboutsummaryrefslogtreecommitdiff
path: root/arch/arm
AgeCommit message (Collapse)AuthorFilesLines
2018-09-26ARM: dts: imx6qdl-zii-rdu2: Disable the internal RTCFabio Estevam1-0/+4
On the imx6qdl-zii-rdu2 board the RTC functionality is provided via a DS1341 RTC connected via I2C bus, so we can safely disable the internal one. Reported-by: Chris Healy <[email protected]> Signed-off-by: Fabio Estevam <[email protected]> Reviewed-by: Lucas Stach <[email protected]> Tested-by: Chris Healy <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
2018-09-26ARM: dts: imx51-zii-rdu1: Fix the rtc compatible stringFabio Estevam1-1/+1
According to Documentation/devicetree/bindings/rtc/rtc-ds1307.txt the original compatible "maxim,ds1341" is not a valid entry. Switch to the documented "dallas,ds1341" compatible. Reported-by: Chris Healy <[email protected]> Signed-off-by: Fabio Estevam <[email protected]> Reviewed-by: Lucas Stach <[email protected]> Tested-by: Chris Healy <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
2018-09-26ARM: dts: imx6ul: use nvmem-cells for cpu speed gradingAnson Huang1-0/+6
On i.MX6UL, accessing OCOTP directly is wrong because the ocotp clock needs to be enabled first, so use the nvmem-cells binding instead. Signed-off-by: Anson Huang <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
2018-09-26ARM: dts: imx: Fix SPI bus warningsRob Herring37-95/+95
dtc has new checks for SPI buses. Fix the warnings in node names and unit-addresses. There's over 100 warnings for FSL boards, a few examples: arch/arm/boot/dts/imx28-duckbill-2-spi.dtb: Warning (spi_bus_bridge): /apb@80000000/apbh@80000000/ssp@80014000: node name for SPI buses should be 'spi' arch/arm/boot/dts/imx53-ppd.dtb: Warning (spi_bus_bridge): /soc/aips@50000000/spba@50000000/ecspi@50010000: node name for SPI buses should be 'spi' arch/arm/boot/dts/imx6dl-colibri-eval-v3.dtb: Warning (spi_bus_reg): /soc/aips-bus@2000000/spba-bus@2000000/spi@2014000/mcp251x@1: SPI bus unit address format error, expected "0" Cc: Shawn Guo <[email protected]> Cc: Sascha Hauer <[email protected]> Cc: Pengutronix Kernel Team <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: NXP Linux Team <[email protected]> Cc: Li Yang <[email protected]> Cc: Stefan Agner <[email protected]> Signed-off-by: Rob Herring <[email protected]> Reviewed-by: Fabio Estevam <[email protected]> Acked-by: Stefan Agner <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
2018-09-26ARM: dts: meson8b: odroidc1: add stdout-path propertyMartin Blumenstingl1-0/+4
To use the "earlycon" kernel command line parameter (without arguments) we need a stdout-path property under the /chosen node. Add this to make it easier to spot errors early in the boot process when looking for them. Signed-off-by: Martin Blumenstingl <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
2018-09-26ARM: dts: meson8b: odroidc1: enable the SAR ADCMartin Blumenstingl1-0/+5
Odroid-C1 exposes ADC channels 0 and 1 on the GPIO headers. NOTE: Due to the SoC design these are limited to 1.8V (instead of 3.3V like all other pins). Enable the SAR ADC to enable voltage measurements on these pins. Signed-off-by: Martin Blumenstingl <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
2018-09-26ARM: dts: meson8b: odroidc1: add the fixed voltage regulatorsMartin Blumenstingl1-0/+73
There are multiple fixed regulators on the Odroid-C1 board. Add them so they can be used when we add the devices that need them (SAR ADC needs the 1.8V IOREF, RTC needs VDD_RTC). These are: - P5V0 is the main 5V power input - VCC3V3 / VDDIO_AO3V3 / VDD3V3: fixed regulator with 3.3V output which is supplied by P5V0 - IOREF_1V8 / VCC1V8 / VDD1V8: fixed regulator with 1.8V output which is supplied by P5V0 - VDD_RTC: fixed voltage regulator with 0.9V output which is supplied by VDDIO_AO3V3 - DDR_VDDC / DDR3_1V5: fixed voltage regulator with 1.5V output which is supplied by P5V0 - the existing TF_IO and RFLASH_VDD_EN regulators are supplied by VDDIO_AO3V3 - the existing VCCK regulator is supplied by P5V0 This does not add the missing VDDEE regulator (controlled by PWM_D) because it's not clear yet how to configure the voltage of that regulator. Signed-off-by: Martin Blumenstingl <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
2018-09-26ARM: dts: meson8b: odroidc1: add the CPU voltage regulatorMartin Blumenstingl1-0/+27
The CPU voltage regulator is a "Monolithic Power Systems MP2161" (according to the Odroid-C1+'s schematics). It is driven by PWM_C on GPIODV_9. Hardkernel's 3.10 kernel (based on the Amlogic GPL kernel sources) defines a PWM voltage table with the following values: - 0.86 volts = PWM register value 0x10f001b - (more values in 0.1 volt increments) - 1.14 volts = PWM register value 0x000012a When using the XTAL (24MHz) as input this translates into a PWM period of 12218ns with 0.86V using a duty cycle of 91% and 1.14V using a duty cycle of 0%. Signed-off-by: Martin Blumenstingl <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
2018-09-26ARM: dts: meson8b: Add support for the Endless Mini (EC-100)Martin Blumenstingl2-0/+249
The Endless Mini (EC-100) is a grapefruit-sized computer based on the Amlogic Meson8b (S805) SoC which comes in two variants. Both variants have in common: - Amlogic Meson8b (S805) SoC - two USB 2.0 ports on the rear, one one the front (connected to the SoC through an internal hub) - 3.5mm Stereo out and MIC combo port - HDMI and CVBS output - 5V power supply (rated at 3A / 15W) - an internal embedded micro-controller (called "EC") which implements a "breathing" effect for the LED and allows shutting down (powering off) the whole device - 10/100 Mbit/s Ethernet using an IC Plus IP101A/G PHY (note: the website incorrectly lists a Gigabit Ethernet port) - the CPU voltage is regulated using a PWM regulator. The GPL sources of the EC-100 are using a PWM value of 0x1c0000 for 0.86V and a PWM value of 0x00001c for 1.14V. When using the XTAL (24MHz) as input this translates into a PWM period of 1148ns with 0.86V using a duty cycle of 100% and 1.14V using a duty cycle of 0%. The main differences are: - the main indicator for the variant is the RAM size: the "cheaper" variant has 1 GB of RAM, while the more expensive one comes with 2GB - the storage size differs: 24 GB vs 32 GB - the "1 GB RAM" variant has Ethernet connectivity only, while the "2 GB" variant has a Realtek RTL8723BS SDIO chip which adds 802.11b/g/n wifi and Bluetooth 4.0 support Signed-off-by: Martin Blumenstingl <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
2018-09-26ARM: dts: meson8b: add the RMII pinsMartin Blumenstingl1-0/+15
Some boards use an RMII Ethernet PHY which requires fewer pins than the RGMII PHYs. Add a separate eth_rmii_pins node which does not include the pins which are only required for RGMII (but not for RMII) PHYs. Signed-off-by: Martin Blumenstingl <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
2018-09-26ARM: dts: meson8b: add the I2C_A, PWM_C and UART_B pinsMartin Blumenstingl1-0/+30
These are used for example on the Endless Mini (EC-100): - I2C_A is connected to the Realtek RT5640 audio codec - PWM_C (GPIODV_9) is connected to a PWM regulator which is used for VCCK (CPU voltage supply) - UART_B is connected to the Bluetooth module (of the RTL8723BS SDIO wifi and Bluetooth combo chip) Signed-off-by: Martin Blumenstingl <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
2018-09-25ARM: dts: stm32: update SPI6 dmas property on stm32mp157cAmelie Delaunay1-2/+2
Remove unused parameter from SPI6 dmas property on stm32mp157c SoC. Fixes: dc3f8c86c10d ("ARM: dts: stm32: add SPI support on stm32mp157c") Signed-off-by: Amelie Delaunay <[email protected]> Signed-off-by: Alexandre Torgue <[email protected]> [olof: Without this patch, SPI6 will fall back to interrupt mode with lower perfmance] Signed-off-by: Olof Johansson <[email protected]>
2018-09-26ARM: dts: imx7: Update coresight binding for hardware portsSuzuki K Poulose2-50/+46
Switch to the updated coresight bindings. Cc: Sascha Hauer <[email protected]> Cc: Pengutronix Kernel Team <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: Mathieu Poirier <[email protected]> Signed-off-by: Suzuki K Poulose <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
2018-09-26ARM: dts: vf610-zii-cfu1: Pass the 'no-sd' propertyFabio Estevam1-0/+1
Pass the 'no-sd' for esdhc0 controller as it is wired to eMMC. Signed-off-by: Fabio Estevam <[email protected]> Acked-by: Andrey Smirnov <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
2018-09-26ARM: dts: vf610-zii-cfu1: Pass the 'no-sdio' propertyFabio Estevam1-0/+2
No SDIO devices are connected to these ports, so pass the 'no-sdio' property. Signed-off-by: Fabio Estevam <[email protected]> Acked-by: Andrey Smirnov <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
2018-09-26ARM: dts: imx51-zii-scu2-mezz: Disable the internal watchdogFabio Estevam1-0/+4
imx51-zii-scu2-mezz has an external watchdog in the environment microcontroller, so disable the internal one. Signed-off-by: Fabio Estevam <[email protected]> Acked-by: Andrey Smirnov <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
2018-09-26ARM: dts: imx51-zii-scu2-mezz: Disable VPUFabio Estevam1-0/+4
imx51-zii-scu2-mezz does not have any video encoding/decoding needs, so disable the VPU. Signed-off-by: Fabio Estevam <[email protected]> Acked-by: Andrey Smirnov <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
2018-09-26ARM: dts: imx51-zii-scu3-esb: Disable VPUFabio Estevam1-0/+4
imx51-zii-scu3-esb does not have any video encoding/decoding needs, so disable the VPU. Signed-off-by: Fabio Estevam <[email protected]> Acked-by: Andrey Smirnov <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
2018-09-26ARM: dts: imx51: Add label for VPU nodeFabio Estevam1-1/+1
Add label for VPU node so that board dts files can disable VPU if needed. Signed-off-by: Fabio Estevam <[email protected]> Acked-by: Andrey Smirnov <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
2018-09-25Merge tag 'at91-4.20-defconfig' of ↵Olof Johansson2-0/+4
git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux into next/defconfig AT91 defconfig for 4.20 - addition of sama5 I2S - addition of generic ADC resistive touchscreen * tag 'at91-4.20-defconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux: ARM: multi_v7_defconfig: add Atmel I2S driver ARM: configs: at91: Add I2S driver to sama5 ARM: multi_v7_defconfig: add generic resistive touchscreen ARM: configs: at91: add generic resistive touchscreen to sama5 Signed-off-by: Olof Johansson <[email protected]>
2018-09-25Merge tag 'arm-soc/for-4.19/devicetree-fixes' of ↵Olof Johansson1-6/+8
https://github.com/Broadcom/stblinux into fixes This pull request contains Broadcom ARM-based SoCs Device Tree changes intended for 4.19, please pull the following: - Florian fixes the PPI and SPI interrupts in the BCM63138 (DSL) SoC DTS * tag 'arm-soc/for-4.19/devicetree-fixes' of https://github.com/Broadcom/stblinux: ARM: dts: BCM63xx: Fix incorrect interrupt specifiers Signed-off-by: Olof Johansson <[email protected]>
2018-09-25Merge tag 'samsung-dt-4.20-2' of ↵Olof Johansson16-72/+433
https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into next/dt Samsung DTS ARM changes for v4.20 1. Bring up DSI and HDMI on Exynos5250 Arndale. 2. Use the new way of setting external wakeup interrupts on S5Pv210. 3. Use proper cpufreq suspend OPP to fix suspend/wakeup from RAM on Snow Chromebook (Exynos5250). 4. Fully describe regualtors on Odroid XU3-family boards. 5. Fix sound in Snow-rev5 Chromebook. 6. Fix regulators configuration on Peach Pi/Pit Chromebooks (Exynos5420) which should be always on. 7. Fix pull control on PMIC interrupt lines on multiple boards which essentially fixes waking up by RTC. 8. Add PMIC interrupts on Exynos4210 UniversalC210 board. 9. Add external SD card support for Trats board (Exynos4210). 10. Correct audio subsystem parent clock on Peach Chromebooks. 11. Minor cleanups. * tag 'samsung-dt-4.20-2' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux: ARM: dts: exynos: Correct audio subsystem parent clock on Peach Chromebooks ARM: dts: exynos: Add external SD card support for Trats board ARM: dts: exynos: Disable pull control for PMIC IRQ line on Artik5 board ARM: dts: exynos: Disable pull control for S5M8767 PMIC ARM: dts: exynos: Remove double SD card detect pin inversion ARM: dts: exynos: Add missing PMIC interrupts on UniversalC210 board ARM: dts: exynos: Disable pull control for MAX8997 interrupts on Origen ARM: dts: exynos: Fix regulators configuration on Peach Pi/Pit Chromebooks ARM: dts: exynos: Fix sound in Snow-rev5 Chromebook ARM: dts: exynos: Add LDO28 regulator on Exynos5422 Odroid boards ARM: dts: exynos: Disable unused PMIC regulators on Exynos5422 Odroid boards ARM: dts: exynos: Add unused PMIC regulators on Exynos5422 Odroid boards ARM: dts: exynos: Add missing used PMIC regulators on Exynos5422 Odroid boards ARM: dts: exynos: Mark 1 GHz CPU OPP as suspend OPP on Exynos5250 ARM: dts: exynos: Convert exynos5250.dtsi to opp-v2 bindings ARM: dts: s5pv210: Switch to S5Pv210 specific pinctrl wakeup compatible ARM: dts: exynos: Fix HDMI-HPD line handling on Arndale ARM: dts: exynos: Use i2c-gpio for HDMI-DDC on Arndale ARM: dts: exynos: Add DSI and panel nodes on Arndale ARM: dts: exynos: Add DSI node on Exynos5250 Signed-off-by: Olof Johansson <[email protected]>
2018-09-25Merge tag 'socfpga_updates_for_v4.20_part2' of ↵Olof Johansson3-1/+17
git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux into next/dt SoCFPGA DTS updates for v4.20, part 2 - Fix I2C bus unit-address warning with new DTC checks - Add reset properties for timers * tag 'socfpga_updates_for_v4.20_part2' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux: ARM: dts: socfpga: add timer resets for SoCFPGA platform ARM: dts: socfpga: Fix I2C bus unit-address error Signed-off-by: Olof Johansson <[email protected]>
2018-09-25Merge tag 'sti-dt-for-v4.20-round1' of ↵Olof Johansson2-4/+12
git://git.kernel.org/pub/scm/linux/kernel/git/pchotard/sti into next/dt STi DT update: _ Change syntax of multiple DAI links * tag 'sti-dt-for-v4.20-round1' of git://git.kernel.org/pub/scm/linux/kernel/git/pchotard/sti: ARM: dts: stih410: change syntax of multiple DAI Signed-off-by: Olof Johansson <[email protected]>
2018-09-25Merge tag 'at91-4.20-dt' of ↵Olof Johansson13-123/+233
git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux into next/dt AT91 DT for 4.20 - warning fiwes from Rob - many updates for the axentia boards - ADC, I2S and touch screen support for sama5d2 * tag 'at91-4.20-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux: arm: dts: sama5d2: Update coresight bindings for hardware ports ARM: dts: at91: sama5d27_som1_ek: add adc regulators ARM: dts: atmel: Fix I2C and SPI bus warnings ARM: dts: at91: sama5d4: add labels to soc dtsi for derivative boards ARM: dts: at91: tse850: drop three indentation levels ARM: dts: at91: nattis: drop three indentation levels ARM: dts: at91: nattis: describe the lvds panel ARM: dts: at91: nattis: move pinctrls for the lvds chip to the lvds node ARM: dts: at91: nattis: state the actual lvds-encoder chip ARM: dts: at91: nattis: make the SD-card slot work ARM: dts: at91: nattis: set the PRLUD and HIPOW signals low ARM: dts: at91/trivial: remove old NAND bindings leftover in sama5d2 ARM: dts: at91/trivial: Fix USART1 definition for at91sam9g45 ARM: dts: at91: sama5d2 Xplained: add pin muxing for I2S ARM: dts: at91: sama5d2: add nodes for I2S controllers ARM: dts: at91: sama5d2: add I2S clock muxing nodes ARM: dts: at91: sama5d2: Add resistive touch device ARM: dts: at91: sama5d2: add channel cells for ADC device Signed-off-by: Olof Johansson <[email protected]>
2018-09-25Merge tag 'at91-4.20-soc' of ↵Olof Johansson1-6/+3
git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux into next/soc AT91 SoC for 4.20 - rename MAINTAINERS entries and change maintainers - two pm cleanups * tag 'at91-4.20-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux: MAINTAINERS: sdhci: move the Microchip entry to proper location MAINTAINERS: move former ATMEL entries to proper MICROCHIP location MAINTAINERS: remove the / ATMEL string from MICROCHIP entries MAINTAINERS: iio: add co-maintainer to SAMA5D2-compatible ADC driver MAINTAINERS: pwm: add entry for Microchip pwm driver MAINTAINERS: dmaengine: add files to Microchip dma entry MAINTAINERS: USB: change maintainer for Microchip USBA gadget driver MAINTAINERS: ASoC: change maintainer for Microchip ALSA drivers MAINTAINERS: media: change Microchip ISI, ISC maintainers MAINTAINERS: update entry for Microchip NAND driver support MAINTAINERS: ARM: at91: add co-maintainer for ARM/Microchip ARM: at91: pm: call put_device instead of of_node_put in at91_pm_config_ws ARM: at91: pm: remove pm_bu initialization in at91_pm_backup_init() Signed-off-by: Olof Johansson <[email protected]>
2018-09-25Merge tag 'at91-4.19-fixes' of ↵Olof Johansson1-0/+2
git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux into fixes AT91 fixes for 4.19: - fix a NAND issue on sama5d2_ptc_ek (drive strength setting to fix corruption) * tag 'at91-4.19-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux: ARM: dts: at91: sama5d2_ptc_ek: fix nand pinctrl Signed-off-by: Olof Johansson <[email protected]>
2018-09-25Merge tag 'stm32-defconfig-for-v4.20-1' of ↵Olof Johansson1-0/+6
git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32 into next/defconfig STM32 defconfig updates for v4.20, round 1 In multi_v7_defconfig, add support of: -STM32 SPI (module) -STM32 DRM and MIPI DSI (modules) -Panels OTM8009A and RM68200 (modules) -Enable backlight gpio * tag 'stm32-defconfig-for-v4.20-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32: ARM: multi_v7_defconfig: enable backlight gpio ARM: multi_v7_defconfig: enable panels OTM8009A and RM68200 ARM: multi_v7_defconfig: enable STM32 DRM and MIPI DSI support ARM: multi_v7_defconfig: enable STM32 SPI
2018-09-25Merge tag 'arm-soc/for-4.20/defconfig' of ↵Olof Johansson1-1/+1
https://github.com/Broadcom/stblinux into next/defconfig This pull request contains Broadcom ARM-based SoCs defconfig changes for 4.20, please pull the following: - Stefan updates the bcm2835_defconfig file to turn on the bcm2835-audio driver. * tag 'arm-soc/for-4.20/defconfig' of https://github.com/Broadcom/stblinux: ARM: bcm2835_defconfig: Enable bcm2835-audio Signed-off-by: Olof Johansson <[email protected]>
2018-09-25arm: dts: mt7623: add jpeg decoder device nodeRyder Lee1-0/+15
Add a jpeg decoder device node for MT7623. Signed-off-by: Ryder Lee <[email protected]> Signed-off-by: Matthias Brugger <[email protected]>
2018-09-25arm: dts: mt7623: add iommu/smi device nodesRyder Lee1-0/+59
Add iommu/smi device nodes for MT7623. Signed-off-by: Ryder Lee <[email protected]> Signed-off-by: Matthias Brugger <[email protected]>
2018-09-25arm: dts: mt7623: update subsystem clock controller device nodesRyder Lee1-0/+41
Update MT7623 subsystem clock controllers, inlcuding mmsys, imgsys, vdecsys, g3dsys and bdpsys. Signed-off-by: Ryder Lee <[email protected]> Signed-off-by: Matthias Brugger <[email protected]>
2018-09-25arm: dts: mt7623: add a performance counter unit device nodeRyder Lee1-0/+9
Add ARM PMU device node to enable hardware perf events. Signed-off-by: Ryder Lee <[email protected]> Signed-off-by: Matthias Brugger <[email protected]>
2018-09-25ARM: dts: stih410: change syntax of multiple DAIChristophe Priouzeau2-4/+12
With change of syntax for 'simple-audio-card,dai-link' containers, devicetrees of stih410 must be updated. This fixes the following error: [ 3.839466] asoc-simple-card sound: asoc_simple_card_dai_link_of: Can't find simple-audio-card,cpu DT node [ 3.849150] asoc-simple-card sound: parse error -22 Signed-off-by: Christophe Priouzeau <[email protected]> Signed-off-by: Patrice Chotard <[email protected]>
2018-09-25ARM: dts: imx6ull: update vdd_soc voltage for 900MHz operating pointAnson Huang1-1/+1
Update VDD_SOC voltage to 1.25V for 900MHz operating point according to datasheet Rev. 1.3, 08/2018, 25mV is added to the minimum allowed values to cover power supply ripple. Signed-off-by: Anson Huang <[email protected]> Reviewed-by: Sébastien Szymanski <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
2018-09-25ARM: at91: pm: call put_device instead of of_node_put in at91_pm_config_wszhong jiang1-3/+3
of_find_device_by_node takes a reference to the struct device when it finds a match via get_device. but it fails to put_device in at91_pm_config_ws, for_each_matching_node_and_match will get and put the node properly, there is no need to call the of_put_node. Therefore, just call put_device instead of of_node_put in at91_pm_config_ws. Fixes: d7484f5c6b3b ("ARM: at91: pm: configure wakeup sources for ULP1 mode") Suggested-by: Claudiu Beznea <[email protected]> Signed-off-by: zhong jiang <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]>
2018-09-25Merge branch 'ib-omap' into develLinus Walleij2-13/+8
2018-09-24ARM: dts: omap3-gta04: add pulldown/up settings for twl4030 gpioAndreas Kemnade1-0/+13
Pullup and down settings were missing, so add them to avoid floating pins and make headset detection working. Signed-off-by: Andreas Kemnade <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2018-09-24ARM: dts: am335x-boneblack: add cec supportHans Verkuil1-0/+3
Add CEC support to the tda998x. Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2018-09-24ARM: dts: am3517-evm: Add support for UI board and AudioAdam Ford2-0/+221
The full AM3517-EVM shipped with an add-on board which contained two Audio codecs, a GPIO expander with a variety of buttons, and some other features. This patch enables these portions of the UI board because they don't directly conflict with existing features. Signed-off-by: Adam Ford <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2018-09-24ARM: dts: gta04: add serial console wakeup irqAndreas Kemnade1-0/+1
This enables the possibility to have more aggressive runtime pm by providing proper wakeup irq for the serial console. Signed-off-by: Andreas Kemnade <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2018-09-24ARM: dts: am57xx-idk-common: Hook smps12 regulator as cpu vdd-supplyKeerthy3-8/+4
am574x-idk has no cpu vdd-supply at the moment. Hence hook smps12 regulator as cpu vdd-supply in am57xx-idk-common as the same regulator feeds on to cpu on am571/2/4-idks. So remove all the individual instances and place that in common place. Signed-off-by: Keerthy <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2018-09-24block: simplify BIOVEC_PHYS_MERGEABLEChristoph Hellwig1-3/+2
Turn the macro into an inline, move it to blk.h and simplify the arch hooks a bit. Also rename the function to biovec_phys_mergeable as there is no need to shout. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
2018-09-24ARM: dts: BCM63xx: Fix incorrect interrupt specifiersFlorian Fainelli1-6/+8
A number of our interrupts were incorrectly specified, fix both the PPI and SPI interrupts to be correct. Fixes: b5762cacc411 ("ARM: bcm63138: add NAND DT support") Fixes: 46d4bca0445a ("ARM: BCM63XX: add BCM63138 minimal Device Tree") Signed-off-by: Florian Fainelli <[email protected]>
2018-09-24ARM: dts: exynos: Correct audio subsystem parent clock on Peach ChromebooksMarek Szyprowski2-2/+2
The proper parent clock for audio subsystem for Exynos5420 and Exynos5800 SoCs is CLK_MAU_EPLL. This fixes following warning: clk: failed to reparent mout_audss to fout_epll: -22 Fixes: ed7d1307077e: ARM: dts: exynos: Enable HDMI audio support on Peach Pit Fixes: bae0f445c1e7: ARM: dts: exynos: Enable HDMI audio support on Peach Pi Signed-off-by: Marek Szyprowski <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]>
2018-09-24ARM: mvebu: use dt_fixup to provide fallback for enable-methodChris Packham1-6/+8
We need to maintain backwards compatibility with device trees that don't define an enable method. At the same time we want the device tree to be able to specify an enable-method and have it stick. Previously by having smp assigned in the DT_MACHINE definition this would be picked up by setup_arch() and override whatever arm_dt_init_cpu_maps() had configured. Now we move the initial assignment of default smp_ops to a dt_fixup and let arm_dt_init_cpu_maps() override that if the device tree defines an enable-method. [[email protected]: Wrap set_smp_ops() in CONFIG_SMP.] Signed-off-by: Chris Packham <[email protected]> Tested-by: Gregory CLEMENT <[email protected]> (on AX3) Signed-off-by: Gregory CLEMENT <[email protected]>
2018-09-24ARM: dts: rockchip: explicitly set vcc_sd0 pin to gpio on rk3188-radxarockHeiko Stuebner1-0/+8
It is good practice to make the setting of gpio-pinctrls explicitly in the devicetree, and in this case even necessary. Rockchip boards start with iomux settings set to gpio for most pins and while the linux pinctrl driver also implicitly sets the gpio function if a pin is requested as gpio that is not necessarily true for other drivers. The issue in question stems from uboot, where the sdmmc_pwr pin is set to function 1 (sdmmc-power) by the bootrom when reading the 1st-stage loader. The regulator controlled by the pin is active-low though, so when the dwmmc hw-block sets its enabled bit, it actually disables the regulator. By changing the pin back to gpio we fix that behaviour. Signed-off-by: Heiko Stuebner <[email protected]>
2018-09-24gpio: omap: Remove custom PM calls and use cpu_pm insteadTony Lindgren2-13/+8
For a long time the gpio-omap custom PM calls have been annoying me so let's replace them with cpu_pm instead. This will enable GPIO PM for deeper idle states on omap4. And we can handle GPIO PM for omap2/3/4 in the same way. Note that with this patch we are also slightly changing GPIO PM to be less aggressive for omap3 and only will idle GPIO when PER context may be lost. For omap2, we don't need to save context and don't want to remove any triggering so let's add a quirk flag for that. Let's do this all in a single patch to avoid a situation where old custom calls still are used with new code. Cc: Aaro Koskinen <[email protected]> Cc: Keerthy <[email protected]> Cc: Ladislav Michl <[email protected]> Cc: Tero Kristo <[email protected]> Signed-off-by: Tony Lindgren <[email protected]> Acked-by: Grygorii Strashko <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
2018-09-23Merge tag 'samsung-soc-4.20' of ↵Olof Johansson5-108/+96
https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into next/dt Samsung mach/soc changes for v4.20 1. Fix imprecise abort during Odroid XU3-family suspend to RAM (but it is not end of work needed for suspend). 2. Cleanup and fix of SD card write protect on MINI2440. * tag 'samsung-soc-4.20' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux: ARM: s3c24xx: Restore proper usage of pr_info/pr_cont ARM: s3c24xx: Correct SD card write protect detection on Mini2440 ARM: s3c24xx: Consistently use tab for indenting member assignments ARM: s3c24xx: formatting cleanup in mach-mini2440.c ARM: s3c24xx: Remove empty gta02_pmu children probe ARM: exynos: Fix imprecise abort during Exynos5422 suspend to RAM ARM: exynos: Store Exynos5420 register state in one variable Signed-off-by: Olof Johansson <[email protected]>
2018-09-23Merge tag 'hisi-arm32-dt-for-4.20' of git://github.com/hisilicon/linux-hisi ↵Olof Johansson1-170/+176
into next/dt ARM: DT: Hisilicon ARM32 SoCs updates for 4.20 - Switch to updated coresight bindings for hip04 SoC * tag 'hisi-arm32-dt-for-4.20' of git://github.com/hisilicon/linux-hisi: arm: dts: hip04: Update coresight bindings for hardware ports Signed-off-by: Olof Johansson <[email protected]>