All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael <michael@fossekall.de>
To: linux-sound@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: ASoC: No stereo on Banana Pi M2 headphone jack
Date: Wed, 30 Dec 2020 22:58:13 +0000	[thread overview]
Message-ID: <20201230225813.GA6402@a98shuttle.de> (raw)

Hi all,

I'm in need for stereo sound on the headphone jack of a Banana Pi M2 
(Allwinner A31s), but I'm getting only mono differential (I assume at 
least, because I can hear both channels in either speaker).

In alsamixer, there is a switch to select between stereo and mono 
diffential output for the LINE output (that has no notable effect), but 
not for the Headphone output.

Driver limitation/bug? Hardware deficiency? Configuration error? Any 
other idea?

FWIW, this is the DT overlay to get any sound at all:

/dts-v1/;
/plugin/;

/ {
	fragment@0 {
		target = <&codec>;
		__overlay__ {
			status = "okay";
			allwinner,audio-routing = "Headphone", "HP";
		};
	};
};


Regards,
Michael

WARNING: multiple messages have this Message-ID (diff)
From: Michael <michael@fossekall.de>
To: linux-sound@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: ASoC: No stereo on Banana Pi M2 headphone jack
Date: Wed, 30 Dec 2020 23:58:13 +0100	[thread overview]
Message-ID: <20201230225813.GA6402@a98shuttle.de> (raw)

Hi all,

I'm in need for stereo sound on the headphone jack of a Banana Pi M2 
(Allwinner A31s), but I'm getting only mono differential (I assume at 
least, because I can hear both channels in either speaker).

In alsamixer, there is a switch to select between stereo and mono 
diffential output for the LINE output (that has no notable effect), but 
not for the Headphone output.

Driver limitation/bug? Hardware deficiency? Configuration error? Any 
other idea?

FWIW, this is the DT overlay to get any sound at all:

/dts-v1/;
/plugin/;

/ {
	fragment@0 {
		target = <&codec>;
		__overlay__ {
			status = "okay";
			allwinner,audio-routing = "Headphone", "HP";
		};
	};
};


Regards,
Michael

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

             reply	other threads:[~2020-12-30 22:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-30 22:58 Michael [this message]
2020-12-30 22:58 ` ASoC: No stereo on Banana Pi M2 headphone jack Michael
2021-01-03 22:58 ` Michael
2021-01-03 22:58   ` Michael

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=20201230225813.GA6402@a98shuttle.de \
    --to=michael@fossekall.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-sound@vger.kernel.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.