linux_dsm_epyc7002/drivers/clk/meson
Martin Blumenstingl 90751f686e clk: meson: meson8b: add the video decoder clock trees
This adds the four video decoder clock trees.

VDEC_1 is split into two paths on Meson8b and Meson8m2:
- input mux called "vdec_1_sel"
- two dividers ("vdec_1_1_div" and "vdec_1_2_div") and gates ("vdec_1_1"
  and "vdec_1_2")
- and an output mux (probably glitch-free) called "vdec_1"
On Meson8 the VDEC_1 tree is simpler because there's only one path:
- input mux called "vdec_1_sel"
- divider ("vdec_1_1_div") and gate ("vdec_1_1")
- (the gate is used as output directly, there's no mux)

The VDEC_HCODEC and VDEC_2 clocks are simple composite clocks each
consisting of an input mux, divider and a gate.

The VDEC_HEVC clock seems to have two paths similar to the VDEC_1 clock.
However, the register offsets of the second clock path is not known.
Amlogic's 3.10 kernel (which is used as reference) sets
HHI_VDEC2_CLK_CNTL[31] to 1 before changing the VDEC_HEVC clock and back
to 0 afterwards. For now, leave a TODO comment and only add the first
path.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Maxime Jourdan <mjourdan@baylibre.com>
Acked-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lkml.kernel.org/r/20190324151423.19063-3-martin.blumenstingl@googlemail.com
2019-04-01 13:34:29 +02: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 dt-bindings: clock: axg-audio: unexpose controller inputs 2019-04-01 10:45:11 +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: add reduced specific clk_ops for G12A PCIe PLL 2019-04-01 10:45:11 +02:00
clk-pll.h clk: meson-pll: add reduced specific clk_ops for G12A PCIe PLL 2019-04-01 10:45:11 +02: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 dt-bindings: clock: g12a-aoclk: expose CLKID_AO_CTS_OSCIN 2019-04-01 10:45:11 +02:00
g12a.c clk: meson-g12a: add video decoder clocks 2019-04-01 10:45:11 +02:00
g12a.h clk: meson-g12a: add video decoder clocks 2019-04-01 10:45:11 +02: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: factorise meson64 peripheral clock controller drivers 2019-02-04 09:52:11 +01:00
gxbb.h dt-bindings: clk: meson-gxbb: Add Video clock bindings 2018-11-23 15:11:56 +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
meson8b.c clk: meson: meson8b: add the video decoder clock trees 2019-04-01 13:34:29 +02:00
meson8b.h clk: meson: meson8b: add the video decoder clock trees 2019-04-01 13:34:29 +02: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
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: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00
vid-pll-div.h clk: meson: rework and clean drivers dependencies 2019-02-02 17:43:32 +01:00