Message ID | 20230929-sc7280-cci-v1-3-16c7d386f062@fairphone.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | Add CCI support for SC7280 | expand |
On 9/29/23 10:01, Luca Weiss wrote: > Enable the CCI busses where sensors are connected to. > > Not covered here is the regulator used for pull-up on the I2C busses. > This would be pm8008_l6 (L6P). Does it make sense to enable non-functional hw then? Or is it on by default? Konrad
On Fri Sep 29, 2023 at 3:36 PM CEST, Konrad Dybcio wrote: > > > On 9/29/23 10:01, Luca Weiss wrote: > > Enable the CCI busses where sensors are connected to. > > > > Not covered here is the regulator used for pull-up on the I2C busses. > > This would be pm8008_l6 (L6P). > Does it make sense to enable non-functional hw then? Or is it on by default? Without the out-of-tree pm8008 driver you cannot talk to any hardware on the i2c busses there, so.. I guess you have a point? A little bird told me this week they're working on a new revision for pm8008 so hopefully this is coming at some point. > > Konrad
diff --git a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts index c8e7e6689b20..3fc0b3f7dc31 100644 --- a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts +++ b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts @@ -388,6 +388,26 @@ vreg_bob: bob { }; }; +&cci0 { + status = "okay"; +}; + +&cci0_i2c0 { + /* IMX800 @ 1a */ +}; + +&cci0_i2c1 { + /* IMX858 @ 29 */ +}; + +&cci1 { + status = "okay"; +}; + +&cci1_i2c1 { + /* S5KJN1SQ03 @ 10 */ +}; + &dispcc { /* Disable for now so simple-framebuffer continues working */ status = "disabled";
Enable the CCI busses where sensors are connected to. Not covered here is the regulator used for pull-up on the I2C busses. This would be pm8008_l6 (L6P). Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> --- arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)