arm64: dts: qcom: msm8994-octagon: Add FM Radio and DDR regulator nodes
authorKonrad Dybcio <konrad.dybcio@somainline.org>
Sun, 31 Jan 2021 01:38:45 +0000 (02:38 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 2 Feb 2021 22:37:39 +0000 (16:37 -0600)
FAN53526 and SI470X are both connected over blsp2_i2c5. Configure them.

Signed-off-by: Gustave Monce <gustave.monce@outlook.com>
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Link: https://lore.kernel.org/r/20210131013853.55810-15-konrad.dybcio@somainline.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/msm8994-msft-lumia-octagon.dtsi

index 1210b47..b1a09d9 100644 (file)
        status = "okay";
 };
 
+&blsp2_i2c5 {
+       status = "okay";
+
+       fm_radio: si4705@11 {
+               compatible = "silabs,si470x";
+               reg = <0x11>;
+
+               interrupt-parent = <&tlmm>;
+               interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
+               reset-gpios = <&tlmm 93 GPIO_ACTIVE_HIGH>;
+       };
+
+       vreg_lpddr_1p1: fan53526a@6c {
+               compatible = "fcs,fan53526";
+               reg = <0x6c>;
+
+               regulator-min-microvolt = <1100000>;
+               regulator-max-microvolt = <1100000>;
+               vin-supply = <&vph_pwr>;
+               fcs,suspend-voltage-selector = <1>;
+               regulator-always-on; /* Turning off DDR power doesn't sound good. */
+       };
+
+       /* ANX7816 HDMI bridge (needs MDSS HDMI) */
+};
+
 &blsp2_spi4 {
        status = "okay";