From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shawn Guo Subject: Re: [PATCH v2 07/12] ARM: imx6q: add config-on-boot gpios Date: Tue, 22 May 2012 11:32:59 +0800 Message-ID: References: <1337592237-5090-1-git-send-email-richard.zhao@freescale.com> <1337592237-5090-8-git-send-email-richard.zhao@freescale.com> <20120522031709.GH8140@S2101-09.ap.freescale.net> <201205220525.39660.marex@denx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: In-Reply-To: <201205220525.39660.marex-ynQEQJNshbs@public.gmane.org> Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Marek Vasut Cc: Richard Zhao , linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, B29397-KZfg59tc24xl57MIdRCFDg@public.gmane.org, B20596-KZfg59tc24xl57MIdRCFDg@public.gmane.org, kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org, alexander.shishkin-VuQAYsv1563Yd54FQh9/CA@public.gmane.org, gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org, fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org, dong.aisheng-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz@public.gmane.org, linuxzsc-MeMPY/F8WlbQT0dZR+AlfA@public.gmane.org, Rob Herring , Grant Likely List-Id: devicetree@vger.kernel.org On 22 May 2012 11:25, Marek Vasut wrote: > Dear Shawn Guo, > >> Apart from my comments below, we really need to know Rob and Grant's >> opinion on this. > > Hm ... so why don't you actually write per-board driver ? :-) That'd handle > every single board very well, you'd configure the GPIOs there, every single > additional necessary thing that has to be configured would sink there too etc. > I'm not completely sure about how the per-board driver looks like exactly. Can you have some code demonstrating it? Regards, Shawn -- 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