summaryrefslogtreecommitdiff
path: root/arch/arm
AgeCommit message (Collapse)Author
2022-04-21ARM: OMAP2+: add missing of_node_put before break and returnWang Qing
Fix following coccicheck warning: WARNING: Function "for_each_matching_node_and_match" should have of_node_put() before return. Early exits from for_each_matching_node_and_match should decrement the node reference counter. Signed-off-by: Wang Qing <wangqing@vivo.com> Message-Id: <1639388545-63615-1-git-send-email-wangqing@vivo.com> [tony@atomide.com: updated for omap_hwmod.c that was already patched] Signed-off-by: Tony Lindgren <tony@atomide.com>
2022-04-21ARM: dts: am335x-baltos: update MPU regulator rangeYegor Yefremov
Update the max MPU voltage range to align with the maximum possible value allowed in the operating-points table, which is max target voltage of 132500 uV + 2%. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Message-Id: <20220419143923.25196-1-yegorslists@googlemail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
2022-04-21ARM: dts: am335x: Guardian: Update commentsGireesh Hiremath
* Add comment to improve readability Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com> Message-Id: <20220325100613.1494-16-Gireesh.Hiremath@in.bosch.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
2022-04-21ARM: dts: am335x: Guardian: Add gpio line manesGireesh Hiremath
* assign name to gpio line Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com> Message-Id: <20220325100613.1494-15-Gireesh.Hiremath@in.bosch.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
2022-04-21ARM: dts: am335x: Guardian: Update interface pinmuxGireesh Hiremath
* Update interface pinmux for - poweroff button - battery and coincell enable - ASP and Miraculix Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com> Message-Id: <20220325100613.1494-14-Gireesh.Hiremath@in.bosch.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
2022-04-21ARM: dts: am335x: Guardian: Disable DMA property of USB1Gireesh Hiremath
* Dispble DMA property of USB1 Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com> Message-Id: <20220325100613.1494-13-Gireesh.Hiremath@in.bosch.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
2022-04-21ARM: dts: am335x: Guardian: Enable UART port twoGireesh Hiremath
* Add support for uart2 port Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com> Message-Id: <20220325100613.1494-12-Gireesh.Hiremath@in.bosch.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
2022-04-21ARM: dts: am335x: Guardian: Update backlight parameterGireesh Hiremath
* Update default brightness and dimming frequency * Enable current sink, while initialization Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com> Message-Id: <20220325100613.1494-11-Gireesh.Hiremath@in.bosch.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
2022-04-21ARM: dts: am335x: Guardian: Add lcd portGireesh Hiremath
* Add port to the node lcdc Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com> Message-Id: <20220325100613.1494-10-Gireesh.Hiremath@in.bosch.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
2022-04-21ARM: dts: am335x: Guardian: Update regulator node nameGireesh Hiremath
* Update mmcsd voltage regulator node name Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com> Message-Id: <20220325100613.1494-9-Gireesh.Hiremath@in.bosch.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
2022-04-21ARM: dts: am335x: Guardian: Update beeper labelGireesh Hiremath
* Update lable pwm to guardian beeper Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com> Message-Id: <20220325100613.1494-8-Gireesh.Hiremath@in.bosch.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
2022-04-21ARM: dts: am335x: Guardian: Update life ledGireesh Hiremath
* update life led label and pin number Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com> Message-Id: <20220325100613.1494-7-Gireesh.Hiremath@in.bosch.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
2022-04-21ARM: dts: am335x: Guardian: Remove mmc status ledGireesh Hiremath
* MMC presence indicater LED removed from Guardian Board Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com> Message-Id: <20220325100613.1494-6-Gireesh.Hiremath@in.bosch.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
2022-04-21ARM: dts: am335x: Guardian: Disable poweroff support from RTCGireesh Hiremath
* Disabling poweroff support form RTC will allow poweroff to handle from other machanism Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com> Message-Id: <20220325100613.1494-5-Gireesh.Hiremath@in.bosch.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
2022-04-21ARM: dts: am335x: Guardian: Add keypadGireesh Hiremath
* Add support to guardian mt gpio keypad Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com> Message-Id: <20220325100613.1494-4-Gireesh.Hiremath@in.bosch.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
2022-04-21ARM: dts: am335x: Guardian: Rename power button labelGireesh Hiremath
* Rename label button to power button Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com> Message-Id: <20220325100613.1494-3-Gireesh.Hiremath@in.bosch.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
2022-04-21ARM: dts: am335x: Guardian: Update NAND partition tableGireesh Hiremath
* Update partition table to save env and splash image * GPMC config values optimized for Bosch Guardian Board * NAND Chip used by Bosch Guardian Board is Micron MT29F4G08ABBFA Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com> Message-Id: <20220325100613.1494-2-Gireesh.Hiremath@in.bosch.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
2022-04-21ARM: dts: logicpd-som-lv: Move pinmuxing to peripheral nodesAdam Ford
Move some pinmux references to their respective peripherals. This keeps the pins in safe-mode until they are requested. Signed-off-by: Adam Ford <aford173@gmail.com> Message-Id: <20220303171818.11060-2-aford173@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
2022-04-21ARM: dts: omap3/4/5: fix ethernet node name for different OMAP boardsOleksij Rempel
The node name of Ethernet controller should be "ethernet" instead of "usbether" as required by Ethernet controller devicetree schema: Documentation/devicetree/bindings/net/ethernet-controller.yaml This patch can potentially affect boot loaders patching against full node path instead of using device aliases. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Message-Id: <20220216074927.3619425-8-o.rempel@pengutronix.de> Signed-off-by: Tony Lindgren <tony@atomide.com>
2022-04-21pinctrl: samsung: fix missing GPIOLIB on ARM64 Exynos configKrzysztof Kozlowski
The Samsung pinctrl drivers depend on OF_GPIO, which is part of GPIOLIB. ARMv7 Exynos platform selects GPIOLIB and Samsung pinctrl drivers. ARMv8 Exynos selects only the latter leading to possible wrong configuration on ARMv8 build: WARNING: unmet direct dependencies detected for PINCTRL_EXYNOS Depends on [n]: PINCTRL [=y] && OF_GPIO [=n] && (ARCH_EXYNOS [=y] || ARCH_S5PV210 || COMPILE_TEST [=y]) Selected by [y]: - ARCH_EXYNOS [=y] Always select the GPIOLIB from the Samsung pinctrl drivers to fix the issue. This requires removing of OF_GPIO dependency (to avoid recursive dependency), so add dependency on OF for COMPILE_TEST cases. Reported-by: Necip Fazil Yildiran <fazilyildiran@gmail.com> Fixes: eed6b3eb20b9 ("arm64: Split out platform options to separate Kconfig") Cc: <stable@vger.kernel.org> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20220420141407.470955-1-krzysztof.kozlowski@linaro.org
2022-04-20ARM: pxa: maybe fix gpio lookup tablesArnd Bergmann
From inspection I found a couple of GPIO lookups that are listed with device "gpio-pxa", but actually have a number from a different gpio controller. Try to rectify that here, with a guess of what the actual device name is. Acked-by: Robert Jarzmik <robert.jarzmik@free.fr> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Cc: stable@vger.kernel.org Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-04-20ARM: pxa: use pdev resource for palmld mmioArnd Bergmann
The palmld header is almost unused in drivers, the only remaining thing now is the PATA device address, which should really be passed as a resource. Cc: linux-ide@vger.kernel.org Acked-by: Robert Jarzmik <robert.jarzmik@free.fr> Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Acked-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-04-20ARM: dts: marvell: align SPI NOR node name with dtschemaKrzysztof Kozlowski
The node names should be generic and SPI NOR dtschema expects "flash". Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20220407143234.295426-1-krzysztof.kozlowski@linaro.org
2022-04-20ARM: dts: omap: align SPI NOR node name with dtschemaKrzysztof Kozlowski
The node names should be generic and SPI NOR dtschema expects "flash". Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20220407143304.295610-1-krzysztof.kozlowski@linaro.org
2022-04-20ARM: dts: nuvoton: align SPI NOR node name with dtschemaKrzysztof Kozlowski
The node names should be generic and SPI NOR dtschema expects "flash". Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20220407143127.295008-1-krzysztof.kozlowski@linaro.org
2022-04-19ARM: dts: qcom-msm8974*: Remove unnecessary includeKonrad Dybcio
gpio.h is already included in the SoC DTSI. Don't include it again. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220415115633.575010-24-konrad.dybcio@somainline.org
2022-04-19ARM: dts: qcom-msm8974-rhine: Add pstore nodeKonrad Dybcio
Add pstore node to allow for retrieving crash logs. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220415115633.575010-23-konrad.dybcio@somainline.org
2022-04-19ARM: dts: qcom-msm8974-rhine: Add NFC and enable I2C hostsKonrad Dybcio
Enable I2C hosts that are (supposed to be) used on Rhine and add NXP PN544 NFC node. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220415115633.575010-22-konrad.dybcio@somainline.org
2022-04-19ARM: dts: qcom-msm8974*: Clean up old GPIO declarationsKonrad Dybcio
Remove unneeded level of nesting, as it does not match the current DTS style. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220415115633.575010-21-konrad.dybcio@somainline.org
2022-04-19ARM: dts: qcom-msm8974*: Consolidate I2C/UART/SDHCIKonrad Dybcio
Clean up and commonize (where possible and it makes sense to) I2C, UART and SDHCI nodes and pin configurations. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220415115633.575010-20-konrad.dybcio@somainline.org
2022-04-19ARM: dts: qcom-msm8974*: Enable IMEM unconditionallyKonrad Dybcio
It's always a part of the SoC, so it makes little sense to disable it. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220415115633.575010-19-konrad.dybcio@somainline.org
2022-04-19ARM: dts: qcom-msm8974: Sort and clean up nodesKonrad Dybcio
- Remove regulators from the SoC DTSI - cpu_pmu{} -> pmu{} - move modem/iris regulators out of here; only FP2 used them - tcsr_mutex is moved out of /soc Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> [bjorn: Rebased on top of Krzysztof's fixes] Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220415115633.575010-18-konrad.dybcio@somainline.org
2022-04-19ARM: dts: qcom-msm8974: Convert ADSP to a MMIO deviceKonrad Dybcio
The cx-supply has been removed as it's supposed to be set on a per-board basis. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220415115633.575010-17-konrad.dybcio@somainline.org
2022-04-19ARM: dts: qcom-msm8974pro-*: Use the 8974pro name in DT filenamesKonrad Dybcio
Add the 'pro' part to the filenames of DTs of devices that are based on this SoC to make in easier to differentiate between Snapdragon 800- and 801-based platforms. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220415115633.575010-16-konrad.dybcio@somainline.org
2022-04-19ARM: dts: qcom-msm8974pro: Use &labelsKonrad Dybcio
Use &labels to align with the style used in new DTS and apply tiny style fixes. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220415115633.575010-15-konrad.dybcio@somainline.org
2022-04-19ARM: dts: qcom-msm8974-castor: Use &labelsKonrad Dybcio
Use &labels to align with the style used in new DTS and apply tiny style fixes. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> [bjorn: Rebased ontop of Krzysztof's fixes] Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220415115633.575010-14-konrad.dybcio@somainline.org
2022-04-19ARM: dts: qcom-msm8974-{"hon","am"}ami: Commonize and modernize the DTsKonrad Dybcio
Sony Xperia Z1 and Z1 compact are almost identical, and that shows in their DTs. Commonize the repeating parts and modernize the DTs to use labels. As a bonus, Z1C gains touchscreen support in this commit, as it was present on Z1 already. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> [bjorn: Rebased on top of Krzysztof's fixes] Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220415115633.575010-13-konrad.dybcio@somainline.org
2022-04-19ARM: dts: qcom-msm8974-klte: Use &labelsKonrad Dybcio
Use &labels to align with the style used in new DTS and apply tiny style fixes. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> [bjorn: Rebased on top of Krzysztof's fixes] Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220415115633.575010-12-konrad.dybcio@somainline.org
2022-04-19ARM: dts: qcom-msm8974-lge-nexus5: Use &labelsKonrad Dybcio
Use &labels to align with the style used in new DTS and apply tiny style fixes. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> [bjorn: Rebased on top of Krzysztof's fixes] Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220415115633.575010-11-konrad.dybcio@somainline.org
2022-04-19ARM: dts: qcom-msm8974-fp2: Use &labelsKonrad Dybcio
Use &labels to align with the style used in new DTS and apply tiny style fixes. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> [bjorn: Rebased on top of Krzysztof underscore fixes] Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220415115633.575010-10-konrad.dybcio@somainline.org
2022-04-19ARM: dts: qcom-apq8074-dragonboard: Use &labelsKonrad Dybcio
Use &labels to align with the style used in new DTS and apply tiny style fixes. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> [bjorn: Rebased ontop of Krzysztof's underscore fixes] Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220415115633.575010-9-konrad.dybcio@somainline.org
2022-04-19ARM: dts: qcom-msm8974*: Rename msmgpio to tlmmKonrad Dybcio
Rename the label to match new the style used in newer DTs. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220415115633.575010-8-konrad.dybcio@somainline.org
2022-04-19ARM: dts: qcom-msm8974: Fix up SDHCI nodesKonrad Dybcio
- Add missing labels (and remove their redefinition from klte) - Commonize bus-width - Add non-removable on sdhc_1, as it's supposed to have an eMMC on it Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220415115633.575010-7-konrad.dybcio@somainline.org
2022-04-19ARM: dts: qcom-msm8974: Fix up mdss nodesKonrad Dybcio
Fix up formatting, move status=disabled to the end where it belongs, rename DSI PHY label to match newer DTs, use tabs where possible, unwrap lines where wrapping is not necessary and don't disable mdp, as MDSS is useless without it. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220415115633.575010-6-konrad.dybcio@somainline.org
2022-04-19ARM: dts: qcom-msm8974*: Fix I2C labelsKonrad Dybcio
Fix up the label names and add missing ones. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220415115633.575010-5-konrad.dybcio@somainline.org
2022-04-19ARM: dts: qcom-msm8974*: Fix UART namingKonrad Dybcio
It's either uart10, or blsp2_uart4, not blsp2_uart10, as there aren't 10 UARTs on BLSP2. Fix the naming to align with what's done in arm64/qcom. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220415115633.575010-4-konrad.dybcio@somainline.org
2022-04-19ARM: dts: qcom-msm8974: Remove properties that are always overridenKonrad Dybcio
Model and compatible are set per-device, so having them in the SoC DTSI is superfluous. Remove them. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220415115633.575010-3-konrad.dybcio@somainline.org
2022-04-19ARM: dts: qcom-*-sony*: Mention SONY board names in DT filenamesKonrad Dybcio
SONY phones/tables are based on a common board ('platform'). Devices based on the same are often close to identical. Mention their association in filenames, like it's done in arm64 DTs. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220415115633.575010-2-konrad.dybcio@somainline.org
2022-04-19ARM: pxa: make addr-map.h header localArnd Bergmann
Drivers should not rely on the contents of this file, so move it into the platform directory directly. Cc: Philipp Zabel <philipp.zabel@gmail.com> Cc: Paul Parsons <lost.distance@yahoo.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/lkml/87mudkmx8g.fsf@belgarion.home/
2022-04-19ARM: pxa: move pcmcia board data into mach-pxaArnd Bergmann
The drivers/pcmcia/pxa2xx_*.c are essentially part of the board files, but for historic reasons located in drivers/pcmcia. Move them into the same place as the actual board file to avoid lots of machine header inclusions. Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Dominik Brodowski <linux@dominikbrodowski.net> Cc: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Arnd Bergmann <arnd@arndb.de>