[PATCH] [ARM] pxa: add U2D registers and bits definitions

Eric Miao eric.y.miao at gmail.com
Wed Nov 4 22:50:07 EST 2009


On Thu, Nov 5, 2009 at 6:06 AM, Mike Rapoport <mike.rapoport at gmail.com> wrote:
>
>
> On Wed, Nov 4, 2009 at 4:35 PM, Eric Miao <eric.y.miao at gmail.com> wrote:
>>
>> On Wed, Nov 4, 2009 at 8:14 PM, Igor Grinberg <grinberg at compulab.co.il>
>> wrote:
>> >
>> > Signed-off-by: Igor Grinberg <grinberg at compulab.co.il>
>> > Signed-off-by: Mike Rapoport <mike at compulab.co.il>
>> > ---
>> >  arch/arm/mach-pxa/include/mach/regs-u2d.h |  199
>> > +++++++++++++++++++++++++++++
>> >  1 files changed, 199 insertions(+), 0 deletions(-)
>> >  create mode 100644 arch/arm/mach-pxa/include/mach/regs-u2d.h
>> >
>> > diff --git a/arch/arm/mach-pxa/include/mach/regs-u2d.h
>> > b/arch/arm/mach-pxa/include/mach/regs-u2d.h
>>
>> Unless there are registers shared between drivers and platform code,
>> I'd rather this been kept closer to the driver, include/mach/* is already
>> pretty crowded :)
>>
> Well, since there's no u2d driver yet it's difficult to keep the register
> defines close to it.
> Unfortunately we are not woking on u2d and OTG support for pxa3xx, but we
> need these register defines to enable at least USB host on CM-X310.
>

Fair enough, applied with a commit comment of the above issue.



More information about the linux-arm-kernel mailing list