Re: [PATCH 02/13] ASoC: dt-bindings: davinci-mcbsp: Add new properties
From: Rob Herring
Date: Sun Mar 17 2024 - 16:06:41 EST
On Fri, 15 Mar 2024 12:27:34 +0100, Bastien Curutchet wrote:
> Following features are not described in the bindings:
> - The McBSP uses an internal sample rate generator to provide bit clock
> or frame clock. This sample rate generator can be programmed to be
> driven by McBSP's internal clock source or by an external clock source
> (located on CLKS pin).
> - McBSP can be configured in 'free-running' mode so that its serial
> clocks will continue to run during emulation halt.
> - McBSP can generate a SYNCERR when unexpected frame pulses are detected
>
> Add an optional clock item that allows to select an external clock as
> sample rate generator's input.
>
> Add a 'ti,disable-free-run' flag to disable the free-running mode. This
> mode is selected by default by the driver that's why I add a disabling
> flag instead of an enabling one.
>
> Add a 'ti,enable-sync-err' flag to enable SYNCERR generation when
> unexpected frame pulses are detected.
>
> Signed-off-by: Bastien Curutchet <bastien.curutchet@xxxxxxxxxxx>
> ---
> .../devicetree/bindings/sound/davinci-mcbsp.yaml | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
Reviewed-by: Rob Herring <robh@xxxxxxxxxx>