On 24/09/2019 17:33, Jerome Brunet wrote:
> Add the compatible and clock ids of the sm1 audio clock controller
> 
> Signed-off-by: Jerome Brunet <[email protected]>
> ---
>  .../bindings/clock/amlogic,axg-audio-clkc.txt          |  3 ++-
>  include/dt-bindings/clock/axg-audio-clkc.h             | 10 ++++++++++
>  2 files changed, 12 insertions(+), 1 deletion(-)
> 
> diff --git 
> a/Documentation/devicetree/bindings/clock/amlogic,axg-audio-clkc.txt 
> b/Documentation/devicetree/bindings/clock/amlogic,axg-audio-clkc.txt
> index b3957d10d241..3a8948c04bc9 100644
> --- a/Documentation/devicetree/bindings/clock/amlogic,axg-audio-clkc.txt
> +++ b/Documentation/devicetree/bindings/clock/amlogic,axg-audio-clkc.txt
> @@ -7,7 +7,8 @@ devices.
>  Required Properties:
>  
>  - compatible : should be "amlogic,axg-audio-clkc" for the A113X and A113D,
> -               "amlogic,g12a-audio-clkc" for G12A.
> +               "amlogic,g12a-audio-clkc" for G12A,
> +               "amlogic,sm1-audio-clkc" for S905X3.
>  - reg                : physical base address of the clock controller and 
> length of
>                 memory mapped region.
>  - clocks     : a list of phandle + clock-specifier pairs for the clocks 
> listed
> diff --git a/include/dt-bindings/clock/axg-audio-clkc.h 
> b/include/dt-bindings/clock/axg-audio-clkc.h
> index 75901c636893..f561f5c5ef8f 100644
> --- a/include/dt-bindings/clock/axg-audio-clkc.h
> +++ b/include/dt-bindings/clock/axg-audio-clkc.h
> @@ -80,5 +80,15 @@
>  #define AUD_CLKID_TDM_SCLK_PAD0              160
>  #define AUD_CLKID_TDM_SCLK_PAD1              161
>  #define AUD_CLKID_TDM_SCLK_PAD2              162
> +#define AUD_CLKID_TOP                        163
> +#define AUD_CLKID_TORAM                      164
> +#define AUD_CLKID_EQDRC                      165
> +#define AUD_CLKID_RESAMPLE_B         166
> +#define AUD_CLKID_TOVAD                      167
> +#define AUD_CLKID_LOCKER             168
> +#define AUD_CLKID_SPDIFIN_LB         169
> +#define AUD_CLKID_FRDDR_D            170
> +#define AUD_CLKID_TODDR_D            171
> +#define AUD_CLKID_LOOPBACK_B         172
>  
>  #endif /* __AXG_AUDIO_CLKC_BINDINGS_H */
> 

Reviewed-by: Neil Armstrong <[email protected]>

Reply via email to