mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Felipe Balbi <balbi@ti.com>
To: Felipe Contreras <felipe.contreras@gmail.com>
Cc: "linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
	linux-main <linux-kernel@vger.kernel.org>,
	Greg KH <greg@kroah.com>, "Balbi, Felipe" <balbi@ti.com>
Subject: Re: [PATCH 3/3] drivers: cleanup Kconfig stuff
Date: Tue, 19 Oct 2010 11:18:55 +0300	[thread overview]
Message-ID: <20101019081855.GI12470@legolas.emea.dhcp.ti.com> (raw)
In-Reply-To: <1287475466-8927-4-git-send-email-felipe.contreras@gmail.com>

Hi,

On Tue, Oct 19, 2010 at 03:04:26AM -0500, Felipe Contreras wrote:
>diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
>index db51ea1..523df52 100644
>--- a/drivers/mfd/Kconfig
>+++ b/drivers/mfd/Kconfig
>@@ -156,6 +156,8 @@ config MENELAUS
> config TWL4030_CORE
> 	bool "Texas Instruments TWL4030/TWL5030/TWL6030/TPS659x0 Support"
> 	depends on I2C=y && GENERIC_HARDIRQS
>+	depends on ARCH_OMAP3 || ARCH_OMAP4

It's just an i2c chip, not depending on OMAP will allow us for a much
needed compile test on linux-next with different architectures.

>@@ -169,7 +171,7 @@ config TWL4030_CORE
>
> config TWL4030_POWER
> 	bool "Support power resources on TWL4030 family chips"
>-	depends on TWL4030_CORE && ARM
>+	depends on TWL4030_CORE

ok.

>@@ -191,7 +190,6 @@ config USB_GADGET_OMAP
> 	boolean "OMAP USB Device Controller"
> 	depends on ARCH_OMAP
> 	select ISP1301_OMAP if MACH_OMAP_H2 || MACH_OMAP_H3 || MACH_OMAP_H4_OTG
>-	select USB_OTG_UTILS if ARCH_OMAP

ok.

>@@ -842,7 +840,8 @@ config USB_CDC_COMPOSITE
>
> config USB_G_NOKIA
> 	tristate "Nokia composite gadget"
>-	depends on PHONET
>+	depends on PHONET && MACH_NOKIA_RX51

no. g_nokia only depends on PHONET, if someone else wants to use on
another board, it's fine by me. Otherwise we will have to keep on adding
more and more boards.

>+	depends on USB_GADGET_MUSB_HDRC

this gadget also works on controllers other than musb. As long as they
support enough endpoints and alternate settings, it should just work.

It was fine as it was before. NAK

>diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig
>index 20895c4..5484258 100644
>--- a/drivers/usb/musb/Kconfig
>+++ b/drivers/usb/musb/Kconfig
>@@ -12,7 +12,7 @@ config USB_MUSB_HDRC
> 	depends on (USB || USB_GADGET)
> 	depends on (ARM || (BF54x && !BF544) || (BF52x && !BF522 && !BF523))
> 	select NOP_USB_XCEIV if (ARCH_DAVINCI || MACH_OMAP3EVM || BLACKFIN)
>-	select TWL4030_USB if MACH_OMAP_3430SDP
>+	select TWL4030_USB if ARCH_OMAP3

we have omap3-based boards which don't use twl4030-usb, they use
nop-usb-xceiv. How do you want to handle that ?? NAK

-- 
balbi

  reply	other threads:[~2010-10-19  8:19 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-19  8:04 [PATCH 0/3] usb: geneirc Kconfig fixes Felipe Contreras
2010-10-19  8:04 ` [PATCH 1/3] usb: fix Kconfig warning Felipe Contreras
2010-10-19  8:20   ` Felipe Balbi
2010-10-19  8:04 ` [PATCH 2/3] usb: trivial Kconfig cleanups Felipe Contreras
2010-10-19  8:15   ` Felipe Balbi
2010-10-19  8:25     ` Felipe Contreras
2010-10-19  8:29       ` Felipe Balbi
2010-10-19  8:04 ` [PATCH 3/3] drivers: cleanup Kconfig stuff Felipe Contreras
2010-10-19  8:18   ` Felipe Balbi [this message]
2010-10-19  8:34     ` Felipe Contreras
2010-10-19  9:01       ` Felipe Balbi
2010-10-19  9:55         ` Felipe Contreras
2010-10-19 10:12           ` Felipe Balbi
2010-10-19 10:52             ` Felipe Contreras
2010-10-19 11:28               ` Felipe Balbi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101019081855.GI12470@legolas.emea.dhcp.ti.com \
    --to=balbi@ti.com \
    --cc=felipe.contreras@gmail.com \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®