[PATCH] arm: dts: imx8mq-pinfunc: add a define for the SION bit

Angus Ainslie angus at akkea.ca
Sun Jan 30 14:09:59 CET 2022


Hi Fabio,

On 2022-01-29 10:58, Fabio Estevam wrote:
> Hi Angus,
> 
> On Fri, Jan 28, 2022 at 1:21 PM Angus Ainslie <angus at akkea.ca> wrote:
>> 
>> SION (Software Input On Field) - force the select mode input path
>> 
>> Signed-off-by: Angus Ainslie <angus at akkea.ca>
>> ---
>>  arch/arm/dts/imx8mq-pinfunc.h | 1 +
>>  1 file changed, 1 insertion(+)
>> 
>> diff --git a/arch/arm/dts/imx8mq-pinfunc.h 
>> b/arch/arm/dts/imx8mq-pinfunc.h
>> index b94b02080a..b51e4faea5 100644
>> --- a/arch/arm/dts/imx8mq-pinfunc.h
>> +++ b/arch/arm/dts/imx8mq-pinfunc.h
>> @@ -7,6 +7,7 @@
>>  #ifndef __DTS_IMX8MQ_PINFUNC_H
>>  #define __DTS_IMX8MQ_PINFUNC_H
>> 
>> +#define IMX_PAD_SION       0x40000000
> 
> We want to keep this file in sync with Linux.
> 
> If you need to pass IMX_PAD_SION in your board file, please use a
> different header file.
> 

I added this because I wanted to use it in the SPL. I can put it in the 
header file for my board but I think it would be better in an imx8m 
header file. If not the pinfunc header is there another imx8m header you 
could suggest ?

> Also, can't you just set the sion bit via devicetree? The last time we
> discussed this issue, there seemed to be a DT problem.
> 

I can set the sion bit via the DT but I'm not using the DT n the SPL so 
it won't help much.

Thanks
Angus

> Please let us know.


More information about the U-Boot mailing list