[PATCH master v2 4/4] ARM: i.MX8MN: assume USBOTG power domains to be powered

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Aug 8 07:01:47 PDT 2022


Hi,

On 08.08.22 15:04, Sascha Hauer wrote:
> On Fri, Aug 05, 2022 at 07:42:15AM +0200, Ahmad Fatoum wrote:
>> When i.MX8MN support was first added, upstream device tree did list no
>> power domains. Now it does and we defer probe of USB indefinitely
>> because we have no power domain driver. If we need to do PCI on the
>> i.MX8MM in barebox, there'll likely be no way around importing the power
>> domain driver, but for USB which used to work, only thing we need to do
>> is ignore the new power domain specification. Do so by adding the
>> new barebox,allow-dummy property to the new known-enabled power domain.
>>
>> Fixes: b01786baa849 ("dts: update to v5.18-rc1")
>> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
>> ---
>> v1 -> v2:
>>   - no change
>> ---
>>  arch/arm/dts/imx8mn-evk.dtsi | 2 ++
>>  arch/arm/dts/imx8mn.dtsi     | 5 +++++
>>  2 files changed, 7 insertions(+)
>>  create mode 100644 arch/arm/dts/imx8mn.dtsi
>>
>> diff --git a/arch/arm/dts/imx8mn-evk.dtsi b/arch/arm/dts/imx8mn-evk.dtsi
>> index ceeb5f8b9384..aeb357007991 100644
>> --- a/arch/arm/dts/imx8mn-evk.dtsi
>> +++ b/arch/arm/dts/imx8mn-evk.dtsi
>> @@ -4,6 +4,8 @@
>>   * Copyright (C) 2017 Pengutronix, Lucas Stach <kernel at pengutronix.de>
>>   */
>>  
>> +#include "imx8mn.dtsi"
>> +
>>  / {
>>  	chosen {
>>  		environment-sd {
> 
> This file doesn't exist in master.

I just sent out v3. On merging next, you'll get a conflict
which can be resolved by deleteing imx8mn-evk.dts and sticking
#include "imx8mn.dtsi" into the new imx8mn-evk.dtsi.

Thanks,
Ahmad

> 
> Sascha
> 


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list