Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1312239

Re: [PATCH V3 1/3] arm64: dts: Add Hi6220 gpio configuration nodes

From Sudeep Holla <sudeep.holla@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH V3 1/3] arm64: dts: Add Hi6220 gpio configuration nodes
Date 2016-01-19 14:40 +0100
Message-ID <qSEFR-4S-41@gated-at.bofh.it> (permalink)
References <qSCb0-6Bn-3@gated-at.bofh.it>
Organization ARM

Show all headers | View raw



On 19/01/16 10:51, Zhong Kaihua wrote:
> arm64: dts: Add Hi6220 gpio configuration nodes
>
> Signed-off-by: Zhong Kaihua <zhongkaihua@huawei.com>
>                 Kong Xinwei <kong.kongxinwei@hisilicon.com>
>
> Acked-by: Rob Herring <robh@kernel.org>
> ---
>   .../devicetree/bindings/gpio/gpio-hi6220.txt       |  23 +
>   arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts     |   1 +
>   arch/arm64/boot/dts/hisilicon/hi6220.dtsi          | 259 +++++++++
>   arch/arm64/boot/dts/hisilicon/hikey-gpio.dtsi      | 607 +++++++++++++++++++++
>   4 files changed, 890 insertions(+)
>   create mode 100644 Documentation/devicetree/bindings/gpio/gpio-hi6220.txt
>   create mode 100644 arch/arm64/boot/dts/hisilicon/hikey-gpio.dtsi
>
> diff --git a/Documentation/devicetree/bindings/gpio/gpio-hi6220.txt b/Documentation/devicetree/bindings/gpio/gpio-hi6220.txt
> new file mode 100644
> index 0000000..a9cbf21
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/gpio/gpio-hi6220.txt
> @@ -0,0 +1,23 @@
> +Hisilicon Hi6220 GPIO controller bindings
> +
> +Required properties:
> +	- compatible: "arm,pl061","arm,primecell"
> +	- gpio-controller: Marks the device node as a GPIO controller.
> +	- #gpio-cells: Should be 2. See gpio.txt in this directory for a
> +		 description of	the cells format.
> +	- interrupt-controller: Mark the device node as an interrupt controller
> +

Why do you need extra binding document here as the compatible is same as
[1] ? You can extend that if required and add example there IMO.

-- 
Regards,
Sudeep

[1] Documentation/devicetree/bindings/gpio/pl061-gpio.txt

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH V3 1/3] arm64: dts: Add Hi6220 gpio configuration nodes Zhong Kaihua <zhongkaihua@huawei.com> - 2016-01-19 12:00 +0100
  [PATCH V3 3/3] arm64: dts: add Hi6220 spi configuration nodes Zhong Kaihua <zhongkaihua@huawei.com> - 2016-01-19 12:00 +0100
  [PATCH V3 2/3] arm64: dts: add Hi6220 pinctrl configuration nodes Zhong Kaihua <zhongkaihua@huawei.com> - 2016-01-19 12:00 +0100
  Re: [PATCH V3 1/3] arm64: dts: Add Hi6220 gpio configuration nodes Wei Xu <xuwei5@hisilicon.com> - 2016-01-19 13:30 +0100
  Re: [PATCH V3 1/3] arm64: dts: Add Hi6220 gpio configuration nodes Sudeep Holla <sudeep.holla@arm.com> - 2016-01-19 14:40 +0100
    Re: [PATCH V3 1/3] arm64: dts: Add Hi6220 gpio configuration nodes Zhong Kaihua <zhongkaihua@huawei.com> - 2016-01-22 10:00 +0100

csiph-web