mbox series

[v3,0/2] coresight: tpdm: Change qcom,dsb-element-size to qcom,dsb-elem-bits

Message ID 20240218094322.22470-1-quic_jinlmao@quicinc.com (mailing list archive)
Headers show
Series coresight: tpdm: Change qcom,dsb-element-size to qcom,dsb-elem-bits | expand

Message

Mao Jinlong Feb. 18, 2024, 9:43 a.m. UTC
As unit of dsb element size is bit, change qcom,dsb-element-size to
qcom,dsb-elem-bits. And CMB uses -bits suffix as well. There is no
TPDM node in any DT now. Make such change before any TPDM node is added
to DT.

Change since V2:
1. Use fwnode_property_read_u32 to read the proprety value.

Change since V1:
1. Update the commit message for dt-binding.
2. Fix the dt_binding_check error for dt-binding change.

Mao Jinlong (2):
  dt-bindings: arm: qcom,coresight-tpdm: Rename qcom,dsb-element-size
  coresight-tpda: Change qcom,dsb-element-size to qcom,dsb-elem-bits

 .../devicetree/bindings/arm/qcom,coresight-tpdm.yaml         | 5 ++---
 drivers/hwtracing/coresight/coresight-tpda.c                 | 4 ++--
 drivers/hwtracing/coresight/coresight-tpda.h                 | 2 +-
 3 files changed, 5 insertions(+), 6 deletions(-)

Comments

Suzuki K Poulose Feb. 27, 2024, 11:59 a.m. UTC | #1
On Sun, 18 Feb 2024 01:43:18 -0800, Mao Jinlong wrote:
> As unit of dsb element size is bit, change qcom,dsb-element-size to
> qcom,dsb-elem-bits. And CMB uses -bits suffix as well. There is no
> TPDM node in any DT now. Make such change before any TPDM node is added
> to DT.
> 
> Change since V2:
> 1. Use fwnode_property_read_u32 to read the proprety value.
> 
> [...]

Hi

I have applied the set with slight modification to the commit description as
suggested by Krzysztof for Patch 1.


[1/2] dt-bindings: arm: qcom,coresight-tpdm: Rename qcom,dsb-element-size
      https://git.kernel.org/coresight/c/7f6860e85606
[2/2] coresight-tpda: Change qcom,dsb-element-size to qcom,dsb-elem-bits
      https://git.kernel.org/coresight/c/a4f3057d19ff

Best regards,