devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Yixun Lan <yixun.lan@amlogic.com>
To: Kevin Hilman <khilman@baylibre.com>
Cc: yixun.lan@amlogic.com, Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Linus Walleij <linus.walleij@linaro.org>,
	Neil Armstrong <narmstrong@baylibre.com>,
	Jerome Brunet <jbrunet@baylibre.com>,
	Carlo Caione <carlo@caione.org>,
	Xingyu Chen <xingyu.chen@amlogic.com>,
	devicetree@vger.kernel.org, linux-gpio@vger.kernel.org,
	linux-amlogic@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [RESEND PATCH v3 2/2] ARM64: dts: meson-axg: add pinctrl DT info for Meson-AXG SoC
Date: Thu, 7 Dec 2017 09:44:14 +0800	[thread overview]
Message-ID: <9d28dcdf-655b-a843-1f21-24ebb1f27be3@amlogic.com> (raw)
In-Reply-To: <7htvx3r4o7.fsf@baylibre.com>

Hi Kevin


On 12/07/17 04:18, Kevin Hilman wrote:
> 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 5fc33b76b91c..e0fb860e12c5 100644
>> --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
>> +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
>> @@ -9,6 +9,7 @@
>>  #include <dt-bindings/interrupt-controller/arm-gic.h>
>>  #include <dt-bindings/clock/axg-clkc.h>
>>  #include <dt-bindings/clock/axg-aoclkc.h>
> 
> This doesn't apply because this aoclkc.h header does not exist in
> mainline.
> 
> Kevin
> 

this is due to I create the patch in serial sequence (first clk, then
pinctrl), I probably will fix my work flow next time - to rebase all the
patch separately on the -rc version

but here, the pinctrl DT part has no dependency on DT clk patch..
you could drop the above two #include and just apply the reset

could you amend & apply this? or do you want me to send another updated
version?

>> +#include <dt-bindings/gpio/meson-axg-gpio.h>
>>  
>>  / {
>>  	compatible = "amlogic,meson-axg";
>> @@ -173,6 +174,32 @@
>>  			#mbox-cells = <1>;
>>  		};
>>  
>> +		periphs: periphs@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@480 {
>> +				compatible = "amlogic,meson-axg-periphs-pinctrl";
>> +				#address-cells = <2>;
>> +				#size-cells = <2>;
>> +				ranges;
>> +
>> +				gpio: bank@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@fffc0000 {
>>  			compatible = "amlogic,meson-axg-sram", "mmio-sram";
>>  			reg = <0x0 0xfffc0000 0x0 0x20000>;
>> @@ -209,6 +236,23 @@
>>  				};
>>  			};
>>  
>> +			pinctrl_aobus: pinctrl@14 {
>> +				compatible = "amlogic,meson-axg-aobus-pinctrl";
>> +				#address-cells = <2>;
>> +				#size-cells = <2>;
>> +				ranges;
>> +
>> +				gpio_ao: bank@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@3000 {
>>  				compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart";
>>  				reg = <0x0 0x3000 0x0 0x18>;
> 
> .
> 

  reply	other threads:[~2017-12-07  1:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-20 10:23 [RESEND PATCH v3 0/2] dt: add pinctrl driver for Meson-AXG SoC Yixun Lan
     [not found] ` <20171120102354.5354-1-yixun.lan-LpR1jeaWuhtBDgjK7y7TUQ@public.gmane.org>
2017-11-20 10:23   ` [RESEND PATCH v3 1/2] documentation: Add compatibles for Amlogic Meson AXG pin controllers Yixun Lan
2017-11-20 21:32     ` Rob Herring
2017-11-20 10:23 ` [RESEND PATCH v3 2/2] ARM64: dts: meson-axg: add pinctrl DT info for Meson-AXG SoC Yixun Lan
2017-12-06 20:18   ` Kevin Hilman
2017-12-07  1:44     ` Yixun Lan [this message]
2017-12-07 15:52       ` Kevin Hilman

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=9d28dcdf-655b-a843-1f21-24ebb1f27be3@amlogic.com \
    --to=yixun.lan@amlogic.com \
    --cc=carlo@caione.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jbrunet@baylibre.com \
    --cc=khilman@baylibre.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-amlogic@lists.infradead.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=narmstrong@baylibre.com \
    --cc=robh+dt@kernel.org \
    --cc=xingyu.chen@amlogic.com \
    /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: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).