Re: [PATCH 2/2] arm64: dts: qcom: sm7225-fairphone-fp4: enable remaining i2c busses

From: Konrad Dybcio
Date: Mon Feb 13 2023 - 09:40:50 EST




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@xxxxxxxxxxxxx>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>

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";
> };
>