All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] media: dt: bindings: tegra-vde: Document new optional Memory Client reset property
@ 2018-05-26 14:33 Dmitry Osipenko
  2018-05-31  4:11 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Osipenko @ 2018-05-26 14:33 UTC (permalink / raw)
  To: Rob Herring, Thierry Reding
  Cc: linux-tegra, linux-media, devicetree, linux-kernel

Recently binding of the Memory Controller has been extended, exposing
the Memory Client reset controls and hence it is now a reset controller.
Tegra video-decoder device is among the Memory Controller reset users,
document the new optional VDE HW reset property.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
---
 .../devicetree/bindings/media/nvidia,tegra-vde.txt    | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/media/nvidia,tegra-vde.txt b/Documentation/devicetree/bindings/media/nvidia,tegra-vde.txt
index 470237ed6fe5..7302e949e662 100644
--- a/Documentation/devicetree/bindings/media/nvidia,tegra-vde.txt
+++ b/Documentation/devicetree/bindings/media/nvidia,tegra-vde.txt
@@ -27,9 +27,15 @@ Required properties:
   - sxe
 - clocks : Must include the following entries:
   - vde
-- resets : Must include the following entries:
+- resets : Must contain an entry for each entry in reset-names.
+- reset-names : Should include the following entries:
   - vde
 
+Optional properties:
+- resets : Must contain an entry for each entry in reset-names.
+- reset-names : Must include the following entries:
+  - mc
+
 Example:
 
 video-codec@6001a000 {
@@ -51,5 +57,6 @@ video-codec@6001a000 {
 		     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; /* SXE interrupt */
 	interrupt-names = "sync-token", "bsev", "sxe";
 	clocks = <&tegra_car TEGRA20_CLK_VDE>;
-	resets = <&tegra_car 61>;
+	reset-names = "vde", "mc";
+	resets = <&tegra_car 61>, <&mc TEGRA20_MC_RESET_VDE>;
 };
-- 
2.17.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v1] media: dt: bindings: tegra-vde: Document new optional Memory Client reset property
  2018-05-26 14:33 [PATCH v1] media: dt: bindings: tegra-vde: Document new optional Memory Client reset property Dmitry Osipenko
@ 2018-05-31  4:11 ` Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2018-05-31  4:11 UTC (permalink / raw)
  To: Dmitry Osipenko
  Cc: Thierry Reding, linux-tegra, linux-media, devicetree, linux-kernel

On Sat, May 26, 2018 at 05:33:55PM +0300, Dmitry Osipenko wrote:
> Recently binding of the Memory Controller has been extended, exposing
> the Memory Client reset controls and hence it is now a reset controller.
> Tegra video-decoder device is among the Memory Controller reset users,
> document the new optional VDE HW reset property.
> 
> Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
> ---
>  .../devicetree/bindings/media/nvidia,tegra-vde.txt    | 11 +++++++++--
>  1 file changed, 9 insertions(+), 2 deletions(-)

Acked-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-31  4:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-26 14:33 [PATCH v1] media: dt: bindings: tegra-vde: Document new optional Memory Client reset property Dmitry Osipenko
2018-05-31  4:11 ` Rob Herring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.