rtc-rv3032.c wrong resistor and voltage values
Hello,
while reading through the spec of rv3032 and configuring my device tree, I stumbled across the resistor and voltage values defined in the driver:
staticu16 rv3032_trickle_resistors[]={1000, 2000, 7000, 11000}; staticu16 rv3032_trickle_voltages[]={0, 1750, 3000, 4400};
The relevant part in the datasheet for this chip is: https://www.microcrystal.com/fileadmin/Media/Products/RTC/App.Manual/RV-3032-C7_App-Manual.pdf#page=45
The values defined there are:
Resistors: 600, 2k 7k and 12k
Voltages: 0, 1.75, 3 and 4.5
So there seems to be wrong values for 2 resistors and the highest voltage in the kernel driver.
This also applies to the device tree documentation for this driver.
Kind regards,
Michael Wyraz.