Re: [PATCH] mfd: arizona: Add DT options for max_channels_clocked and PDM speaker config

From: Rob Herring
Date: Tue Aug 30 2016 - 15:54:48 EST


On Thu, Aug 25, 2016 at 10:44:08AM +0100, Richard Fitzgerald wrote:
> This patch adds DT settings for the max_channels_clocked, spk_fmt and
> spk_mute pdata.
>
> Signed-off-by: Richard Fitzgerald <rf@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/mfd/arizona.txt | 11 ++++++++
> drivers/mfd/arizona-core.c | 31 +++++++++++++++++++++++
> 2 files changed, 42 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/mfd/arizona.txt b/Documentation/devicetree/bindings/mfd/arizona.txt
> index a6e2ea41..6eaf006 100644
> --- a/Documentation/devicetree/bindings/mfd/arizona.txt
> +++ b/Documentation/devicetree/bindings/mfd/arizona.txt
> @@ -85,6 +85,17 @@ Optional properties:
> present, the number of values should be less than or equal to the
> number of inputs, unspecified inputs will use the chip default.
>
> + - wlf,max-channels-clocked : The maximum number of channels to be clocked on
> + each AIF, useful for I2S systems with multiple data lines being mastered.
> + Specify one cell for each AIF, specify zero for AIFs that should be handled
> + normally.
> +
> + - wlf,spk_fmt : PDM speaker data format, must contain 2 cells (OUT5 and OUT6).

Use '-' rather than '_' in property names.

> + See the datasheet for values.
> +
> + - wlf,spk_mute : PDM speaker mute setting, must contain 2 cells (OUT5 and OUT6).
> + See the datasheet for values.

ditto

With that,

Acked-by: Rob Herring <robh@xxxxxxxxxx>