lkml.org 
[lkml]   [2020]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v3 04/16] dt-bindings: pinctrl: sunxi: make gpio banks supplies required
    Hello,

    On Wed, Jul 08, 2020 at 03:19:30PM +0800, Frank Lee wrote:
    > Since we don't really have to care about the existing DT for boards,
    > it would be great to make the gpio banks supplies required.

    What if the borad doesn't use one of the banks? How would
    I describe such a board if defining supplies for all banks
    is required?

    regards,
    o.

    > Signed-off-by: Frank Lee <frank@allwinnertech.com>
    > ---
    > .../devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.yaml | 1 +
    > 1 file changed, 1 insertion(+)
    >
    > diff --git a/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.yaml
    > index 226aba0..c30a7b7 100644
    > --- a/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.yaml
    > +++ b/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.yaml
    > @@ -134,6 +134,7 @@ patternProperties:
    > required:
    > - "#gpio-cells"
    > - "#interrupt-cells"
    > + - "^vcc-p[a-hlm]-supply$"
    > - compatible
    > - reg
    > - interrupts
    > --
    > 1.9.1
    >
    >
    > _______________________________________________
    > linux-arm-kernel mailing list
    > linux-arm-kernel@lists.infradead.org
    > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

    \
     
     \ /
      Last update: 2020-07-09 19:17    [W:2.803 / U:0.324 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site