PM / devfreq: Allow devfreq driver to add custom sysfs ABIs
authorJie Zhan <zhanjie9@hisilicon.com>
Mon, 23 Jun 2025 14:34:00 +0000 (22:34 +0800)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 14 Jul 2025 11:22:59 +0000 (20:22 +0900)
commit45b9d1da6ca0d0285140f8779793b537e4560d45
tree2fce41c0c35257dbdd565c9ec99810b993cc0d38
parentc3bc361393b289df3499f5a87276367c71fae7c6
PM / devfreq: Allow devfreq driver to add custom sysfs ABIs

Extend the devfreq_dev_profile to allow drivers optionally create
device-specific sysfs ABIs together with other common devfreq ABIs under
the devfreq device path.

Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Reviewed-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Jie Zhan <zhanjie9@hisilicon.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Link: https://patchwork.kernel.org/project/linux-pm/patch/20250623143401.4095045-2-zhanjie9@hisilicon.com/
drivers/devfreq/devfreq.c
include/linux/devfreq.h