coresight-tpda: Change qcom,dsb-element-size to qcom,dsb-elem-bits
authorMao Jinlong <quic_jinlmao@quicinc.com>
Sun, 18 Feb 2024 09:43:20 +0000 (01:43 -0800)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Tue, 27 Feb 2024 11:26:45 +0000 (11:26 +0000)
commita4f3057d19ffe1f5a7b9320303471a6725f11379
tree251ee3acbf3ecfd9c9e58815fa3249068edbb8de
parent7f6860e856062fc927127fa731288b909af797bc
coresight-tpda: Change qcom,dsb-element-size to qcom,dsb-elem-bits

Change qcom,dsb-element-size to qcom,dsb-elem-bits as the unit is bit.
When use "-bits" suffix, the type of the property is u32 from
property-units.yaml, so use fwnode_property_read_u32 to read the
property.

Fixes: 57e7235aa1d1 ("coresight-tpda: Add DSB dataset support")
Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
Link: https://lore.kernel.org/r/20240218094322.22470-3-quic_jinlmao@quicinc.com
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
drivers/hwtracing/coresight/coresight-tpda.c
drivers/hwtracing/coresight/coresight-tpda.h