diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-09-06 16:23:03 +0300 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-09-08 10:29:42 +0300 |
commit | 440d2c7b127a8b3aab21eb140262bb29c4ee804f (patch) | |
tree | 3829fa7194f4c28c7f40baef78ac047ca80635ca /drivers/gpu/drm/sun4i/sun4i_backend.h | |
parent | 4a408f1f639bd702cc2699d33161f3590c942c2c (diff) | |
download | linux-440d2c7b127a8b3aab21eb140262bb29c4ee804f.tar.xz |
drm/sun4i: backend: Handle the SAT
The A33 has an block called SAT that is part of the backend that needs to
be clocked and out of reset to be able for the backend to operate properly.
Extend the binding to have the SAT resources listed, and claim them when
the backend probes.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'drivers/gpu/drm/sun4i/sun4i_backend.h')
-rw-r--r-- | drivers/gpu/drm/sun4i/sun4i_backend.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/sun4i/sun4i_backend.h b/drivers/gpu/drm/sun4i/sun4i_backend.h index 7070bb3434e5..e00718627748 100644 --- a/drivers/gpu/drm/sun4i/sun4i_backend.h +++ b/drivers/gpu/drm/sun4i/sun4i_backend.h @@ -146,6 +146,9 @@ struct sun4i_backend { struct clk *bus_clk; struct clk *mod_clk; struct clk *ram_clk; + + struct clk *sat_clk; + struct reset_control *sat_reset; }; void sun4i_backend_apply_color_correction(struct sun4i_backend *backend); |