[PATCH 04/20] ARM: dts: ux500: Remove bus clock rates from I2C peripheral nodes
Linus Walleij
linusw at kernel.org
Wed Nov 25 16:37:08 PST 2026
Several Samsung I2C peripherals contain clock-frequency = <400000>.
These devices do not consume such a clock; bus frequency belongs to
the I2C controller. Remove the misplaced properties while retaining
the controller settings. Found with CHECK_DTBS=1.
Fixes: 8388234ec562 ("ARM: dts: ux500: Add Codina TMO device tree")
Signed-off-by: Linus Walleij <linusw at kernel.org>
---
arch/arm/boot/dts/st/ste-ux500-samsung-codina-tmo.dts | 2 --
arch/arm/boot/dts/st/ste-ux500-samsung-codina.dts | 3 ---
arch/arm/boot/dts/st/ste-ux500-samsung-gavini.dts | 1 -
arch/arm/boot/dts/st/ste-ux500-samsung-janice.dts | 2 --
arch/arm/boot/dts/st/ste-ux500-samsung-kyle.dts | 2 --
arch/arm/boot/dts/st/ste-ux500-samsung-skomer.dts | 2 --
6 files changed, 12 deletions(-)
diff --git a/arch/arm/boot/dts/st/ste-ux500-samsung-codina-tmo.dts b/arch/arm/boot/dts/st/ste-ux500-samsung-codina-tmo.dts
index 3350fc775cc9..6afc9b0113ff 100644
--- a/arch/arm/boot/dts/st/ste-ux500-samsung-codina-tmo.dts
+++ b/arch/arm/boot/dts/st/ste-ux500-samsung-codina-tmo.dts
@@ -241,7 +241,6 @@ i2c-gpio-1 {
magnetometer at c {
compatible = "alps,hscdtd008a";
reg = <0x0c>;
- clock-frequency = <400000>;
avdd-supply = <&ab8500_ldo_aux1_reg>; // 3V
dvdd-supply = <&ab8500_ldo_aux8_reg>; // 1.8V
@@ -482,7 +481,6 @@ i2c at 80004000 {
proximity at 39 {
/* Codina has the Amstaos TMD2672 */
compatible = "amstaos,tmd2672";
- clock-frequency = <400000>;
reg = <0x39>;
/* IRQ on GPIO146 "PS_INT" */
diff --git a/arch/arm/boot/dts/st/ste-ux500-samsung-codina.dts b/arch/arm/boot/dts/st/ste-ux500-samsung-codina.dts
index 8df2e4b74174..d3325276dfa0 100644
--- a/arch/arm/boot/dts/st/ste-ux500-samsung-codina.dts
+++ b/arch/arm/boot/dts/st/ste-ux500-samsung-codina.dts
@@ -298,7 +298,6 @@ i2c-gpio-0 {
magnetometer at c {
compatible = "alps,hscdtd008a";
reg = <0x0c>;
- clock-frequency = <400000>;
avdd-supply = <&ab8500_ldo_aux1_reg>; // 3V
dvdd-supply = <&ab8500_ldo_aux2_reg>; // 1.8V
@@ -321,7 +320,6 @@ nfc at 2b {
compatible = "nxp,pn544-i2c";
/* IF0, IF1 high, gives I2C address 0x2B */
reg = <0x2b>;
- clock-frequency = <400000>;
/* NFC IRQ on GPIO32 */
interrupt-parent = <&gpio1>;
interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
@@ -565,7 +563,6 @@ i2c at 80004000 {
proximity at 39 {
/* Codina has the Amstaos TMD2672 */
compatible = "amstaos,tmd2672";
- clock-frequency = <400000>;
reg = <0x39>;
/* IRQ on GPIO146 "PS_INT" */
diff --git a/arch/arm/boot/dts/st/ste-ux500-samsung-gavini.dts b/arch/arm/boot/dts/st/ste-ux500-samsung-gavini.dts
index 277060c08a20..1cbccaa1c3cd 100644
--- a/arch/arm/boot/dts/st/ste-ux500-samsung-gavini.dts
+++ b/arch/arm/boot/dts/st/ste-ux500-samsung-gavini.dts
@@ -536,7 +536,6 @@ i2c at 80004000 {
proximity at 39 {
/* Gavini has the GP2A030S00F proximity sensor */
compatible = "sharp,gp2a030s00f";
- clock-frequency = <400000>;
reg = <0x39>;
/* FIXME: GPIO146 provides power on, IR LED? */
};
diff --git a/arch/arm/boot/dts/st/ste-ux500-samsung-janice.dts b/arch/arm/boot/dts/st/ste-ux500-samsung-janice.dts
index e821527f418c..1ab09e8d8d2d 100644
--- a/arch/arm/boot/dts/st/ste-ux500-samsung-janice.dts
+++ b/arch/arm/boot/dts/st/ste-ux500-samsung-janice.dts
@@ -411,7 +411,6 @@ nfc at 2b { /* 0x30? */
compatible = "nxp,pn544-i2c";
/* IF0, IF1 high, gives I2C address 0x2B */
reg = <0x2b>;
- clock-frequency = <400000>;
/* NFC IRQ on GPIO32 */
interrupt-parent = <&gpio1>;
interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
@@ -607,7 +606,6 @@ i2c at 80004000 {
proximity at 44 {
/* Janice has the GP2AP002A00F with light sensor */
compatible = "sharp,gp2ap002a00f";
- clock-frequency = <400000>;
reg = <0x44>;
interrupt-parent = <&gpio4>;
diff --git a/arch/arm/boot/dts/st/ste-ux500-samsung-kyle.dts b/arch/arm/boot/dts/st/ste-ux500-samsung-kyle.dts
index 30f9bdfd2893..dad2844169b1 100644
--- a/arch/arm/boot/dts/st/ste-ux500-samsung-kyle.dts
+++ b/arch/arm/boot/dts/st/ste-ux500-samsung-kyle.dts
@@ -414,7 +414,6 @@ i2c at 80004000 {
proximity at 44 {
compatible = "sharp,gp2ap002s00f";
- clock-frequency = <400000>;
reg = <0x44>;
interrupt-parent = <&gpio4>;
@@ -438,7 +437,6 @@ i2c at 80128000 {
accel at 18 {
compatible = "bosch,bma254";
- clock-frequency = <400000>;
reg = <0x18>;
mount-matrix = "-1", "0", "0",
diff --git a/arch/arm/boot/dts/st/ste-ux500-samsung-skomer.dts b/arch/arm/boot/dts/st/ste-ux500-samsung-skomer.dts
index c3eb07fe2a27..9aaf42014efe 100644
--- a/arch/arm/boot/dts/st/ste-ux500-samsung-skomer.dts
+++ b/arch/arm/boot/dts/st/ste-ux500-samsung-skomer.dts
@@ -394,7 +394,6 @@ i2c at 80004000 {
proximity at 44 {
compatible = "sharp,gp2ap002s00f";
- clock-frequency = <400000>;
reg = <0x44>;
interrupt-parent = <&gpio4>;
@@ -419,7 +418,6 @@ i2c at 80128000 {
accel at 18 {
compatible = "bosch,bma254";
- clock-frequency = <400000>;
reg = <0x18>;
/* GPIO224 used as "smart alert" interrupt */
--
2.56.1
More information about the linux-arm-kernel
mailing list