aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAswath Govindraju <a-govindraju@ti.com>2022-01-25 20:56:39 +0530
committerTom Rini <trini@konsulko.com>2022-02-08 09:41:27 -0500
commit55e1d7477b6f3811442917e6a815c393238d0d8c (patch)
tree57eae427c202fa3b8cc3dfb6934f78422ed4deea
parent4f260bbeeb3b53e7c4045db90f6516e1c6d5338d (diff)
downloadu-boot-55e1d7477b6f3811442917e6a815c393238d0d8c.zip
u-boot-55e1d7477b6f3811442917e6a815c393238d0d8c.tar.gz
u-boot-55e1d7477b6f3811442917e6a815c393238d0d8c.tar.bz2
dt-bindings: pinctrl: k3: Introduce pinmux definitions for J721S2
Add pinctrl macros for J721S2 SoC. These macro definitions are similar to that of J721E, but adding new definitions to avoid any naming confusions in the soc dts files. checkpatch insists the following error exists: ERROR: Macros with complex values should be enclosed in parentheses However, we do not need parentheses enclosing the values for this macro as we do intend it to generate two separate values as has been done for other similar platforms. Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
-rw-r--r--include/dt-bindings/pinctrl/k3.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dt-bindings/pinctrl/k3.h b/include/dt-bindings/pinctrl/k3.h
index e085f10..63e038e 100644
--- a/include/dt-bindings/pinctrl/k3.h
+++ b/include/dt-bindings/pinctrl/k3.h
@@ -38,4 +38,7 @@
#define AM64X_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode))
#define AM64X_MCU_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode))
+#define J721S2_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode))
+#define J721S2_WKUP_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode))
+
#endif