Re: [PATCH v4 4/5] i2c: qcom-cci: Share the timing table across CCI revisions
Konrad Dybcio <[email protected]>
| Newsgroups | org.kernel.vger.linux-i2c,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On 8/1/26 10:10 PM, Loic Poulain wrote: > The hw_params timing values only depend on the CCI clock rate and the > I2C mode, not on the hardware revision: every per-variant table used > identical values for a given [rate][mode]. Only the set of supported > modes differs between revisions. > > Move the timings into a single shared cci_hw_params[rate][mode] table > and describe each variant's highest supported mode in cci_data with > max_mode instead of duplicating the timing values. This removes the > per-variant timing tables without any functional change. > > Suggested-by: Vladimir Zapolskiy <[email protected]> > Signed-off-by: Loic Poulain <[email protected]> > --- Reviewed-by: Konrad Dybcio <[email protected]> Konrad