[PATCH v7 2/7] dt-bindings: memory: introduce DDR4
Clément Le Goffic
legoffic.clement at gmail.com
Wed Sep 24 03:00:17 PDT 2025
On 23/09/2025 00:51, Julius Werner wrote:
>> + - pattern: "^ddr4-[0-9a-f]{4},[a-z]{1,10},[0-9a-f]{2}$"
>
> I don't really understand why there can only be up to 10 characters in
> the module part number. I also don't understand why you wrote "20
> bytes (10 chars)" for this in the previous patch. Are you assuming
> that module part numbers are UTF16LE? According to my reading of the
> spec, it sounds like they're supposed to be plain ASCII, i.e. 20 bytes
> should be able to contain up to 20 chars.
Hi Julius,
Yes plain ASCII needs 8 bits for each char as the value range is 0-127
I was having hexadecimal in mind while writing this, I'm sorry.
I'll fix it here and in the previous patch.
Best regards,
Clément
More information about the linux-arm-kernel
mailing list