[alsa-devel] [PATCH v4 3/7] ARM: davinci: da850: add clocks for mcbsp0 and 1

Sekhar Nori nsekhar at ti.com
Tue May 3 15:13:45 CEST 2016


On Friday 22 April 2016 05:50 PM, Petr Kulhavy wrote:
> Add clock definitions "davinci-mcbsp.0" and "davinci-mcbsp.1" in order
> to make McBSP driver work on the DA850 platform.
> 
> The McBSP 0 and 1 interfaces were not defined for the DA850 platform.
> Neither were the related clocks. In order to make the use of McBSP via
> devicetree the clocks need to be defined.
> 
> Signed-off-by: Petr Kulhavy <petr at barix.com>
> ---
> v1: initial
> v2: no change
> v3: no change
> v4: no change
> 
>  arch/arm/mach-davinci/da850.c | 16 ++++++++++++++++
>  arch/arm/mach-davinci/psc.h   |  2 ++
>  2 files changed, 18 insertions(+)
> 
> diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c
> index 97d8779a9a65..2b9d972e30ac 100644
> --- a/arch/arm/mach-davinci/da850.c
> +++ b/arch/arm/mach-davinci/da850.c
> @@ -306,6 +306,20 @@ static struct clk mcasp_clk = {
>  	.flags		= DA850_CLK_ASYNC3,
>  };
>  
> +static struct clk mcbsp0_clk = {
> +	.name		= "mcbsp0",
> +	.parent		= &pll1_sysclk2,
> +	.lpsc		= DA850_LPSC1_McBSP0,
> +	.gpsc		= 1,
> +};

Can you please rebase this to the master branch of
git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci.git?

We now have a clock called async3 which is to be used for all clocks in
async3 domain.

Thanks,
Sekhar


More information about the Alsa-devel mailing list