From: Sudeep Holla <sudeep.holla@arm.com>
To: Olof Johansson <olof@lixom.net>
Cc: "Neil Armstrong" <narmstrong@baylibre.com>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
linux-amlogic@lists.infradead.org,
"Kevin Hilman" <khilman@baylibre.com>,
"Heiko Stübner" <heiko@sntech.de>,
wxt@rock-chips.com, frank.wang@rock-chips.com,
"Sudeep Holla" <sudeep.holla@arm.com>
Subject: Re: [PATCH v4 6/8] dt-bindings: Add support for Amlogic GXBB SCPI Interface
Date: Wed, 2 Nov 2016 16:20:50 -0600 [thread overview]
Message-ID: <20161102222050.GA32189@e106835-lin.cambridge.arm.com> (raw)
In-Reply-To: <CAOesGMjY5_ibP7E9+DBf30nuV+2z2kecLv_ddnHjp3txuq+Kdg@mail.gmail.com>
On Sat, Oct 29, 2016 at 11:39:05AM -0700, Olof Johansson wrote:
> Hi,
>
>
> On Wed, Oct 5, 2016 at 12:33 AM, Neil Armstrong <narmstrong@baylibre.com> wrote:
> > Acked-by: Rob Herring <robh@kernel.org>
> > Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
> > ---
> > Documentation/devicetree/bindings/arm/arm,scpi.txt | 8 +++++---
> > 1 file changed, 5 insertions(+), 3 deletions(-)
> >
> > diff --git a/Documentation/devicetree/bindings/arm/arm,scpi.txt b/Documentation/devicetree/bindings/arm/arm,scpi.txt
> > index faa4b44..04bc171 100644
> > --- a/Documentation/devicetree/bindings/arm/arm,scpi.txt
> > +++ b/Documentation/devicetree/bindings/arm/arm,scpi.txt
> > @@ -7,7 +7,7 @@ by Linux to initiate various system control and power operations.
> >
> > Required properties:
> >
> > -- compatible : should be "arm,scpi"
> > +- compatible : should be "arm,scpi" or "amlogic,meson-gxbb-scpi"
>
> This doesn't seem right to document here. If anything you might want
> to have a table of more-specific-compatibles for specific
> implementations, but "arm,scpi" should still be the compatible of the
> node (just not the most specific one).
>
I completely agree with you and I was pushing for a generic "arm,legacy-scpi"
compatible until this binding was acked by Rob.
Anyways, I will add the generic compatible and post the changes.
> Also, documenting it here indiciates that non-amlogic implementations
> can/should use that compatible, which is misleading.
>
Agreed, it's better to keep them out of this generic binding document.
> > - mboxes: List of phandle and mailbox channel specifiers
> > All the channels reserved by remote SCP firmware for use by
> > SCPI message protocol should be specified in any order
> > @@ -60,7 +60,8 @@ A small area of SRAM is reserved for SCPI communication between application
> > processors and SCP.
> >
> > Required properties:
> > -- compatible : should be "arm,juno-sram-ns" for Non-secure SRAM on Juno
> > +- compatible : should be "arm,juno-sram-ns" for Non-secure SRAM on Juno,
> > + or "amlogic,meson-gxbb-sram" for Amlogic GXBB SoC.
>
> Maybe you'd be better of with a meson-specific document that refers to
> these but with different compatible values.
>
> Come to think of it, the Juno-specific one maybe shouldn't be in
> arm,scpi at all, since that adds confusion here.
>
> It's somewhat confusing that ARM is both a platform, architecture and
> in some cases implementer of specific systems. :)
>
Sorry for that, I will move all juno specific references in the binding
out of this document(except the examples, which I assume should be fine)
> > The rest of the properties should follow the generic mmio-sram description
> > found in ../../sram/sram.txt
> > @@ -70,7 +71,8 @@ Each sub-node represents the reserved area for SCPI.
> > Required sub-node properties:
> > - reg : The base offset and size of the reserved area with the SRAM
> > - compatible : should be "arm,juno-scp-shmem" for Non-secure SRAM based
> > - shared memory on Juno platforms
> > + shared memory on Juno platforms or
> > + "amlogic,meson-gxbb-scp-shmem" for Amlogic GXBB SoC.
>
> Same here. It won't scale if all vendors are expected to add an entry here.
>
I will rework the patches to address the concerns as I too did share same
concern.
Hi Neil,
You may need to rework the DTS files based on that, please be aware of
that and make the necessary changes.
--
Regards,
Sudeep
next prev parent reply other threads:[~2016-11-02 22:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1475652814-30619-1-git-send-email-narmstrong@baylibre.com>
[not found] ` <1475652814-30619-1-git-send-email-narmstrong-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
2016-10-05 7:33 ` [PATCH v4 6/8] dt-bindings: Add support for Amlogic GXBB SCPI Interface Neil Armstrong
[not found] ` <1475652814-30619-7-git-send-email-narmstrong-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
2016-10-29 18:39 ` Olof Johansson
2016-11-02 22:20 ` Sudeep Holla [this message]
2016-11-03 3:51 ` Rob Herring
2016-11-03 4:37 ` Sudeep Holla
[not found] ` <20161102222050.GA32189-/VhreBaVJnzZROr8t4l/smS4ubULX0JqMm0uRHvK7Nw@public.gmane.org>
2016-11-03 8:48 ` Neil Armstrong
2016-10-05 7:33 ` [PATCH v4 7/8] ARM64: dts: meson-gxbb: Add SRAM node Neil Armstrong
2016-10-05 7:33 ` [PATCH v4 8/8] ARM64: dts: meson-gxbb: Add SCPI with cpufreq & sensors Nodes Neil Armstrong
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=20161102222050.GA32189@e106835-lin.cambridge.arm.com \
--to=sudeep.holla@arm.com \
--cc=devicetree@vger.kernel.org \
--cc=frank.wang@rock-chips.com \
--cc=heiko@sntech.de \
--cc=khilman@baylibre.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=narmstrong@baylibre.com \
--cc=olof@lixom.net \
--cc=wxt@rock-chips.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).