arm64: dts: mt8183: Add missing power-domain for pwm0 node
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>
Wed, 13 Jan 2021 21:57:23 +0000 (22:57 +0100)
committerMatthias Brugger <matthias.bgg@gmail.com>
Thu, 28 Jan 2021 17:09:00 +0000 (18:09 +0100)
The MT8183 display PWM device will not work until the associated
power-domain is enabled. Add the power-domain reference to the node
allows the display PWM driver to operate and the backlight turn on.

Fixes: f15722c0fef0 ("arm64: dts: mt8183: Add pwm and backlight node")
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Hsin-Yi Wang <hsinyi@chromium.org>
Link: https://lore.kernel.org/r/20210113215723.71966-1-enric.balletbo@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8183.dtsi

index 9c0073cfad45215e9e1d14da6d6e6c7ab99f2135..64fbba76597c89005ef8d44a5519a867fa0baf81 100644 (file)
                        compatible = "mediatek,mt8183-disp-pwm";
                        reg = <0 0x1100e000 0 0x1000>;
                        interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_LOW>;
+                       power-domains = <&spm MT8183_POWER_DOMAIN_DISP>;
                        #pwm-cells = <2>;
                        clocks = <&topckgen CLK_TOP_MUX_DISP_PWM>,
                                        <&infracfg CLK_INFRA_DISP_PWM>;