Re: Re: [PATCH 0/3] power: max17042_battery: Add DT bindings

From: 함명주
Date: Thu Mar 08 2012 - 19:17:49 EST


Dear Karol Lewandowski,

I've been confused this patchset with Dirk Brandewie's MAX17042 patchset; I though this was a follow-up version of Dirk's, which I think already acked by me.

Anyway, the patches themselves look fine.

However, have you checked the compatibility (mergability?) with the recent MAX17042 patches of Dirk Brandewie? I'm not sure about the merge status of Dirk's patchset, but, I think you need to consider his patches as they massively reshaped the device driver.

Other than that, the patches look fine. (If that issue is already considered, regard this as an Acked-by.)

Thank you.


Cheers!
MyungJoo.

------- Original Message -------
Sender : Karol Lewandowski<k.lewandowsk@xxxxxxxxxxx> Junior Software Engineer/SPRC-Linux (MSD)/삼성전자
Date : 2012-03-08 19:32 (GMT+09:00)
Title : Re: [PATCH 0/3] power: max17042_battery: Add DT bindings

Dear MyungJoo Ham,

Could you take a look at patchset I've sent? It's needed to make use of
max17042 driver on device tree-enabled platforms.

Regards,
--
Karol Lewandowski | Samsung Poland R&D Center | Linux/Platform

On 22.02.2012 19:06, Karol Lewandowski wrote:

> Hi,
>
> This series of patches adds bindings to max17042_battery driver making
> it possible to instantiate it from device tree description.
>
> First, convience patch, simply replaces kzalloc with devm_kzalloc
> where possible.
>
> Second, most intrusive patch adds variables orginally found only in
> platform data to max17042_chip structure. I decided it to do it that
> way rather than allocating new platform data and then populating it
> from device tree description.
>
> Last patch adds DT bindings itself.
>
> I would be grateful for any comments and I will be more than happy to
> rework this patchset if needed.
>
>
> Karol Lewandowski (3):
> max17042_battery: Use devm_kzalloc() where applicable
> max17042_battery: Preserve properties outside of platform data
> max17042_battery: Make it possible to instantiate driver from DT
>
> .../bindings/power_supply/max17042_battery.txt | 18 +++++
> drivers/power/max17042_battery.c | 77 ++++++++++++++++----
> 2 files changed, 79 insertions(+), 16 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/power_supply/max17042_battery.txt
>






--
MyungJoo Ham (함명주), PHD
System S/W Lab, S/W Platform Team, Software Center
Samsung Electronics
Cell: +82-10-6714-2858N떑꿩ìr¸›y鉉싕b²XФ푤vØ^–)頻{.nÇ+돴¥Š{±묎çzX㎍썳變}©옽Æ zÚ&j:+v돣¾«묎çzZ+€Ê+zf"·hš닱~넮녬iÿ鎬z¹®wⅱ¸?솳鈺Ú&¢)刪f뷌^j푹y§m끷@A«a뛴ÿ 0띠h®å’i