]> git.baikalelectronics.ru Git - kernel.git/commit
clk: fractional-divider: Introduce POWER_OF_TWO_PS flag
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 12 Aug 2021 17:00:24 +0000 (20:00 +0300)
committerStephen Boyd <sboyd@kernel.org>
Thu, 12 Aug 2021 19:42:00 +0000 (12:42 -0700)
commit48fcb11a426cee742550cc81ad115d718b3cf8e5
tree40ff03911a7d5b565cf0f889c5c8a8ad6cfb7892
parent39eaeda08da444550953531394f2c7ffba94f390
clk: fractional-divider: Introduce POWER_OF_TWO_PS flag

The newly introduced POWER_OF_TWO_PS flag, when set, makes the flow
to skip the assumption that the caller will use an additional 2^scale
prescaler to get the desired clock rate.

Reported-by: Liu Ying <victor.liu@nxp.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210812170025.67074-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/acpi/acpi_lpss.c
drivers/clk/clk-fractional-divider.c
drivers/mfd/intel-lpss.c
include/linux/clk-provider.h