Re: [PATCH V3 5/8] memory: tegra: Add EMC scaling support code for Tegra210

Dmitry Osipenko
2019-05-14T16:30:24Z

10.05.2019 11:47, Joseph Lo пишет:
> This patch adds the required APIs and variables for the EMC scaling
> sequence code on Tegra210.
>
> Based on the work of Peter De Schrijver <pdeschrijver@nvidia.com>.
>
> Signed-off-by: Joseph Lo <josephl@nvidia.com>
> ---

...

>
> +struct per_ch_regs {
> + u32 bank;
> + u32 offset;
> +};
> +
> +struct emc_table_register_offset {
> + u32 burst_regs_off[BURST_REGS_SIZE];
> + u32 trim_regs_off[TRIM_REGS_SIZE];
> + u32 burst_mc_regs_off[BURST_MC_REGS_SIZE];
> + u32 la_scale_regs_off[BURST_UP_DOWN_REGS_SIZE];

Looks like u16 should be enough for all of the offsets.

--
Dmitry