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)
commit82f53f9ee5770177eb102446cc3513bf07e2668a
tree40ff03911a7d5b565cf0f889c5c8a8ad6cfb7892
parent928f9e2686110825262685b7aedc7b21b805fecd
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