All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jernej Škrabec" <jernej.skrabec@gmail.com>
To: Philip Rinn <rinni@inventati.org>, Samuel Holland <samuel@sholland.org>
Cc: maxime@cerno.tech, linux-arm-kernel@lists.infradead.org,
	linux-sunxi@googlegroups.com, wens@csie.org
Subject: Re: [PATCH RESEND v3] arm64: dts: allwinner: a64: olinuxino: Enable audio
Date: Thu, 07 Apr 2022 07:02:49 +0200	[thread overview]
Message-ID: <8046247.T7Z3S40VBb@jernej-laptop> (raw)
In-Reply-To: <4fc41278-c46c-6486-a336-f2a329bd6bd0@sholland.org>

Dne četrtek, 07. april 2022 ob 04:49:03 CEST je Samuel Holland napisal(a):
> On 1/12/22 9:49 AM, Philip Rinn wrote:
> > Enable the audio hardware on the Olimex A64-OLinuXino board family.
> > Tested on the A64-OLinuXino-2Ge8G-IND variant.

Please also update recipients, there were some maintainer changes recently and 
you're missing official linux-sunxi ML (not google groups). scripts/
get_maintainer.pl is your friend here.

Best regards,
Jernej

> > 
> > Signed-off-by: Philip Rinn <rinni@inventati.org>
> > ---
> > 
> > Changes in v2: added missing &sound {...} part
> > Changes in v3: removed HDMI audio part as requested by Jernej Škrabec
> > 
> >  arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts    | 30
> >  +++++++++++++++++++ 1 file changed, 30 insertions(+)
> > 
> > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
> > b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts index
> > ec7e2c0e82c1..6f2674bb1b7f 100644
> > --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
> > +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
> > @@ -58,6 +58,15 @@ wifi_pwrseq: wifi_pwrseq {
> > 
> >  	};
> >  
> >  };
> > 
> > +&codec {
> > +	status = "okay";
> > +};
> > +
> > +&codec_analog {
> > +	cpvdd-supply = <&reg_eldo1>;
> > +	status = "okay";
> > +};
> > +
> > 
> >  &cpu0 {
> >  
> >  	cpu-supply = <&reg_dcdc2>;
> >  
> >  };
> > 
> > @@ -74,6 +83,10 @@ &cpu3 {
> > 
> >  	cpu-supply = <&reg_dcdc2>;
> >  
> >  };
> > 
> > +&dai {
> > +	status = "okay";
> > +};
> > +
> > 
> >  &de {
> >  
> >  	status = "okay";
> >  
> >  };
> > 
> > @@ -328,6 +341,23 @@ &simplefb_hdmi {
> > 
> >  	vcc-hdmi-supply = <&reg_dldo1>;
> >  
> >  };
> > 
> > +&sound {
> > +	simple-audio-card,aux-devs = <&codec_analog>;
> > +	simple-audio-card,widgets = "Microphone", "Microphone Jack Left",
> > +		    "Microphone", "Microphone Jack Right",
> > +		    "Headphone", "Headphone Jack";
> > +	simple-audio-card,routing = "Left DAC", "DACL",
> > +		    "Right DAC", "DACR",
> > +		    "Headphone Jack", "HP",
> > +		    "ADCL", "Left ADC",
> > +		    "ADCR", "Right ADC",
> > +		    "Microphone Jack Left", "MBIAS",
> > +		    "MIC1", "Microphone Jack Left",
> > +		    "Microphone Jack Left", "HBIAS",
> 
> According to the schematic, both sides of the microphone jack are biased to
> MBIAS. Otherwise, this patch looks good to me.
> 
> Regards,
> Samuel
> 
> > +		    "MIC2", "Microphone Jack Right";
> > +	status = "okay";
> > +};
> > +
> > 
> >  &uart0 {
> >  
> >  	pinctrl-names = "default";
> >  	pinctrl-0 = <&uart0_pb_pins>;





_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2022-04-07  5:04 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-28 16:28 [PATCH v3] arm64: dts: allwinner: a64: olinuxino: Enable audio Philip Rinn
2021-12-28 20:28 ` Philip Rinn
2022-01-11 20:08 ` [PATCH RESEND " Philip Rinn
2022-01-12  8:48   ` Maxime Ripard
2022-01-12 15:49     ` Philip Rinn
2022-03-24 16:28       ` [linux-sunxi] " Philip Rinn
2022-03-26  6:45         ` Jernej Škrabec
2022-04-07  2:49       ` Samuel Holland
2022-04-07  5:02         ` Jernej Škrabec [this message]
2022-04-07 15:51         ` [PATCH v4] " Philip Rinn
2022-04-07 15:51           ` Philip Rinn
2022-04-07 22:06           ` Samuel Holland
2022-04-07 22:06             ` Samuel Holland
2022-04-10 18:23             ` Jernej Škrabec
2022-04-10 18:23               ` Jernej Škrabec
2022-05-08 17:38               ` Milan P. Stanić
2022-05-08 17:38                 ` Milan P. Stanić
2022-01-12  9:09   ` [linux-sunxi] [PATCH RESEND v3] " Priit Laes
2022-01-12 15:29     ` Philip Rinn
2022-01-13  6:59       ` Jernej Škrabec
2022-01-13 16:37         ` Philip Rinn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8046247.T7Z3S40VBb@jernej-laptop \
    --to=jernej.skrabec@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-sunxi@googlegroups.com \
    --cc=maxime@cerno.tech \
    --cc=rinni@inventati.org \
    --cc=samuel@sholland.org \
    --cc=wens@csie.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.