* [cip-dev] [PATCH 4.4.y-cip 2/3] ARM: dts: am33xx: Added AM33XX_PADCONF macro
@ 2020-06-08 10:33 johnsonch.chen@moxa.com
0 siblings, 0 replies; only message in thread
From: johnsonch.chen@moxa.com @ 2020-06-08 10:33 UTC (permalink / raw)
To: nobuhiro1.iwamatsu, pavel, cip-dev
[-- Attachment #1: Type: text/plain, Size: 1409 bytes --]
From: Christina Quast <cquast@hanoverdisplays.com>
commit f1ff9be7652b716c7eea67c9ca795027d911f148 upstream.
AM33XX_PADCONF takes three instead of two parameters, to make
future changes to #pinctrl-cells easier.
For old boards which are not mainlined, we left the AM33XX_IOPAD
macro.
Signed-off-by: Christina Quast <cquast@hanoverdisplays.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
[Johnson: Add SPDX License]
Signed-off-by: Johnson Chen <johnsonch.chen@moxa.com>
---
include/dt-bindings/pinctrl/omap.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/dt-bindings/pinctrl/omap.h b/include/dt-bindings/pinctrl/omap.h
index 0d4fe32b3ae2..f0d0e757fd9c 100644
--- a/include/dt-bindings/pinctrl/omap.h
+++ b/include/dt-bindings/pinctrl/omap.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
/*
* This header provides constants for OMAP pinctrl bindings.
*
@@ -63,6 +64,7 @@
#define OMAP3_WKUP_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x2a00) (val)
#define DM816X_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x0800) (val)
#define AM33XX_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x0800) (val)
+#define AM33XX_PADCONF(pa, dir, mux) OMAP_IOPAD_OFFSET((pa), 0x0800) ((dir) | (mux))
#define AM4372_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x0800) (val)
#define DRA7XX_CORE_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x3400) (val)
--
2.20.1
[-- Attachment #2: Type: text/plain, Size: 419 bytes --]
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#4751): https://lists.cip-project.org/g/cip-dev/message/4751
Mute This Topic: https://lists.cip-project.org/mt/74749055/4520388
Group Owner: cip-dev+owner@lists.cip-project.org
Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/727948398/xyzzy [cip-dev@archiver.kernel.org]
-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-06-08 10:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-08 10:33 [cip-dev] [PATCH 4.4.y-cip 2/3] ARM: dts: am33xx: Added AM33XX_PADCONF macro johnsonch.chen@moxa.com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).