Message ID | 20190430180524.22710-5-gael.portay@collabora.com (mailing list archive) |
---|---|
State | RFC |
Headers | show |
Series | Add support for drm/rockchip to dynamically control the DDR frequency within vblank for gru chromebooks. | expand |
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi index 40e78186560b..a5cbbc08f7e1 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi @@ -375,6 +375,10 @@ <200000000>; }; +&display_subsystem { + devfreq = <&dmc>; +}; + &emmc_phy { status = "okay"; }; diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 87ee084fac89..253b476163fd 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -155,7 +155,7 @@ }; }; - display-subsystem { + display_subsystem: display-subsystem { compatible = "rockchip,display-subsystem"; ports = <&vopl_out>, <&vopb_out>; };
Use the Dynamic Memory Controller as the display-subsystem's devfreq device. Signed-off-by: Gaël PORTAY <gael.portay@collabora.com> --- arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 4 ++++ arch/arm64/boot/dts/rockchip/rk3399.dtsi | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-)