[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191118213256.GA27262@bogus>
Date: Mon, 18 Nov 2019 15:32:56 -0600
From: Rob Herring <robh@...nel.org>
To: Peter Ujfalusi <peter.ujfalusi@...com>
Cc: broonie@...nel.org, lgirdwood@...il.com,
alsa-devel@...a-project.org, kuninori.morimoto.gx@...esas.com,
linus.walleij@...aro.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] bindings: sound: pcm3168a: Document optional RST gpio
On Wed, Nov 13, 2019 at 02:47:33PM +0200, Peter Ujfalusi wrote:
> On boards where the RST line is not pulled up, but it is connected to a
> GPIO line this property must present in order to be able to enable the
> codec.
>
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@...com>
> ---
> Documentation/devicetree/bindings/sound/ti,pcm3168a.txt | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/sound/ti,pcm3168a.txt b/Documentation/devicetree/bindings/sound/ti,pcm3168a.txt
> index 5d9cb84c661d..f30aebc7603a 100644
> --- a/Documentation/devicetree/bindings/sound/ti,pcm3168a.txt
> +++ b/Documentation/devicetree/bindings/sound/ti,pcm3168a.txt
> @@ -25,6 +25,12 @@ Required properties:
>
> For required properties on SPI/I2C, consult SPI/I2C device tree documentation
>
> +Optional properties:
> +
> + - rst-gpios : Optional RST gpio line for the codec
> + RST = low: device power-down
> + RST = high: device is enabled
'reset-gpios' is the standard naming for reset lines.
> +
> Examples:
>
> i2c0: i2c0@0 {
> @@ -34,6 +40,7 @@ i2c0: i2c0@0 {
> pcm3168a: audio-codec@44 {
> compatible = "ti,pcm3168a";
> reg = <0x44>;
> + rst-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>;
> clocks = <&clk_core CLK_AUDIO>;
> clock-names = "scki";
> VDD1-supply = <&supply3v3>;
> --
> Peter
>
> Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
> Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
>
Powered by blists - more mailing lists