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@xxxxxx> --- 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@xxxxxx 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@xxxxxx> ## 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@xxxxxx>