devfreq: exynos-ppmu: use node names with hyphens
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Mon, 20 Sep 2021 07:17:51 +0000 (09:17 +0200)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 27 Oct 2021 05:22:11 +0000 (14:22 +0900)
commit28d7f0f3f10be9d6ecca15669fa17d561581a843
treebe6d1fbe8d5d624340c7b5d2ea99fd88c58cf0ab
parent3906fe9bb7f1a2c8667ae54e967dc8690824f4ea
devfreq: exynos-ppmu: use node names with hyphens

Devicetree naming convention requires device node names to use hyphens
instead of underscore, so Exynos5422 devfreq event name
"ppmu-event3-dmc0_0" should be "ppmu-event3-dmc0-0".  Newly introduced
dtschema enforces this, however the driver still expects old name with
an underscore.

Add new events for Exynos5422 while still accepting old name for
backwards compatibility.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/event/exynos-ppmu.c