arm64: dts: qcom: msm8996: move clock-frequency from PN547 NFC to I2C bus
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Mon, 11 Oct 2021 07:31:43 +0000 (09:31 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sun, 24 Oct 2021 18:04:07 +0000 (13:04 -0500)
Although the early NXP NCI NFC bindings required the clock-frequency
property, it was never used by the driver and it is actually a property
of I2C bus, not I2C slave.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211011073143.32645-1-krzysztof.kozlowski@canonical.com
arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi

index d239b01..01e573f 100644 (file)
 &blsp2_i2c2 {
        status = "okay";
        label = "NFC_I2C";
+       clock-frequency = <400000>;
 
        nfc: pn548@28 {
                compatible = "nxp,nxp-nci-i2c";
 
                reg = <0x28>;
-               clock-frequency = <400000>;
 
                interrupt-parent = <&tlmm>;
                interrupts = <9 IRQ_TYPE_LEVEL_HIGH>;