lkml.org 
[lkml]   [2019]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] dt-bindings: pinctrl: qcom: Add SM8150 pinctrl binding
On 16-06-19, 21:20, Bjorn Andersson wrote:
> On Thu 13 Jun 22:30 PDT 2019, Vinod Koul wrote:

> > +- reg:
> > + Usage: required
> > + Value type: <prop-encoded-array>
> > + Definition: the base address and size of the north, south , west
>
> Extra space after south.

Thanks will fix that

> > +- #gpio-cells:
> > + Usage: required
> > + Value type: <u32>
> > + Definition: must be 2. Specifying the pin number and flags, as defined
> > + in <dt-bindings/gpio/gpio.h>
> > +
>
> Please also document gpio-ranges and gpio-reserved-ranges.

Will add

> > +Example:
> > +
> > + tlmm: pinctrl@3000000 {
> > + compatible = "qcom,sm8150-pinctrl";
> > + reg = <0x03100000 0x300000>,
> > + <0x03500000 0x300000>,
> > + <0x03900000 0x300000>,
> > + <0x03D00000 0x300000>;
> > + reg-names = "west", "east", "north", "south";
> > + interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
> > + gpio-controller;
> > + #gpio-cells = <2>;
> > + interrupt-controller;
> > + #interrupt-cells = <2>;
>
> You're missing the required gpio-ranges from the example, see e.g.
> msm8996 (and please send a patch to the binding you based this on).

I ported this from downstream but did look at existing upstream
examples so will do that

--
~Vinod

\
 
 \ /
  Last update: 2019-06-17 08:26    [W:0.055 / U:1.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site