mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
rtc: ds1390: Add trickle charger device tree binding
Introduce a device tree binding for specifying the trickle charger configuration for ds1390. Signed-off-by: Ivan Grimaldi <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]>
This commit is contained in:
parent
2ec68825fc
commit
fa395fb8fc
3 changed files with 83 additions and 2 deletions
18
Documentation/devicetree/bindings/rtc/dallas,ds1390.txt
Normal file
18
Documentation/devicetree/bindings/rtc/dallas,ds1390.txt
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
* 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>;
|
||||
};
|
||||
Loading…
Reference in a new issue