Re: [PATCH v1] arm64: dts: qcom: ipq5424: add i2c nodes
From: Konrad Dybcio
Date: Wed Jul 30 2025 - 07:44:18 EST
On 7/11/25 1:14 PM, Manikanta Mylavarapu wrote:
> Serial engines 2 and 3 on the IPQ5424 support I2C. The I2C instance
> operates on serial engine 2, designated as i2c0, and on serial engine 3,
> designated as i2c1. Add both the i2c0 and i2c1 nodes.
>
> Signed-off-by: Manikanta Mylavarapu <quic_mmanikan@xxxxxxxxxxx>
> ---
> arch/arm64/boot/dts/qcom/ipq5424.dtsi | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/ipq5424.dtsi b/arch/arm64/boot/dts/qcom/ipq5424.dtsi
> index 66bd2261eb25..858b9c714a13 100644
> --- a/arch/arm64/boot/dts/qcom/ipq5424.dtsi
> +++ b/arch/arm64/boot/dts/qcom/ipq5424.dtsi
> @@ -425,6 +425,28 @@ uart1: serial@1a84000 {
> interrupts = <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>;
> };
>
> + i2c0: i2c@1a88000 {
> + compatible = "qcom,geni-i2c";
> + reg = <0 0x01a88000 0 0x4000>;
> + clocks = <&gcc GCC_QUPV3_I2C0_CLK>;
> + clock-names = "se";
> + interrupts = <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>;
> + assigned-clocks = <&gcc GCC_QUPV3_I2C0_CLK>;
> + assigned-clock-rates = <64000000>;
This is very wrong, the in-driver handling should be enough.
If not, add an opp-table.
Konrad