From: Jai Luthra <j-luthra@ti.com>
To: Nishanth Menon <nm@ti.com>, Vignesh Raghavendra <vigneshr@ti.com>,
Tero Kristo <kristo@kernel.org>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>, Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: <linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>,
Aradhya Bhatia <a-bhatia1@ti.com>,
Devarsh Thakkar <devarsht@ti.com>,
Jayesh Choudhary <j-choudhary@ti.com>, Andrew Davis <afd@ti.com>,
Jai Luthra <j-luthra@ti.com>
Subject: [PATCH v9 0/6] arm64: ti: Enable audio on AM62 and AM62A
Date: Wed, 29 Mar 2023 16:00:57 +0530 [thread overview]
Message-ID: <20230313-mcasp_upstream-v9-0-6d937efe4ec4@ti.com> (raw)
This patch series adds support for audio via headphone jack on SK-AM62
(E2+) and SK-AM62A boards. The jack is wired to TLV320AIC3106 (codec),
which is connected to McASP1 (serializer) on the SoC.
The TRRS 3.5mm jack can be used for simultaneous playback and recording.
Signed-off-by: Jai Luthra <j-luthra@ti.com>
---
Changes in v9:
- Use correct codec 1.8V supply (PMIC) for SK-AM62-LP
- Link to v8: https://lore.kernel.org/r/20230313-mcasp_upstream-v8-0-4408134eb2f3@ti.com
The range-diff between v9 and v8 is given below:
1: 7555632dc2cc = 1: 321a9a26699b arm64: defconfig: Enable audio drivers for TI K3 SoCs
2: d79f2aebfcc3 = 2: 56253cd6ba31 arm64: dts: ti: k3-am62-main: Add McASP nodes
3: 1fc7976b17aa ! 3: c437bbe97ff7 arm64: dts: ti: k3-am625-sk: Enable audio on AM62 SK
@@ Commit message
Reviewed-by: Jayesh Choudhary <j-choudhary@ti.com>
## arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts ##
-@@ arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts: vddshv_sdio: regulator-4 {
- states = <1800000 0x0>,
- <3300000 0x1>;
+@@ arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts: ldo4_reg: ldo4 {
+ };
};
-+
-+ vcc_1v8: regulator-5 {
-+ /* output of TPS62824DMQ */
-+ compatible = "regulator-fixed";
-+ regulator-name = "vcc_1v8";
-+ regulator-min-microvolt = <1800000>;
-+ regulator-max-microvolt = <1800000>;
-+ vin-supply = <&vcc_3v3_sys>;
-+ regulator-always-on;
-+ regulator-boot-on;
-+ };
};
-
- &main_pmx0 {
++
++&tlv320aic3106 {
++ DVDD-supply = <&buck2_reg>;
++};
## arch/arm64/boot/dts/ti/k3-am625-sk.dts ##
@@ arch/arm64/boot/dts/ti/k3-am625-sk.dts: vdd_sd_dv: regulator-4 {
@@ arch/arm64/boot/dts/ti/k3-am625-sk.dts: vdd_sd_dv: regulator-4 {
};
&main_pmx0 {
+@@ arch/arm64/boot/dts/ti/k3-am625-sk.dts: partition@3fc0000 {
+ };
+ };
+ };
++
++&tlv320aic3106 {
++ DVDD-supply = <&vcc_1v8>;
++};
## arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi ##
@@ arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi: led-0 {
@@ arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi: &main_i2c1 {
+ AVDD-supply = <&vcc_3v3_sys>;
+ IOVDD-supply = <&vcc_3v3_sys>;
+ DRVDD-supply = <&vcc_3v3_sys>;
-+ DVDD-supply = <&vcc_1v8>;
+ };
};
4: f08c0107849f = 4: de37e1738c5c arm64: dts: ti: k3-am62a-main: Add nodes for McASP
5: 70087cabf258 = 5: e2419b8646a7 arm64: dts: ti: k3-am62a7-sk: Split vcc_3v3 regulators
6: 411f0e171eec = 6: ca8472bcecb4 arm64: dts: ti: k3-am62a7-sk: Enable audio on AM62A
---
Jai Luthra (5):
arm64: defconfig: Enable audio drivers for TI K3 SoCs
arm64: dts: ti: k3-am625-sk: Enable audio on AM62 SK
arm64: dts: ti: k3-am62a-main: Add nodes for McASP
arm64: dts: ti: k3-am62a7-sk: Split vcc_3v3 regulators
arm64: dts: ti: k3-am62a7-sk: Enable audio on AM62A
Jayesh Choudhary (1):
arm64: dts: ti: k3-am62-main: Add McASP nodes
arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts | 4 ++
arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 60 +++++++++++++++++
arch/arm64/boot/dts/ti/k3-am625-sk.dts | 15 +++++
arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 60 +++++++++++++++++
arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 92 +++++++++++++++++++++++++-
arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi | 76 +++++++++++++++++++++
arch/arm64/configs/defconfig | 2 +
7 files changed, 307 insertions(+), 2 deletions(-)
---
base-commit: f3910d4b06af57669b77c0afe829deca6d5a3ed2
change-id: 20230313-mcasp_upstream-0e137013059b
Best regards,
--
Jai Luthra <j-luthra@ti.com>
next reply other threads:[~2023-03-29 10:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-29 10:30 Jai Luthra [this message]
2023-03-29 10:30 ` [PATCH v9 1/6] arm64: defconfig: Enable audio drivers for TI K3 SoCs Jai Luthra
2023-03-30 2:54 ` Nishanth Menon
2023-03-29 10:30 ` [PATCH v9 2/6] arm64: dts: ti: k3-am62-main: Add McASP nodes Jai Luthra
2023-03-29 10:31 ` [PATCH v9 3/6] arm64: dts: ti: k3-am625-sk: Enable audio on AM62 SK Jai Luthra
2023-03-29 10:31 ` [PATCH v9 4/6] arm64: dts: ti: k3-am62a-main: Add nodes for McASP Jai Luthra
2023-03-29 10:31 ` [PATCH v9 5/6] arm64: dts: ti: k3-am62a7-sk: Split vcc_3v3 regulators Jai Luthra
2023-03-29 10:31 ` [PATCH v9 6/6] arm64: dts: ti: k3-am62a7-sk: Enable audio on AM62A Jai Luthra
2023-03-30 2:50 ` Nishanth Menon
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=20230313-mcasp_upstream-v9-0-6d937efe4ec4@ti.com \
--to=j-luthra@ti.com \
--cc=a-bhatia1@ti.com \
--cc=afd@ti.com \
--cc=catalin.marinas@arm.com \
--cc=devarsht@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=j-choudhary@ti.com \
--cc=kristo@kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nm@ti.com \
--cc=robh+dt@kernel.org \
--cc=vigneshr@ti.com \
--cc=will@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).