[U-Boot] [PATCH] mx6q: mx6qsabrelite: add GPIO_0__CCM_CLKO and GPIO_3__CCM_CLKO2 pin mux

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Aug 1 15:33:29 CEST 2012


Le Wed, 1 Aug 2012 15:22:30 +0200,
Dirk Behme <dirk.behme at de.bosch.com> a écrit :

> > Probably. But the question is still why this should be changed in
> > U-Boot.  Why doesn't the Linux driver set the pin mux configuration
> > it needs?
> 
> Sorry, I don't know. The Linux driver developers told me "there is no 
> U-Boot dependency". Maybe they could answer this question? CCed.

The kernel has a pinctrl driver for i.MX 6, so I would rather suggest
to fix your imx6q-sabrelite.dts Device Tree source file so that the
audio device is properly associated with the correct pinmux
configuration.

Each device can have a pinctrl-0 DT property, which points to one or
more pinmux configurations that are defined in imx6q.dtsi file. You can
add additional pinmux configurations here if needed.

But yeah, definitely, the kernel shouldn't rely too much on U-Boot
having set the right pinmux configuration.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com


More information about the U-Boot mailing list