Skip to contentSkip to conversation

Fix missing device tree hwmods and IO ranges omap variants

PATCH In review Tony Lindgren 6 participants 37 messages Aug 30, 2017 – Dec 2, 2017 15 messages not in the archive

Subsystems (6)
lore
Share & tools
lore
#0 lore raw

v2 cover Fix missing device tree hwmods and IO ranges omap variants

Hi all,

While cleaning up legacy platform data I noticed to my horror that we are in a "half-chicken, half-egg" state with with the legacy booting vs device tree booting instead of dealing with just the traditional "chicken or the egg" problem.

Basically we are missing some critical dts data for "ti,hwmods" and IO ranges for example. This data is needed by the SoC interconnect code and things just happen to work now with the legacy platform data still around.

Note that the IO range in the dts should be for the interconnect target module, typically sized 0x1000. Then there can be one or more device instances as a child of the interconnect target module.

Mostly this is a problem on omap4, the other SoCs only have few nodes and properties missing.

For the missing nodes and properties, I've also updated or added the binding documentation. For some devices, there is currently no driver available like is the case for face detect and GPU modules for example.

Regards,

Tony

Changes since v1:

- Updated hsi, iss, fdif, gpu, and smartreflex patches based on the subsystem maintainer comments

- Added Rob and Mark in Cc for the patches touching binding documentation

Tony Lindgren (17):
ARM: dts: Add missing dma hwmods property for omap3
ARM: dts: Configure pmu without interrupt for omap4430
ARM: dts: Add missing properties for omap4 control modules
ARM: dts: Add missing hwmods property for omap4 dma
ARM: dts: Add missing smartreflex node and binding for omap4
ARM: dts: Add missing slimbus node and binding for omap4
ARM: dts: Add missing onewire node for omap4
ARM: dts: Add missing hsi node for omap4
ARM: dts: Add missing iss node and binding for omap4
ARM: dts: Add missing wdt3 node for omap4
ARM: dts: Add missing mcasp node for omap4
ARM: dts: Add missing aess node and binding for omap4
ARM: dts: Add missing fdif node and binding for omap4
ARM: dts: Add missing gpu node and binding for omap4
ARM: dts: Add missing dma hwmod property for omap5
ARM: dts: Add missing hwmod related nodes for am33xx
ARM: dts: Add missing hwmod related properties for dra7

 .../devicetree/bindings/arm/omap/ctrl.txt          |   2 +
 .../devicetree/bindings/gpu/ti-powervr-sgx.txt     |  39 +++++
 Documentation/devicetree/bindings/hsi/omap-ssi.txt |   7 +-
 .../devicetree/bindings/media/ti-fdif.txt          |  29 ++++
 Documentation/devicetree/bindings/media/ti-iss.txt |  33 ++++
 .../bindings/memory-controllers/ti/emif.txt        |   6 +-
 .../devicetree/bindings/power/ti-smartreflex.txt   |  47 ++++++
 .../bindings/sound/davinci-mcasp-audio.txt         |   1 +
 .../devicetree/bindings/sound/ti-aess.txt          |  33 ++++
 .../devicetree/bindings/sound/ti-slimbus.txt       |  34 ++++
 arch/arm/boot/dts/am33xx.dtsi                      |  10 +-
 arch/arm/boot/dts/dra7.dtsi                        |   8 +
 arch/arm/boot/dts/omap3.dtsi                       |   1 +
 arch/arm/boot/dts/omap4.dtsi                       | 176 +++++++++++++++++++--
 arch/arm/boot/dts/omap5.dtsi                       |   1 +
 15 files changed, 413 insertions(+), 14 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/gpu/ti-powervr-sgx.txt
 create mode 100644 Documentation/devicetree/bindings/media/ti-fdif.txt
 create mode 100644 Documentation/devicetree/bindings/media/ti-iss.txt
 create mode 100644 Documentation/devicetree/bindings/power/ti-smartreflex.txt
 create mode 100644 Documentation/devicetree/bindings/sound/ti-aess.txt
 create mode 100644 Documentation/devicetree/bindings/sound/ti-slimbus.txt
Signature · 5 lines
2.14.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20170830151953.30856-1-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org

#2 lore raw

PATCH v2 1/17 ARM: dts: Add missing dma hwmods property for omap3

On omap3, we are missing a ti,hwmods property for dma that the SoC interconnect code needs.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

---
 arch/arm/boot/dts/omap3.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/omap3.dtsi +1 -0
@@ -215,6 +215,7 @@
 			#dma-cells = <1>;
 			dma-channels = <32>;
 			dma-requests = <96>;
+			ti,hwmods = "dma";
 		};
 
 		gpio1: gpio@48310000 {
Signature · 5 lines
2.14.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#3 lore raw

PATCH v2 2/17 ARM: dts: Configure pmu without interrupt for omap4430

In reply to a message not in the archive

On omap4430, the PMU is not configure unlike on omap4460 because of the missing handling.

The missing pmu node with the missing ti,hwmods entry will cause boot time errors when the legacy platform data is removed as the SoC interconnect code needs it.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

Let's fix the issue by configuring PMU but without the interrupts. Then when cross trigger interface (CTI) is supported, we can add interrupts also for omap4430.

Cc Jon Hunter <[email protected]>
Cc Will Deacon <[email protected]>
---
 arch/arm/boot/dts/omap4.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)
arch/arm/boot/dts/omap4.dtsi +11 -0
@@ -51,6 +51,17 @@
 		};
 	};
 
+	/*
+	 * Note that 4430 needs cross trigger interface (CTI) supported
+	 * before we can configure the interrupts. This means sampling
+	 * events are not supported for pmu. Note that 4460 does not use
+	 * CTI, see also 4460.dtsi.
+	 */
+	pmu {
+		compatible = "arm,cortex-a9-pmu";
+		ti,hwmods = "debugss";
+	};
+
 	gic: interrupt-controller@48241000 {
 		compatible = "arm,cortex-a9-gic";
 		interrupt-controller;
Signature · 5 lines
2.14.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#4 lore raw

PATCH v2 3/17 ARM: dts: Add missing properties for omap4 control modules

In reply to a message not in the archive

On omap4, we are missing several ti,hwmods properties and IO ranges for system control modules. These are needed by the SoC interconnect code.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

In order to add these, we need to move omap4_pmx_wkup to be a child of omap4_padconf_wkup.

On omap4 there are separate modules for control module and control module pads. For control module core, we have this already configured except for the missing ti,hwmods and reg entries.

Cc Mark Rutland <[email protected]>
Cc Rob Herring <[email protected]>
---
 .../devicetree/bindings/arm/omap/ctrl.txt          |  2 ++
 arch/arm/boot/dts/omap4.dtsi                       | 39 ++++++++++++++++------
 2 files changed, 31 insertions(+), 10 deletions(-)
Documentation/devicetree/bindings/arm/omap/ctrl.txt +2 -0
@@ -21,6 +21,8 @@ Required properties:
 		"ti,omap3-scm"
 		"ti,omap4-scm-core"
 		"ti,omap4-scm-padconf-core"
+		"ti,omap4-scm-wkup"
+		"ti,omap4-scm-padconf-wkup"
 		"ti,omap5-scm-core"
 		"ti,omap5-scm-padconf-core"
 		"ti,dra7-scm-core"
arch/arm/boot/dts/omap4.dtsi +29 -10
@@ -174,6 +174,7 @@
 				#address-cells = <1>;
 				#size-cells = <1>;
 				ranges = <0 0x2000 0x1000>;
+				ti,hwmods = "ctrl_module_core";
 
 				scm_conf: scm_conf@0 {
 					compatible = "syscon";
@@ -186,9 +187,11 @@
 			omap4_padconf_core: scm@100000 {
 				compatible = "ti,omap4-scm-padconf-core",
 					     "simple-bus";
+				reg = <0x100000 0x1000>;
 				#address-cells = <1>;
 				#size-cells = <1>;
 				ranges = <0 0x100000 0x1000>;
+				ti,hwmods = "ctrl_module_pad_core";
 
 				omap4_pmx_core: pinmux@40 {
 					compatible = "ti,omap4-padconf",
@@ -263,17 +266,33 @@
 					};
 				};
 
-				omap4_pmx_wkup: pinmux@1e040 {
-					compatible = "ti,omap4-padconf",
-						     "pinctrl-single";
-					reg = <0x1e040 0x0038>;
+				omap4_scm_wkup: scm@c000 {
+					compatible = "ti,omap4-scm-wkup";
+					reg = <0xc000 0x1000>;
+					ti,hwmods = "ctrl_module_wkup";
+				};
+
+				omap4_padconf_wkup: padconf@1e000 {
+					compatible = "ti,omap4-scm-padconf-wkup",
+						     "simple-bus";
+					reg = <0x1e000 0x1000>;
 					#address-cells = <1>;
-					#size-cells = <0>;
-					#pinctrl-cells = <1>;
-					#interrupt-cells = <1>;
-					interrupt-controller;
-					pinctrl-single,register-width = <16>;
-					pinctrl-single,function-mask = <0x7fff>;
+					#size-cells = <1>;
+					ranges = <0 0x1e000 0x1000>;
+					ti,hwmods = "ctrl_module_pad_wkup";
+
+					omap4_pmx_wkup: pinmux@40 {
+						compatible = "ti,omap4-padconf",
+							     "pinctrl-single";
+						reg = <0x40 0x0038>;
+						#address-cells = <1>;
+						#size-cells = <0>;
+						#pinctrl-cells = <1>;
+						#interrupt-cells = <1>;
+						interrupt-controller;
+						pinctrl-single,register-width = <16>;
+						pinctrl-single,function-mask = <0x7fff>;
+					};
 				};
 			};
 		};
Signature · 5 lines
2.14.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20170830151953.30856-4-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org

Acked-by
#6 lore raw

Re: [PATCH 03/17] ARM: dts: Add missing properties for omap4 control modules

Quoted 16 lines · Tony Lindgren

On omap4, we are missing several ti,hwmods properties and IO ranges for system control modules. These are needed by the SoC interconnect code.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

In order to add these, we need to move omap4_pmx_wkup to be a child of omap4_padconf_wkup.

On omap4 there are separate modules for control module and control module pads. For control module core, we have this already configured except for the missing ti,hwmods and reg entries.

Quoted 7 lines
Cc Mark Rutland <[email protected]>
Cc Rob Herring <[email protected]>
---
 .../devicetree/bindings/arm/omap/ctrl.txt          |  2 ++
 arch/arm/boot/dts/omap4.dtsi                       | 39 ++++++++++++++++------
 2 files changed, 31 insertions(+), 10 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#7 lore raw

PATCH v2 4/17 ARM: dts: Add missing hwmods property for omap4 dma

In reply to a message not in the archive

On omap4, we are missing a ti,hwmods property for dma that the that the SoC interconnect code needs.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

---
 arch/arm/boot/dts/omap4.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/omap4.dtsi +1 -0
@@ -312,6 +312,7 @@
 			#dma-cells = <1>;
 			dma-channels = <32>;
 			dma-requests = <127>;
+			ti,hwmods = "dma_system";
 		};
 
 		gpio1: gpio@4a310000 {
Signature · 5 lines
2.14.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#8 lore raw

PATCH v2 5/17 ARM: dts: Add missing smartreflex node and binding for omap4

In reply to a message not in the archive

We are missing smartreflex device tree nodes for omap4 with their related "ti,hwmods" properties that the SoC interconnect code needs.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

And since we're missing the device tree binding for smartreflex, let's also add it and document the existing omap3 use too.

Note that the related driver also needs to be updated to probe using device tree and get the platform data passed to it using auxdata with arch/arm/mach-omap2/pdata-quirks.c.

Cc Mark Rutland <[email protected]>
Cc Nishanth Menon <[email protected]>
Cc Rafael J. Wysocki <[email protected]>
Cc Rob Herring <[email protected]>
Cc Tero Kristo <[email protected]>
---
 .../devicetree/bindings/power/ti-smartreflex.txt   | 47 ++++++++++++++++++++++
 arch/arm/boot/dts/omap4.dtsi                       | 21 ++++++++++
 2 files changed, 68 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/power/ti-smartreflex.txt
Documentation/devicetree/bindings/power/ti-smartreflex.txt new file +47 -0
new file mode 100644
@@ -0,0 +1,47 @@
+Texas Instruments SmartReflex binding
+
+SmartReflex is used to set and adjust the SoC operating points.
+
+
+Required properties:
+
+compatible: Shall be one of the following:
+	    "ti,omap3-smartreflex-core"
+	    "ti,omap3-smartreflex-iva"
+	    "ti,omap4-smartreflex-core"
+	    "ti,omap4-smartreflex-mpu"
+	    "ti,omap4-smartreflex-iva"
+
+reg: Shall contain the device instance IO range
+
+interrupts: Shall contain the device instance interrupt
+
+
+Optional properties:
+
+ti,hwmods: Shall contain the TI interconnect module name if needed
+	   by the SoC
+
+
+Example:
+
+	smartreflex_iva: smartreflex@4a0db000 {
+		compatible = "ti,omap4-smartreflex-iva";
+		reg = <0x4a0db000 0x80>;
+		interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
+		ti,hwmods = "smartreflex_iva";
+	};
+
+	smartreflex_core: smartreflex4a0dd000 {
+		compatible = "ti,omap4-smartreflex-core";
+		reg = <0x4a0dd000 0x80>;
+		interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
+		ti,hwmods = "smartreflex_core";
+	};
+
+	smartreflex_mpu: smartreflex@4a0d9000 {
+		compatible = "ti,omap4-smartreflex-mpu";
+		reg = <0x4a0d9000 0x80>;
+		interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
+		ti,hwmods = "smartreflex_mpu";
+	};
arch/arm/boot/dts/omap4.dtsi +21 -0
@@ -442,6 +442,27 @@
 			clock-frequency = <48000000>;
 		};
 
+		smartreflex_iva: smartreflex@4a0db000 {
+			compatible = "ti,omap4-smartreflex-iva";
+			reg = <0x4a0db000 0x80>;
+			interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
+			ti,hwmods = "smartreflex_iva";
+		};
+
+		smartreflex_core: smartreflex4a0dd000 {
+			compatible = "ti,omap4-smartreflex-core";
+			reg = <0x4a0dd000 0x80>;
+			interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
+			ti,hwmods = "smartreflex_core";
+		};
+
+		smartreflex_mpu: smartreflex@4a0d9000 {
+			compatible = "ti,omap4-smartreflex-mpu";
+			reg = <0x4a0d9000 0x80>;
+			interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
+			ti,hwmods = "smartreflex_mpu";
+		};
+
 		hwspinlock: spinlock@4a0f6000 {
 			compatible = "ti,omap4-hwspinlock";
 			reg = <0x4a0f6000 0x1000>;
Signature · 5 lines
2.14.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20170830151953.30856-6-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org

Acked-by
#10 lore raw

Re: [PATCH 05/17] ARM: dts: Add missing smartreflex node and binding for omap4

Quoted 57 lines · Tony Lindgren

We are missing smartreflex device tree nodes for omap4 with their related "ti,hwmods" properties that the SoC interconnect code needs.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

And since we're missing the device tree binding for smartreflex, let's also add it and document the existing omap3 use too.

Note that the related driver also needs to be updated to probe using device tree and get the platform data passed to it using auxdata with arch/arm/mach-omap2/pdata-quirks.c.

Cc Mark Rutland <[email protected]>
Cc Nishanth Menon <[email protected]>
Cc Rafael J. Wysocki <[email protected]>
Cc Rob Herring <[email protected]>
Cc Tero Kristo <[email protected]>
---
 .../devicetree/bindings/power/ti-smartreflex.txt   | 47 ++++++++++++++++++++++
 arch/arm/boot/dts/omap4.dtsi                       | 21 ++++++++++
 2 files changed, 68 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/power/ti-smartreflex.txt
Documentation/devicetree/bindings/power/ti-smartreflex.txt new file +25 -0
new file mode 100644
@@ -0,0 +1,47 @@
+Texas Instruments SmartReflex binding
+
+SmartReflex is used to set and adjust the SoC operating points.
+
+
+Required properties:
+
+compatible: Shall be one of the following:
+	    "ti,omap3-smartreflex-core"
+	    "ti,omap3-smartreflex-iva"
+	    "ti,omap4-smartreflex-core"
+	    "ti,omap4-smartreflex-mpu"
+	    "ti,omap4-smartreflex-iva"
+
+reg: Shall contain the device instance IO range
+
+interrupts: Shall contain the device instance interrupt
+
+
+Optional properties:
+
+ti,hwmods: Shall contain the TI interconnect module name if needed
+	   by the SoC
+
+

Documentation/devicetree/bindings/power/ti-smartreflex.txt line 35

Quoted 10 lines
Documentation/devicetree/bindings/power/ti-smartreflex.txt new file +10 -0
+Example:
+
+	smartreflex_iva: smartreflex@4a0db000 {
+		compatible = "ti,omap4-smartreflex-iva";
+		reg = <0x4a0db000 0x80>;
+		interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
+		ti,hwmods = "smartreflex_iva";
+	};
+
+	smartreflex_core: smartreflex4a0dd000 {
                                     ^ missing '@'
Quoted 17 lines
Documentation/devicetree/bindings/power/ti-smartreflex.txt new file +12 -0
+		compatible = "ti,omap4-smartreflex-core";
+		reg = <0x4a0dd000 0x80>;
+		interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
+		ti,hwmods = "smartreflex_core";
+	};
+
+	smartreflex_mpu: smartreflex@4a0d9000 {
+		compatible = "ti,omap4-smartreflex-mpu";
+		reg = <0x4a0d9000 0x80>;
+		interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
+		ti,hwmods = "smartreflex_mpu";
+	};
arch/arm/boot/dts/omap4.dtsi +0 -0
@@ -442,6 +442,27 @@
 			clock-frequency = <48000000>;

arch/arm/boot/dts/omap4.dtsi line 452

Quoted 10 lines
arch/arm/boot/dts/omap4.dtsi +8 -0
 		};
 
+		smartreflex_iva: smartreflex@4a0db000 {
+			compatible = "ti,omap4-smartreflex-iva";
+			reg = <0x4a0db000 0x80>;
+			interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
+			ti,hwmods = "smartreflex_iva";
+		};
+
+		smartreflex_core: smartreflex4a0dd000 {

Ditto. Build with W=2 and you should get a warning here.

With that fixed,

Quoted 18 lines
arch/arm/boot/dts/omap4.dtsi +13 -0
+			compatible = "ti,omap4-smartreflex-core";
+			reg = <0x4a0dd000 0x80>;
+			interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
+			ti,hwmods = "smartreflex_core";
+		};
+
+		smartreflex_mpu: smartreflex@4a0d9000 {
+			compatible = "ti,omap4-smartreflex-mpu";
+			reg = <0x4a0d9000 0x80>;
+			interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
+			ti,hwmods = "smartreflex_mpu";
+		};
+
 		hwspinlock: spinlock@4a0f6000 {
 			compatible = "ti,omap4-hwspinlock";
 			reg = <0x4a0f6000 0x1000>;
Signature · 1 line
2.14.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#11 lore raw

PATCH v2 6/17 ARM: dts: Add missing slimbus node and binding for omap4

In reply to a message not in the archive

On omap4 we're missing the slimbus node and it's related "ti,hwmods" property that the SoC interconnect code needs.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

Let's also add the missing slimbus device tree binding documentation while at it.

Cc Liam Girdwood <[email protected]>
Cc Mark Brown <[email protected]>
Cc Mark Rutland <[email protected]>
Cc Peter Ujfalusi <[email protected]>
Cc Rob Herring <[email protected]>
---
 .../devicetree/bindings/sound/ti-slimbus.txt       | 34 ++++++++++++++++++++++
 arch/arm/boot/dts/omap4.dtsi                       | 17 +++++++++++
 2 files changed, 51 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/ti-slimbus.txt
Documentation/devicetree/bindings/sound/ti-slimbus.txt new file +34 -0
new file mode 100644
@@ -0,0 +1,34 @@
+Texas Instruments Serial Low-power Inter-chip Media Bus (SLIMbus) binding
+
+SLIMbus is used for communication between digital audio components and the SoC.
+
+
+Required properties:
+
+compatible: Shall be one of the following:
+	    "ti,omap4-slimbus"
+
+reg: Shall contain the device instance IO range
+
+interrupts: Shall contain the device instance interrupt
+
+
+Optional properties:
+
+reg-names: Shall contain the IO range names if multiple IO
+	   ranges are used by the SoC
+
+ti,hwmods: Shall contain the TI interconnect module name if needed
+	   by the SoC
+
+
+Example:
+
+	slimbus1: slimbus@4012c000 {
+		compatible = "ti,omap4-slimbus";
+		reg = <0x4012c000 0x400>, /* MPU private access */
+		      <0x4902c000 0x400>; /* L3 Interconnect */
+		reg-names = "mpu", "dma";
+		interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
+		ti,hwmods = "slimbus1";
+	};
arch/arm/boot/dts/omap4.dtsi +17 -0
@@ -382,6 +382,14 @@
 			#interrupt-cells = <2>;
 		};
 
+		slimbus2: slimbus@48076000 {
+			compatible = "ti,omap4-slimbus";
+			reg = <0x48076000 0x400>;
+			reg-names = "mpu";
+			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
+			ti,hwmods = "slimbus2";
+		};
+
 		elm: elm@48078000 {
 			compatible = "ti,am3352-elm";
 			reg = <0x48078000 0x2000>;
@@ -711,6 +719,15 @@
 			status = "disabled";
 		};
 
+		slimbus1: slimbus@4012c000 {
+			compatible = "ti,omap4-slimbus";
+			reg = <0x4012c000 0x400>, /* MPU private access */
+			      <0x4902c000 0x400>; /* L3 Interconnect */
+			reg-names = "mpu", "dma";
+			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
+			ti,hwmods = "slimbus1";
+		};
+
 		mcbsp4: mcbsp@48096000 {
 			compatible = "ti,omap4-mcbsp";
 			reg = <0x48096000 0xff>; /* L4 Interconnect */
Signature · 5 lines
2.14.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20170830151953.30856-7-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org

#13 lore raw

Re: [PATCH 06/17] ARM: dts: Add missing slimbus node and binding for omap4

Quoted 28 lines · Tony Lindgren

On omap4 we're missing the slimbus node and it's related "ti,hwmods" property that the SoC interconnect code needs.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

Let's also add the missing slimbus device tree binding documentation while at it.

Cc Liam Girdwood <[email protected]>
Cc Mark Brown <[email protected]>
Cc Mark Rutland <[email protected]>
Cc Peter Ujfalusi <[email protected]>
Cc Rob Herring <[email protected]>
---
 .../devicetree/bindings/sound/ti-slimbus.txt       | 34 ++++++++++++++++++++++
 arch/arm/boot/dts/omap4.dtsi                       | 17 +++++++++++
 2 files changed, 51 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/ti-slimbus.txt
Documentation/devicetree/bindings/sound/ti-slimbus.txt new file +1 -0
new file mode 100644
@@ -0,0 +1,34 @@
+Texas Instruments Serial Low-power Inter-chip Media Bus (SLIMbus) binding

Documentation/devicetree/bindings/sound/ti-slimbus.txt line 11

Quoted 10 lines
Documentation/devicetree/bindings/sound/ti-slimbus.txt new file +10 -0
+
+SLIMbus is used for communication between digital audio components and the SoC.
+
+
+Required properties:
+
+compatible: Shall be one of the following:
+	    "ti,omap4-slimbus"
+
+reg: Shall contain the device instance IO range

If there's more than 1, you need to state how many.

Documentation/devicetree/bindings/sound/ti-slimbus.txt line 19

Quoted 8 lines
Documentation/devicetree/bindings/sound/ti-slimbus.txt new file +8 -0
+
+interrupts: Shall contain the device instance interrupt
+
+
+Optional properties:
+
+reg-names: Shall contain the IO range names if multiple IO
+	   ranges are used by the SoC

Need to define what the names are.

Quoted 51 lines
Documentation/devicetree/bindings/sound/ti-slimbus.txt new file +15 -0
+
+ti,hwmods: Shall contain the TI interconnect module name if needed
+	   by the SoC
+
+
+Example:
+
+	slimbus1: slimbus@4012c000 {
+		compatible = "ti,omap4-slimbus";
+		reg = <0x4012c000 0x400>, /* MPU private access */
+		      <0x4902c000 0x400>; /* L3 Interconnect */
+		reg-names = "mpu", "dma";
+		interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
+		ti,hwmods = "slimbus1";
+	};
arch/arm/boot/dts/omap4.dtsi +17 -0
@@ -382,6 +382,14 @@
 			#interrupt-cells = <2>;
 		};
 
+		slimbus2: slimbus@48076000 {
+			compatible = "ti,omap4-slimbus";
+			reg = <0x48076000 0x400>;
+			reg-names = "mpu";
+			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
+			ti,hwmods = "slimbus2";
+		};
+
 		elm: elm@48078000 {
 			compatible = "ti,am3352-elm";
 			reg = <0x48078000 0x2000>;
@@ -711,6 +719,15 @@
 			status = "disabled";
 		};
 
+		slimbus1: slimbus@4012c000 {
+			compatible = "ti,omap4-slimbus";
+			reg = <0x4012c000 0x400>, /* MPU private access */
+			      <0x4902c000 0x400>; /* L3 Interconnect */
+			reg-names = "mpu", "dma";
+			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
+			ti,hwmods = "slimbus1";
+		};
+
 		mcbsp4: mcbsp@48096000 {
 			compatible = "ti,omap4-mcbsp";
 			reg = <0x48096000 0xff>; /* L4 Interconnect */
Signature · 1 line
2.14.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#14 lore raw

PATCH v2 7/17 ARM: dts: Add missing onewire node for omap4

In reply to a message not in the archive

On omap4 we're missing the onewire node with it's related "ti,hwmods" property that the SoC interconnect code needs.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

---
 arch/arm/boot/dts/omap4.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm/boot/dts/omap4.dtsi +7 -0
@@ -549,6 +549,13 @@
 			dma-names = "tx0", "rx0", "tx1", "rx1";
 		};
 
+		hdqw1w: 1w@480b2000 {
+			compatible = "ti,omap3-1w";
+			reg = <0x480b2000 0x1000>;
+			interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
+			ti,hwmods = "hdq1w";
+		};
+
 		mcspi3: spi@480b8000 {
 			compatible = "ti,omap4-mcspi";
 			reg = <0x480b8000 0x200>;
Signature · 5 lines
2.14.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#15 lore raw

PATCH v2 8/17 ARM: dts: Add missing hsi node for omap4

In reply to a message not in the archive

On omap4 we're missing the hsi node with it's related "ti,hwmods" property that the SoC interconnect code needs.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

Let's also update the binding accrodingly while at it.

Cc Mark Rutland <[email protected]>
Cc Rob Herring <[email protected]>
Cc Sebastian Reichel <[email protected]>
---
 Documentation/devicetree/bindings/hsi/omap-ssi.txt |  7 ++++-
 arch/arm/boot/dts/omap4.dtsi                       | 34 ++++++++++++++++++++++
 2 files changed, 40 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/hsi/omap-ssi.txt +6 -1
@@ -4,7 +4,7 @@ OMAP Synchronous Serial Interface (SSI) controller implements a legacy
 variant of MIPI's High Speed Synchronous Serial Interface (HSI).
 
 Required properties:
-- compatible:		Should include "ti,omap3-ssi".
+- compatible:		Should include "ti,omap3-ssi" or "ti,omap4-hsi"
 - reg-names:		Contains the values "sys" and "gdd" (in this order).
 - reg:			Contains a matching register specifier for each entry
 			in reg-names.
@@ -27,6 +27,7 @@ Each port is represented as a sub-node of the ti,omap3-ssi device.
 Required Port sub-node properties:
 - compatible:		Should be set to the following value
 			ti,omap3-ssi-port (applicable to OMAP34xx devices)
+			ti,omap4-ssi-port (applicable to OMAP44xx devices)
 - reg-names:		Contains the values "tx" and "rx" (in this order).
 - reg:			Contains a matching register specifier for each entry
 			in reg-names.
@@ -38,6 +39,10 @@ Required Port sub-node properties:
 			property. If it's missing the port will not be
 			enabled.
 
+Optional properties:
+- ti,hwmods:		Shall contain TI interconnect module name if needed
+			by the SoC
+
 Example for Nokia N900:
 
 ssi-controller@48058000 {
arch/arm/boot/dts/omap4.dtsi +34 -0
@@ -632,6 +632,40 @@
 			dma-names = "tx", "rx";
 		};
 
+		hsi: hsi@4a058000 {
+			compatible = "ti,omap4-hsi";
+			reg = <0x4a058000 0x4000>,
+			      <0x4a05c000 0x1000>;
+			reg-names = "sys", "gdd";
+			ti,hwmods = "hsi";
+
+			clocks = <&hsi_fck>;
+			clock-names = "hsi_fck";
+
+			interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "gdd_mpu";
+
+			#address-cells = <1>;
+			#size-cells = <1>;
+			ranges = <0 0x4a058000 0x4000>;
+
+			hsi_port1: hsi-port@2000 {
+				compatible = "ti,omap4-hsi-port";
+				reg = <0x2000 0x800>,
+				      <0x2800 0x800>;
+				reg-names = "tx", "rx";
+				interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
+			};
+
+			hsi_port2: hsi-port@3000 {
+				compatible = "ti,omap4-hsi-port";
+				reg = <0x3000 0x800>,
+				      <0x3800 0x800>;
+				reg-names = "tx", "rx";
+				interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
+			};
+		};
+
 		mmu_dsp: mmu@4a066000 {
 			compatible = "ti,omap4-iommu";
 			reg = <0x4a066000 0x100>;
Signature · 5 lines
2.14.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20170830151953.30856-9-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org

Reviewed-by
#17 lore raw

Re: [PATCH 08/17] ARM: dts: Add missing hsi node for omap4

Quoted 22 lines · Tony Lindgren

On omap4 we're missing the hsi node with it's related "ti,hwmods" property that the SoC interconnect code needs.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

Let's also update the binding accrodingly while at it.

Cc Mark Rutland <[email protected]>
Cc Rob Herring <[email protected]>
Cc Sebastian Reichel <[email protected]>
---
 Documentation/devicetree/bindings/hsi/omap-ssi.txt |  7 ++++-
 arch/arm/boot/dts/omap4.dtsi                       | 34 ++++++++++++++++++++++
 2 files changed, 40 insertions(+), 1 deletion(-)

Documentation/devicetree/bindings/hsi/omap-ssi.txt OMAP Synchronous Serial Interface (SSI) controller implements a legacy · line 4

Quoted 1 line
Documentation/devicetree/bindings/hsi/omap-ssi.txt +0 -0
@@ -4,7 +4,7 @@ OMAP Synchronous Serial Interface (SSI) controller implements a legacy
 variant of MIPI's High Speed Synchronous Serial Interface (HSI).

Maybe change the leading text:

OMAP3's Synchronous Serial Interface (SSI) controller implements a legacy variant of MIPI's High Speed Synchronous Serial Interface (HSI), while the controller found inside OMAP4 is supposed to be fully compliant with the HSI standard.

Documentation/devicetree/bindings/hsi/omap-ssi.txt Each port is represented as a sub-node of the ti,omap3-ssi device. · line 30

Quoted 11 lines
Documentation/devicetree/bindings/hsi/omap-ssi.txt +2 -1
 Required properties:
-- compatible:		Should include "ti,omap3-ssi".
+- compatible:		Should include "ti,omap3-ssi" or "ti,omap4-hsi"
 - reg-names:		Contains the values "sys" and "gdd" (in this order).
 - reg:			Contains a matching register specifier for each entry
 			in reg-names.
@@ -27,6 +27,7 @@ Each port is represented as a sub-node of the ti,omap3-ssi device.
 Required Port sub-node properties:
 - compatible:		Should be set to the following value
 			ti,omap3-ssi-port (applicable to OMAP34xx devices)
+			ti,omap4-ssi-port (applicable to OMAP44xx devices)
                     ^^^

this should be hsi.

Quoted 48 lines
Documentation/devicetree/bindings/hsi/omap-ssi.txt +4 -0
 - reg-names:		Contains the values "tx" and "rx" (in this order).
 - reg:			Contains a matching register specifier for each entry
 			in reg-names.
@@ -38,6 +39,10 @@ Required Port sub-node properties:
 			property. If it's missing the port will not be
 			enabled.
 
+Optional properties:
+- ti,hwmods:		Shall contain TI interconnect module name if needed
+			by the SoC
+
 Example for Nokia N900:
 
 ssi-controller@48058000 {
arch/arm/boot/dts/omap4.dtsi +27 -0
@@ -632,6 +632,40 @@
 			dma-names = "tx", "rx";
 		};
 
+		hsi: hsi@4a058000 {
+			compatible = "ti,omap4-hsi";
+			reg = <0x4a058000 0x4000>,
+			      <0x4a05c000 0x1000>;
+			reg-names = "sys", "gdd";
+			ti,hwmods = "hsi";
+
+			clocks = <&hsi_fck>;
+			clock-names = "hsi_fck";
+
+			interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "gdd_mpu";
+
+			#address-cells = <1>;
+			#size-cells = <1>;
+			ranges = <0 0x4a058000 0x4000>;
+
+			hsi_port1: hsi-port@2000 {
+				compatible = "ti,omap4-hsi-port";
+				reg = <0x2000 0x800>,
+				      <0x2800 0x800>;
+				reg-names = "tx", "rx";
+				interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
+			};
+
+			hsi_port2: hsi-port@3000 {
+				compatible = "ti,omap4-hsi-port";

arch/arm/boot/dts/omap4.dtsi line 671

Quoted 10 lines
arch/arm/boot/dts/omap4.dtsi +7 -0
+				reg = <0x3000 0x800>,
+				      <0x3800 0x800>;
+				reg-names = "tx", "rx";
+				interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
+			};
+		};
+
 		mmu_dsp: mmu@4a066000 {
 			compatible = "ti,omap4-iommu";
 			reg = <0x4a066000 0x100>;

otherwise:

-- Sebastian

author Reviewed-by Sebastian Reichel
#18 lore raw

Re: [PATCH 08/17] ARM: dts: Add missing hsi node for omap4

Quoted 7 lines · Sebastian Reichel

On Wed, Aug 30, 2017 at 08:19:44AM -0700, Tony Lindgren wrote:
Maybe change the leading text:

OMAP3's Synchronous Serial Interface (SSI) controller implements a legacy variant of MIPI's High Speed Synchronous Serial Interface (HSI), while the controller found inside OMAP4 is supposed to be fully compliant with the HSI standard.

OK

Quoted 13 lines

Review Each port is represented as a sub-node of the ti,omap3-ssi device. · line 30

Quoted 11 lines

Required properties:
-- compatible: Should include "ti,omap3-ssi".
+- compatible: Should include "ti,omap3-ssi" or "ti,omap4-hsi"
- reg-names: Contains the values "sys" and "gdd" (in this order).
- reg: Contains a matching register specifier for each entry

(quoted diff) +1 -0
 			in reg-names.
@@ -27,6 +27,7 @@ Each port is represented as a sub-node of the ti,omap3-ssi device.
 Required Port sub-node properties:
 - compatible:		Should be set to the following value
 			ti,omap3-ssi-port (applicable to OMAP34xx devices)
+			ti,omap4-ssi-port (applicable to OMAP44xx devices)
                     ^^^
Quoted 1 line

this should be hsi.

Oops fixed.

Quoted 3 lines

otherwise:

Thanks, updated patch below.

Regards,

Tony

8< --------------------

Quoted 1 line

From tony Mon Sep 17 00:00:00 2001

From: Tony Lindgren <[email protected]>
Date: Wed, 30 Aug 2017 08:07:51 -0700
Subject: [PATCH] ARM: dts: Add missing hsi node for omap4

On omap4 we're missing the hsi node with it's related "ti,hwmods" property that the SoC interconnect code needs.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

Let's also update the binding accrodingly while at it.

---
 Documentation/devicetree/bindings/hsi/omap-ssi.txt | 13 +++++++--
 arch/arm/boot/dts/omap4.dtsi                       | 34 ++++++++++++++++++++++
 2 files changed, 44 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/hsi/omap-ssi.txt +10 -3
@@ -1,10 +1,12 @@
 OMAP SSI controller bindings
 
-OMAP Synchronous Serial Interface (SSI) controller implements a legacy
-variant of MIPI's High Speed Synchronous Serial Interface (HSI).
+OMAP3's Synchronous Serial Interface (SSI) controller implements a
+legacy variant of MIPI's High Speed Synchronous Serial Interface (HSI),
+while the controller found inside OMAP4 is supposed to be fully compliant
+with the HSI standard.
 
 Required properties:
-- compatible:		Should include "ti,omap3-ssi".
+- compatible:		Should include "ti,omap3-ssi" or "ti,omap4-hsi"
 - reg-names:		Contains the values "sys" and "gdd" (in this order).
 - reg:			Contains a matching register specifier for each entry
 			in reg-names.
@@ -27,6 +29,7 @@ Each port is represented as a sub-node of the ti,omap3-ssi device.
 Required Port sub-node properties:
 - compatible:		Should be set to the following value
 			ti,omap3-ssi-port (applicable to OMAP34xx devices)
+			ti,omap4-hsi-port (applicable to OMAP44xx devices)
 - reg-names:		Contains the values "tx" and "rx" (in this order).
 - reg:			Contains a matching register specifier for each entry
 			in reg-names.
@@ -38,6 +41,10 @@ Required Port sub-node properties:
 			property. If it's missing the port will not be
 			enabled.
 
+Optional properties:
+- ti,hwmods:		Shall contain TI interconnect module name if needed
+			by the SoC
+
 Example for Nokia N900:
 
 ssi-controller@48058000 {
arch/arm/boot/dts/omap4.dtsi +34 -0
@@ -632,6 +632,40 @@
 			dma-names = "tx", "rx";
 		};
 
+		hsi: hsi@4a058000 {
+			compatible = "ti,omap4-hsi";
+			reg = <0x4a058000 0x4000>,
+			      <0x4a05c000 0x1000>;
+			reg-names = "sys", "gdd";
+			ti,hwmods = "hsi";
+
+			clocks = <&hsi_fck>;
+			clock-names = "hsi_fck";
+
+			interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "gdd_mpu";
+
+			#address-cells = <1>;
+			#size-cells = <1>;
+			ranges = <0 0x4a058000 0x4000>;
+
+			hsi_port1: hsi-port@2000 {
+				compatible = "ti,omap4-hsi-port";
+				reg = <0x2000 0x800>,
+				      <0x2800 0x800>;
+				reg-names = "tx", "rx";
+				interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
+			};
+
+			hsi_port2: hsi-port@3000 {
+				compatible = "ti,omap4-hsi-port";
+				reg = <0x3000 0x800>,
+				      <0x3800 0x800>;
+				reg-names = "tx", "rx";
+				interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
+			};
+		};
+
 		mmu_dsp: mmu@4a066000 {
 			compatible = "ti,omap4-iommu";
 			reg = <0x4a066000 0x100>;
Signature · 5 lines
2.14.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#20 lore raw

Re: [PATCH 08/17] ARM: dts: Add missing hsi node for omap4

Hi,

Quoted 1 line · Tony Lindgren

Thanks, updated patch below.

Thanks, I applied the DT binding part to the HSI subsystem:

https://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi.git/commit/?h=for-next&id=8635d6b3afe68cdde2f646c2a3bbd8149c031e8c

-- Sebastian

Quoted 108 lines

8< --------------------
From tony Mon Sep 17 00:00:00 2001
From: Tony Lindgren <[email protected]>
Date: Wed, 30 Aug 2017 08:07:51 -0700
Subject: [PATCH] ARM: dts: Add missing hsi node for omap4

On omap4 we're missing the hsi node with it's related "ti,hwmods" property that the SoC interconnect code needs.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

Let's also update the binding accrodingly while at it.

---
 Documentation/devicetree/bindings/hsi/omap-ssi.txt | 13 +++++++--
 arch/arm/boot/dts/omap4.dtsi                       | 34 ++++++++++++++++++++++
 2 files changed, 44 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/hsi/omap-ssi.txt +10 -3
@@ -1,10 +1,12 @@
 OMAP SSI controller bindings
 
-OMAP Synchronous Serial Interface (SSI) controller implements a legacy
-variant of MIPI's High Speed Synchronous Serial Interface (HSI).
+OMAP3's Synchronous Serial Interface (SSI) controller implements a
+legacy variant of MIPI's High Speed Synchronous Serial Interface (HSI),
+while the controller found inside OMAP4 is supposed to be fully compliant
+with the HSI standard.
 
 Required properties:
-- compatible:		Should include "ti,omap3-ssi".
+- compatible:		Should include "ti,omap3-ssi" or "ti,omap4-hsi"
 - reg-names:		Contains the values "sys" and "gdd" (in this order).
 - reg:			Contains a matching register specifier for each entry
 			in reg-names.
@@ -27,6 +29,7 @@ Each port is represented as a sub-node of the ti,omap3-ssi device.
 Required Port sub-node properties:
 - compatible:		Should be set to the following value
 			ti,omap3-ssi-port (applicable to OMAP34xx devices)
+			ti,omap4-hsi-port (applicable to OMAP44xx devices)
 - reg-names:		Contains the values "tx" and "rx" (in this order).
 - reg:			Contains a matching register specifier for each entry
 			in reg-names.
@@ -38,6 +41,10 @@ Required Port sub-node properties:
 			property. If it's missing the port will not be
 			enabled.
 
+Optional properties:
+- ti,hwmods:		Shall contain TI interconnect module name if needed
+			by the SoC
+
 Example for Nokia N900:
 
 ssi-controller@48058000 {
arch/arm/boot/dts/omap4.dtsi +34 -0
@@ -632,6 +632,40 @@
 			dma-names = "tx", "rx";
 		};
 
+		hsi: hsi@4a058000 {
+			compatible = "ti,omap4-hsi";
+			reg = <0x4a058000 0x4000>,
+			      <0x4a05c000 0x1000>;
+			reg-names = "sys", "gdd";
+			ti,hwmods = "hsi";
+
+			clocks = <&hsi_fck>;
+			clock-names = "hsi_fck";
+
+			interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "gdd_mpu";
+
+			#address-cells = <1>;
+			#size-cells = <1>;
+			ranges = <0 0x4a058000 0x4000>;
+
+			hsi_port1: hsi-port@2000 {
+				compatible = "ti,omap4-hsi-port";
+				reg = <0x2000 0x800>,
+				      <0x2800 0x800>;
+				reg-names = "tx", "rx";
+				interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
+			};
+
+			hsi_port2: hsi-port@3000 {
+				compatible = "ti,omap4-hsi-port";
+				reg = <0x3000 0x800>,
+				      <0x3800 0x800>;
+				reg-names = "tx", "rx";
+				interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
+			};
+		};
+
 		mmu_dsp: mmu@4a066000 {
 			compatible = "ti,omap4-iommu";
 			reg = <0x4a066000 0x100>;
Signature · 1 line
2.14.1
#21 lore raw

Re: [PATCH 08/17] ARM: dts: Add missing hsi node for omap4

Quoted 8 lines · Sebastian Reichel

Hi,

Quoted 1 line · Tony Lindgren

Thanks, updated patch below.

Thanks, I applied the DT binding part to the HSI subsystem:

https://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi.git/commit/?h=for-next&id=8635d6b3afe68cdde2f646c2a3bbd8149c031e8c

OK thanks.

Tony
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

Acked-by
#22 lore raw

Re: [PATCH 08/17] ARM: dts: Add missing hsi node for omap4

In reply to a message not in the archive
Quoted 9 lines · Tony Lindgren

On omap4 we're missing the hsi node with it's related "ti,hwmods" property that the SoC interconnect code needs.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

Let's also update the binding accrodingly while at it.

Quoted 8 lines
Cc Mark Rutland <[email protected]>
Cc Rob Herring <[email protected]>
Cc Sebastian Reichel <[email protected]>
---
 Documentation/devicetree/bindings/hsi/omap-ssi.txt |  7 ++++-
 arch/arm/boot/dts/omap4.dtsi                       | 34 ++++++++++++++++++++++
 2 files changed, 40 insertions(+), 1 deletion(-)

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#23 lore raw

PATCH v2 9/17 ARM: dts: Add missing iss node and binding for omap4

In reply to a message not in the archive

On omap4 we're missing the iss node with it's related "ti,hwmods" property that the SoC interconnect code needs.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

Cc Laurent Pinchart <laurent.pinchart-ryLnwIuWjnjg/[email protected]>
Cc Mark Rutland <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Rob Herring <[email protected]>
Cc Sakari Ailus <[email protected]>
---
 Documentation/devicetree/bindings/media/ti-iss.txt | 33 ++++++++++++++++++++++
 arch/arm/boot/dts/omap4.dtsi                       |  7 +++++
 2 files changed, 40 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/media/ti-iss.txt
Documentation/devicetree/bindings/media/ti-iss.txt new file +33 -0
new file mode 100644
@@ -0,0 +1,33 @@
+Texas Instruments Imaging Subsystem (ISS) binding
+
+ISS is used for cameras on Texas Instruments SoCs. Note that this
+binding is still missing the connections to the external devices
+modeled for the driver.
+
+Required properties:
+
+compatible: Shall be one of the following:
+	    "ti,omap4-iss"
+
+reg: Shall contain the device instance IO range
+
+interrupts: Shall contain the device instance interrupt
+
+
+Optional properties:
+
+reg-names: Shall contain the IO range names if multiple IO
+	   ranges are used by the SoC
+
+ti,hwmods: Shall contain the TI interconnect module name if needed
+	   by the SoC
+
+
+Example:
+
+	iss: iss@52000000 {
+		compatible = "ti,omap4-iss";
+		reg = <0x52000000 0x1000000>;
+		interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
+		ti,hwmods = "iss";
+	};
arch/arm/boot/dts/omap4.dtsi +7 -0
@@ -674,6 +674,13 @@
 			#iommu-cells = <0>;
 		};
 
+		iss: iss@52000000 {
+			compatible = "ti,omap4-iss";
+			reg = <0x52000000 0x1000000>;
+			interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
+			ti,hwmods = "iss";
+		};
+
 		mmu_ipu: mmu@55082000 {
 			compatible = "ti,omap4-iommu";
 			reg = <0x55082000 0x100>;
Signature · 5 lines
2.14.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20170830151953.30856-10-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org

#25 lore raw

Re: [PATCH 09/17] ARM: dts: Add missing iss node and binding for omap4

Quoted 34 lines · Tony Lindgren

On omap4 we're missing the iss node with it's related "ti,hwmods" property that the SoC interconnect code needs.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

Cc Laurent Pinchart <laurent.pinchart-ryLnwIuWjnjg/[email protected]>
Cc Mark Rutland <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Rob Herring <[email protected]>
Cc Sakari Ailus <[email protected]>
---
 Documentation/devicetree/bindings/media/ti-iss.txt | 33 ++++++++++++++++++++++
 arch/arm/boot/dts/omap4.dtsi                       |  7 +++++
 2 files changed, 40 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/media/ti-iss.txt
Documentation/devicetree/bindings/media/ti-iss.txt new file +10 -0
new file mode 100644
@@ -0,0 +1,33 @@
+Texas Instruments Imaging Subsystem (ISS) binding
+
+ISS is used for cameras on Texas Instruments SoCs. Note that this
+binding is still missing the connections to the external devices
+modeled for the driver.
+
+Required properties:
+
+compatible: Shall be one of the following:
+	    "ti,omap4-iss"

Documentation/devicetree/bindings/media/ti-iss.txt line 20

Quoted 10 lines
Documentation/devicetree/bindings/media/ti-iss.txt new file +10 -0
+
+reg: Shall contain the device instance IO range
+
+interrupts: Shall contain the device instance interrupt
+
+
+Optional properties:
+
+reg-names: Shall contain the IO range names if multiple IO
+	   ranges are used by the SoC

Need to define how many. *-names is pointless if there's only ever 1 entry.

Quoted 32 lines
Documentation/devicetree/bindings/media/ti-iss.txt new file +13 -0
+
+ti,hwmods: Shall contain the TI interconnect module name if needed
+	   by the SoC
+
+
+Example:
+
+	iss: iss@52000000 {
+		compatible = "ti,omap4-iss";
+		reg = <0x52000000 0x1000000>;
+		interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
+		ti,hwmods = "iss";
+	};
arch/arm/boot/dts/omap4.dtsi +7 -0
@@ -674,6 +674,13 @@
 			#iommu-cells = <0>;
 		};
 
+		iss: iss@52000000 {
+			compatible = "ti,omap4-iss";
+			reg = <0x52000000 0x1000000>;
+			interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
+			ti,hwmods = "iss";
+		};
+
 		mmu_ipu: mmu@55082000 {
 			compatible = "ti,omap4-iommu";
 			reg = <0x55082000 0x100>;
Signature · 1 line
2.14.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#26 lore raw

PATCH v2 10/17 ARM: dts: Add missing wdt3 node for omap4

In reply to a message not in the archive

On omap4 we're missing the wdt3 node with it's related "ti,hwmods" property that the SoC interconnect code needs.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

---
 arch/arm/boot/dts/omap4.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)
arch/arm/boot/dts/omap4.dtsi +8 -0
@@ -697,6 +697,14 @@
 			ti,hwmods = "wd_timer2";
 		};
 
+		wdt3: wdt@40130000 {
+			compatible = "ti,omap4-wdt", "ti,omap3-wdt";
+			reg = <0x40130000 0x80>, /* MPU private access */
+			      <0x49030000 0x80>; /* L3 Interconnect */
+			interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
+			ti,hwmods = "wd_timer3";
+		};
+
 		mcpdm: mcpdm@40132000 {
 			compatible = "ti,omap4-mcpdm";
 			reg = <0x40132000 0x7f>, /* MPU private access */
Signature · 5 lines
2.14.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#27 lore raw

PATCH v2 11/17 ARM: dts: Add missing mcasp node for omap4

In reply to a message not in the archive

On omap4 we're missing the mcasp node with it's related "ti,hwmods" property that the SoC interconnect code needs.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

Cc Liam Girdwood <[email protected]>
Cc Mark Brown <[email protected]>
Cc Mark Rutland <[email protected]>
Cc Peter Ujfalusi <[email protected]>
Cc Rob Herring <[email protected]>
---
 Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt | 1 +
 arch/arm/boot/dts/omap4.dtsi                                    | 9 +++++++++
 2 files changed, 10 insertions(+)
Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt +1 -0
@@ -6,6 +6,7 @@ Required properties:
 	"ti,da830-mcasp-audio"	: for both DA830 & DA850 platforms
 	"ti,am33xx-mcasp-audio"	: for AM33xx platforms (AM33xx, AM43xx, TI81xx)
 	"ti,dra7-mcasp-audio"	: for DRA7xx platforms
+	"ti,omap4-mcasp-audio"	: for OMAP4 platforms
 
 - reg : Should contain reg specifiers for the entries in the reg-names property.
 - reg-names : Should contain:
arch/arm/boot/dts/omap4.dtsi +9 -0
@@ -775,6 +775,15 @@
 			status = "disabled";
 		};
 
+		mcasp: mcasp@40128000 {
+			compatible = "ti,omap4-mcasp-audio";
+			reg = <0x40128000 0x400>, /* MPU private access */
+			      <0x49028000 0x400>; /* L3 Interconnect */
+			reg-names = "mpu", "dma";
+			interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
+			ti,hwmods = "mcasp";
+		};
+
 		slimbus1: slimbus@4012c000 {
 			compatible = "ti,omap4-slimbus";
 			reg = <0x4012c000 0x400>, /* MPU private access */
Signature · 5 lines
2.14.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20170830151953.30856-12-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org

#29 lore raw

Re: [PATCH 11/17] ARM: dts: Add missing mcasp node for omap4



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

Quoted 34 lines · Tony Lindgren

On omap4 we're missing the mcasp node with it's related "ti,hwmods" property that the SoC interconnect code needs.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

Cc Liam Girdwood <[email protected]>
Cc Mark Brown <[email protected]>
Cc Mark Rutland <[email protected]>
Cc Peter Ujfalusi <[email protected]>
Cc Rob Herring <[email protected]>
---
 Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt | 1 +
 arch/arm/boot/dts/omap4.dtsi                                    | 9 +++++++++
 2 files changed, 10 insertions(+)
Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt +1 -0
@@ -6,6 +6,7 @@ Required properties:
 	"ti,da830-mcasp-audio"	: for both DA830 & DA850 platforms
 	"ti,am33xx-mcasp-audio"	: for AM33xx platforms (AM33xx, AM43xx, TI81xx)
 	"ti,dra7-mcasp-audio"	: for DRA7xx platforms
+	"ti,omap4-mcasp-audio"	: for OMAP4 platforms
 
 - reg : Should contain reg specifiers for the entries in the reg-names property.
 - reg-names : Should contain:
arch/arm/boot/dts/omap4.dtsi +0 -0
@@ -775,6 +775,15 @@
 			status = "disabled";

arch/arm/boot/dts/omap4.dtsi line 785

Quoted 10 lines
arch/arm/boot/dts/omap4.dtsi +8 -0
 		};
 
+		mcasp: mcasp@40128000 {
+			compatible = "ti,omap4-mcasp-audio";
+			reg = <0x40128000 0x400>, /* MPU private access */
+			      <0x49028000 0x400>; /* L3 Interconnect */
+			reg-names = "mpu", "dma";
+			interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
+			ti,hwmods = "mcasp";
+		};

I would not do this. We don't support the NcASP on OMAP4 or OMAP5 for that matter.
In theory it is the same IP as found in other SoCs, but in OMAP4 the TX path is disabled and (in theory) the i2s support is also a thing which is not supported - only DIT mode.
We do not even have any hardware where it can be tested (Galaxy Nexus uses McASP for S/PDIF output when it is docked.
For Android we have had omap-mcasp driver, but it is not upstream and is never will as if we are going to support McASP it should be done via the davinci-mcasp driver.

By adding the node we might give the impression that McASP on OMAP4/5 is usable, which is not.

On the other hand, the DT describes the HW, so it should be OK to add all peripherals even if there is no driver to support it. In this case the status = "disabled"; must be there.

arch/arm/boot/dts/omap4.dtsi line 789

Quoted 5 lines
arch/arm/boot/dts/omap4.dtsi +1 -0
+
 		slimbus1: slimbus@4012c000 {
 			compatible = "ti,omap4-slimbus";
 			reg = <0x4012c000 0x400>, /* MPU private access */

- Péter

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): aef213f9-723f-dbf9-f0d2-8b1dd8b1eae1-l0cyMroinI0@public.gmane.org

#31 lore raw

Re: [PATCH 11/17] ARM: dts: Add missing mcasp node for omap4

Quoted 19 lines · Peter Ujfalusi
Quoted 5 lines · Tony Lindgren
arch/arm/boot/dts/omap4.dtsi +0 -0
@@ -775,6 +775,15 @@
 			status = "disabled";

arch/arm/boot/dts/omap4.dtsi line 785

Quoted 10 lines
arch/arm/boot/dts/omap4.dtsi +8 -0
 		};
 
+		mcasp: mcasp@40128000 {
+			compatible = "ti,omap4-mcasp-audio";
+			reg = <0x40128000 0x400>, /* MPU private access */
+			      <0x49028000 0x400>; /* L3 Interconnect */
+			reg-names = "mpu", "dma";
+			interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
+			ti,hwmods = "mcasp";
+		};

I would not do this. We don't support the NcASP on OMAP4 or OMAP5 for that matter.

Quoted 8 lines

In theory it is the same IP as found in other SoCs, but in OMAP4 the TX path is disabled and (in theory) the i2s support is also a thing which is not supported - only DIT mode.
We do not even have any hardware where it can be tested (Galaxy Nexus uses McASP for S/PDIF output when it is docked.
For Android we have had omap-mcasp driver, but it is not upstream and is never will as if we are going to support McASP it should be done via the davinci-mcasp driver.

OK

Quoted 2 lines

By adding the node we might give the impression that McASP on OMAP4/5 is usable, which is not.

OK. Yeah we need to make sure this is for the interconnect target module, and not for it's child device(s) mcasp.

Quoted 3 lines

On the other hand, the DT describes the HW, so it should be OK to add all peripherals even if there is no driver to support it. In this case the status = "disabled"; must be there.

Yeah well this is for the interconnect target module that we are already accessing during init to idle it. But it's actually the children of this node that should have the status = "disabled"!

I think we can solve your concernd by adding the generic minimal binding and compatible properites for the interconnect target module for which I already posted an RFC a while back.

So we can just use compatibles "ti,sysc-type1", "ti,sysc-type2" and "ti,sysc-type3" as are going to need those anyways soonish.

So the McASP interconnect target module would just become:

	target_module@40128000 {
		compatible = "ti,sysc-type2";
		reg = <0x40128000 0x400>, /* MPU private access */
		      <0x49028000 0x400>; /* L3 Interconnect */
		reg-names = "mpu", "dma";
		ti,hwmods = "mcasp";
	};

And if there ever is a McASP driver, it can be a child of this node. And eventually we will just drop ti,hwmods too.

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#32 lore raw

PATCH v2 12/17 ARM: dts: Add missing aess node and binding for omap4

In reply to a message not in the archive

On omap4 we're missing the aess node with it's related "ti,hwmods" property that the SoC interconnect code needs.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

Cc Liam Girdwood <[email protected]>
Cc Mark Brown <[email protected]>
Cc Mark Rutland <[email protected]>
Cc Peter Ujfalusi <[email protected]>
Cc Rob Herring <[email protected]>
---
 .../devicetree/bindings/sound/ti-aess.txt          | 33 ++++++++++++++++++++++
 arch/arm/boot/dts/omap4.dtsi                       |  8 ++++++
 2 files changed, 41 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/ti-aess.txt
Documentation/devicetree/bindings/sound/ti-aess.txt new file +33 -0
new file mode 100644
@@ -0,0 +1,33 @@
+Texas Instruments Audio Engine Subsystem (AESS) binding
+
+AESS performs real-time signal processing on TI SoCs.
+
+
+Required properties:
+
+compatible: Shall be one of the following:
+	    "ti,omap4-aess"
+
+reg: Shall contain the device instance IO range
+
+interrupts: Shall contain the device instance interrupt
+
+
+Optional properties:
+
+reg-names: Shall contain the IO range names if multiple IO
+	   ranges are used by the SoC
+
+ti,hwmods: Shall contain the TI interconnect module name if needed
+	   by the SoC
+
+
+Example:
+
+	aess: aess@401f1000 {
+		compatible = "ti,omap4-aess";
+		reg = <0x401f1000 0x400>, /* MPU private access */
+		      <0x490f1000 0x400>; /* L3 Interconnect */
+		reg-names = "mpu", "dma";
+		ti,hwmods = "aess";
+	};
arch/arm/boot/dts/omap4.dtsi +8 -0
@@ -793,6 +793,14 @@
 			ti,hwmods = "slimbus1";
 		};
 
+		aess: aess@401f1000 {
+			compatible = "ti,omap4-aess";
+			reg = <0x401f1000 0x400>, /* MPU private access */
+			      <0x490f1000 0x400>; /* L3 Interconnect */
+			reg-names = "mpu", "dma";
+			ti,hwmods = "aess";
+		};
+
 		mcbsp4: mcbsp@48096000 {
 			compatible = "ti,omap4-mcbsp";
 			reg = <0x48096000 0xff>; /* L4 Interconnect */
Signature · 5 lines
2.14.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20170830151953.30856-13-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org

#34 lore raw

Re: [PATCH 12/17] ARM: dts: Add missing aess node and binding for omap4



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

Quoted 61 lines · Tony Lindgren

On omap4 we're missing the aess node with it's related "ti,hwmods" property that the SoC interconnect code needs.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

Cc Liam Girdwood <[email protected]>
Cc Mark Brown <[email protected]>
Cc Mark Rutland <[email protected]>
Cc Peter Ujfalusi <[email protected]>
Cc Rob Herring <[email protected]>
---
 .../devicetree/bindings/sound/ti-aess.txt          | 33 ++++++++++++++++++++++
 arch/arm/boot/dts/omap4.dtsi                       |  8 ++++++
 2 files changed, 41 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/ti-aess.txt
Documentation/devicetree/bindings/sound/ti-aess.txt new file +33 -0
new file mode 100644
@@ -0,0 +1,33 @@
+Texas Instruments Audio Engine Subsystem (AESS) binding
+
+AESS performs real-time signal processing on TI SoCs.
+
+
+Required properties:
+
+compatible: Shall be one of the following:
+	    "ti,omap4-aess"
+
+reg: Shall contain the device instance IO range
+
+interrupts: Shall contain the device instance interrupt
+
+
+Optional properties:
+
+reg-names: Shall contain the IO range names if multiple IO
+	   ranges are used by the SoC
+
+ti,hwmods: Shall contain the TI interconnect module name if needed
+	   by the SoC
+
+
+Example:
+
+	aess: aess@401f1000 {
+		compatible = "ti,omap4-aess";
+		reg = <0x401f1000 0x400>, /* MPU private access */
+		      <0x490f1000 0x400>; /* L3 Interconnect */
+		reg-names = "mpu", "dma";
+		ti,hwmods = "aess";
+	};

arch/arm/boot/dts/omap4.dtsi line 801

Quoted 9 lines
arch/arm/boot/dts/omap4.dtsi +6 -0
@@ -793,6 +793,14 @@
 			ti,hwmods = "slimbus1";
 		};
 
+		aess: aess@401f1000 {
+			compatible = "ti,omap4-aess";
+			reg = <0x401f1000 0x400>, /* MPU private access */
+			      <0x490f1000 0x400>; /* L3 Interconnect */
+			reg-names = "mpu", "dma";
+			ti,hwmods = "aess";

status = "disabled"

arch/arm/boot/dts/omap4.dtsi line 802

Quoted 1 line
arch/arm/boot/dts/omap4.dtsi +1 -0
+		};

Similar comment applies to AESS as to the McASP. We don't have driver for it and we most likely not going to have.
But the binding is not correct in any case. The latest official Android kernel is 3.4(ish) to support AESS/ABE. I have rewritten the whole thing as an effort to upstream it and maintained the code up to 3.15. There the DT node looks like this:

aess: aess@0x401f1000 {
	compatible = "ti,omap4-aess";
	reg = <0x401f1000 0x3ff>, /* MPU private access */
		<0x40180000 0xffff>, /* DMEM - MPU */
		<0x401a0000 0x1fff>, /* CMEM - MPU */
		<0x401c0000 0x5fff>, /* SMEM - MPU */
		<0x401e0000 0x1fff>, /* PMEM - MPU */
		<0x490f1000 0x3ff>, /* L3 Interconnect */
		<0x49080000 0xffff>, /* DMEM - MPU */
		<0x490a0000 0x1fff>, /* CMEM - MPU */
		<0x490ce000 0x5fff>, /* SMEM - MPU */
		<0x490e0000 0x1fff>; /* PMEM - MPU */
	reg-names = "mpu", "dmem", "cmem", "smem", "pmem",
			"dma","dmem_dma", "cmem_dma", "smem_dma",
			"pmem_dma";
	interrupts = <0 99 0x4>;
	ti,hwmods = "aess";
	dmas = <&sdma 101>,
		<&sdma 102>,
		<&sdma 103>,
		<&sdma 104>,
		<&sdma 105>,
		<&sdma 106>,
		<&sdma 107>,
		<&sdma 108>;
	dma-names = "fifo0", "fifo1", "fifo2", "fifo3", "fifo4",
			"fifo5", "fifo6", "fifo7";
};

This is more closer to what we might need to describe AESS, but it might be not correct if I ever have the time to forward port and convert it to current upstream framework (DPCM, graph, whatever)

arch/arm/boot/dts/omap4.dtsi line 806

Quoted 5 lines
arch/arm/boot/dts/omap4.dtsi +1 -0
+
 		mcbsp4: mcbsp@48096000 {
 			compatible = "ti,omap4-mcbsp";
 			reg = <0x48096000 0xff>; /* L4 Interconnect */

- Péter

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 30241474-5f96-2d94-b1a9-4f163c8a4914-l0cyMroinI0@public.gmane.org

#36 lore raw

Re: [PATCH 12/17] ARM: dts: Add missing aess node and binding for omap4

Quoted 9 lines · Peter Ujfalusi

Documentation/devicetree/bindings/sound/ti-aess.txt line 32

Quoted 6 lines · Tony Lindgren
Documentation/devicetree/bindings/sound/ti-aess.txt new file +6 -0
+		aess: aess@401f1000 {
+			compatible = "ti,omap4-aess";
+			reg = <0x401f1000 0x400>, /* MPU private access */
+			      <0x490f1000 0x400>; /* L3 Interconnect */
+			reg-names = "mpu", "dma";
+			ti,hwmods = "aess";

status = "disabled"

That could be done for it's children if needed like I replied in the McASP patch as this is for the interconnect target module. And this will need to just use the "ti,sysc-type2" compatible.

Quoted 2 lines

Similar comment applies to AESS as to the McASP. We don't have driver for it and we most likely not going to have.

OK

Quoted 34 lines

But the binding is not correct in any case. The latest official Android kernel is 3.4(ish) to support AESS/ABE. I have rewritten the whole thing as an effort to upstream it and maintained the code up to 3.15. There the DT node looks like this:

aess: aess@0x401f1000 {
	compatible = "ti,omap4-aess";
	reg = <0x401f1000 0x3ff>, /* MPU private access */
		<0x40180000 0xffff>, /* DMEM - MPU */
		<0x401a0000 0x1fff>, /* CMEM - MPU */
		<0x401c0000 0x5fff>, /* SMEM - MPU */
		<0x401e0000 0x1fff>, /* PMEM - MPU */
		<0x490f1000 0x3ff>, /* L3 Interconnect */
		<0x49080000 0xffff>, /* DMEM - MPU */
		<0x490a0000 0x1fff>, /* CMEM - MPU */
		<0x490ce000 0x5fff>, /* SMEM - MPU */
		<0x490e0000 0x1fff>; /* PMEM - MPU */
	reg-names = "mpu", "dmem", "cmem", "smem", "pmem",
			"dma","dmem_dma", "cmem_dma", "smem_dma",
			"pmem_dma";
	interrupts = <0 99 0x4>;
	ti,hwmods = "aess";
	dmas = <&sdma 101>,
		<&sdma 102>,
		<&sdma 103>,
		<&sdma 104>,
		<&sdma 105>,
		<&sdma 106>,
		<&sdma 107>,
		<&sdma 108>;
	dma-names = "fifo0", "fifo1", "fifo2", "fifo3", "fifo4",
			"fifo5", "fifo6", "fifo7";
};
Quoted 3 lines

This is more closer to what we might need to describe AESS, but it might be not correct if I ever have the time to forward port and convert it to current upstream framework (DPCM, graph, whatever)

Yeah OK thanks. If there ever is a driver for it, those can then be added as child nodes of the "ti,sysc-type2" interconnect target node.

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#37 lore raw

PATCH v2 13/17 ARM: dts: Add missing fdif node and binding for omap4

In reply to a message not in the archive

On omap4 we're missing the fdif node with it's related "ti,hwmods" property that the SoC interconnect code needs.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

Cc Laurent Pinchart <laurent.pinchart-ryLnwIuWjnjg/[email protected]>
Cc Mark Rutland <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Rob Herring <[email protected]>
Cc Sakari Ailus <[email protected]>
---
 .../devicetree/bindings/media/ti-fdif.txt          | 29 ++++++++++++++++++++++
 arch/arm/boot/dts/omap4.dtsi                       |  7 ++++++
 2 files changed, 36 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/media/ti-fdif.txt
Documentation/devicetree/bindings/media/ti-fdif.txt new file +29 -0
new file mode 100644
@@ -0,0 +1,29 @@
+Texas Instruments Face Detect (FDIF) binding
+
+FDIF can be used for face detection on Texas Instruments SoCs.
+
+Required properties:
+
+compatible: Shall be one of the following:
+	    "ti,omap4-fdif"
+
+reg: Shall contain the device instance IO range
+
+interrupts: Shall contain the device instance interrupt
+
+
+Optional properties:
+
+ti,hwmods: Shall contain the TI interconnect module name if needed
+	   by the SoC
+
+
+Example:
+
+	fdif: fdif@4a10a000 {
+		compatible = "ti,omap4-fdif";
+		reg = <0x4a10a000 0x1000>;
+		interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
+		ti,hwmods = "fdif";
+	};
+
arch/arm/boot/dts/omap4.dtsi +7 -0
@@ -889,6 +889,13 @@
 			};
 		};
 
+		fdif: fdif@4a10a000 {
+			compatible = "ti,omap4-fdif";
+			reg = <0x4a10a000 0x1000>;
+			interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
+			ti,hwmods = "fdif";
+		};
+
 		timer1: timer@4a318000 {
 			compatible = "ti,omap3430-timer";
 			reg = <0x4a318000 0x80>;
Signature · 5 lines
2.14.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20170830151953.30856-14-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org

Reviewed-by
#39 lore raw

Re: [PATCH 13/17] ARM: dts: Add missing fdif node and binding for omap4

Hi Tony,

Thank you for the patch.

Quoted 7 lines · On Wednesday, 30 August 2017 18:19:49 EEST Tony Lindgren wrote:

On omap4 we're missing the fdif node with it's related "ti,hwmods" property that the SoC interconnect code needs.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

Quoted 6 lines
Cc Laurent Pinchart <laurent.pinchart-ryLnwIuWjnjg/[email protected]>
Cc Mark Rutland <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Rob Herring <[email protected]>
Cc Sakari Ailus <[email protected]>
Quoted 57 lines
---
 .../devicetree/bindings/media/ti-fdif.txt          | 29 +++++++++++++++++++
 arch/arm/boot/dts/omap4.dtsi                       |  7 ++++++
 2 files changed, 36 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/media/ti-fdif.txt
(quoted diff) +0 -0

b/Documentation/devicetree/bindings/media/ti-fdif.txt new file mode 100644

Documentation/devicetree/bindings/media/ti-fdif.txt new file +29 -0
@@ -0,0 +1,29 @@
+Texas Instruments Face Detect (FDIF) binding
+
+FDIF can be used for face detection on Texas Instruments SoCs.
+
+Required properties:
+
+compatible: Shall be one of the following:
+	    "ti,omap4-fdif"
+
+reg: Shall contain the device instance IO range
+
+interrupts: Shall contain the device instance interrupt
+
+
+Optional properties:
+
+ti,hwmods: Shall contain the TI interconnect module name if needed
+	   by the SoC
+
+
+Example:
+
+	fdif: fdif@4a10a000 {
+		compatible = "ti,omap4-fdif";
+		reg = <0x4a10a000 0x1000>;
+		interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
+		ti,hwmods = "fdif";
+	};
+
arch/arm/boot/dts/omap4.dtsi +7 -0
@@ -889,6 +889,13 @@
 			};
 		};
 
+		fdif: fdif@4a10a000 {
+			compatible = "ti,omap4-fdif";
+			reg = <0x4a10a000 0x1000>;
+			interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
+			ti,hwmods = "fdif";
+		};
+
 		timer1: timer@4a318000 {
 			compatible = "ti,omap3430-timer";
 			reg = <0x4a318000 0x80>;
Signature · 8 lines
Regards,

Laurent Pinchart

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Acked-by
#40 lore raw

Re: [PATCH 13/17] ARM: dts: Add missing fdif node and binding for omap4

In reply to a message not in the archive
Quoted 13 lines · Tony Lindgren

On omap4 we're missing the fdif node with it's related "ti,hwmods" property that the SoC interconnect code needs.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

Cc Laurent Pinchart <laurent.pinchart-ryLnwIuWjnjg/[email protected]>
Cc Mark Rutland <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Rob Herring <[email protected]>
Cc Sakari Ailus <[email protected]>
Quoted 5 lines
---
 .../devicetree/bindings/media/ti-fdif.txt          | 29 ++++++++++++++++++++++
 arch/arm/boot/dts/omap4.dtsi                       |  7 ++++++
 2 files changed, 36 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/media/ti-fdif.txt

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#41 lore raw

PATCH v2 14/17 ARM: dts: Add missing gpu node and binding for omap4

In reply to a message not in the archive

On omap4 we're missing the PowerVR SGX GPU node with it's related "ti,hwmods" property that the SoC interconnect code needs.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

Cc Mark Rutland <[email protected]>
Cc Rob Herring <[email protected]>
Cc Tomi Valkeinen <[email protected]>
---
 .../devicetree/bindings/gpu/ti-powervr-sgx.txt     | 39 ++++++++++++++++++++++
 arch/arm/boot/dts/omap4.dtsi                       |  7 ++++
 2 files changed, 46 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/gpu/ti-powervr-sgx.txt
Documentation/devicetree/bindings/gpu/ti-powervr-sgx.txt new file +39 -0
new file mode 100644
@@ -0,0 +1,39 @@
+Texas Instruments PowevVR SGX binding
+
+SGX can be used for graphics acceleration on Texas Instruments SoCs.
+
+Note that the SGX binding is currently only used by the SoC interconnect
+code to idle the module on init and no open source driver is available
+for SGX. The PowerVR model specific driver nodes should be child nodes
+of this instance, and a clock binding may need to be added.
+
+Required properties:
+
+compatible: Shall be one of the following:
+		"ti,omap3-sgx530"
+		"ti,am335-sgx530"
+		"ti,omap4-sgx540"
+		"ti,omap5-sgx544"
+		"ti,dra7-sgx544"
+
+reg: Shall contain the device instance IO range
+
+interrupts: Shall contain the device instance interrupt
+
+
+Optional properties:
+
+reg-names: Shall contain the IO range names if multiple IO
+	   ranges are used by the SoC
+
+ti,hwmods: Shall contain the TI interconnect module name if needed
+	   by the SoC
+
+
+Example:
+	gpu: gpu@56000000 {
+		compatible = "ti,omap4-sgx540";
+		reg = <0x56000000 0x10000>;
+		interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
+		ti,hwmods = "gpu";
+	};
arch/arm/boot/dts/omap4.dtsi +7 -0
@@ -1111,6 +1111,13 @@
 			status = "disabled";
 		};
 
+		gpu: gpu@56000000 {
+			compatible = "ti,omap4-sgx540";
+			reg = <0x56000000 0x10000>;
+			interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
+			ti,hwmods = "gpu";
+		};
+
 		dss: dss@58000000 {
 			compatible = "ti,omap4-dss";
 			reg = <0x58000000 0x80>;
Signature · 5 lines
2.14.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20170830151953.30856-15-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org

#43 lore raw

Re: [PATCH 14/17] ARM: dts: Add missing gpu node and binding for omap4

Quoted 7 lines · Tony Lindgren

On omap4 we're missing the PowerVR SGX GPU node with it's related "ti,hwmods" property that the SoC interconnect code needs.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

Quoted 6 lines
Cc Mark Rutland <[email protected]>
Cc Rob Herring <[email protected]>
Cc Tomi Valkeinen <[email protected]>
---
 .../devicetree/bindings/gpu/ti-powervr-sgx.txt     | 39 ++++++++++++++++++++++

While the compatible strings should be TI specific, the doc shouldn't be.

Quoted 3 lines
 arch/arm/boot/dts/omap4.dtsi                       |  7 ++++
 2 files changed, 46 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/gpu/ti-powervr-sgx.txt

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#44 lore raw

Re: [PATCH 14/17] ARM: dts: Add missing gpu node and binding for omap4

Quoted 8 lines · Rob Herring
Quoted 7 lines · Tony Lindgren

On omap4 we're missing the PowerVR SGX GPU node with it's related "ti,hwmods" property that the SoC interconnect code needs.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

Quoted 5 lines
Quoted 5 lines
Cc Mark Rutland <[email protected]>
Cc Rob Herring <[email protected]>
Cc Tomi Valkeinen <[email protected]>

---

Out of curiosity, is anything being done with this? I'm really interested to see the PVR working in a modern kernel. I'd like to help more, but I am afraid I don't fully understand the interconnects and how the driver componenets interact with the omap processor.

Please let me know if there are sub-tasks that I can assist.

adam

Quoted 5 lines
Quoted 1 line
 .../devicetree/bindings/gpu/ti-powervr-sgx.txt     | 39 ++++++++++++++++++++++

While the compatible strings should be TI specific, the doc shouldn't be.

Quoted 7 lines
Quoted 3 lines
 arch/arm/boot/dts/omap4.dtsi                       |  7 ++++
 2 files changed, 46 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/gpu/ti-powervr-sgx.txt

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): CAHCN7xL81vq+eUX_mPr7jrxTMBygqLST15okF5hipQDAP0j2PQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#46 lore raw

Re: [PATCH 14/17] ARM: dts: Add missing gpu node and binding for omap4

Quoted 15 lines · Adam Ford
Quoted 8 lines · Rob Herring
Quoted 7 lines · Tony Lindgren

On omap4 we're missing the PowerVR SGX GPU node with it's related "ti,hwmods" property that the SoC interconnect code needs.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

Quoted 5 lines
Quoted 5 lines
Cc Mark Rutland <[email protected]>
Cc Rob Herring <[email protected]>
Cc Tomi Valkeinen <[email protected]>

---

Quoted 6 lines

Out of curiosity, is anything being done with this? I'm really interested to see the PVR working in a modern kernel. I'd like to help more, but I am afraid I don't fully understand the interconnects and how the driver componenets interact with the omap processor.

Please let me know if there are sub-tasks that I can assist.

Well the powervr node should use a powervr generic binding that does not yet exist. I think the TI tree binding could be easily modified for a generic binding. So first doing a binding patch for powervr and Cc dt list and SoC maintainers with powervr on them would help.

And then eventually the powervr generic node should be a child node under the "target-module" node in the dtsi file. See what we have for gpu target-module@56000000 in omap4.dtsi.

Note that the interconnect target module does not yet work for omap3 as the clocks are different. I'll be posting patches for the clocks over next few weeks.

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#47 lore raw

PATCH v2 15/17 ARM: dts: Add missing dma hwmod property for omap5

In reply to a message not in the archive

On omap5 we're missing the dma "ti,hwmods" property that the SoC interconnect code needs.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

---
 arch/arm/boot/dts/omap5.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/omap5.dtsi +1 -0
@@ -295,6 +295,7 @@
 			#dma-cells = <1>;
 			dma-channels = <32>;
 			dma-requests = <127>;
+			ti,hwmods = "dma_system";
 		};
 
 		gpio1: gpio@4ae10000 {
Signature · 5 lines
2.14.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#48 lore raw

PATCH v2 16/17 ARM: dts: Add missing hwmod related nodes for am33xx

In reply to a message not in the archive

On am33xx we're missing the pmu and emif nodes with their related "ti,hwmods" properties that the SoC interconnect code needs.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

Let's also update the related binding documentation while at it.

Cc Mark Rutland <[email protected]>
Cc Rob Herring <[email protected]>
---
 .../devicetree/bindings/memory-controllers/ti/emif.txt         |  6 ++++--
 arch/arm/boot/dts/am33xx.dtsi                                  | 10 +++++++++-
 2 files changed, 13 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/memory-controllers/ti/emif.txt +4 -2
@@ -7,8 +7,10 @@ of the EMIF IP and memory parts attached to it.
 
 Required properties:
 - compatible	: Should be of the form "ti,emif-<ip-rev>" where <ip-rev>
-  is the IP revision of the specific EMIF instance.
-		  For am437x should be ti,emif-am4372.
+  is the IP revision of the specific EMIF instance. For newer controllers,
+  compatible should be one of the following:
+  	     "ti,emif-am3352"
+	     "ti,emif-am4372"
 
 - phy-type	: <u32> indicating the DDR phy type. Following are the
   allowed values
arch/arm/boot/dts/am33xx.dtsi +9 -1
@@ -128,9 +128,11 @@
 		};
 	};
 
-	pmu {
+	pmu@4b000000 {
 		compatible = "arm,cortex-a8-pmu";
 		interrupts = <3>;
+		reg = <0x4b000000 0x1000000>;
+		ti,hwmods = "debugss";
 	};
 
 	/*
@@ -927,6 +929,12 @@
 			};
 		};
 
+		emif: emif@4c000000 {
+			compatible = "ti,emif-am3352";
+			reg = <0x4c000000 0x1000000>;
+			ti,hwmods = "emif";
+		};
+
 		gpmc: gpmc@50000000 {
 			compatible = "ti,am3352-gpmc";
 			ti,hwmods = "gpmc";
Signature · 5 lines
2.14.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20170830151953.30856-17-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org

Acked-by
#50 lore raw

Re: [PATCH 16/17] ARM: dts: Add missing hwmod related nodes for am33xx

Quoted 9 lines · Tony Lindgren

On am33xx we're missing the pmu and emif nodes with their related "ti,hwmods" properties that the SoC interconnect code needs.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

Let's also update the related binding documentation while at it.

Quoted 7 lines
Cc Mark Rutland <[email protected]>
Cc Rob Herring <[email protected]>
---
 .../devicetree/bindings/memory-controllers/ti/emif.txt         |  6 ++++--
 arch/arm/boot/dts/am33xx.dtsi                                  | 10 +++++++++-
 2 files changed, 13 insertions(+), 3 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#51 lore raw

PATCH v2 17/17 ARM: dts: Add missing hwmod related properties for dra7

In reply to a message not in the archive

On dra7 we're missing two "ti,hwmods" properties that the SoC interconnect code needs. For hdq 1-wire, we need to add the node for that.

Note that this will only show up as a bug with "doesn't have mpu register target base" boot errors when the legacy platform data is removed.

Cc Nishanth Menon <[email protected]>
Cc Tero Kristo <[email protected]>
---
 arch/arm/boot/dts/dra7.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)
arch/arm/boot/dts/dra7.dtsi +8 -0
@@ -457,6 +457,7 @@
 			#dma-cells = <1>;
 			dma-channels = <32>;
 			dma-requests = <127>;
+			ti,hwmods = "dma_system";
 		};
 
 		edma: edma@43300000 {
@@ -1069,6 +1070,13 @@
 			max-frequency = <192000000>;
 		};
 
+		hdqw1w: 1w@480b2000 {
+			compatible = "ti,omap3-1w";
+			reg = <0x480b2000 0x1000>;
+			interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
+			ti,hwmods = "hdq1w";
+		};
+
 		mmc2: mmc@480b4000 {
 			compatible = "ti,omap4-hsmmc";
 			reg = <0x480b4000 0x400>;
Signature · 5 lines
2.14.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html