[PATCH linux dev-4.10 v2 03/11] aspeed: dt: Add clocks property to GPIO node
Andrew Jeffery
andrew at aj.id.au
Sat Apr 29 08:12:04 AEST 2017
On Sat, Apr 29, 2017, at 06:00, Xo Wang wrote:
> On Fri, Apr 28, 2017 at 12:10 AM, Andrew Jeffery <andrew at aj.id.au> wrote:
> > This enables debouncing of GPIOs as requested by drivers.
> >
> > Signed-off-by: Andrew Jeffery <andrew at aj.id.au>
> > ---
> > arch/arm/boot/dts/aspeed-g4.dtsi | 1 +
> > arch/arm/boot/dts/aspeed-g5.dtsi | 1 +
> > 2 files changed, 2 insertions(+)
> >
> > diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi
> > index 9c844fa240e0..d8827d522dfe 100644
> > --- a/arch/arm/boot/dts/aspeed-g4.dtsi
> > +++ b/arch/arm/boot/dts/aspeed-g4.dtsi
> > @@ -143,6 +143,7 @@
> > interrupts = <20>;
> > interrupt-controller;
> > gpio-ranges = <&pinctrl 0 0 220>;
> > + clocks = <&clk_hpll>;
> > };
> >
> > timer: timer at 1e782000 {
> > diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi
> > index 613b899b07bd..992242d3b22e 100644
> > --- a/arch/arm/boot/dts/aspeed-g5.dtsi
> > +++ b/arch/arm/boot/dts/aspeed-g5.dtsi
> > @@ -263,6 +263,7 @@
> > interrupts = <20>;
> > interrupt-controller;
> > gpio-ranges = <&pinctrl 0 0 232>;
> > + clocks = <&clk_hpll>;
> > };
> >
> > timer: timer at 1e782000 {
> > --
> > 2.9.3
> >
>
> +OpenBMC list
Thanks, that was a clear accident on my part :)
>
> Does this fix any particular bug?
No, no bug, it's a new optional property for the controller so the
driver can derive debounce values, which are specified to the hardware
in hpll clock cycles.
>
> Reviewed-by: Xo Wang <xow at google.com>
Cheers,
Andrew
More information about the openbmc
mailing list