[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <DFQ3MBO2EAYF.1PRF2111N0U1I@fairphone.com>
Date: Fri, 16 Jan 2026 15:54:58 +0100
From: "Luca Weiss" <luca.weiss@...rphone.com>
To: "Konrad Dybcio" <konrad.dybcio@....qualcomm.com>, "Luca Weiss"
<luca.weiss@...rphone.com>, "Bartosz Golaszewski" <brgl@...nel.org>, "Rob
Herring" <robh@...nel.org>, "Krzysztof Kozlowski" <krzk+dt@...nel.org>,
"Conor Dooley" <conor+dt@...nel.org>, "Loic Poulain"
<loic.poulain@....qualcomm.com>, "Robert Foss" <rfoss@...nel.org>, "Andi
Shyti" <andi.shyti@...nel.org>, "Bjorn Andersson" <andersson@...nel.org>,
"Konrad Dybcio" <konradybcio@...nel.org>
Cc: <~postmarketos/upstreaming@...ts.sr.ht>, <phone-devel@...r.kernel.org>,
<linux-i2c@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <linux-arm-msm@...r.kernel.org>
Subject: Re: [PATCH 4/4] arm64: dts: qcom: milos-fairphone-fp6: Add camera
EEPROMs on CCI busses
On Fri Jan 16, 2026 at 2:59 PM CET, Konrad Dybcio wrote:
> On 1/16/26 2:38 PM, Luca Weiss wrote:
>> Enable the CCI I2C busses and add nodes for the EEPROMs found on the
>> camera that are connected there.
>>
>> Signed-off-by: Luca Weiss <luca.weiss@...rphone.com>
>> ---
>> arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts | 50 ++++++++++++++++++++++++
>> 1 file changed, 50 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts b/arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts
>> index 7629ceddde2a..c4a706e945ba 100644
>> --- a/arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts
>> +++ b/arch/arm64/boot/dts/qcom/milos-fairphone-fp6.dts
>> @@ -529,6 +529,56 @@ vreg_l11f: ldo11 {
>> };
>> };
>>
>> +&cci0 {
>> + status = "okay";
>> +};
>> +
>> +&cci0_i2c0 {
>> + /* Main cam: Sony IMX896 @ 0x1a */
>> +
>> + eeprom@50 {
>> + compatible = "puya,p24c128f", "atmel,24c128";
>> + reg = <0x50>;
>> + vcc-supply = <&vreg_l6p>;
>> + read-only;
>> + };
>> +
>> + /* Dongwoon DW9784 VCM/OIS @ 0x72 */
>> +};
>> +
>> +
>> +&cci0_i2c1 {
>> + /* Awinic AW86017 VCM @ 0x0c */
>> + /* UW cam: OmniVision OV13B10 @ 0x36 */
>
> There's a driver for this one!
Yep! Already got patches to add the required regulators & devicetree
support to the driver, but since I've got zero on CAMSS so far, I
couldn't test it more than reading chip ID.
>
>> +
>> + eeprom@52 {
>> + compatible = "puya,p24c128f", "atmel,24c128";
>> + reg = <0x52>;
>> + vcc-supply = <&vreg_l6p>;
>> + read-only;
>> + };
>> +};
>> +
>> +&cci1 {
>> + /* cci1_i2c0 is not used for CCI */
>> + pinctrl-0 = <&cci1_1_default>;
>> + pinctrl-1 = <&cci1_1_sleep>;
>
> Let's keep them per-bus-subnode so we don't have to override it
I don't see any upstream example of that, would the pinctrl work
correctly with that?
While this isn't necessarily pretty like that, it does work :)
>
> otherwise
>
> Reviewed-by: Konrad Dybcio <konrad.dybcio@....qualcomm.com>
Thanks!
Regards
Luca
>
> Konrad
Powered by blists - more mailing lists