Message ID | 20230213-fp4-more-i2c-v1-2-5be09dbb5ce6@fairphone.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | Enable remaining I2C busses on sm7225-fairphone-fp4 | expand |
On 13.02.2023 14:26, Luca Weiss wrote: > Enable all i2c busses where something is connected on this phone. Add > comments as placeholders for which components are still missing. > > Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Any reason you've not enabled GPI DMA yet? Konrad > arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts | 25 +++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts b/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts > index 86114dd2c0c4..d0f08b42592f 100644 > --- a/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts > +++ b/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts > @@ -359,10 +359,31 @@ &cdsp { > status = "okay"; > }; > > +&i2c0 { > + clock-frequency = <400000>; > + status = "okay"; > + > + /* ST21NFCD NFC @ 8 */ > + /* VL53L3 ToF @ 29 */ > + /* AW88264A amplifier @ 34 */ > + /* AW88264A amplifier @ 35 */ > +}; > + > +&i2c8 { > + clock-frequency = <400000>; > + status = "okay"; > + > + /* HX83112A touchscreen @ 48 */ > +}; > + > &i2c10 { > clock-frequency = <400000>; > status = "okay"; > > + /* PM8008 PMIC @ 8 and 9 */ > + /* PX8618 @ 26 */ > + /* SMB1395 PMIC @ 34 */ > + > haptics@5a { > compatible = "awinic,aw8695"; > reg = <0x5a>; > @@ -495,6 +516,10 @@ adc-chan@644 { > }; > }; > > +&qupv3_id_0 { > + status = "okay"; > +}; > + > &qupv3_id_1 { > status = "okay"; > }; >
On Mon Feb 13, 2023 at 3:40 PM CET, Konrad Dybcio wrote: > > > On 13.02.2023 14:26, Luca Weiss wrote: > > Enable all i2c busses where something is connected on this phone. Add > > comments as placeholders for which components are still missing. > > > > Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> > > --- > Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> > > Any reason you've not enabled GPI DMA yet? Good call, I enabled it in a different commit that isn't meant for upstream, thought it was already enabled in mainline. Will send a v2 with this added: +&gpi_dma0 { + status = "okay"; +}; + +&gpi_dma1 { + status = "okay"; +}; > > Konrad > > arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts | 25 +++++++++++++++++++++++ > > 1 file changed, 25 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts b/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts > > index 86114dd2c0c4..d0f08b42592f 100644 > > --- a/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts > > +++ b/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts > > @@ -359,10 +359,31 @@ &cdsp { > > status = "okay"; > > }; > > > > +&i2c0 { > > + clock-frequency = <400000>; > > + status = "okay"; > > + > > + /* ST21NFCD NFC @ 8 */ > > + /* VL53L3 ToF @ 29 */ > > + /* AW88264A amplifier @ 34 */ > > + /* AW88264A amplifier @ 35 */ > > +}; > > + > > +&i2c8 { > > + clock-frequency = <400000>; > > + status = "okay"; > > + > > + /* HX83112A touchscreen @ 48 */ > > +}; > > + > > &i2c10 { > > clock-frequency = <400000>; > > status = "okay"; > > > > + /* PM8008 PMIC @ 8 and 9 */ > > + /* PX8618 @ 26 */ > > + /* SMB1395 PMIC @ 34 */ > > + > > haptics@5a { > > compatible = "awinic,aw8695"; > > reg = <0x5a>; > > @@ -495,6 +516,10 @@ adc-chan@644 { > > }; > > }; > > > > +&qupv3_id_0 { > > + status = "okay"; > > +}; > > + > > &qupv3_id_1 { > > status = "okay"; > > }; > >
diff --git a/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts b/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts index 86114dd2c0c4..d0f08b42592f 100644 --- a/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts +++ b/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts @@ -359,10 +359,31 @@ &cdsp { status = "okay"; }; +&i2c0 { + clock-frequency = <400000>; + status = "okay"; + + /* ST21NFCD NFC @ 8 */ + /* VL53L3 ToF @ 29 */ + /* AW88264A amplifier @ 34 */ + /* AW88264A amplifier @ 35 */ +}; + +&i2c8 { + clock-frequency = <400000>; + status = "okay"; + + /* HX83112A touchscreen @ 48 */ +}; + &i2c10 { clock-frequency = <400000>; status = "okay"; + /* PM8008 PMIC @ 8 and 9 */ + /* PX8618 @ 26 */ + /* SMB1395 PMIC @ 34 */ + haptics@5a { compatible = "awinic,aw8695"; reg = <0x5a>; @@ -495,6 +516,10 @@ adc-chan@644 { }; }; +&qupv3_id_0 { + status = "okay"; +}; + &qupv3_id_1 { status = "okay"; };
Enable all i2c busses where something is connected on this phone. Add comments as placeholders for which components are still missing. Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> --- arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+)