Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 234f0c4c authored by Rajendra Nayak's avatar Rajendra Nayak Committed by paul
Browse files

ARM: OMAP4: PM: Adds PRM register shift and mask bits



This patch adds OMAP4 specific PRM register bit field
shifts and masks. Auto generated using a python script
(gen_prm_shifts_and_mask.py) developed by Benoit Cousson,
Paul Walmsley and Rajendra Nayak.

Signed-off-by: default avatarRajendra Nayak <rnayak@ti.com>
Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
Cc: Benoit Cousson <b-cousson@ti.com>
parent c1294045
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -51,6 +51,12 @@
#define OMAP3430_NEON_MOD				0xb00
#define OMAP3430ES2_USBHOST_MOD				0xc00

#define BITS(n_bit)	\
	(((1 << n_bit) - 1) | (1 << n_bit))

#define BITFIELD(l_bit, u_bit)	\
	(BITS(u_bit) & ~((BITS(l_bit)) >> 1))

/* OMAP44XX specific module offsets */

/* CM1 instances */
+2205 −0

File added.

Preview size limit exceeded, changes collapsed.