Message ID | 20220517054809.8244-2-dylan.laduranty@mesotic.com |
---|---|
State | New |
Headers | show |
Series | [1/2,v3] ASoC: ADAU7118: add bindings for managing pins drive strength | expand |
Hi Nuno, > Hi Dylan, > > > -----Original Message----- > > From: Dylan Laduranty <dylan.laduranty@mesotic.com> > > Sent: Tuesday, May 17, 2022 7:48 AM > > To: alsa-devel@alsa-project.org > > Cc: Sa, Nuno <Nuno.Sa@analog.com>; Dylan Laduranty > > <dylan.laduranty@mesotic.com> > > Subject: [PATCH 2/2 v3] dt-bindings: ADAU7118: add new entries for > > pins drive strength > > > > [External] > > > > Update driver doc with new entries for managing pins drive strength. > > Add a table to describe possible values for each entry. > > > > Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com> > > --- > > Just a note for the future. In my previous review I said something > like: > > " > ... With that fixed: > > Reviewed-by: Nuno Sá <nuno.sa@analog.com> > " > > Hence, you could/should have included my 'Reviewed-by' tag in v3. I apologize, this is my first contribution to Linux kernel so I am not comfortable with this yet. I'll resend this serie later today. > > - Nuno Sá Dylan Laduranty
diff --git a/Documentation/devicetree/bindings/sound/adi,adau7118.yaml b/Documentation/devicetree/bindings/sound/adi,adau7118.yaml index fb78967ee17b..226693ebd446 100644 --- a/Documentation/devicetree/bindings/sound/adi,adau7118.yaml +++ b/Documentation/devicetree/bindings/sound/adi,adau7118.yaml @@ -51,6 +51,42 @@ properties: maximum: 1 default: [0, 0, 1, 1] + adi,pdm-clk0-ds: + description: | + This property set the drive strength of PDM CLK0 output pad. + Possible values are: 0, 1, 2, 3 as per the following table: + 0 = 2.5 mA / 3.3V + 1 = 5 mA / 3.3V + 2 = 10 mA / 3.3V + 3 = 25 mA / 3.3V + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [3, 2, 1, 0] + default: 2 + + adi,pdm-clk1-ds: + description: | + This property set the drive strength of PDM CLK1 output pad. + Possible values are: 0, 1, 2, 3 as per the following table: + 0 = 2.5 mA / 3.3V + 1 = 5 mA / 3.3V + 2 = 10 mA / 3.3V + 3 = 25 mA / 3.3V + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [3, 2, 1, 0] + default: 2 + + adi,sdata-ds: + description: | + This property set the drive strength of SDATA output pad. + Possible values are: 0, 1, 2, 3 as per the following table: + 0 = 2.5 mA / 3.3V + 1 = 5 mA / 3.3V + 2 = 10 mA / 3.3V + 3 = 25 mA / 3.3V + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [3, 2, 1, 0] + default: 2 + required: - "#sound-dai-cells" - compatible @@ -73,6 +109,9 @@ examples: dvdd-supply = <&supply>; adi,pdm-clk-map = <1 1 0 0>; adi,decimation-ratio = <16>; + adi,pdm-clk0-ds = <3>; + adi,pdm-clk1-ds = <3>; + adi,sdata-ds = <3>; }; };
Update driver doc with new entries for managing pins drive strength. Add a table to describe possible values for each entry. Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com> --- Changes since v3: Add missing commit description message .../bindings/sound/adi,adau7118.yaml | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+)