public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Felipe Balbi <balbi-l0cyMroinI0@public.gmane.org>
To: Felipe Contreras
	<felipe.contreras-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: "Balbi, Felipe" <balbi-l0cyMroinI0@public.gmane.org>,
	Roger Quadros
	<roger.quadros-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>,
	"linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	linux-omap <linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	linux-main <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Greg KH <greg-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>,
	Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
Subject: Re: [PATCH v2 3/3] drivers: cleanup Kconfig stuff
Date: Thu, 21 Oct 2010 13:24:33 +0300	[thread overview]
Message-ID: <20101021102433.GG3958@legolas.emea.dhcp.ti.com> (raw)
In-Reply-To: <AANLkTin31dmD5OfR3-nvZSg82i3H=_xgH_isJc+Epttq-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

hi,

On Thu, Oct 21, 2010 at 04:04:27AM -0500, Felipe Contreras wrote:
>> wouldn't a user expect USB to be enabled if the board _has_ a USB
>> connector ?
>
>Not if it's not going to be used.

and how would you know before hand if it's going to be used or not ?

>>> 1) Do you think all the OMAP3 boards should add that?
>>
>> why not ?
>
>You prefer a patch that adds one line per board rather than a patch
>that adds one line in total... That is exactly the opposite of Linus's
>complaint regarding big ARM changesets.

The thing is that what you are proposing will not scale when we have too
many boards with different transceivers. Then we will end up with things
like:

config USB_ARCH_HAS_OHCI
	boolean
	# ARM:
	default y if SA1111
	default y if ARCH_OMAP
	default y if ARCH_LH7A404
	default y if ARCH_S3C2410
	default y if PXA27x
	default y if PXA3xx
	default y if ARCH_EP93XX
	default y if ARCH_AT91
	default y if ARCH_PNX4008 && I2C
	default y if MFD_TC6393XB
	default y if ARCH_W90X900
	default y if ARCH_DAVINCI_DA8XX
	# PPC:
	default y if STB03xxx
	default y if PPC_MPC52xx
	# MIPS:
	default y if MIPS_ALCHEMY
	default y if MACH_JZ4740
	# SH:
	default y if CPU_SUBTYPE_SH7720
	default y if CPU_SUBTYPE_SH7721
	default y if CPU_SUBTYPE_SH7763
	default y if CPU_SUBTYPE_SH7786
	# more:
	default PCI

which to me would be much better that e.g. SA1111 does a select
USB_ARCH_HAS_OHCI like it's done for HAVE_CLK

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

  parent reply	other threads:[~2010-10-21 10:24 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-19 10:03 [PATCH v2 0/3] usb: generic Kconfig fixes Felipe Contreras
     [not found] ` <1287482608-11320-1-git-send-email-felipe.contreras-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-10-19 10:03   ` [PATCH v2 1/3] usb: fix Kconfig warning Felipe Contreras
     [not found]     ` <1287482608-11320-2-git-send-email-felipe.contreras-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-10-19 10:28       ` Felipe Balbi
2010-10-19 15:50         ` Greg KH
2010-10-20  6:34       ` Felipe Balbi
2010-10-19 10:03 ` [PATCH v2 2/3] usb: trivial Kconfig cleanups Felipe Contreras
     [not found]   ` <1287482608-11320-3-git-send-email-felipe.contreras-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-10-19 15:51     ` Greg KH
2010-10-19 17:15       ` Felipe Contreras
2010-10-19 17:50         ` Greg KH
2010-10-19 18:15           ` Felipe Contreras
2010-10-20 18:25   ` Felipe Balbi
2010-10-19 10:03 ` [PATCH v2 3/3] drivers: cleanup Kconfig stuff Felipe Contreras
     [not found]   ` <1287482608-11320-4-git-send-email-felipe.contreras-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-10-19 10:32     ` Felipe Balbi
2010-10-19 10:59       ` Felipe Contreras
     [not found]         ` <AANLkTinXzMQXoyyu+anSCvSuE9w3FWAP5HswDS0kfpzE-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-10-19 11:16           ` Felipe Balbi
2010-10-19 11:36             ` Felipe Contreras
2010-10-19 11:52               ` Felipe Balbi
     [not found]                 ` <20101019115236.GL31170-UiBtZHVXSwEVvW8u9ZQWYwjfymiNCTlR@public.gmane.org>
2010-10-19 14:32                   ` Felipe Contreras
     [not found]                     ` <AANLkTim3NsgjC3Nh8VCCrx4cV1Y+kn38=30=en0KCft6-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-10-19 15:05                       ` Felipe Balbi
2010-10-19 20:52                         ` Felipe Contreras
     [not found]                           ` <AANLkTinYM5aavk9_jcTTymff=OY+Yyv8T6C+dmMih0p_-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-10-19 23:44                             ` Tony Lindgren
2010-10-20  0:13                               ` Kevin Hilman
     [not found]                                 ` <87fww1u3fw.fsf-1D3HCaltpLuhEniVeURVKkEOCMrvLtNR@public.gmane.org>
2010-10-20  0:31                                   ` Tony Lindgren
2010-10-20  6:35                                 ` Felipe Balbi
2010-10-20  8:47                                 ` felipe.contreras
2010-10-19 13:40     ` Roger Quadros
     [not found]       ` <4CBD9FD5.506-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
2010-10-19 14:33         ` Felipe Contreras
2010-10-20  7:46           ` Roger Quadros
2010-10-20  8:01             ` Felipe Balbi
2010-10-20  8:53             ` felipe.contreras
2010-10-20  9:14               ` Roger Quadros
     [not found]                 ` <4CBEB312.7060400-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
2010-10-20  9:23                   ` Felipe Contreras
2010-10-20 12:33                     ` Roger Quadros
2010-10-20 14:38                       ` Felipe Contreras
     [not found]                         ` <AANLkTinULxyUg_vHjk9RsQm4Row7vRC9ApzYXt7ZMQJD-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-10-21 14:07                           ` Roger Quadros
     [not found]                             ` <4CC0493F.1000701-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
2010-10-21 15:41                               ` Felipe Balbi
2010-10-21 15:57                                 ` Tony Lindgren
2010-10-20 12:33                     ` Roger Quadros
2010-10-20 12:54                     ` Felipe Balbi
2010-10-20 14:52                       ` Felipe Contreras
2010-10-20 15:15                         ` Felipe Balbi
2010-10-20 16:22                           ` Felipe Contreras
2010-10-20 17:54                             ` Felipe Balbi
     [not found]                               ` <20101020175420.GC3431-UiBtZHVXSwEVvW8u9ZQWYwjfymiNCTlR@public.gmane.org>
2010-10-21  9:04                                 ` Felipe Contreras
     [not found]                                   ` <AANLkTin31dmD5OfR3-nvZSg82i3H=_xgH_isJc+Epttq-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-10-21 10:24                                     ` Felipe Balbi [this message]
2010-10-21 10:55                                       ` Felipe Contreras
2010-10-19 15:52     ` Greg KH
     [not found]       ` <20101019155219.GI4589-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2010-10-19 16:12         ` Anand Gadiyar
     [not found]           ` <4CBDC361.70507-l0cyMroinI0@public.gmane.org>
2010-10-19 16:23             ` Greg KH
2010-10-19 17:06           ` Kevin Hilman

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=20101021102433.GG3958@legolas.emea.dhcp.ti.com \
    --to=balbi-l0cymroini0@public.gmane.org \
    --cc=felipe.contreras-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=greg-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=roger.quadros-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org \
    --cc=tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.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