OpenCloudOS-Kernel/drivers/clk/meson
Neil Armstrong 6620f45ff8 clk: meson: vid-pll-div: remove warning and return 0 on invalid config
The vid_pll_div is a programmable fractional divider, but vendor gives a
limited of known configuration value and it's corresponding fraction.

Thus when at reset value (0) or unknown value, we cannot determine the
result rate.

The initial behaviour was to print a warning, but the warning triggers
at each boot and when the clock tree is refreshed.

This patch moves the print to debug and returns 0 instead of the
parent rate.

Fixes: 72dbb8c94d ("clk: meson: Add vid_pll divider driver")
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lkml.kernel.org/r/20190327151348.27402-1-narmstrong@baylibre.com
2019-03-29 09:41:30 +01:00
..
Kconfig clk: meson: Add G12A AO Clock + Reset Controller 2019-02-13 09:49:32 +01:00
Makefile clk: meson: Add G12A AO Clock + Reset Controller 2019-02-13 09:49:32 +01:00
axg-aoclk.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
axg-aoclk.h clk: meson: axg-ao: add 32k generation subtree 2019-01-07 15:21:43 +01:00
axg-audio.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
axg-audio.h clk: meson: axg: add the audio clock controller driver 2018-07-09 13:48:26 +02:00
axg.c clk: meson: factorise meson64 peripheral clock controller drivers 2019-02-04 09:52:11 +01:00
axg.h clk: meson: clk-pll: remove od parameters 2018-09-26 12:01:57 +02:00
clk-dualdiv.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
clk-dualdiv.h clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
clk-input.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
clk-input.h clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
clk-mpll.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
clk-mpll.h clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
clk-phase.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
clk-phase.h clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
clk-pll.c clk: meson: pll: fix rounding and setting a rate that matches precisely 2019-03-25 13:18:09 +01:00
clk-pll.h clk: meson: pll: update driver for the g12a 2019-02-04 09:51:37 +01:00
clk-regmap.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
clk-regmap.h clk: meson: g12a: add peripheral clock controller 2019-02-04 09:52:11 +01:00
g12a-aoclk.c clk: meson: Add G12A AO Clock + Reset Controller 2019-02-13 09:49:32 +01:00
g12a-aoclk.h clk: meson: Add G12A AO Clock + Reset Controller 2019-02-13 09:49:32 +01:00
g12a.c clk: meson-g12a: fix VPU clock parents 2019-03-19 17:38:41 +01:00
g12a.h clk: meson: g12a: add peripheral clock controller 2019-02-04 09:52:11 +01:00
gxbb-aoclk.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
gxbb-aoclk.h clk: meson: gxbb-ao: replace cec-32k with the dual divider 2019-01-07 15:21:22 +01:00
gxbb.c clk: meson-gxbb: round the vdec dividers to closest 2019-03-19 17:36:37 +01:00
gxbb.h dt-bindings: clk: meson-gxbb: Add Video clock bindings 2018-11-23 15:11:56 +01:00
meson-aoclk.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
meson-aoclk.h clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
meson-eeclk.c clk: meson: factorise meson64 peripheral clock controller drivers 2019-02-04 09:52:11 +01:00
meson-eeclk.h clk: meson: factorise meson64 peripheral clock controller drivers 2019-02-04 09:52:11 +01:00
meson8b.c clk: meson: meson8b: fix the naming of the APB clocks 2019-02-13 09:51:09 +01:00
meson8b.h clk: meson: meson8b: fix the naming of the APB clocks 2019-02-13 09:51:09 +01:00
parm.h clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
sclk-div.c clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
sclk-div.h clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
vid-pll-div.c clk: meson: vid-pll-div: remove warning and return 0 on invalid config 2019-03-29 09:41:30 +01:00
vid-pll-div.h clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00