From: Amit Singh Tomar <amittomer25@gmail.com> To: andre.przywara@arm.com, afaerber@suse.de, manivannan.sadhasivam@linaro.org, robh+dt@kernel.org Cc: cristian.ciocaltea@gmail.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-actions@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH v5 05/10] arm64: dts: actions: limit address range for pinctrl node Date: Thu, 2 Jul 2020 20:22:51 +0530 [thread overview] Message-ID: <1593701576-28580-6-git-send-email-amittomer25@gmail.com> (raw) In-Reply-To: <1593701576-28580-1-git-send-email-amittomer25@gmail.com> After commit 7cdf8446ed1d ("arm64: dts: actions: Add pinctrl node for Actions Semi S700") following error has been observed while booting Linux on Cubieboard7-lite(based on S700 SoC). [ 0.257415] pinctrl-s700 e01b0000.pinctrl: can't request region for resource [mem 0xe01b0000-0xe01b0fff] [ 0.266902] pinctrl-s700: probe of e01b0000.pinctrl failed with error -16 This is due to the fact that memory range for "sps" power domain controller clashes with pinctrl. One way to fix it, is to limit pinctrl address range which is safe to do as current pinctrl driver uses address range only up to 0x100. This commit limits the pinctrl address range to 0x100 so that it doesn't conflict with sps range. Fixes: 7cdf8446ed1d ("arm64: dts: actions: Add pinctrl node for Actions Semi S700") Suggested-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com> --- Changes since v4: * Reordered it from 04/10 to 05/10. Changes since v3: * No change. Changes since v2: * this is no more don't merge and fixed the broken S700 boot by limiting pinctrl address range. * Modified the subject to reflect the changes. Changes since v1: * No change. Changes since RFC: * kept as do not merge. --- arch/arm64/boot/dts/actions/s700.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/actions/s700.dtsi b/arch/arm64/boot/dts/actions/s700.dtsi index 2006ad5424fa..f8eb72bb4125 100644 --- a/arch/arm64/boot/dts/actions/s700.dtsi +++ b/arch/arm64/boot/dts/actions/s700.dtsi @@ -231,7 +231,7 @@ pinctrl: pinctrl@e01b0000 { compatible = "actions,s700-pinctrl"; - reg = <0x0 0xe01b0000 0x0 0x1000>; + reg = <0x0 0xe01b0000 0x0 0x100>; clocks = <&cmu CLK_GPIO>; gpio-controller; gpio-ranges = <&pinctrl 0 0 136>; -- 2.7.4
WARNING: multiple messages have this Message-ID (diff)
From: Amit Singh Tomar <amittomer25@gmail.com> To: andre.przywara@arm.com, afaerber@suse.de, manivannan.sadhasivam@linaro.org, robh+dt@kernel.org Cc: devicetree@vger.kernel.org, linux-actions@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, cristian.ciocaltea@gmail.com Subject: [PATCH v5 05/10] arm64: dts: actions: limit address range for pinctrl node Date: Thu, 2 Jul 2020 20:22:51 +0530 [thread overview] Message-ID: <1593701576-28580-6-git-send-email-amittomer25@gmail.com> (raw) In-Reply-To: <1593701576-28580-1-git-send-email-amittomer25@gmail.com> After commit 7cdf8446ed1d ("arm64: dts: actions: Add pinctrl node for Actions Semi S700") following error has been observed while booting Linux on Cubieboard7-lite(based on S700 SoC). [ 0.257415] pinctrl-s700 e01b0000.pinctrl: can't request region for resource [mem 0xe01b0000-0xe01b0fff] [ 0.266902] pinctrl-s700: probe of e01b0000.pinctrl failed with error -16 This is due to the fact that memory range for "sps" power domain controller clashes with pinctrl. One way to fix it, is to limit pinctrl address range which is safe to do as current pinctrl driver uses address range only up to 0x100. This commit limits the pinctrl address range to 0x100 so that it doesn't conflict with sps range. Fixes: 7cdf8446ed1d ("arm64: dts: actions: Add pinctrl node for Actions Semi S700") Suggested-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com> --- Changes since v4: * Reordered it from 04/10 to 05/10. Changes since v3: * No change. Changes since v2: * this is no more don't merge and fixed the broken S700 boot by limiting pinctrl address range. * Modified the subject to reflect the changes. Changes since v1: * No change. Changes since RFC: * kept as do not merge. --- arch/arm64/boot/dts/actions/s700.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/actions/s700.dtsi b/arch/arm64/boot/dts/actions/s700.dtsi index 2006ad5424fa..f8eb72bb4125 100644 --- a/arch/arm64/boot/dts/actions/s700.dtsi +++ b/arch/arm64/boot/dts/actions/s700.dtsi @@ -231,7 +231,7 @@ pinctrl: pinctrl@e01b0000 { compatible = "actions,s700-pinctrl"; - reg = <0x0 0xe01b0000 0x0 0x1000>; + reg = <0x0 0xe01b0000 0x0 0x100>; clocks = <&cmu CLK_GPIO>; gpio-controller; gpio-ranges = <&pinctrl 0 0 136>; -- 2.7.4 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2020-07-02 14:53 UTC|newest] Thread overview: 61+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-07-02 14:52 [PATCH v5 00/10] Add MMC and DMA support for Actions S700 Amit Singh Tomar 2020-07-02 14:52 ` Amit Singh Tomar 2020-07-02 14:52 ` [PATCH v5 01/10] dt-bindings: dmaengine: convert Actions Semi Owl SoCs bindings to yaml Amit Singh Tomar 2020-07-02 14:52 ` Amit Singh Tomar 2020-07-02 21:00 ` Rob Herring 2020-07-02 21:00 ` Rob Herring 2020-07-03 7:18 ` Amit Tomer 2020-07-03 7:18 ` Amit Tomer 2020-07-03 7:54 ` Amit Tomer 2020-07-03 7:54 ` Amit Tomer 2020-07-07 14:31 ` Rob Herring 2020-07-07 14:31 ` Rob Herring 2020-07-02 14:52 ` [PATCH v5 02/10] dmaengine: Actions: get rid of bit fields from dma descriptor Amit Singh Tomar 2020-07-02 14:52 ` Amit Singh Tomar 2020-07-12 17:11 ` Manivannan Sadhasivam 2020-07-12 17:11 ` Manivannan Sadhasivam 2020-07-02 14:52 ` [PATCH v5 03/10] dmaengine: Actions: Add support for S700 DMA engine Amit Singh Tomar 2020-07-02 14:52 ` Amit Singh Tomar 2020-07-02 22:07 ` kernel test robot 2020-07-02 22:07 ` kernel test robot 2020-07-02 22:07 ` kernel test robot 2020-07-02 14:52 ` [PATCH v5 04/10] clk: actions: Add MMC clock-register reset bits Amit Singh Tomar 2020-07-02 14:52 ` Amit Singh Tomar 2020-07-12 17:20 ` Manivannan Sadhasivam 2020-07-12 17:20 ` Manivannan Sadhasivam 2020-07-02 14:52 ` Amit Singh Tomar [this message] 2020-07-02 14:52 ` [PATCH v5 05/10] arm64: dts: actions: limit address range for pinctrl node Amit Singh Tomar 2020-07-12 17:23 ` Manivannan Sadhasivam 2020-07-12 17:23 ` Manivannan Sadhasivam 2020-07-02 14:52 ` [PATCH v5 06/10] arm64: dts: actions: Add DMA Controller for S700 Amit Singh Tomar 2020-07-02 14:52 ` Amit Singh Tomar 2020-07-12 17:24 ` Manivannan Sadhasivam 2020-07-12 17:24 ` Manivannan Sadhasivam 2020-07-02 14:52 ` [PATCH v5 07/10] dt-bindings: reset: s700: Add binding constants for mmc Amit Singh Tomar 2020-07-02 14:52 ` Amit Singh Tomar 2020-07-12 17:25 ` Manivannan Sadhasivam 2020-07-12 17:25 ` Manivannan Sadhasivam 2020-07-02 14:52 ` [PATCH v5 08/10] dt-bindings: mmc: owl: add compatible string actions,s700-mmc Amit Singh Tomar 2020-07-02 14:52 ` [PATCH v5 08/10] dt-bindings: mmc: owl: add compatible string actions, s700-mmc Amit Singh Tomar 2020-07-12 17:26 ` [PATCH v5 08/10] dt-bindings: mmc: owl: add compatible string actions,s700-mmc Manivannan Sadhasivam 2020-07-12 17:26 ` Manivannan Sadhasivam 2020-07-02 14:52 ` [PATCH v5 09/10] arm64: dts: actions: Add MMC controller support for S700 Amit Singh Tomar 2020-07-02 14:52 ` Amit Singh Tomar 2020-07-12 17:28 ` Manivannan Sadhasivam 2020-07-12 17:28 ` Manivannan Sadhasivam 2020-07-02 14:52 ` [PATCH v5 10/10] arm64: dts: actions: Add uSD support for Cubieboard7 Amit Singh Tomar 2020-07-02 14:52 ` Amit Singh Tomar 2020-07-12 17:30 ` Manivannan Sadhasivam 2020-07-12 17:30 ` Manivannan Sadhasivam 2020-07-12 18:45 ` Amit Tomer 2020-07-12 18:45 ` Amit Tomer 2020-07-12 23:17 ` André Przywara 2020-07-12 23:17 ` André Przywara 2020-07-13 9:03 ` Amit Tomer 2020-07-13 9:03 ` Amit Tomer 2020-07-13 3:00 ` Manivannan Sadhasivam 2020-07-13 3:00 ` Manivannan Sadhasivam 2020-07-13 9:08 ` Amit Tomer 2020-07-13 9:08 ` Amit Tomer 2020-07-17 14:40 ` Manivannan Sadhasivam 2020-07-17 14:40 ` Manivannan Sadhasivam
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1593701576-28580-6-git-send-email-amittomer25@gmail.com \ --to=amittomer25@gmail.com \ --cc=afaerber@suse.de \ --cc=andre.przywara@arm.com \ --cc=cristian.ciocaltea@gmail.com \ --cc=devicetree@vger.kernel.org \ --cc=linux-actions@lists.infradead.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=manivannan.sadhasivam@linaro.org \ --cc=robh+dt@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.