• Matti Vaittinen's avatar
    rtc: ds1307: add trickle charger device tree binding · 33b04b7b
    Matti Vaittinen authored
    Some DS13XX devices have "trickle chargers".  Introduce a device tree
    binding for specifying the trickle charger configuration for ds1339.
    
    Only ds1339 dt binding is supported because this is the only chip I have.
    I _assume_ the code would have worked on other allready supported chips.
    However I cannot check the resistor values for the other chips or test
    them.  For other chips the driver code works as earlier Eg.  it does not
    check the dt bindings at all
    Signed-off-by: default avatarMatti Vaittinen <matti.vaittinen@nsn.com>
    Cc: Rob Herring <robh+dt@kernel.org>
    Cc: Pawel Moll <pawel.moll@arm.com>
    Cc: Jason Cooper <jason@lakedaemon.net>
    Cc: Guenter Roeck <linux@roeck-us.net>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Pavel Machek <pavel@denx.de>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    33b04b7b
rtc-ds1307.c 33.3 KB