[U-Boot] [PATCH V4] Davinci: add a pin multiplexer configuration API

Paulraj, Sandeep s-paulraj at ti.com
Thu Nov 12 17:32:14 CET 2009


> Davinci: add a pin multiplexer configuration API.
> 
> Creates a method allowing pin settings to be logically grouped into data
> structure arrays and provides an API to configure the pinmux settings to
> enable the relevant pin functions.
> 
> Signed-off-by: Nick Thompson <nick.thompson at gefanuc.com>
> ---
> Applies to: u-boot-ti
> 
> Changes from last patch:
> 	Make example match current usage (in DA8xx code, to follow)
> 	Error check all pin settings before applying any changes
> 	Type correction
> 
> The number of mux fields per register and the width of the fields needs to
> be set per SoC. The initial settings are appropriate for at least DA8xx
> devices. These should be modified in misc.h to support other devices as
> required.
> 
>  board/davinci/common/misc.c |   48
> ++++++++++++++++++++++++++++++++++++++++++-
>  board/davinci/common/misc.h |   12 ++++++++++
>  2 files changed, 59 insertions(+), 1 deletions(-)
> 
> diff --git a/board/davinci/common/misc.c b/board/davinci/common/misc.c
> index ffdc20b..9fab76f 100644
> --- a/board/davinci/common/misc.c
> +++ b/board/davinci/common/misc.c
> @@ -1,6 +1,7 @@


Pushed to u-boot-ti/master

Minor mod to patch header

http://git.denx.de/?p=u-boot/u-boot-ti.git;a=commit;h=5ff9f0f6bf1110785c12511770d6d224d1983592

Thanks,
Sandeep


More information about the U-Boot mailing list