All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] arm: shmobile: Add USBHS and PCI OHCI/EHCI to RCAR H2 Lager
@ 2013-10-01 18:30 Valentine Barshak
  2013-10-02  0:14 ` Simon Horman
  2013-10-02 12:38 ` Valentine
  0 siblings, 2 replies; 3+ messages in thread
From: Valentine Barshak @ 2013-10-01 18:30 UTC (permalink / raw)
  To: linux-sh

The following patches have been made on top of devel branch of
linux-sh git repo. They add USBHS function and USB OHCI/EHCI
support to RCAR H2 Lager board.

The first two patches add USBHS support to Lager board.

The next two patches add Internal PCI support to RCAR Gen2 SoC.
There are three Internal PCI controllers available with a single
EHCI/OHCI device present on each one.
This provides three USB channels. Channels 0/2 are shared
with USBHS/USBSS respectively.

The last two patches add Internal PCI support to Lager
and allow to configure the USB channels that are shared
between PCI USB controller and USBHS/USBSS.
The configuration is done in the USBHS UGCTRL2 register.
In addition, the following switches have to be set correctly
for the USB channel 0 configuration:
SW5: pin1; SW6: pin1    -> PCI USB Host
SW5: neutral; SW6: pin2 -> USB Function (VBUS always connected)
SW5: pin3: SW6: pin2    -> USB Function (VBUS is connected only
if GP5_18 pin is high)

Valentine Barshak (6):
  arm: shmobile: r8a7790: Add USBHS clock support
  arm: shmobile: lager: Add USBHS support
  arm: shmobile: Add internal PCI support to RCAR Gen2
  arm: shmobile: r8a7790: Add PCI/USB host clock support
  arm: shmobile: lager: Add internal PCI support
  arm: shmobile: lager: Disable unused PCI/USB channels

 arch/arm/mach-shmobile/Kconfig         |   1 +
 arch/arm/mach-shmobile/Makefile        |   4 +
 arch/arm/mach-shmobile/board-lager.c   | 277 +++++++++++++++++++++++++++
 arch/arm/mach-shmobile/clock-r8a7790.c |   5 +
 arch/arm/mach-shmobile/pci-rcar-gen2.c | 339 +++++++++++++++++++++++++++++++++
 5 files changed, 626 insertions(+)
 create mode 100644 arch/arm/mach-shmobile/pci-rcar-gen2.c

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/6] arm: shmobile: Add USBHS and PCI OHCI/EHCI to RCAR H2 Lager
  2013-10-01 18:30 [PATCH 0/6] arm: shmobile: Add USBHS and PCI OHCI/EHCI to RCAR H2 Lager Valentine Barshak
@ 2013-10-02  0:14 ` Simon Horman
  2013-10-02 12:38 ` Valentine
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2013-10-02  0:14 UTC (permalink / raw)
  To: linux-sh

Hi,

On Tue, Oct 01, 2013 at 10:30:45PM +0400, Valentine Barshak wrote:
> The following patches have been made on top of devel branch of
> linux-sh git repo. They add USBHS function and USB OHCI/EHCI
> support to RCAR H2 Lager board.

If you are making changes against arch/arm/mach-shmobile/ then
please make then against the latest devel tag of my renesas tree
on kernel.org.

Sorry for the confusion, there have been a few changes to
the maintenance of arch/arm/mach-shmobile/ over the past year or so.

> 
> The first two patches add USBHS support to Lager board.
> 
> The next two patches add Internal PCI support to RCAR Gen2 SoC.
> There are three Internal PCI controllers available with a single
> EHCI/OHCI device present on each one.
> This provides three USB channels. Channels 0/2 are shared
> with USBHS/USBSS respectively.
> 
> The last two patches add Internal PCI support to Lager
> and allow to configure the USB channels that are shared
> between PCI USB controller and USBHS/USBSS.
> The configuration is done in the USBHS UGCTRL2 register.
> In addition, the following switches have to be set correctly
> for the USB channel 0 configuration:
> SW5: pin1; SW6: pin1    -> PCI USB Host
> SW5: neutral; SW6: pin2 -> USB Function (VBUS always connected)
> SW5: pin3: SW6: pin2    -> USB Function (VBUS is connected only
> if GP5_18 pin is high)
> 
> Valentine Barshak (6):
>   arm: shmobile: r8a7790: Add USBHS clock support
>   arm: shmobile: lager: Add USBHS support
>   arm: shmobile: Add internal PCI support to RCAR Gen2
>   arm: shmobile: r8a7790: Add PCI/USB host clock support
>   arm: shmobile: lager: Add internal PCI support
>   arm: shmobile: lager: Disable unused PCI/USB channels
> 
>  arch/arm/mach-shmobile/Kconfig         |   1 +
>  arch/arm/mach-shmobile/Makefile        |   4 +
>  arch/arm/mach-shmobile/board-lager.c   | 277 +++++++++++++++++++++++++++
>  arch/arm/mach-shmobile/clock-r8a7790.c |   5 +
>  arch/arm/mach-shmobile/pci-rcar-gen2.c | 339 +++++++++++++++++++++++++++++++++
>  5 files changed, 626 insertions(+)
>  create mode 100644 arch/arm/mach-shmobile/pci-rcar-gen2.c
> 
> -- 
> 1.8.3.1
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sh" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/6] arm: shmobile: Add USBHS and PCI OHCI/EHCI to RCAR H2 Lager
  2013-10-01 18:30 [PATCH 0/6] arm: shmobile: Add USBHS and PCI OHCI/EHCI to RCAR H2 Lager Valentine Barshak
  2013-10-02  0:14 ` Simon Horman
@ 2013-10-02 12:38 ` Valentine
  1 sibling, 0 replies; 3+ messages in thread
From: Valentine @ 2013-10-02 12:38 UTC (permalink / raw)
  To: linux-sh

On 10/02/2013 04:14 AM, Simon Horman wrote:
> Hi,

Hi Simon,

>
> On Tue, Oct 01, 2013 at 10:30:45PM +0400, Valentine Barshak wrote:
>> The following patches have been made on top of devel branch of
>> linux-sh git repo. They add USBHS function and USB OHCI/EHCI
>> support to RCAR H2 Lager board.
>
> If you are making changes against arch/arm/mach-shmobile/ then
> please make then against the latest devel tag of my renesas tree
> on kernel.org.
>
> Sorry for the confusion, there have been a few changes to
> the maintenance of arch/arm/mach-shmobile/ over the past year or so.
>

No problem, I'll rebase.

Thanks,
Val.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-02 12:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-01 18:30 [PATCH 0/6] arm: shmobile: Add USBHS and PCI OHCI/EHCI to RCAR H2 Lager Valentine Barshak
2013-10-02  0:14 ` Simon Horman
2013-10-02 12:38 ` Valentine

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.