]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: ti: k3-pinctrl: Fix the bug in existing macros
authorAkashdeep Kaur <a-kaur@ti.com>
Tue, 9 Sep 2025 04:41:08 +0000 (10:11 +0530)
committerNishanth Menon <nm@ti.com>
Fri, 12 Sep 2025 08:23:36 +0000 (13:53 +0530)
Currently, DS_IO_OVERRIDE_EN_SHIFT macro is not defined anywhere but
used for defining other macro.
Replace this undefined macro with valid macro. Rename the existing macro
to reflect the actual behavior.

Fixes: 325aa0f6b36e ("arm64: dts: ti: k3-pinctrl: Introduce deep sleep macros")
Reviewed-by: Kendall Willis <k-willis@ti.com>
Reviewed-by: Dhruva Gole <d-gole@ti.com>
Reviewed-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Akashdeep Kaur <a-kaur@ti.com>
Fixes: 325aa0f6b36e ("arm64: dts: ti: k3-pinctrl: Introduce deep sleep macros")
Link: https://patch.msgid.link/20250909044108.2541534-5-a-kaur@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm64/boot/dts/ti/k3-pinctrl.h

index 8ce37ace94c98a56d78390c48b800cd35bda8965..e46f7bf527019f46fbd8bcf037467af8a55b373e 100644 (file)
@@ -88,8 +88,8 @@
 
 #define PIN_DS_FORCE_DISABLE           (0 << FORCE_DS_EN_SHIFT)
 #define PIN_DS_FORCE_ENABLE            (1 << FORCE_DS_EN_SHIFT)
-#define PIN_DS_IO_OVERRIDE_DISABLE     (0 << DS_IO_OVERRIDE_EN_SHIFT)
-#define PIN_DS_IO_OVERRIDE_ENABLE      (1 << DS_IO_OVERRIDE_EN_SHIFT)
+#define PIN_DS_ISO_OVERRIDE_DISABLE     (0 << ISO_OVERRIDE_EN_SHIFT)
+#define PIN_DS_ISO_OVERRIDE_ENABLE      (1 << ISO_OVERRIDE_EN_SHIFT)
 #define PIN_DS_OUT_ENABLE              (0 << DS_OUT_DIS_SHIFT)
 #define PIN_DS_OUT_DISABLE             (1 << DS_OUT_DIS_SHIFT)
 #define PIN_DS_OUT_VALUE_ZERO          (0 << DS_OUT_VAL_SHIFT)