* [PATCH v4 6/8] dt-bindings: Add support for Amlogic GXBB SCPI Interface [not found] ` <1475652814-30619-1-git-send-email-narmstrong-rdvid1DuHRBWk0Htik3J/w@public.gmane.org> @ 2016-10-05 7:33 ` Neil Armstrong [not found] ` <1475652814-30619-7-git-send-email-narmstrong-rdvid1DuHRBWk0Htik3J/w@public.gmane.org> 0 siblings, 1 reply; 8+ messages in thread From: Neil Armstrong @ 2016-10-05 7:33 UTC (permalink / raw) To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-kernel-u79uwXL29TY76Z2rM5mHXA, sudeep.holla-5wv7dgnIgG8, devicetree-u79uwXL29TY76Z2rM5mHXA Cc: Neil Armstrong, linux-amlogic-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, khilman-rdvid1DuHRBWk0Htik3J/w, heiko-4mtYJXux2i+zQB+pC5nmwQ, wxt-TNX95d0MmH7DzftRWevZcw, frank.wang-TNX95d0MmH7DzftRWevZcw Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> Signed-off-by: Neil Armstrong <narmstrong-rdvid1DuHRBWk0Htik3J/w@public.gmane.org> --- 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" - 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. 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. Sensor bindings for the sensors based on SCPI Message Protocol -------------------------------------------------------------- -- 1.9.1 -- 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 ^ permalink raw reply related [flat|nested] 8+ messages in thread
[parent not found: <1475652814-30619-7-git-send-email-narmstrong-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>]
* Re: [PATCH v4 6/8] dt-bindings: Add support for Amlogic GXBB SCPI Interface [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 0 siblings, 1 reply; 8+ messages in thread From: Olof Johansson @ 2016-10-29 18:39 UTC (permalink / raw) To: Neil Armstrong Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Sudeep Holla, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-amlogic-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Kevin Hilman, Heiko Stübner, wxt-TNX95d0MmH7DzftRWevZcw, frank.wang-TNX95d0MmH7DzftRWevZcw Hi, On Wed, Oct 5, 2016 at 12:33 AM, Neil Armstrong <narmstrong-rdvid1DuHRBWk0Htik3J/w@public.gmane.org> wrote: > Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> > Signed-off-by: Neil Armstrong <narmstrong-rdvid1DuHRBWk0Htik3J/w@public.gmane.org> > --- > 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). Also, documenting it here indiciates that non-amlogic implementations can/should use that compatible, which is misleading. > - 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. :) > 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. -Olof -- 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v4 6/8] dt-bindings: Add support for Amlogic GXBB SCPI Interface 2016-10-29 18:39 ` Olof Johansson @ 2016-11-02 22:20 ` Sudeep Holla 2016-11-03 3:51 ` Rob Herring [not found] ` <20161102222050.GA32189-/VhreBaVJnzZROr8t4l/smS4ubULX0JqMm0uRHvK7Nw@public.gmane.org> 0 siblings, 2 replies; 8+ messages in thread From: Sudeep Holla @ 2016-11-02 22:20 UTC (permalink / raw) To: Olof Johansson Cc: Neil Armstrong, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-amlogic, Kevin Hilman, Heiko Stübner, wxt, frank.wang, Sudeep Holla 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v4 6/8] dt-bindings: Add support for Amlogic GXBB SCPI Interface 2016-11-02 22:20 ` Sudeep Holla @ 2016-11-03 3:51 ` Rob Herring 2016-11-03 4:37 ` Sudeep Holla [not found] ` <20161102222050.GA32189-/VhreBaVJnzZROr8t4l/smS4ubULX0JqMm0uRHvK7Nw@public.gmane.org> 1 sibling, 1 reply; 8+ messages in thread From: Rob Herring @ 2016-11-03 3:51 UTC (permalink / raw) To: Sudeep Holla Cc: Olof Johansson, Neil Armstrong, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-amlogic, Kevin Hilman, Heiko Stübner, Caesar Wang, Frank Wang On Wed, Nov 2, 2016 at 5:20 PM, Sudeep Holla <sudeep.holla@arm.com> wrote: > 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. Just because I ack something, that doesn't mean don't review or comment on it further. > > 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. Guess I was optimistic that *every* platform wouldn't be different in some way. I should know better by now... Rob ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v4 6/8] dt-bindings: Add support for Amlogic GXBB SCPI Interface 2016-11-03 3:51 ` Rob Herring @ 2016-11-03 4:37 ` Sudeep Holla 0 siblings, 0 replies; 8+ messages in thread From: Sudeep Holla @ 2016-11-03 4:37 UTC (permalink / raw) To: Rob Herring Cc: Sudeep Holla, Olof Johansson, Neil Armstrong, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-amlogic, Kevin Hilman, Heiko Stübner, Caesar Wang, Frank Wang On 02/11/16 21:51, Rob Herring wrote: > On Wed, Nov 2, 2016 at 5:20 PM, Sudeep Holla <sudeep.holla@arm.com> wrote: >> 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. > > Just because I ack something, that doesn't mean don't review or > comment on it further. > Sorry I didn't mean to say that. I was initially pushing for the generic binding and since it was reworked many times already, I didn't want to postpone any further just for sake of that. I completely understand that component maintainers have to review the bindings too. So clearly it was my mistake. >> >> 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. > > Guess I was optimistic that *every* platform wouldn't be different in > some way. I should know better by now... :) -- Regards, Sudeep ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <20161102222050.GA32189-/VhreBaVJnzZROr8t4l/smS4ubULX0JqMm0uRHvK7Nw@public.gmane.org>]
* Re: [PATCH v4 6/8] dt-bindings: Add support for Amlogic GXBB SCPI Interface [not found] ` <20161102222050.GA32189-/VhreBaVJnzZROr8t4l/smS4ubULX0JqMm0uRHvK7Nw@public.gmane.org> @ 2016-11-03 8:48 ` Neil Armstrong 0 siblings, 0 replies; 8+ messages in thread From: Neil Armstrong @ 2016-11-03 8:48 UTC (permalink / raw) To: Sudeep Holla, Olof Johansson Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-amlogic-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Kevin Hilman, Heiko Stübner, wxt-TNX95d0MmH7DzftRWevZcw, frank.wang-TNX95d0MmH7DzftRWevZcw On 11/02/2016 11:20 PM, Sudeep Holla wrote: > On Sat, Oct 29, 2016 at 11:39:05AM -0700, Olof Johansson wrote: > > 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. Hi, I will post the necessary changes since kevin already applied the previous patches. Thanks, Neil > > -- > Regards, > Sudeep > -- 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 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v4 7/8] ARM64: dts: meson-gxbb: Add SRAM node [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 ` Neil Armstrong 2016-10-05 7:33 ` [PATCH v4 8/8] ARM64: dts: meson-gxbb: Add SCPI with cpufreq & sensors Nodes Neil Armstrong 2 siblings, 0 replies; 8+ messages in thread From: Neil Armstrong @ 2016-10-05 7:33 UTC (permalink / raw) To: linux-arm-kernel, linux-kernel, sudeep.holla, devicetree Cc: Neil Armstrong, linux-amlogic, khilman, heiko, wxt, frank.wang Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index 443811b..88f98f5 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi @@ -94,6 +94,15 @@ status = "disabled"; }; + sram: sram@c8000000 { + compatible = "amlogic,meson-gxbb-sram", "mmio-sram"; + reg = <0x0 0xc8000000 0x0 0x14000>; + + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0x0 0xc8000000 0x14000>; + }; + usb0: usb@c9000000 { compatible = "amlogic,meson-gxbb-usb", "snps,dwc2"; reg = <0x0 0xc9000000 0x0 0x40000>; -- 1.9.1 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH v4 8/8] ARM64: dts: meson-gxbb: Add SCPI with cpufreq & sensors Nodes [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 7/8] ARM64: dts: meson-gxbb: Add SRAM node Neil Armstrong @ 2016-10-05 7:33 ` Neil Armstrong 2 siblings, 0 replies; 8+ messages in thread From: Neil Armstrong @ 2016-10-05 7:33 UTC (permalink / raw) To: linux-arm-kernel, linux-kernel, sudeep.holla, devicetree Cc: Neil Armstrong, linux-amlogic, khilman, heiko, wxt, frank.wang Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 48 +++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index 88f98f5..3fdb2d7 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi @@ -74,6 +74,28 @@ }; }; + scpi { + compatible = "amlogic,meson-gxbb-scpi"; + mboxes = <&mailbox 1 &mailbox 2>; + shmem = <&cpu_scp_lpri &cpu_scp_hpri>; + + clocks { + compatible = "arm,scpi-clocks"; + + scpi_dvfs: scpi_clocks@0 { + compatible = "arm,scpi-dvfs-clocks"; + #clock-cells = <1>; + clock-indices = <0>; + clock-output-names = "vcpu"; + }; + }; + + scpi_sensors: sensors { + compatible = "arm,scpi-sensors"; + #thermal-sensor-cells = <1>; + }; + }; + soc { usb0_phy: phy@c0000000 { compatible = "amlogic,meson-gxbb-usb2-phy"; @@ -101,6 +123,16 @@ #address-cells = <1>; #size-cells = <1>; ranges = <0 0x0 0xc8000000 0x14000>; + + cpu_scp_lpri: scp-shmem@0 { + compatible = "amlogic,meson-gxbb-scp-shmem"; + reg = <0x13000 0x400>; + }; + + cpu_scp_hpri: scp-shmem@200 { + compatible = "amlogic,meson-gxbb-scp-shmem"; + reg = <0x13400 0x400>; + }; }; usb0: usb@c9000000 { @@ -143,6 +175,22 @@ }; }; +&cpu0 { + clocks = <&scpi_dvfs 0>; +}; + +&cpu1 { + clocks = <&scpi_dvfs 0>; +}; + +&cpu2 { + clocks = <&scpi_dvfs 0>; +}; + +&cpu3 { + clocks = <&scpi_dvfs 0>; +}; + &cbus { reset: reset-controller@4404 { compatible = "amlogic,meson-gxbb-reset"; -- 1.9.1 ^ permalink raw reply related [flat|nested] 8+ messages in thread
end of thread, other threads:[~2016-11-03 8:48 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[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
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
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).