From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?B?U8O2cmVu?= Brinkmann Subject: Re: [PATCHv3 1/2] gpio: xilinx: dt-binding: Add clock node Date: Thu, 10 Nov 2016 16:41:42 -0800 Message-ID: <20161111004142.4canf5wavb4cj2s6@xsjsorenbubuntu> References: <1478757365-3311-1-git-send-email-shubhrajyoti.datta@xilinx.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Return-path: Content-Disposition: inline In-Reply-To: <1478757365-3311-1-git-send-email-shubhrajyoti.datta-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Shubhrajyoti Datta Cc: linux-gpio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org, shubhrajyoti.datta-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org List-Id: devicetree@vger.kernel.org On Thu, 2016-11-10 at 11:26:04 +0530, Shubhrajyoti Datta wrote: > Add the clock node to the dt binding. > > Signed-off-by: Shubhrajyoti Datta > --- > v2: > Make clocks optional > Add clock name > v3: > No change > > .../devicetree/bindings/gpio/gpio-xilinx.txt | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/Documentation/devicetree/bindings/gpio/gpio-xilinx.txt b/Documentation/devicetree/bindings/gpio/gpio-xilinx.txt > index 63bf4be..1372007 100644 > --- a/Documentation/devicetree/bindings/gpio/gpio-xilinx.txt > +++ b/Documentation/devicetree/bindings/gpio/gpio-xilinx.txt > @@ -25,12 +25,16 @@ Optional properties: > - xlnx,dout-default-2 : as above but the second channel > - xlnx,gpio2-width : as above but for the second channel > - xlnx,tri-default-2 : as above but for the second channel > +- clocks: Input clock specifier. Refer to common clock bindings. > +- clock-names: Input clock name, should be s_axi_aclk. I don't know if there is a good way to tell that 'clock-names' is required when 'clocks' is specified. Probably just nice to have. Acked-by: Sören Brinkmann Sören -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html