diff mbox series

[1/3] arm64: dts: ti: am654: Add Main System Control Module node

Message ID 1547200861-17795-2-git-send-email-rogerq@ti.com
State New
Headers show
Series arm64: ti: k3-am654: USB support | expand

Commit Message

Roger Quadros Jan. 11, 2019, 10 a.m. UTC
From: Jyri Sarha <jsarha@ti.com>


Main System control module support is added to the device tree to allow
driver to access to their control module registers.

Signed-off-by: Jyri Sarha <jsarha@ti.com>

Signed-off-by: Roger Quadros <rogerq@ti.com>

---
 arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

-- 
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

Comments

Nishanth Menon Jan. 15, 2019, 2:33 p.m. UTC | #1
On 12:00-20190111, Roger Quadros wrote:
> From: Jyri Sarha <jsarha@ti.com>

> 

> Main System control module support is added to the device tree to allow

> driver to access to their control module registers.

> 

> Signed-off-by: Jyri Sarha <jsarha@ti.com>

> Signed-off-by: Roger Quadros <rogerq@ti.com>

> ---

>  arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 8 ++++++++

>  1 file changed, 8 insertions(+)

> 

> diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi

> index 272cf8f..8b55108 100644

> --- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi

> +++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi

> @@ -191,4 +191,12 @@

>  		#address-cells = <1>;

>  		#size-cells = <0>;

>  	};

> +

> +	scm_conf: scm_conf@100000 {

> +		compatible = "syscon", "simple-mfd";

> +		reg = <0 0x00100000 0 0x1c000>;

> +		#address-cells = <1>;

> +		#size-cells = <1>;

> +		ranges = <0x0 0x0 0x00100000 0x1c000>;


Who handles the MMR region unlock?

> +	};

>  };

> -- 

> Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.

> Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

> 


-- 
Regards,
Nishanth Menon
Roger Quadros Jan. 16, 2019, 10:52 a.m. UTC | #2
On 15/01/19 16:33, Nishanth Menon wrote:
> On 12:00-20190111, Roger Quadros wrote:

>> From: Jyri Sarha <jsarha@ti.com>

>>

>> Main System control module support is added to the device tree to allow

>> driver to access to their control module registers.

>>

>> Signed-off-by: Jyri Sarha <jsarha@ti.com>

>> Signed-off-by: Roger Quadros <rogerq@ti.com>

>> ---

>>  arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 8 ++++++++

>>  1 file changed, 8 insertions(+)

>>

>> diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi

>> index 272cf8f..8b55108 100644

>> --- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi

>> +++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi

>> @@ -191,4 +191,12 @@

>>  		#address-cells = <1>;

>>  		#size-cells = <0>;

>>  	};

>> +

>> +	scm_conf: scm_conf@100000 {

>> +		compatible = "syscon", "simple-mfd";

>> +		reg = <0 0x00100000 0 0x1c000>;

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

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

>> +		ranges = <0x0 0x0 0x00100000 0x1c000>;

> 

> Who handles the MMR region unlock?


u-boot.

> 

>> +	};

>>  };

>> -- 

>> Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.

>> Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

>>

> 


cheers,
-roger

-- 
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
index 272cf8f..8b55108 100644
--- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
@@ -191,4 +191,12 @@ 
 		#address-cells = <1>;
 		#size-cells = <0>;
 	};
+
+	scm_conf: scm_conf@100000 {
+		compatible = "syscon", "simple-mfd";
+		reg = <0 0x00100000 0 0x1c000>;
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges = <0x0 0x0 0x00100000 0x1c000>;
+	};
 };