
1 Sep
2021
1 Sep
'21
1:27 p.m.
On Wed, Sep 01, 2021 at 10:55:21AM +0200, Michael Walle wrote:
sata: sata@3200000 { compatible = "fsl,ls1028a-ahci";
reg = <0x0 0x3200000 0x0 0x10000 /* ccsr sata base */
0x7 0x100520 0x0 0x4>; /* ecc sata addr*/
reg-names = "sata-base", "ecc-addr";
reg = <0x0 0x3200000 0x0 0x10000>,
<0x7 0x100520 0x0 0x4>;
reg-names = "ahci", "sata-ecc";
Again, same problem. The drivers/ata/sata_ceva.c driver calls dev_read_resource_byname(dev, "ecc-addr") (but not for "sata-base", apparently).
If you don't want to convert all occurrences of "ecc-addr" to "sata-ecc", then at least add a fallback call to dev_read_resource_byname.