Commit fa432444 authored by Lubomir Rintel's avatar Lubomir Rintel Committed by Arnd Bergmann

media: dt-bindings: marvell,mmp2-ccic: Allow power-domains property

On MMP3 the camera interface is on a separate power island. This
property tells the driver to enable it when appropriate.
Signed-off-by: default avatarLubomir Rintel <lkundrak@v3.sk>
Link: https://lore.kernel.org/r/20210121034130.1381872-3-lkundrak@v3.sk'
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 1adacc49
...@@ -23,6 +23,9 @@ properties: ...@@ -23,6 +23,9 @@ properties:
interrupts: interrupts:
maxItems: 1 maxItems: 1
power-domains:
maxItems: 1
port: port:
type: object type: object
additionalProperties: false additionalProperties: false
...@@ -75,6 +78,7 @@ additionalProperties: false ...@@ -75,6 +78,7 @@ additionalProperties: false
examples: examples:
- | - |
#include <dt-bindings/clock/marvell,mmp2.h> #include <dt-bindings/clock/marvell,mmp2.h>
#include <dt-bindings/power/marvell,mmp2.h>
camera@d420a000 { camera@d420a000 {
compatible = "marvell,mmp2-ccic"; compatible = "marvell,mmp2-ccic";
...@@ -84,6 +88,7 @@ examples: ...@@ -84,6 +88,7 @@ examples:
clock-names = "axi"; clock-names = "axi";
#clock-cells = <0>; #clock-cells = <0>;
clock-output-names = "mclk"; clock-output-names = "mclk";
power-domains = <&soc_clocks MMP3_POWER_DOMAIN_CAMERA>;
port { port {
camera0_0: endpoint { camera0_0: endpoint {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment