diff mbox series

[edk2,edk2-platforms] Silicon/SynQuacer/DeviceTree: remove SCPI/MHU nodes

Message ID 20180208145751.10252-1-ard.biesheuvel@linaro.org
State New
Headers show
Series [edk2,edk2-platforms] Silicon/SynQuacer/DeviceTree: remove SCPI/MHU nodes | expand

Commit Message

Ard Biesheuvel Feb. 8, 2018, 2:57 p.m. UTC
On our SynQuacer based platform, power state handling and other
low-level duties are handled by the secure firmware, not by the
OS, so remove the various MHU/SCPI related nodes from the device
tree.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

---
 Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi | 30 --------------------
 1 file changed, 30 deletions(-)

-- 
2.11.0

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Comments

Leif Lindholm Feb. 8, 2018, 4:17 p.m. UTC | #1
On Thu, Feb 08, 2018 at 02:57:51PM +0000, Ard Biesheuvel wrote:
> On our SynQuacer based platform, power state handling and other

> low-level duties are handled by the secure firmware, not by the

> OS, so remove the various MHU/SCPI related nodes from the device

> tree.

> 

> Contributed-under: TianoCore Contribution Agreement 1.1

> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>


Ah, yes please.
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>


> ---

>  Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi | 30 --------------------

>  1 file changed, 30 deletions(-)

> 

> diff --git a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi b/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi

> index 3db3c5ed1c50..a113780c2ab8 100644

> --- a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi

> +++ b/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi

> @@ -388,36 +388,6 @@

>          method = "smc";

>      };

>  

> -    mailbox: mhu@45000000 {

> -        compatible = "arm,mhu", "arm,primecell";

> -        reg = <0x0 0x45000000 0x0 0x1000>;

> -        interrupts = <GIC_SPI 482 IRQ_TYPE_LEVEL_HIGH>,

> -                     <GIC_SPI 480 IRQ_TYPE_LEVEL_HIGH>; /* Non-Sec */

> -        interrupt-names = "mhu_lpri_rx", "mhu_hpri_rx";

> -        #mbox-cells = <1>;

> -        clocks = <&clk_apb>;

> -        clock-names = "apb_pclk";

> -    };

> -

> -    sram: sram@45200000 {

> -        compatible = "mmio-sram";

> -        reg = <0x0 0x45200000 0x0 0x200>;

> -

> -        #address-cells = <1>;

> -        #size-cells = <1>;

> -        ranges = <0 0x0 0x45200000 0x200>;

> -

> -        cpu_scp_hpri: scp-shmem@0 {

> -          reg = <0x0 0x200>;

> -        };

> -    };

> -

> -    scpi {

> -        compatible = "arm,scpi";

> -        mboxes = <&mailbox 1>;

> -        shmem = <&cpu_scp_hpri>;

> -    };

> -

>      clk_uart: refclk62500khz {

>          compatible = "fixed-clock";

>          #clock-cells = <0>;

> -- 

> 2.11.0

> 

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Ard Biesheuvel Feb. 8, 2018, 6:43 p.m. UTC | #2
On 8 February 2018 at 16:17, Leif Lindholm <leif.lindholm@linaro.org> wrote:
> On Thu, Feb 08, 2018 at 02:57:51PM +0000, Ard Biesheuvel wrote:

>> On our SynQuacer based platform, power state handling and other

>> low-level duties are handled by the secure firmware, not by the

>> OS, so remove the various MHU/SCPI related nodes from the device

>> tree.

>>

>> Contributed-under: TianoCore Contribution Agreement 1.1

>> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

>

> Ah, yes please.

> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>


Pushed as 69f992e8543128df4e40ae6d7418e6dab8b6a8fa

Thanks.

>

>> ---

>>  Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi | 30 --------------------

>>  1 file changed, 30 deletions(-)

>>

>> diff --git a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi b/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi

>> index 3db3c5ed1c50..a113780c2ab8 100644

>> --- a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi

>> +++ b/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi

>> @@ -388,36 +388,6 @@

>>          method = "smc";

>>      };

>>

>> -    mailbox: mhu@45000000 {

>> -        compatible = "arm,mhu", "arm,primecell";

>> -        reg = <0x0 0x45000000 0x0 0x1000>;

>> -        interrupts = <GIC_SPI 482 IRQ_TYPE_LEVEL_HIGH>,

>> -                     <GIC_SPI 480 IRQ_TYPE_LEVEL_HIGH>; /* Non-Sec */

>> -        interrupt-names = "mhu_lpri_rx", "mhu_hpri_rx";

>> -        #mbox-cells = <1>;

>> -        clocks = <&clk_apb>;

>> -        clock-names = "apb_pclk";

>> -    };

>> -

>> -    sram: sram@45200000 {

>> -        compatible = "mmio-sram";

>> -        reg = <0x0 0x45200000 0x0 0x200>;

>> -

>> -        #address-cells = <1>;

>> -        #size-cells = <1>;

>> -        ranges = <0 0x0 0x45200000 0x200>;

>> -

>> -        cpu_scp_hpri: scp-shmem@0 {

>> -          reg = <0x0 0x200>;

>> -        };

>> -    };

>> -

>> -    scpi {

>> -        compatible = "arm,scpi";

>> -        mboxes = <&mailbox 1>;

>> -        shmem = <&cpu_scp_hpri>;

>> -    };

>> -

>>      clk_uart: refclk62500khz {

>>          compatible = "fixed-clock";

>>          #clock-cells = <0>;

>> --

>> 2.11.0

>>

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
diff mbox series

Patch

diff --git a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi b/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi
index 3db3c5ed1c50..a113780c2ab8 100644
--- a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi
+++ b/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi
@@ -388,36 +388,6 @@ 
         method = "smc";
     };
 
-    mailbox: mhu@45000000 {
-        compatible = "arm,mhu", "arm,primecell";
-        reg = <0x0 0x45000000 0x0 0x1000>;
-        interrupts = <GIC_SPI 482 IRQ_TYPE_LEVEL_HIGH>,
-                     <GIC_SPI 480 IRQ_TYPE_LEVEL_HIGH>; /* Non-Sec */
-        interrupt-names = "mhu_lpri_rx", "mhu_hpri_rx";
-        #mbox-cells = <1>;
-        clocks = <&clk_apb>;
-        clock-names = "apb_pclk";
-    };
-
-    sram: sram@45200000 {
-        compatible = "mmio-sram";
-        reg = <0x0 0x45200000 0x0 0x200>;
-
-        #address-cells = <1>;
-        #size-cells = <1>;
-        ranges = <0 0x0 0x45200000 0x200>;
-
-        cpu_scp_hpri: scp-shmem@0 {
-          reg = <0x0 0x200>;
-        };
-    };
-
-    scpi {
-        compatible = "arm,scpi";
-        mboxes = <&mailbox 1>;
-        shmem = <&cpu_scp_hpri>;
-    };
-
     clk_uart: refclk62500khz {
         compatible = "fixed-clock";
         #clock-cells = <0>;