devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v9 0/6] arm64: ti: Enable audio on AM62 and AM62A
@ 2023-03-29 10:30 Jai Luthra
  2023-03-29 10:30 ` [PATCH v9 1/6] arm64: defconfig: Enable audio drivers for TI K3 SoCs Jai Luthra
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Jai Luthra @ 2023-03-29 10:30 UTC (permalink / raw)
  To: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Catalin Marinas,
	Will Deacon, Rob Herring, Krzysztof Kozlowski
  Cc: linux-arm-kernel, linux-kernel, devicetree, Aradhya Bhatia,
	Devarsh Thakkar, Jayesh Choudhary, Andrew Davis, Jai Luthra

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>


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-03-30  2:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-29 10:30 [PATCH v9 0/6] arm64: ti: Enable audio on AM62 and AM62A Jai Luthra
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

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).