diff options
author | Biju Das <biju.das.jz@bp.renesas.com> | 2022-08-28 11:13:31 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-08-30 16:32:10 +0300 |
commit | 24c52aa35a00284c66eb3bfa9ff811d440fe6c14 (patch) | |
tree | 1a16c7ede62ac124bbfd876301206c428175f848 /drivers/media/platform/renesas/vsp1/vsp1.h | |
parent | 17b5179ef6cd6430945c1da4174ceaf43c93cf1e (diff) | |
download | linux-24c52aa35a00284c66eb3bfa9ff811d440fe6c14.tar.xz |
media: renesas: vsp1: Add support to deassert/assert reset line
As the resets DT property is mandatory, and is present in all .dtsi
in mainline, add support to perform deassert/assert using reference
counted reset handle.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/platform/renesas/vsp1/vsp1.h')
-rw-r--r-- | drivers/media/platform/renesas/vsp1/vsp1.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/platform/renesas/vsp1/vsp1.h b/drivers/media/platform/renesas/vsp1/vsp1.h index 37cf33c7e6ca..baf898d577ec 100644 --- a/drivers/media/platform/renesas/vsp1/vsp1.h +++ b/drivers/media/platform/renesas/vsp1/vsp1.h @@ -22,6 +22,7 @@ struct clk; struct device; struct rcar_fcp_device; +struct reset_control; struct vsp1_drm; struct vsp1_entity; @@ -79,6 +80,7 @@ struct vsp1_device { void __iomem *mmio; struct rcar_fcp_device *fcp; struct device *bus_master; + struct reset_control *rstc; struct vsp1_brx *brs; struct vsp1_brx *bru; |