18.12.2021 02:47, Dmitry Osipenko пишет: > +static int emc_read_lpddr_mode_register(struct tegra_emc *emc, > + unsigned int emem_dev, > + unsigned int register_addr, > + unsigned int *register_data) > +{ > + u32 memory_dev = emem_dev + 1; I just noticed in the datasheet that memory_dev needs to be inverted, otherwise we read dev0 instead of dev1 and vice versa. This also needs to be corrected in the T20 EMC driver. It's not really a problem since both memory chips usually are equal, nevertheless I'll fix it in v2 after we will decide on whether this code needs to be shared or not.