Hi Hiago,

On 04.09.26 22:29, Hiago De Franco wrote:
> Hi Andrei,
> 
> On Sun, Aug 30, 2026 at 05:29:59PM +0200, Andrei Lalaev wrote:
>> Hi Hiago,
>>
>> So, I've dumped the registers using downstream U-Boot and yes, Claude was 
>> right.
>> By default, downstream driver configures the PHY, so the PHY registers
>> have the following values:
>>
>>   # PHY_TX_RX_DLY
>>   milkv_duo_256m# md.l 0x04310240 1
>>   04310240: 01000100                             ....
>>
>>   # PHY_CONFIG
>>   milkv_duo_256m# md.l 0x0431024c 1
>>   0431024c: 00000001                             ....
>>
>>
>> With upstream U-Boot, the same registers are always 0.
>>
>> Simply setting `PHY_TX_RX_DLY` to `0x01000100` is enough to get
>> the SD card working.
>>
>> The attached patch contains the backported PHY configuration from the 
>> downstream
>> driver & upstream kernel. Could you please take a look and check if it
>> resolves the issue on your side when increasing the clock?
> 
> First, apologies for the delay on my answer, it was a busy week.
> 
> I tested your patch and it works fine ;)
> Thanks for the fix. Would you mind sending this patch to u-boot ML?


Sure, I will do it over the next few days. Thank you for your help and testing 
:)

-- 
Best regards,
Andrei Lalaev

Reply via email to