public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: <Eugen.Hristev@microchip.com>
To: <Tudor.Ambarus@microchip.com>, <u-boot@lists.denx.de>
Cc: <Claudiu.Beznea@microchip.com>, <Codrin.Ciubotariu@microchip.com>,
	<Hari.PrasathGE@microchip.com>
Subject: Re: [PATCH 2/2] ARM: dts: at91: sama7g5/sama7g5ek: align with Linux DT
Date: Mon, 7 Mar 2022 11:27:19 +0000	[thread overview]
Message-ID: <241bcdca-5dec-a715-6454-ff522d434133@microchip.com> (raw)
In-Reply-To: <6a0c7e5e-eab0-f1dc-465a-fc1e8c37a0de@microchip.com>

On 3/7/22 1:05 PM, Tudor Ambarus - M18064 wrote:
> On 3/7/22 10:42, Eugen Hristev wrote:
>> Align the DT for sama7g5 SoC and sama7g5 EK board with Linux devicetree
>> in version 5.18.
> 
> cool
> 
>>
>> Some things remain still different, due to some things yet unimplemented in
>> certain drivers. These include in PMC, pinctrl, and others.
>>
>> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
>> ---
>>   arch/arm/dts/at91-sama7g5ek.dts | 727 ++++++++++++++++++++----
>>   arch/arm/dts/sama7g5.dtsi       | 942 +++++++++++++++++++++++++++-----
>>   2 files changed, 1419 insertions(+), 250 deletions(-)
>>
> 
> For arch/arm/dts/at91-sama7g5ek.dts:
> 1/ pinctrl_flx3_default: flx3_default  uses in linux bias-disable, you
> should update it too.

Linux should be updated.
If the bias is floating for these console pins, disconnecting the 
console cable stops the booting process because of stray characters 
detected on the console. The cable has an included pull-up which solves 
this.
(I will send a patch to fix Linux ), but it has to stay like this in 
Uboot until linux is fixed, otherwise boot fails

> 2/ I see linux's pinctrl_sdmmc0_default: sdmmc0_default splits the pins
> in cmd_data and ck_cd_rstn_vddsel. Can we do the same or it depends on
> something that's unsupported?
> 
We cannot do anything at the moment. It doesn't work because the pinctrl 
driver does not support subnodes like this:

sdmmc_pins : pins {
  subnode1 {
   some pin mux...
  };
  subnode2 {
   some other pin mux...
  };
}

It has to be fixed in the pinctrl driver. Until then, this has to stay 
like this otherwise pinctrl cannot probe the pins in uboot.

Could you double check the QSPI part and pins ? I have not tested this 
part with this patch, and I do not wish to break anything.
You can easily pull the patchset from here :

https://source.denx.de/u-boot/custodians/u-boot-at91/-/tree/testing

Thanks,
Eugen

  reply	other threads:[~2022-03-07 11:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-07  8:42 [PATCH 1/2] ARM: dts: at91: rename sama7g5ek.dts to at91-sama7g5ek.dts Eugen Hristev
2022-03-07  8:42 ` [PATCH 2/2] ARM: dts: at91: sama7g5/sama7g5ek: align with Linux DT Eugen Hristev
2022-03-07 11:05   ` Tudor.Ambarus
2022-03-07 11:27     ` Eugen.Hristev [this message]
2022-03-07 10:52 ` [PATCH 1/2] ARM: dts: at91: rename sama7g5ek.dts to at91-sama7g5ek.dts Tudor.Ambarus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=241bcdca-5dec-a715-6454-ff522d434133@microchip.com \
    --to=eugen.hristev@microchip.com \
    --cc=Claudiu.Beznea@microchip.com \
    --cc=Codrin.Ciubotariu@microchip.com \
    --cc=Hari.PrasathGE@microchip.com \
    --cc=Tudor.Ambarus@microchip.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox