[PATCH v1 1/2] dt-bindings: iio: adc: Add binding for Nuvoton NCT720x ADCs
David Lechner
dlechner at baylibre.com
Sat Nov 30 01:50:28 AEDT 2024
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".
More information about the openbmc
mailing list