[U-Boot] [PATCH v2 4/9] usb: ehci-mx6: introduce config for high active power pin

Stefan Agner stefan at agner.ch
Wed Jul 13 18:03:01 CEST 2016


On 2016-07-13 05:11, Otavio Salvador wrote:
> On Wed, Jul 13, 2016 at 4:25 AM, Stefan Agner <stefan at agner.ch> wrote:
>> From: Stefan Agner <stefan.agner at toradex.com>
>>
>> Add a new config CONFIG_MXC_USB_OTG_HACTIVE which configures the
>> OTG Power Pin to be high active. Low active is the reset value
>> of the affected configuration register, hence the config option
>> is named by the non-reset configuration.
>>
>> Signed-off-by: Stefan Agner <stefan.agner at toradex.com>
> 
> Does all i.MX7 uses it? If so, kconfig could depends on it.

No, this is board specific. It happens that our board uses the reset
value (low active), whereas all other board seem to use high active
(which is now a Kconfig option). I decided to create a config option to
set the "non-default" (reset) value, and make the reset value as new
default. I assume that the currently supported boards use high active
polarity since that was the code did before...

--
Stefan


More information about the U-Boot mailing list