* [PATCH v4 0/2] dt: add pinctrl driver for Meson-AXG SoC
@ 2017-12-08 1:54 Yixun Lan
2017-12-08 1:54 ` [PATCH v4 1/2] documentation: Add compatibles for Amlogic Meson AXG pin controllers Yixun Lan
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Yixun Lan @ 2017-12-08 1:54 UTC (permalink / raw)
To: linux-arm-kernel
This is DT part patchset for adding pinctrl support for
the Amlogic's Meson-AXG SoC.
Changes since v3 at [3]
-- rebase to khilman's v4.16/dt64 branch and re-send
-- add Rob's Ack
Changes since v2 at [2]:
-- Resend this patch series due to fail to send patch [2/2]
Changes since v1 at [1]:
-- Separate DT part patches
-- Add Neil Armstrong's Ack
[3]
http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005392.html
http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005393.html
http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005394.html
[2]
http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005390.html
[1]
http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005270.html
http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005271.html
http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005272.html
http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005273.html
http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005274.html
Xingyu Chen (2):
documentation: Add compatibles for Amlogic Meson AXG pin controllers
ARM64: dts: meson-axg: add pinctrl DT info for Meson-AXG SoC
.../devicetree/bindings/pinctrl/meson,pinctrl.txt | 2 +
arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 44 ++++++++++++++++++++++
2 files changed, 46 insertions(+)
--
2.15.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v4 1/2] documentation: Add compatibles for Amlogic Meson AXG pin controllers
2017-12-08 1:54 [PATCH v4 0/2] dt: add pinctrl driver for Meson-AXG SoC Yixun Lan
@ 2017-12-08 1:54 ` Yixun Lan
2017-12-08 1:54 ` [PATCH v4 2/2] ARM64: dts: meson-axg: add pinctrl DT info for Meson-AXG SoC Yixun Lan
2017-12-15 19:48 ` [PATCH v4 0/2] dt: add pinctrl driver " Kevin Hilman
2 siblings, 0 replies; 6+ messages in thread
From: Yixun Lan @ 2017-12-08 1:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Xingyu Chen <xingyu.chen@amlogic.com>
Add compatibles for Amlogic Meson AXG pin controllers
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
---
Documentation/devicetree/bindings/pinctrl/meson,pinctrl.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/pinctrl/meson,pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/meson,pinctrl.txt
index 2392557ede27..2c12f9789116 100644
--- a/Documentation/devicetree/bindings/pinctrl/meson,pinctrl.txt
+++ b/Documentation/devicetree/bindings/pinctrl/meson,pinctrl.txt
@@ -9,6 +9,8 @@ Required properties for the root node:
"amlogic,meson-gxbb-aobus-pinctrl"
"amlogic,meson-gxl-periphs-pinctrl"
"amlogic,meson-gxl-aobus-pinctrl"
+ "amlogic,meson-axg-periphs-pinctrl"
+ "amlogic,meson-axg-aobus-pinctrl"
- reg: address and size of registers controlling irq functionality
=== GPIO sub-nodes ===
--
2.15.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH v4 2/2] ARM64: dts: meson-axg: add pinctrl DT info for Meson-AXG SoC
2017-12-08 1:54 [PATCH v4 0/2] dt: add pinctrl driver for Meson-AXG SoC Yixun Lan
2017-12-08 1:54 ` [PATCH v4 1/2] documentation: Add compatibles for Amlogic Meson AXG pin controllers Yixun Lan
@ 2017-12-08 1:54 ` Yixun Lan
2017-12-15 20:20 ` Kevin Hilman
2017-12-15 19:48 ` [PATCH v4 0/2] dt: add pinctrl driver " Kevin Hilman
2 siblings, 1 reply; 6+ messages in thread
From: Yixun Lan @ 2017-12-08 1:54 UTC (permalink / raw)
To: linux-arm-kernel
From: Xingyu Chen <xingyu.chen@amlogic.com>
Add new pinctrl DT info for the Amlogic's Meson-AXG SoC.
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
---
arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 44 ++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
index e7213eb53958..7b24f83ab4bf 100644
--- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
@@ -7,6 +7,7 @@
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/gpio/meson-axg-gpio.h>
/ {
compatible = "amlogic,meson-axg";
@@ -157,6 +158,32 @@
#mbox-cells = <1>;
};
+ periphs: periphs at ff634000 {
+ compatible = "simple-bus";
+ reg = <0x0 0xff634000 0x0 0x2000>;
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges = <0x0 0x0 0x0 0xff634000 0x0 0x2000>;
+
+ pinctrl_periphs: pinctrl at 480 {
+ compatible = "amlogic,meson-axg-periphs-pinctrl";
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+
+ gpio: bank at 480 {
+ reg = <0x0 0x00480 0x0 0x40>,
+ <0x0 0x004e8 0x0 0x14>,
+ <0x0 0x00520 0x0 0x14>,
+ <0x0 0x00430 0x0 0x3c>;
+ reg-names = "mux", "pull", "pull-enable", "gpio";
+ gpio-controller;
+ #gpio-cells = <2>;
+ gpio-ranges = <&pinctrl_periphs 0 0 86>;
+ };
+ };
+ };
+
sram: sram at fffc0000 {
compatible = "amlogic,meson-axg-sram", "mmio-sram";
reg = <0x0 0xfffc0000 0x0 0x20000>;
@@ -182,6 +209,23 @@
#size-cells = <2>;
ranges = <0x0 0x0 0x0 0xff800000 0x0 0x100000>;
+ pinctrl_aobus: pinctrl at 14 {
+ compatible = "amlogic,meson-axg-aobus-pinctrl";
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+
+ gpio_ao: bank at 14 {
+ reg = <0x0 0x00014 0x0 0x8>,
+ <0x0 0x0002c 0x0 0x4>,
+ <0x0 0x00024 0x0 0x8>;
+ reg-names = "mux", "pull", "gpio";
+ gpio-controller;
+ #gpio-cells = <2>;
+ gpio-ranges = <&pinctrl_aobus 0 0 15>;
+ };
+ };
+
uart_AO: serial at 3000 {
compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart";
reg = <0x0 0x3000 0x0 0x18>;
--
2.15.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH v4 0/2] dt: add pinctrl driver for Meson-AXG SoC
2017-12-08 1:54 [PATCH v4 0/2] dt: add pinctrl driver for Meson-AXG SoC Yixun Lan
2017-12-08 1:54 ` [PATCH v4 1/2] documentation: Add compatibles for Amlogic Meson AXG pin controllers Yixun Lan
2017-12-08 1:54 ` [PATCH v4 2/2] ARM64: dts: meson-axg: add pinctrl DT info for Meson-AXG SoC Yixun Lan
@ 2017-12-15 19:48 ` Kevin Hilman
2017-12-16 3:27 ` Yixun Lan
2 siblings, 1 reply; 6+ messages in thread
From: Kevin Hilman @ 2017-12-15 19:48 UTC (permalink / raw)
To: linux-arm-kernel
Yixun Lan <yixun.lan@amlogic.com> writes:
> This is DT part patchset for adding pinctrl support for
> the Amlogic's Meson-AXG SoC.
>
> Changes since v3 at [3]
> -- rebase to khilman's v4.16/dt64 branch and re-send
> -- add Rob's Ack
>
> Changes since v2 at [2]:
> -- Resend this patch series due to fail to send patch [2/2]
>
> Changes since v1 at [1]:
> -- Separate DT part patches
> -- Add Neil Armstrong's Ack
>
> [3]
> http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005392.html
> http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005393.html
> http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005394.html
>
> [2]
> http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005390.html
>
> [1]
> http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005270.html
> http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005271.html
> http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005272.html
> http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005273.html
> http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005274.html
>
> Xingyu Chen (2):
> documentation: Add compatibles for Amlogic Meson AXG pin controllers
> ARM64: dts: meson-axg: add pinctrl DT info for Meson-AXG SoC
Applied both to v4.14/dt64
Normally, the documentation patch should go with the driver, but since
Linus has already merged the driver, this time I'll take it with the DT
itself.
Kevin
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v4 2/2] ARM64: dts: meson-axg: add pinctrl DT info for Meson-AXG SoC
2017-12-08 1:54 ` [PATCH v4 2/2] ARM64: dts: meson-axg: add pinctrl DT info for Meson-AXG SoC Yixun Lan
@ 2017-12-15 20:20 ` Kevin Hilman
0 siblings, 0 replies; 6+ messages in thread
From: Kevin Hilman @ 2017-12-15 20:20 UTC (permalink / raw)
To: linux-arm-kernel
Yixun Lan <yixun.lan@amlogic.com> writes:
> From: Xingyu Chen <xingyu.chen@amlogic.com>
>
> Add new pinctrl DT info for the Amlogic's Meson-AXG SoC.
>
> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
> Signed-off-by: Xingyu Chen <xingyu.chen@amlogic.com>
> Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
> ---
> arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 44 ++++++++++++++++++++++++++++++
> 1 file changed, 44 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
> index e7213eb53958..7b24f83ab4bf 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
> @@ -7,6 +7,7 @@
> #include <dt-bindings/gpio/gpio.h>
> #include <dt-bindings/interrupt-controller/irq.h>
> #include <dt-bindings/interrupt-controller/arm-gic.h>
> +#include <dt-bindings/gpio/meson-axg-gpio.h>
FYI: I dropped this line, since it's not used (yet) and it causes an
unncessary dependency on an external tree. It can be added back as soon
as there are users.
Kevin
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v4 0/2] dt: add pinctrl driver for Meson-AXG SoC
2017-12-15 19:48 ` [PATCH v4 0/2] dt: add pinctrl driver " Kevin Hilman
@ 2017-12-16 3:27 ` Yixun Lan
0 siblings, 0 replies; 6+ messages in thread
From: Yixun Lan @ 2017-12-16 3:27 UTC (permalink / raw)
To: linux-arm-kernel
On 12/16/2017 03:48 AM, Kevin Hilman wrote:
> Yixun Lan <yixun.lan@amlogic.com> writes:
>
>> This is DT part patchset for adding pinctrl support for
>> the Amlogic's Meson-AXG SoC.
>>
>> Changes since v3 at [3]
>> -- rebase to khilman's v4.16/dt64 branch and re-send
>> -- add Rob's Ack
>>
>> Changes since v2 at [2]:
>> -- Resend this patch series due to fail to send patch [2/2]
>>
>> Changes since v1 at [1]:
>> -- Separate DT part patches
>> -- Add Neil Armstrong's Ack
>>
>> [3]
>> http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005392.html
>> http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005393.html
>> http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005394.html
>>
>> [2]
>> http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005390.html
>>
>> [1]
>> http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005270.html
>> http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005271.html
>> http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005272.html
>> http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005273.html
>> http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005274.html
>>
>> Xingyu Chen (2):
>> documentation: Add compatibles for Amlogic Meson AXG pin controllers
>> ARM64: dts: meson-axg: add pinctrl DT info for Meson-AXG SoC
>
> Applied both to v4.14/dt64
>
> Normally, the documentation patch should go with the driver, but since
> Linus has already merged the driver, this time I'll take it with the DT
> itself.
>
Hi Kevin
sorry, I just checked Linus' pinctrl tree - the for-next branch, the
documentation patch is already taken there. so probably you could drop
it here?
Yixun
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-12-16 3:27 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-08 1:54 [PATCH v4 0/2] dt: add pinctrl driver for Meson-AXG SoC Yixun Lan
2017-12-08 1:54 ` [PATCH v4 1/2] documentation: Add compatibles for Amlogic Meson AXG pin controllers Yixun Lan
2017-12-08 1:54 ` [PATCH v4 2/2] ARM64: dts: meson-axg: add pinctrl DT info for Meson-AXG SoC Yixun Lan
2017-12-15 20:20 ` Kevin Hilman
2017-12-15 19:48 ` [PATCH v4 0/2] dt: add pinctrl driver " Kevin Hilman
2017-12-16 3:27 ` Yixun Lan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).