Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: mmp3: Add power domain for the camera

The camera interfaces on MMP3 are on a separate power island that needs
to be turned on for them to operate and, ideally, turned off when the
cameras are not in use.

This hooks the power island with the camera interfaces in the device
tree.

Link: https://lore.kernel.org/r/20200925234805.228251-2-lkundrak@v3.sk
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

authored by

Lubomir Rintel and committed by
Arnd Bergmann
202f8e5c b0fc70ce

+2
+2
arch/arm/boot/dts/mmp3.dtsi
··· 296 296 interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; 297 297 clocks = <&soc_clocks MMP2_CLK_CCIC0>; 298 298 clock-names = "axi"; 299 + power-domains = <&soc_clocks MMP3_POWER_DOMAIN_CAMERA>; 299 300 #clock-cells = <0>; 300 301 clock-output-names = "mclk"; 301 302 status = "disabled"; ··· 308 307 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>; 309 308 clocks = <&soc_clocks MMP2_CLK_CCIC1>; 310 309 clock-names = "axi"; 310 + power-domains = <&soc_clocks MMP3_POWER_DOMAIN_CAMERA>; 311 311 #clock-cells = <0>; 312 312 clock-output-names = "mclk"; 313 313 status = "disabled";