Re: [PATCH v5 1/9] ARM: shmobile: Marzen: move USB EHCI, OHCI, and PHY devices to R8A7779 code

2013-04-21 Thread Sergei Shtylyov

Hello.

On 04/20/2013 01:56 AM, Sergei Shtylyov wrote:


USB EHCI, OHCI, and common PHY are the SoC devices but are wrongly defined and
registered in the Marzen board file.  Move the data and code to their proper
place in setup-r8a7779.c; while at it, we have to rename 8a7779_late_devices[]
to 8a7779_standard_devices[] -- this seems legitimate since they are registered


I've been pointed to the types in the above variable names privately.
Don't know should I resend or Simon could fix s/8a7779/r8a7779/ while
applying... well, the USB patches haven't been ACK'ed yet.


from r8a7779_add_standard_devices() anyway.

Note that I'm deliberately changing the USB PHY platform device's 'id' field
from (previously just omitted) 0 to -1 as the device is a single of its kind.

Note also that the board and SoC code have to be in one patch to keep the code
bisectable...

The patch has been tested on the Marzen board.

Signed-off-by: Sergei Shtylyov sergei.shtyl...@cogentembedded.com
Acked-by: Kuninori Morimoto kuninori.morimoto...@renesas.com
Acked-by: Simon Horman horms+rene...@verge.net.au


WBR, Sergei

--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH v5 1/9] ARM: shmobile: Marzen: move USB EHCI, OHCI, and PHY devices to R8A7779 code

2013-04-21 Thread Simon Horman
On Sun, Apr 21, 2013 at 11:19:28PM +0400, Sergei Shtylyov wrote:
 Hello.
 
 On 04/20/2013 01:56 AM, Sergei Shtylyov wrote:
 
 USB EHCI, OHCI, and common PHY are the SoC devices but are wrongly defined 
 and
 registered in the Marzen board file.  Move the data and code to their proper
 place in setup-r8a7779.c; while at it, we have to rename 
 8a7779_late_devices[]
 to 8a7779_standard_devices[] -- this seems legitimate since they are 
 registered
 
 I've been pointed to the types in the above variable names privately.
 Don't know should I resend or Simon could fix s/8a7779/r8a7779/ while
 applying... well, the USB patches haven't been ACK'ed yet.

I can fix that up.

Is the series waiting on anything?

 
 from r8a7779_add_standard_devices() anyway.
 
 Note that I'm deliberately changing the USB PHY platform device's 'id' field
 from (previously just omitted) 0 to -1 as the device is a single of its kind.
 
 Note also that the board and SoC code have to be in one patch to keep the 
 code
 bisectable...
 
 The patch has been tested on the Marzen board.
 
 Signed-off-by: Sergei Shtylyov sergei.shtyl...@cogentembedded.com
 Acked-by: Kuninori Morimoto kuninori.morimoto...@renesas.com
 Acked-by: Simon Horman horms+rene...@verge.net.au
 
 WBR, Sergei
 
 --
 To unsubscribe from this list: send the line unsubscribe linux-sh in
 the body of a message to majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html
 
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH v4 0/4] Add USB support to R8A7778/BOCK-W

2013-04-21 Thread Simon Horman
On Sat, Apr 20, 2013 at 02:27:32AM +0400, Sergei Shtylyov wrote:
 Hello.
 
 On 04/20/2013 02:07 AM, Sergei Shtylyov wrote:
 
 Here's the set of 3 patches against the Simon Horman's 'renesas.git' 
  repo,
 'renesas-next-20130416' tag and the R8A7779/Marzen patchset I've posted.
 
Sorry, it's against 'renesas-next-20130419' tag now.

Thanks, got it.
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 4/5] usb: chipidea: depend on CONFIG_OF instead of CONFIG_OF_DEVICE

2013-04-21 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com

CONFIG_OF_DEVICE is going away, so use CONFIG_OF instead. It does not
appear that CONFIG_OF_DEVICE was the correct dependency either.

Signed-off-by: Rob Herring rob.herr...@calxeda.com
Cc: Alexander Shishkin alexander.shish...@linux.intel.com
Cc: Greg Kroah-Hartman gre...@linuxfoundation.org
Cc: Grant Likely grant.lik...@linaro.org
Cc: linux-usb@vger.kernel.org
---
 drivers/usb/chipidea/Makefile |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/chipidea/Makefile b/drivers/usb/chipidea/Makefile
index d92ca32..0895e3e 100644
--- a/drivers/usb/chipidea/Makefile
+++ b/drivers/usb/chipidea/Makefile
@@ -16,6 +16,6 @@ ifneq ($(CONFIG_PCI),)
obj-$(CONFIG_USB_CHIPIDEA)  += ci13xxx_pci.o
 endif
 
-ifneq ($(CONFIG_OF_DEVICE),)
+ifneq ($(CONFIG_OF),)
obj-$(CONFIG_USB_CHIPIDEA)  += ci13xxx_imx.o usbmisc_imx6q.o
 endif
-- 
1.7.10.4

--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 0/5] of_platform_driver and OF_DEVICE removal

2013-04-21 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com

This series is a relatively straight-forward removal of the last remaining
user of of_platform_driver (ibmebus) and removal of CONFIG_OF_DEVICE which
is always enabled when CONFIG_OF is enabled.

Compile tested on powerpc and sparc.

Rob

Rob Herring (5):
  ibmebus: convert of_platform_driver to platform_driver
  driver core: move to_platform_driver to platform_device.h
  of: remove of_platform_driver
  usb: chipidea: depend on CONFIG_OF instead of CONFIG_OF_DEVICE
  of: remove CONFIG_OF_DEVICE

 arch/powerpc/include/asm/ibmebus.h|4 ++--
 arch/powerpc/kernel/ibmebus.c |   22 ++---
 drivers/base/platform.c   |3 ---
 drivers/infiniband/hw/ehca/ehca_main.c|5 ++---
 drivers/net/ethernet/ibm/ehea/ehea_main.c |8 +++-
 drivers/of/Kconfig|3 ---
 drivers/of/Makefile   |3 +--
 drivers/usb/chipidea/Makefile |2 +-
 include/linux/of_device.h |6 +++---
 include/linux/of_platform.h   |   30 +
 include/linux/platform_device.h   |3 +++
 11 files changed, 26 insertions(+), 63 deletions(-)

-- 
1.7.10.4

--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH v3 4/4] ARM: shmobile: BOCK-W: enable USB in defconfig

2013-04-21 Thread Simon Horman
On Sat, Apr 20, 2013 at 12:23:52AM +0400, Sergei Shtylyov wrote:
 On 04/19/2013 06:14 AM, Simon Horman wrote:
 On Fri, Apr 19, 2013 at 02:50:05AM +0400, Sergei Shtylyov wrote:
 Hello.
 
 On 04/18/2013 06:05 PM, Simon Horman wrote:
 
 Enable USB platform EHCI/OHCI and common PHY drivers in 'bockw_defconfig'.
 Enable USB storage driver and SCSI disk driver that it needs as well...
 
 Signed-off-by: Sergei Shtylyov sergei.shtyl...@cogentembedded.com
 I realise that this is not going to be useful until the rest
 of the series has been merged. But regardless I have pre-emptively
 queued it up for v3.11 in the defconfig-bockw branch.
 ---
   arch/arm/configs/bockw_defconfig |   11 ++-
   1 file changed, 10 insertions(+), 1 deletion(-)
 
 Index: renesas/arch/arm/configs/bockw_defconfig
 ===
 --- renesas.orig/arch/arm/configs/bockw_defconfig
 +++ renesas/arch/arm/configs/bockw_defconfig
 @@ -48,6 +48,8 @@ CONFIG_DEVTMPFS_MOUNT=y
   # CONFIG_STANDALONE is not set
   # CONFIG_PREVENT_FIRMWARE_BUILD is not set
   # CONFIG_FW_LOADER is not set
 +CONFIG_SCSI=y
 +CONFIG_BLK_DEV_SD=y
   CONFIG_NETDEVICES=y
   # CONFIG_NET_CADENCE is not set
   # CONFIG_NET_VENDOR_BROADCOM is not set
 @@ -71,7 +73,14 @@ CONFIG_SERIAL_SH_SCI_NR_UARTS=6
   CONFIG_SERIAL_SH_SCI_CONSOLE=y
   # CONFIG_HW_RANDOM is not set
   # CONFIG_HWMON is not set
 -# CONFIG_USB_SUPPORT is not set
 +CONFIG_USB=y
 +CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
 +CONFIG_USB_EHCI_HCD=y
 +CONFIG_USB_OHCI_HCD=y
 +CONFIG_USB_OHCI_HCD_PLATFORM=y
 +CONFIG_USB_EHCI_HCD_PLATFORM=y
 +CONFIG_USB_STORAGE=y
 +CONFIG_USB_RCAR_PHY=y
 
 Unfortunately, you've made a mistake in this last line of the patch:
 you've truncated it to just CONFIG_USB_RCAR. :-(
 Will you correct it?
 Sorry about that, I will fix it.
 
 Sorry to say, but you fixed it the wrong way; now it's:
 
 +CONFIG_USB_RCAR=y
 
 instead of:
 
 +CONFIG_USB_RCAR_PHY=y

Sorry for my carelessness.
I will forcibly push the following:

From 26b78f5c9ad1e4809f6d0a5547e4eab222f53f23 Mon Sep 17 00:00:00 2001
From: Sergei Shtylyov sergei.shtyl...@cogentembedded.com
Date: Wed, 17 Apr 2013 01:35:09 +0400
Subject: [PATCH] ARM: shmobile: BOCK-W: enable USB in defconfig

Enable USB platform EHCI/OHCI and common PHY drivers in 'bockw_defconfig'.
Enable USB storage driver and SCSI disk driver that it needs as well...

Signed-off-by: Sergei Shtylyov sergei.shtyl...@cogentembedded.com
Signed-off-by: Simon Horman horms+rene...@verge.net.au
---
 arch/arm/configs/bockw_defconfig | 11 ++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/arch/arm/configs/bockw_defconfig b/arch/arm/configs/bockw_defconfig
index a4bc76d..d662608 100644
--- a/arch/arm/configs/bockw_defconfig
+++ b/arch/arm/configs/bockw_defconfig
@@ -49,6 +49,8 @@ CONFIG_DEVTMPFS_MOUNT=y
 # CONFIG_STANDALONE is not set
 # CONFIG_PREVENT_FIRMWARE_BUILD is not set
 # CONFIG_FW_LOADER is not set
+CONFIG_SCSI=y
+CONFIG_BLK_DEV_SD=y
 CONFIG_NETDEVICES=y
 # CONFIG_NET_CADENCE is not set
 # CONFIG_NET_VENDOR_BROADCOM is not set
@@ -74,7 +76,14 @@ CONFIG_SERIAL_SH_SCI_CONSOLE=y
 # CONFIG_HWMON is not set
 CONFIG_I2C=y
 CONFIG_I2C_RCAR=y
-# CONFIG_USB_SUPPORT is not set
+CONFIG_USB=y
+CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_OHCI_HCD=y
+CONFIG_USB_OHCI_HCD_PLATFORM=y
+CONFIG_USB_EHCI_HCD_PLATFORM=y
+CONFIG_USB_STORAGE=y
+CONFIG_USB_RCAR_PHY=y
 CONFIG_MMC=y
 CONFIG_MMC_SDHI=y
 CONFIG_UIO=y
-- 
1.8.2.1

--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html