mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 12:21:37 +00:00
fa395fb8fc
Introduce a device tree binding for specifying the trickle charger configuration for ds1390. Signed-off-by: Ivan Grimaldi <grimaldi.ivan@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
19 lines
573 B
Plaintext
19 lines
573 B
Plaintext
* Dallas DS1390 SPI Serial Real-Time Clock
|
|
|
|
Required properties:
|
|
- compatible: Should contain "dallas,ds1390".
|
|
- reg: SPI address for chip
|
|
|
|
Optional properties:
|
|
- trickle-resistor-ohms : Selected resistor for trickle charger
|
|
Values usable for ds1390 are 250, 2000, 4000
|
|
Should be given if trickle charger should be enabled
|
|
- trickle-diode-disable : Do not use internal trickle charger diode
|
|
Should be given if internal trickle charger diode should be disabled
|
|
Example:
|
|
ds1390: rtc@68 {
|
|
compatible = "dallas,ds1390";
|
|
trickle-resistor-ohms = <250>;
|
|
reg = <0>;
|
|
};
|