diff mbox series

[v3,26/26] dts: bindings: coresight: ETM system register access only units

Message ID 20201028220945.3826358-28-suzuki.poulose@arm.com
State Superseded
Headers show
Series None | expand

Commit Message

Suzuki K Poulose Oct. 28, 2020, 10:09 p.m. UTC
Document the bindings for ETMs with system register accesses.

Cc: devicetree@vger.kernel.org
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: Mike Leach <mike.leach@linaro.org>
Cc: Rob Herring <robh@kernel.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
---
 Documentation/devicetree/bindings/arm/coresight.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Comments

Rob Herring (Arm) Nov. 2, 2020, 3:31 p.m. UTC | #1
On Wed, 28 Oct 2020 22:09:45 +0000, Suzuki K Poulose wrote:
> Document the bindings for ETMs with system register accesses.
> 
> Cc: devicetree@vger.kernel.org
> Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
> Cc: Mike Leach <mike.leach@linaro.org>
> Cc: Rob Herring <robh@kernel.org>
> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
> ---
>  Documentation/devicetree/bindings/arm/coresight.txt | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 

Acked-by: Rob Herring <robh@kernel.org>
Mathieu Poirier Nov. 9, 2020, 8:50 p.m. UTC | #2
On Wed, Oct 28, 2020 at 10:09:45PM +0000, Suzuki K Poulose wrote:
> Document the bindings for ETMs with system register accesses.

> 

> Cc: devicetree@vger.kernel.org

> Cc: Mathieu Poirier <mathieu.poirier@linaro.org>

> Cc: Mike Leach <mike.leach@linaro.org>

> Cc: Rob Herring <robh@kernel.org>

> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>

> ---

>  Documentation/devicetree/bindings/arm/coresight.txt | 5 ++++-

>  1 file changed, 4 insertions(+), 1 deletion(-)

> 

> diff --git a/Documentation/devicetree/bindings/arm/coresight.txt b/Documentation/devicetree/bindings/arm/coresight.txt

> index d711676b4a51..bff96a550102 100644

> --- a/Documentation/devicetree/bindings/arm/coresight.txt

> +++ b/Documentation/devicetree/bindings/arm/coresight.txt

> @@ -34,9 +34,12 @@ its hardware characteristcs.

>  					Program Flow Trace Macrocell:

>  			"arm,coresight-etm3x", "arm,primecell";

>  

> -		- Embedded Trace Macrocell (version 4.x):

> +		- Embedded Trace Macrocell (version 4.x), with memory mapped access.

>  			"arm,coresight-etm4x", "arm,primecell";

>  

> +		- Embedded Trace Macrocell with system register access only.

> +			"arm,coresight-etm-sysreg";


Please make this "arm,coresight-etm4x-sysreg".  Up to now all reference of
"etm" without a version related to ETMv3/PTM1.1.  If we start mixing things it
will be come insanely confusing.

Thanks,
Mathieu

> +

>  		- Coresight programmable Replicator :

>  			"arm,coresight-dynamic-replicator", "arm,primecell";

>  

> -- 

> 2.24.1

>
Suzuki K Poulose Nov. 10, 2020, 10:51 a.m. UTC | #3
On 11/9/20 8:50 PM, Mathieu Poirier wrote:
> On Wed, Oct 28, 2020 at 10:09:45PM +0000, Suzuki K Poulose wrote:

>> Document the bindings for ETMs with system register accesses.

>>

>> Cc: devicetree@vger.kernel.org

>> Cc: Mathieu Poirier <mathieu.poirier@linaro.org>

>> Cc: Mike Leach <mike.leach@linaro.org>

>> Cc: Rob Herring <robh@kernel.org>

>> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>

>> ---

>>   Documentation/devicetree/bindings/arm/coresight.txt | 5 ++++-

>>   1 file changed, 4 insertions(+), 1 deletion(-)

>>

>> diff --git a/Documentation/devicetree/bindings/arm/coresight.txt b/Documentation/devicetree/bindings/arm/coresight.txt

>> index d711676b4a51..bff96a550102 100644

>> --- a/Documentation/devicetree/bindings/arm/coresight.txt

>> +++ b/Documentation/devicetree/bindings/arm/coresight.txt

>> @@ -34,9 +34,12 @@ its hardware characteristcs.

>>   					Program Flow Trace Macrocell:

>>   			"arm,coresight-etm3x", "arm,primecell";

>>   

>> -		- Embedded Trace Macrocell (version 4.x):

>> +		- Embedded Trace Macrocell (version 4.x), with memory mapped access.

>>   			"arm,coresight-etm4x", "arm,primecell";

>>   

>> +		- Embedded Trace Macrocell with system register access only.

>> +			"arm,coresight-etm-sysreg";

> 

> Please make this "arm,coresight-etm4x-sysreg".  Up to now all reference of

> "etm" without a version related to ETMv3/PTM1.1.  If we start mixing things it

> will be come insanely confusing.


Agreed. will rename it.

Suzuki
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/arm/coresight.txt b/Documentation/devicetree/bindings/arm/coresight.txt
index d711676b4a51..bff96a550102 100644
--- a/Documentation/devicetree/bindings/arm/coresight.txt
+++ b/Documentation/devicetree/bindings/arm/coresight.txt
@@ -34,9 +34,12 @@  its hardware characteristcs.
 					Program Flow Trace Macrocell:
 			"arm,coresight-etm3x", "arm,primecell";
 
-		- Embedded Trace Macrocell (version 4.x):
+		- Embedded Trace Macrocell (version 4.x), with memory mapped access.
 			"arm,coresight-etm4x", "arm,primecell";
 
+		- Embedded Trace Macrocell with system register access only.
+			"arm,coresight-etm-sysreg";
+
 		- Coresight programmable Replicator :
 			"arm,coresight-dynamic-replicator", "arm,primecell";