From: Guenter Roeck <linux@roeck-us.net>
To: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org,
jdelvare@suse.com, punit.agrawal@arm.com, robh+dt@kernel.org,
Carlo Caione <carlo@endlessm.com>,
Sudeep Holla <sudeep.holla@arm.com>,
Carlo Caione <carlo@caione.org>,
linux-amlogic@lists.infradead.org, linux@endlessm.com,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v3 1/2] Documentation: bindings: Introduce scpi,sensors-scale
Date: Wed, 15 Mar 2017 15:40:07 -0700 [thread overview]
Message-ID: <20170315224007.GA14084@roeck-us.net> (raw)
In-Reply-To: <CAFBinCAde0qWpJsYF8bm-5ex1q+TDZtL73bf5DNoUuFEDhPXpw@mail.gmail.com>
On Wed, Mar 15, 2017 at 09:56:09PM +0100, Martin Blumenstingl wrote:
> On Wed, Mar 15, 2017 at 7:20 PM, Sudeep Holla <sudeep.holla@arm.com> wrote:
> >
> >
> > On 09/03/17 10:17, Carlo Caione wrote:
> >> From: Carlo Caione <carlo@endlessm.com>
> >>
> >> Document the new property `scpi,sensors-scale` used by the hwmon-scpi
> >> driver to convert the sensor readings to the correct / expected scale.
> >>
> >
> > I am fine with DT bindings if DT maintainers agree with having one but I
> > would like to add couple of points to get their feedback:
> >
> > 1. ARM recognized the drawbacks of SCPI which started informally with
> > ARM Ltd platforms and got adopted by few vendors. It's now being
> > worked on and a much better and scalable replacement protocol is
> > being discussed with vendors now. So future enhancement to this SCPI
> > protocol is unlikely.
> >
> > 2. AmLogic has diverted from base protocol in many ways and most of them
> > are handled with just compatible so far without any need for
> > additional bindings. Can we avoid it ?
> >
> > So based on these, I prefer not to add more bindings to handle such
> > deviations but make it just AmLogic specific.
> could you please share your idea where this "Amlogic specific
> implementation" fits best?
> - in firmware/arm_scpi to keep a contract (for example: millicelsius)
> to everyone who reads a temperature sensor for example
> - or in hwmon/scpi-hwmon
>
So far the assumption was that it would be in hwmon. I don't mind for it
to be elsewhere, but I would think that the presence or non-presence
of a devicetree property should not affect or change the implementation.
Thanks,
Guenter
next prev parent reply other threads:[~2017-03-15 22:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-09 10:17 [PATCH v3 0/2] scpi-sensors: Fix SCP sensor readings scale Carlo Caione
2017-03-09 10:17 ` [PATCH v3 1/2] Documentation: bindings: Introduce scpi,sensors-scale Carlo Caione
2017-03-15 18:20 ` Sudeep Holla
2017-03-15 19:30 ` Guenter Roeck
[not found] ` <57ff035a-b462-6f5d-0100-051e99e9a2b6-5wv7dgnIgG8@public.gmane.org>
2017-03-15 20:36 ` Rob Herring
2017-03-15 20:56 ` [PATCH v3 1/2] Documentation: bindings: Introduce scpi, sensors-scale Martin Blumenstingl
2017-03-15 22:40 ` Guenter Roeck [this message]
2017-03-09 10:17 ` [PATCH v3 2/2] hwmon: (scpi) Fix the scale of SCP sensor readings Carlo Caione
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=20170315224007.GA14084@roeck-us.net \
--to=linux@roeck-us.net \
--cc=carlo@caione.org \
--cc=carlo@endlessm.com \
--cc=devicetree@vger.kernel.org \
--cc=jdelvare@suse.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux@endlessm.com \
--cc=martin.blumenstingl@googlemail.com \
--cc=punit.agrawal@arm.com \
--cc=robh+dt@kernel.org \
--cc=sudeep.holla@arm.com \
/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).