[PATCH v5 2/2] rtc: ds1307: add trickle charger device tree binding.

2014-09-09 Thread Matti Vaittinen
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: Matti Vaittinen --- Delta to v5 -Actually sent correct patch drivers/rtc/rtc-ds1

[PATCH v5 1/2] Documentation: dt-bindings: trickle charger dt binding document for ds1339

2014-09-09 Thread Matti Vaittinen
Some DS13XX devices have "trickle chargers". Introduce a device tree binding for the resistor and diode configuration for enabling trickle charger. Signed-off-by: Matti Vaittinen Acked-by: Jason Cooper --- Delta to v4 -This is the correct patch. .../devicetree/bindings/i

Re: [PATCH v4 2/2] rtc: ds1307: add trickle charger device tree binding.

2014-09-09 Thread Matti Vaittinen
On Tue, Sep 09, 2014 at 01:38:39PM +0300, Matti Vaittinen wrote: > + diode = of_property_read_bool(client->dev.of_node, "diode-connected"); Please ignore this patch. I've accidentally sent the wrong version! Sorry, I will send the correct one as soon as possible. Br. Mat

Re: [PATCH v4 2/2] rtc: ds1307: add trickle charger device tree binding.

2014-09-09 Thread Matti Vaittinen
On Tue, Sep 09, 2014 at 01:38:39PM +0300, Matti Vaittinen wrote: > rtc: ds1307: add trickle charger device tree binding. > > Some DS13XX devices have "trickle chargers". Introduce a device tree > binding for specifying the trickle charger configuration for ds1339. > &g

[PATCH v4 2/2] rtc: ds1307: add trickle charger device tree binding.

2014-09-09 Thread Matti Vaittinen
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: Matti Vaittinen --- drivers/rtc/rtc-ds1

[PATCH v4 1/2] Documentation: dt-bindings: trickle charger dt binding document for ds1339

2014-09-09 Thread Matti Vaittinen
Documentation: dt-bindings: trickle charger dt binding document for ds1339 Some DS13XX devices have "trickle chargers". Introduce a device tree binding for the resistor and diode configuration for enabling trickle charger. Signed-off-by: Matti Vaittinen --- Delta to v3:

Re: [RESEND PATCH v3] rtc: ds1307: add trickle charger device tree binding

2014-09-09 Thread Matti Vaittinen
On Mon, Sep 08, 2014 at 07:26:57AM -0400, ext Jason Cooper wrote: > Matti, > > On Mon, Sep 08, 2014 at 10:32:24AM +0300, Matti Vaittinen wrote: > > --- > > Here. Otherwise, it'll get included in the commit message, which I > don't think was your intention. O

Re: [PATCH] rtc: ds1307: add trickle charger device tree binding

2014-09-08 Thread Matti Vaittinen
d and let the driver to choose the defaults? But yes, I have no problem with inverting the default to be diode-connected. Then one question regarding the "process". Now if I cook up fourth patch with inverted diode-connected default for ds1339, should I collect new acks for this new patch

[RESEND PATCH v3] rtc: ds1307: add trickle charger device tree binding

2014-09-07 Thread Matti Vaittinen
DS13XX devices have "trickle chargers". Introduce a device tree binding for specifying the trickle charger configuration for ds1339. Signed-off-by: Matti Vaittinen --- .../devicetree/bindings/i2c/trivial-devices.txt| 1 - .../devicetree/bindings/rtc/dallas,ds1339.txt | 18 +

[PATCH v3] rtc: ds1307: add trickle charger device tree binding

2014-09-01 Thread Matti Vaittinen
ome DS13XX devices have "trickle chargers". Introduce a device tree binding for specifying the trickle charger configuration for ds1339. Note that the patch _only_ iplements device tree bindings to ds1339 chip because I only had access to that specific chip. Signed-off

Re: [PATCH] rtc: ds1307: add trickle charger device tree binding

2014-08-29 Thread Matti Vaittinen
'; I was under the impression that this > > described whether or not there was an external diode. Perhaps I've > > misunderstood? > > iiuc from the link ds1339 ds, the register configuration is enabling > internal diodes and resistors for the trickle charge configurat

Re: [PATCH] rtc: ds1307: add trickle charger device tree binding

2014-08-29 Thread Matti Vaittinen
On Fri, Aug 29, 2014 at 11:40:02AM +0100, ext Mark Rutland wrote: > On Fri, Aug 29, 2014 at 08:34:25AM +0100, Matti Vaittinen wrote: > > On Thu, Aug 28, 2014 at 10:40:34AM -0700, ext Guenter Roeck wrote: > > > On Thu, Aug 28, 2014 at 01:28:42PM -0400, Jason Cooper wrote: >

[PATCH v2] rtc: ds1307: add trickle charger device tree binding

2014-08-29 Thread Matti Vaittinen
rgers". Introduce a device tree binding for specifying the trickle charger setup value. Signed-off-by: Matti Vaittinen --- .../devicetree/bindings/i2c/trivial-devices.txt| 1 - .../devicetree/bindings/rtc/dallas,ds1339.txt | 24 ++ drivers/rtc/rt

Re: [PATCH] rtc: ds1307: add trickle charger device tree binding

2014-08-28 Thread Matti Vaittinen
; > On Thu, Aug 28, 2014 at 04:51:57PM +0100, Guenter Roeck wrote: > > > > > On Thu, Aug 28, 2014 at 01:59:15PM +0100, Mark Rutland wrote: > > > > > > On Thu, Aug 28, 2014 at 01:42:44PM +0100, Matti Vaittinen wrote: > > > > > > >

Re: [PATCH] rtc: ds1307: add trickle charger device tree binding

2014-08-28 Thread Matti Vaittinen
On Thu, Aug 28, 2014 at 01:59:15PM +0100, ext Mark Rutland wrote: > On Thu, Aug 28, 2014 at 01:42:44PM +0100, Matti Vaittinen wrote: > > Patch adding support for specifying trickle charger setup from device > > tree. Patch is based on linux-next tree. > > > > &

[PATCH] rtc: ds1307: add trickle charger device tree binding

2014-08-28 Thread Matti Vaittinen
Patch adding support for specifying trickle charger setup from device tree. Patch is based on linux-next tree. Some DS13XX devices have "trickle chargers". Introduce a device tree binding for specifying the setup and register values. Signed-off-by: Matti Vaittinen --- .../devicetre