On the AM335X, writes to the padconf registers must be done in privileged mode. To allow userspace drivers to dynamically change the padconf at runtime, a kernel call has been added. Change-Id: I4b25d2879399b1785a360912faa0e90b5c258533
11 lines
218 B
C
11 lines
218 B
C
#ifndef _OMAP_PADCONF_H
|
|
#define _OMAP_PADCONF_H
|
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
void arch_padconf_init(void);
|
|
int arch_padconf_set(u32_t padconf, u32_t mask, u32_t value);
|
|
|
|
#endif /* __ASSEMBLY__ */
|
|
|
|
#endif /* _OMAP_TIMER_H */
|