Skip to content

Commit

Permalink
media: dt-bindings: marvell,mmp2-ccic: Allow power-domains property
Browse files Browse the repository at this point in the history
On MMP3 the camera interface is on a separate power island. This
property tells the driver to enable it when appropriate.

Signed-off-by: Lubomir Rintel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]'
Signed-off-by: Arnd Bergmann <[email protected]>
  • Loading branch information
lkundrak authored and arndb committed Feb 2, 2021
1 parent 1adacc4 commit fa43244
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ properties:
interrupts:
maxItems: 1

power-domains:
maxItems: 1

port:
type: object
additionalProperties: false
Expand Down Expand Up @@ -75,6 +78,7 @@ additionalProperties: false
examples:
- |
#include <dt-bindings/clock/marvell,mmp2.h>
#include <dt-bindings/power/marvell,mmp2.h>
camera@d420a000 {
compatible = "marvell,mmp2-ccic";
Expand All @@ -84,6 +88,7 @@ examples:
clock-names = "axi";
#clock-cells = <0>;
clock-output-names = "mclk";
power-domains = <&soc_clocks MMP3_POWER_DOMAIN_CAMERA>;
port {
camera0_0: endpoint {
Expand Down

0 comments on commit fa43244

Please sign in to comment.