[2/2] ARM: DRA7: Cleanup old pinctrl macros

Message ID 20170908190825.21515-3-s-anna@ti.com
State Accepted
Commit 2f9455c8499345dcfa7553b4c1fd34e619be3ece
Headers show
Series
  • Cleanup old DRA7 pinctrl macros
Related show

Commit Message

Suman Anna Sept. 8, 2017, 7:08 p.m.
Commit 6ae4c3efbd62 ("ARM: DRA7: Add pinctrl register definitions")
has added new macros for pinmux configuration in line with the kernel
definitions. Cleanup the old pinctrl macros from the common header
file so that they are not used by any new boards.

Signed-off-by: Suman Anna <s-anna@ti.com>
---
 arch/arm/include/asm/arch-omap5/mux_dra7xx.h | 14 --------------
 1 file changed, 14 deletions(-)

Comments

Tom Rini Sept. 15, 2017, 12:21 p.m. | #1
On Fri, Sep 08, 2017 at 02:08:25PM -0500, Suman Anna wrote:

> Commit 6ae4c3efbd62 ("ARM: DRA7: Add pinctrl register definitions")

> has added new macros for pinmux configuration in line with the kernel

> definitions. Cleanup the old pinctrl macros from the common header

> file so that they are not used by any new boards.

> 

> Signed-off-by: Suman Anna <s-anna@ti.com>


Applied to u-boot/master, thanks!

-- 
Tom

Patch

diff --git a/arch/arm/include/asm/arch-omap5/mux_dra7xx.h b/arch/arm/include/asm/arch-omap5/mux_dra7xx.h
index 5eed98ca27a4..55f49c784857 100644
--- a/arch/arm/include/asm/arch-omap5/mux_dra7xx.h
+++ b/arch/arm/include/asm/arch-omap5/mux_dra7xx.h
@@ -12,20 +12,6 @@ 
 
 #include <asm/types.h>
 
-#define FSC	(1 << 19)
-#define SSC	(0 << 19)
-
-#define IEN	(1 << 18)
-#define IDIS	(0 << 18)
-
-#define PTU	(1 << 17)
-#define PTD	(0 << 17)
-#define PEN	(1 << 16)
-#define PDIS	(0 << 16)
-
-#define WKEN	(1 << 24)
-#define WKDIS	(0 << 24)
-
 #define PULL_ENA		(0 << 16)
 #define PULL_DIS		(1 << 16)
 #define PULL_UP			(1 << 17)