]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: qcm6490-fairphone-fp5: Add OCP96011 audio switch
authorLuca Weiss <luca.weiss@fairphone.com>
Fri, 25 Apr 2025 07:08:14 +0000 (09:08 +0200)
committerBjorn Andersson <andersson@kernel.org>
Sat, 10 May 2025 16:56:12 +0000 (11:56 -0500)
Add a node for the OCP96011 on the board which is used to handle USB-C
analog audio switch and handles the SBU mux for DisplayPort-over-USB-C.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Link: https://lore.kernel.org/r/20250425-fp5-pmic-glink-dp-v3-3-cc9c2aeb42fb@fairphone.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts

index ea9f5517e8a083e37c4b7432322bd6d18fea84a5..e0470be9142caa4bac4285a191725bbd60e706fa 100644 (file)
        };
 
        /* Pixelworks @ 26 */
-       /* FSA4480 USB audio switch @ 42 */
+
+       typec-mux@42 {
+               compatible = "ocs,ocp96011", "fcs,fsa4480";
+               reg = <0x42>;
+
+               interrupts-extended = <&tlmm 7 IRQ_TYPE_LEVEL_LOW>;
+
+               vcc-supply = <&vreg_bob>;
+
+               mode-switch;
+               orientation-switch;
+       };
+
        /* AW86927FCR haptics @ 5a */
 };