]> git.baikalelectronics.ru Git - kernel.git/commit
PM / devfreq: rk3399_dmc: Drop excess timing properties
authorBrian Norris <briannorris@chromium.org>
Tue, 8 Mar 2022 19:08:53 +0000 (11:08 -0800)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 13 Apr 2022 22:18:11 +0000 (07:18 +0900)
commit7c960185d45c4f899d1edacdc598d7421bc93d31
tree12b897cbf09c76a32558b46b79945c6645d13fb2
parent3eac2edd4c1b49951c9145f3112bb3a190e485ed
PM / devfreq: rk3399_dmc: Drop excess timing properties

All of these properties are initialized by ARM Trusted Firmware, and
have been since the early days of this chip. It's redundant (and
possibly wrong) to do this here now. What's more, there seems to be some
confusion about the units and some of the definitions of this timing
struct: the DT docs say MHz for many of these, but downstream users were
in Hz (and therefore, the ATF interface was Hz). Also, the in-driver
usage for some of these (e.g., for comparing to target frequency) were
in Hz too. So doubly wrong.

We can avoid thinking about who got the right units by dropping the
unnecessary code and properties. They are marked deprecated in the
binding schema.

Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/rk3399_dmc.c