[16/20] dts: arm: omap: Update coresight bindings for hardware ports

Message ID 1528235011-30691-17-git-send-email-suzuki.poulose@arm.com
State New
Headers show
Series
  • coresight: Update device tree bindings
Related show

Commit Message

Suzuki K Poulose June 5, 2018, 9:43 p.m.
Switch to the new coresight bindings for hardware ports

Cc: linux-omap@vger.kernel.org
Cc: "BenoƮt Cousson" <bcousson@baylibre.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
---
 arch/arm/boot/dts/omap3-beagle-xm.dts | 5 ++++-
 arch/arm/boot/dts/omap3-beagle.dts    | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

Comments

Tony Lindgren July 3, 2018, 7:09 a.m. | #1
* Suzuki K Poulose <suzuki.poulose@arm.com> [180605 14:48]:
> Switch to the new coresight bindings for hardware ports

So is this patch safe for me to pick separately for v4.19?

Regards,

Tony
Suzuki K Poulose July 3, 2018, 7:59 a.m. | #2
Hi Tony,

On 07/03/2018 08:09 AM, Tony Lindgren wrote:
> * Suzuki K Poulose <suzuki.poulose@arm.com> [180605 14:48]:
>> Switch to the new coresight bindings for hardware ports
> 
> So is this patch safe for me to pick separately for v4.19?

No. Please ignore this for now. The bindings are still under
discussion. Sorry for the inconvenience.

Suzuki
Tony Lindgren July 3, 2018, 8:12 a.m. | #3
* Suzuki K Poulose <suzuki.poulose@arm.com> [180703 08:01]:
> 
> 
> Hi Tony,
> 
> On 07/03/2018 08:09 AM, Tony Lindgren wrote:
> > * Suzuki K Poulose <suzuki.poulose@arm.com> [180605 14:48]:
> > > Switch to the new coresight bindings for hardware ports
> > 
> > So is this patch safe for me to pick separately for v4.19?
> 
> No. Please ignore this for now. The bindings are still under
> discussion. Sorry for the inconvenience.

OK will do thanks.

Tony

Patch

diff --git a/arch/arm/boot/dts/omap3-beagle-xm.dts b/arch/arm/boot/dts/omap3-beagle-xm.dts
index 0349fcc..b5f40069 100644
--- a/arch/arm/boot/dts/omap3-beagle-xm.dts
+++ b/arch/arm/boot/dts/omap3-beagle-xm.dts
@@ -155,8 +155,9 @@ 
 		clock-names = "apb_pclk";
 		port {
 			etb_in: endpoint {
-				slave-mode;
+				direction = <0>;
 				remote-endpoint = <&etm_out>;
+				coresight,hwid = <0>;
 			};
 		};
 	};
@@ -169,7 +170,9 @@ 
 		clock-names = "apb_pclk";
 		port {
 			etm_out: endpoint {
+				direction = <1>;
 				remote-endpoint = <&etb_in>;
+				coresight,hwid = <0>;
 			};
 		};
 	};
diff --git a/arch/arm/boot/dts/omap3-beagle.dts b/arch/arm/boot/dts/omap3-beagle.dts
index 3ca8991..b32e35b 100644
--- a/arch/arm/boot/dts/omap3-beagle.dts
+++ b/arch/arm/boot/dts/omap3-beagle.dts
@@ -149,8 +149,9 @@ 
 		clock-names = "apb_pclk";
 		port {
 			etb_in: endpoint {
-				slave-mode;
+				direction = <0>;
 				remote-endpoint = <&etm_out>;
+				coresight,hwid = <0>;
 			};
 		};
 	};
@@ -163,7 +164,9 @@ 
 		clock-names = "apb_pclk";
 		port {
 			etm_out: endpoint {
+				direction = <1>;
 				remote-endpoint = <&etb_in>;
+				coresight,hwid = <0>;
 			};
 		};
 	};