[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140912134446.GT7960@sirena.org.uk>
Date: Fri, 12 Sep 2014 14:44:46 +0100
From: Mark Brown <broonie@...nel.org>
To: Jianqun <jay.xu@...k-chips.com>
Cc: robh+dt@...nel.org, pawel.moll@....com, mark.rutland@....com,
ijc+devicetree@...lion.org.uk, galak@...eaurora.org,
heiko@...ech.de, lgirdwood@...il.com, perex@...ex.cz,
tiwai@...e.de, grant.likely@...aro.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
huangtao@...k-chips.com, cf@...k-chips.com
Subject: Re: [PATCH 1/2] ASoC: rockchip-max98090: add documentation for
rockchip-max98090 driver
On Fri, Sep 12, 2014 at 03:30:36PM +0800, Jianqun wrote:
> Add documentation for rockchip-max98090 driver, which is need by rockchip
> board using a max98090.
Can this use simple-card (perhaps after a bit of extension)?
> +- rockchip,audio-codec : The phandle of the MAX98090 audio codec.
Is the driver really specific to this CODEC?
> +
> +Optional properties:
> +- rockchip,hp-det-gpios : The GPIO that detect headphones are plugged in
> +- rockchip,mic-det-gpios : The GPIO that detect micphones are plugged in
> +
> +Example:
> +
> +sound {
> + compatible = "rockchip,rockchip-audio-max98090";
> + rockchip,model = "ROCKCHIP-I2S";
> + rockchip,i2s-controller = <&i2s>;
> + rockchip,audio-codec = <&max98090>;
> + rockchip,hp-det-gpios = <&gpio6 5 GPIO_ACTIVE_HIGH>;
> + rockchip,mic-det-gpios = <&gpio6 11 GPIO_ACTIVE_HIGH>;
> +};
> --
> 1.9.1
>
>
>
Download attachment "signature.asc" of type "application/pgp-signature" (474 bytes)
Powered by blists - more mailing lists