coresight: config: Add configuration and feature generic functions
authorMike Leach <mike.leach@linaro.org>
Wed, 18 Aug 2021 19:40:14 +0000 (13:40 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Aug 2021 20:33:27 +0000 (22:33 +0200)
commitf53e93ac8cf705fffdefe79573ce001d81c3c6fe
tree67329675b15c3b1e04e978858475fe49a4f781fc
parent42ff700f3112babac129f4ae33023a7b7ce40a29
coresight: config: Add configuration and feature generic functions

Adds a set of generic support functions that allow devices to set and save
features values on the device, and enable and disable configurations.

Additional functions for other common operations including feature
reset.

Link: https://lore.kernel.org/r/20210723165444.1048-4-mike.leach@linaro.org
Signed-off-by: Mike Leach <mike.leach@linaro.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20210818194022.379573-4-mathieu.poirier@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/Makefile
drivers/hwtracing/coresight/coresight-config.c [new file with mode: 0644]
drivers/hwtracing/coresight/coresight-config.h
drivers/hwtracing/coresight/coresight-syscfg.c