]> git.baikalelectronics.ru Git - uboot.git/commit
clock-snapdragon: Add clk_rcg_set_rate() with mnd_width=0
authorSumit Garg <sumit.garg@linaro.org>
Wed, 1 Feb 2023 13:58:57 +0000 (19:28 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 10 Feb 2023 17:50:00 +0000 (12:50 -0500)
commitc9af8c737413927ee5301983cdd13e391d9114cf
tree27ea161524b426d403b4cef92c22f3ca67936bba
parentb383979251e9d39a90640ecb2fb6d43c122a715d
clock-snapdragon: Add clk_rcg_set_rate() with mnd_width=0

Add clk_rcg_set_rate() which allows to configure clocks without programming
MND values. This is required for configuring I2C clocks on QCS404.

Co-developed-by: Mike Worsfold <mworsfold@impinj.com>
Signed-off-by: Mike Worsfold <mworsfold@impinj.com>
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
arch/arm/mach-snapdragon/clock-snapdragon.c
arch/arm/mach-snapdragon/clock-snapdragon.h