[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3f8e772a-4e2f-2384-e2bf-f71e393d11d6@somainline.org>
Date: Sun, 10 Jan 2021 00:13:35 +0100
From: AngeloGioacchino Del Regno
<angelogioacchino.delregno@...ainline.org>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: "open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
konrad.dybcio@...ainline.org, marijn.suijten@...ainline.org,
martin.botka@...ainline.org, phone-devel@...r.kernel.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@...r.kernel.org>, Rob Herring <robh+dt@...nel.org>
Subject: Re: [PATCH 2/2] dt-bindings: pinctrl: Add bindings for Awinic
AW9523/AW9523B
Il 09/01/21 23:14, Linus Walleij ha scritto:
> Hi Angelo,
>
> thanks for your patch!
>
> On Sat, Jan 9, 2021 at 3:02 PM AngeloGioacchino Del Regno
> <angelogioacchino.delregno@...ainline.org> wrote:
>
>> +#PIN CONFIGURATION NODES
>> +patternProperties:
>> + '^.*$':
>> + if:
>> + type: object
>> + then:
>> + properties:
>> + pins:
>> + description:
>> + List of gpio pins affected by the properties specified in
>> + this subnode.
>> + items:
>> + pattern: "^gpio([0-9]|1[0-5])$"
>> + minItems: 1
>> + maxItems: 16
>> +
>> + function:
>> + description:
>> + Specify the alternative function to be configured for the
>> + specified pins.
>> +
>> + enum: [ gpio, pwm ]
>> +
>> + bias-disable: true
>> + bias-pull-down: true
>> + bias-pull-up: true
>> + drive-open-drain: true
>> + drive-push-pull: true
>> + input-enable: true
>> + output-high: true
>> + output-low: true
>> +
>> + required:
>> + - pins
>> + - function
>
> Is it possible to just $ref /pinctrl/pincfg-node.yaml# for some of this?
>
Sure, I will try to reference that for V2!
> Yours,
> Linus Walleij
>
Powered by blists - more mailing lists