From: Guenter Roeck <linux-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>
To: Daniel Golle <daniel-g5gK2j5usbvCyp4qypjU+w@public.gmane.org>
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
"Axel Lin" <axel.lin-8E1dMatC8ynQT0dZR+AlfA@public.gmane.org>,
"Per Dalén" <per.dalen-US8m9dViuwNWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH 1/2 v2] hwmon: (ltc4151) Make shunt-resistor configurable
Date: Sat, 30 Jul 2016 09:26:48 -0700 [thread overview]
Message-ID: <579CD548.9060105@roeck-us.net> (raw)
In-Reply-To: <20160730161133.GA17568-g5gK2j5usbvCyp4qypjU+w@public.gmane.org>
On 07/30/2016 09:11 AM, Daniel Golle wrote:
> Hi Guenter,
>
> On Sat, Jul 30, 2016 at 09:00:14AM -0700, Guenter Roeck wrote:
>> Daniel,
>>
>> On 07/25/2016 04:56 AM, Daniel Golle wrote:
>>> Allow to specify the resistance of the attached shunt via DT by
>>> adding the shunt-resistor property. Fall-back to the previous
>>> default (1 mOhm) if unset.
>>>
>>> Signed-off-by: Daniel Golle <daniel-g5gK2j5usbvCyp4qypjU+w@public.gmane.org>
>>
>> Please resend with the property name changed as asked for by Rob.
>
> Ok, will do. I originally copy-pasted the property name from ina209,
> so I reckon it's supposed to be changed there as well...?
>
One can not simply change an existing property. We would have to deprecate
the old one, define a replacement, and have the driver support both. For
ina2xx, it would have to be done in the iio driver as well.
Sure, if you feel up to it, feel free to prepare a set of patches to do that.
Note that Documentation/devicetree/bindings/property-units.txt documents
that -micro-ohms should be used.
Thanks,
Guenter
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2016-07-30 16:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-24 20:26 [PATCH] hwmon: (ltc4151) Make shunt-resistor configurable Daniel Golle
2016-07-25 5:19 ` Guenter Roeck
[not found] ` <5795A144.2020300-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>
2016-07-25 11:56 ` [PATCH 1/2 v2] " Daniel Golle
[not found] ` <20160725115558.GA18360-g5gK2j5usbvCyp4qypjU+w@public.gmane.org>
2016-07-30 16:00 ` Guenter Roeck
[not found] ` <579CCF0E.9050506-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>
2016-07-30 16:11 ` Daniel Golle
[not found] ` <20160730161133.GA17568-g5gK2j5usbvCyp4qypjU+w@public.gmane.org>
2016-07-30 16:26 ` Guenter Roeck [this message]
2016-07-25 11:56 ` [PATCH 2/2] hwmon: (ltc4151) Add devicetree binding for ltc4151 Daniel Golle
[not found] ` <20160725115616.GA31557-g5gK2j5usbvCyp4qypjU+w@public.gmane.org>
2016-07-27 14:48 ` Rob Herring
2016-08-01 10:07 ` [PATCH v2 1/2] hwmon: (ltc4151) Make shunt-resistor configurable Daniel Golle
2016-08-01 10:08 ` [PATCH 2/2] hwmon: (ltc4151) Add devicetree binding for ltc4151 Daniel Golle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=579CD548.9060105@roeck-us.net \
--to=linux-0h96xk9xttrk1umjsbkqmq@public.gmane.org \
--cc=axel.lin-8E1dMatC8ynQT0dZR+AlfA@public.gmane.org \
--cc=daniel-g5gK2j5usbvCyp4qypjU+w@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=per.dalen-US8m9dViuwNWk0Htik3J/w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).