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@xxxxxxxxxx>. > > Signed-off-by: Joseph Lo <josephl@xxxxxxxxxx> > --- ... > > +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