Dear David Lechner, Thank you your comment. David Lechner <dlechner@xxxxxxxxxxxx> 於 2024年11月29日 週五 下午10:50寫道: > > On 11/27/24 8:14 PM, Yu-Hsian Yang wrote: > > Dear Jonathan Cameron, > > > > Thank you for your advice. > > > > I would remove the "nvuoton,read-vin-data-size" property. > > > > Read VIN info can use word read or byte read, and other registers > > should use byte read. > > If I use word read for VIN info and byte read for other registers, > > I encounter an issue when I use regmap instead of i2c smbus API. > > > > I need two regmap configs with val_bits 8/16. > > After I call devm_regmap_init_i2c these two configs, > > the error message: > > "debugfs: Directory '5-001d' with parent 'regmap' already present!" > > > > Do you have any suggestions? > > > Give each regmap a unique name, like "5-001d-8bit" and "5-001d-16bit". It worked fine to add each regmap a unique name.