diff mbox

[PATCH/RFC] ARM: shmobile: lager: Fix audio clk master to SSI and change audio data interface format type

Message ID 1424011746-3787-1-git-send-email-ykaneko0929@gmail.com (mailing list archive)
State Rejected
Delegated to: Simon Horman
Headers show

Commit Message

Yoshihiro Kaneko Feb. 15, 2015, 2:49 p.m. UTC
From: Biju Das <biju.das@bp.renesas.com>

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
---

This patch is based on devel branch of Simon Horman's renesas tree.

 arch/arm/boot/dts/r8a7790-lager.dts | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Comments

Simon Horman Feb. 15, 2015, 3:29 p.m. UTC | #1
[Cc Morimoto-san]

Hi Kaneko-san,

thanks for this.

Hi Morimoto-san,

I would be most grateful if you could review this.

On Sun, Feb 15, 2015 at 11:49:04PM +0900, Yoshihiro Kaneko wrote:
> From: Biju Das <biju.das@bp.renesas.com>
> 
> Signed-off-by: Biju Das <biju.das@bp.renesas.com>
> Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
> ---
> 
> This patch is based on devel branch of Simon Horman's renesas tree.
> 
>  arch/arm/boot/dts/r8a7790-lager.dts | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
> index 0c3b678..e7dda8a 100644
> --- a/arch/arm/boot/dts/r8a7790-lager.dts
> +++ b/arch/arm/boot/dts/r8a7790-lager.dts
> @@ -177,9 +177,7 @@
>  	sound {
>  		compatible = "simple-audio-card";
>  
> -		simple-audio-card,format = "left_j";
> -		simple-audio-card,bitclock-master = <&sndcodec>;
> -		simple-audio-card,frame-master = <&sndcodec>;
> +		simple-audio-card,format = "i2s";
>  
>  		sndcpu: simple-audio-card,cpu {
>  			sound-dai = <&rcar_sound>;
> -- 
> 1.9.1
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sh" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Kuninori Morimoto Feb. 16, 2015, 12:01 a.m. UTC | #2
Hi Kaneko-san, Simon

> >  arch/arm/boot/dts/r8a7790-lager.dts | 4 +---
> >  1 file changed, 1 insertion(+), 3 deletions(-)
> > 
> > diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
> > index 0c3b678..e7dda8a 100644
> > --- a/arch/arm/boot/dts/r8a7790-lager.dts
> > +++ b/arch/arm/boot/dts/r8a7790-lager.dts
> > @@ -177,9 +177,7 @@
> >  	sound {
> >  		compatible = "simple-audio-card";
> >  
> > -		simple-audio-card,format = "left_j";
> > -		simple-audio-card,bitclock-master = <&sndcodec>;
> > -		simple-audio-card,frame-master = <&sndcodec>;
> > +		simple-audio-card,format = "i2s";
> >  
> >  		sndcpu: simple-audio-card,cpu {
> >  			sound-dai = <&rcar_sound>;

Unfortunately, I can't accept this patch.
It will be strange sound if you change clk master to SSI (*1).
Additionally, it needs audio_clk settings for SSI master,
but, it needs special limitation (*1).
(*1 HW connection reason)
And format change left_j -> i2s is no meaning on Lager board case

Best regards
---
Kuninori Morimoto
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Simon Horman Feb. 16, 2015, 1:51 p.m. UTC | #3
Hi Morimoto-san,

On Mon, Feb 16, 2015 at 12:01:15AM +0000, Kuninori Morimoto wrote:
> 
> Hi Kaneko-san, Simon
> 
> > >  arch/arm/boot/dts/r8a7790-lager.dts | 4 +---
> > >  1 file changed, 1 insertion(+), 3 deletions(-)
> > > 
> > > diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
> > > index 0c3b678..e7dda8a 100644
> > > --- a/arch/arm/boot/dts/r8a7790-lager.dts
> > > +++ b/arch/arm/boot/dts/r8a7790-lager.dts
> > > @@ -177,9 +177,7 @@
> > >  	sound {
> > >  		compatible = "simple-audio-card";
> > >  
> > > -		simple-audio-card,format = "left_j";
> > > -		simple-audio-card,bitclock-master = <&sndcodec>;
> > > -		simple-audio-card,frame-master = <&sndcodec>;
> > > +		simple-audio-card,format = "i2s";
> > >  
> > >  		sndcpu: simple-audio-card,cpu {
> > >  			sound-dai = <&rcar_sound>;
> 
> Unfortunately, I can't accept this patch.
> It will be strange sound if you change clk master to SSI (*1).
> Additionally, it needs audio_clk settings for SSI master,
> but, it needs special limitation (*1).
> (*1 HW connection reason)
> And format change left_j -> i2s is no meaning on Lager board case

Thanks for your analysis.
I am marking this patch as "rejected".
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
index 0c3b678..e7dda8a 100644
--- a/arch/arm/boot/dts/r8a7790-lager.dts
+++ b/arch/arm/boot/dts/r8a7790-lager.dts
@@ -177,9 +177,7 @@ 
 	sound {
 		compatible = "simple-audio-card";
 
-		simple-audio-card,format = "left_j";
-		simple-audio-card,bitclock-master = <&sndcodec>;
-		simple-audio-card,frame-master = <&sndcodec>;
+		simple-audio-card,format = "i2s";
 
 		sndcpu: simple-audio-card,cpu {
 			sound-dai = <&rcar_sound>;