[PATCH v6 1/2] dt-bindings: arm: Add label in the coresight components
Krzysztof Kozlowski
krzk at kernel.org
Wed Dec 18 01:21:00 PST 2024
On Tue, Dec 17, 2024 at 02:33:23PM +0800, Mao Jinlong wrote:
> Current name of coresight component's folder consists of prefix of
> the device and the id in the device list. When run 'ls' command,
> we can get the register address of the device. Take CTI for example,
> if we want to set the config for modem CTI, but we can't know which
> CTI is modem CTI from all current information.
>
> cti_sys0 -> ../../../devices/platform/soc at 0/138f0000.cti/cti_sys0
> cti_sys1 -> ../../../devices/platform/soc at 0/13900000.cti/cti_sys1
>
> Add label to show hardware context information of each coresight
> device. There will be a sysfs node label in each device folder.
>
> cat /sys/bus/coresight/devices/cti_sys0/label
>
> Signed-off-by: Mao Jinlong <quic_jinlmao at quicinc.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list