]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/dt-bindings/pinctrl/am43xx.h
Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso...
[karo-tx-linux.git] / include / dt-bindings / pinctrl / am43xx.h
index 774dc1e843c5b649a48aebe1cb9476678c495c97..344bd1eb3386bad14425861485a66dc25927cd54 100644 (file)
 #define PIN_INPUT_PULLUP       (INPUT_EN | PULL_UP)
 #define PIN_INPUT_PULLDOWN     (INPUT_EN)
 
+/*
+ * Macro to allow using the absolute physical address instead of the
+ * padconf registers instead of the offset from padconf base.
+ */
+#define AM4372_IOPAD(pa, val)  (((pa) & 0xffff) - 0x0800) (val)
+
 #endif