Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5226487yba; Tue, 30 Apr 2019 11:07:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqwAdASPaxZcZsaMyeW1e7FRIj3b+ph+mS3u6gt/gG8bdoHDC4VUZHTZMndgf3f3zleclLmE X-Received: by 2002:a65:60c7:: with SMTP id r7mr62639198pgv.191.1556647630310; Tue, 30 Apr 2019 11:07:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556647630; cv=none; d=google.com; s=arc-20160816; b=ty5MncNCRHVLqFNq+XaIya9KkncsHD7Q9ah4A66N97wJmjAr9iE8LK39tWhX3Tsu9z hPlMsJ+BTVryMMro93Bzpho99TD2gbylaACmQGV/bHe9T5fGlA/kEmcr9/Lf3B/a/6z4 2Myo1JhbH9lcLz1dYcf5ai1Za5LMJZErH8381VPVvpPKdNjdj5b3MHY8GU5BTx8Zpl7w y8bArSdN+U3qarfVvh+MbJ5es4N/NmNUPsxFooiaYjpTs5+EjCEu6GS53EyR1ZYDbLu0 AuVoxsCET4k2izZqEjG3bgfvS1QKAZIIDdwcPVzlqMmvxKYjizEa1Q+YO10X5pMP8dgQ ZetA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=zFMaWgZDEdi2h8mzK4MFegNOybP9FFdozau/wZV2uqo=; b=kibiit46qhZDi/2f4QvcUirFz6qaZ0xrHMralo4WlGLIQ6feDl977QhMtqlpM/Jk9M qFdMGgRG0C1nY/6NhcBXs6hV7RQbFKqjgMXRUnp3q+2g2WEvEcT59fWKpW+2Q84tV9vY V/m4CkLY5GX2Sq3Vy0H8yCFmLz3t74s+Q8g0fE+WgICYW6+2vmQT5teNBwjxZExjR/vM ojovrI6RmL6RfRXsQ9+v18dLMpOPEmzvWMommvwvmm94puZdQVyPj0JP1gIqZzqNe+IL MUuXACCmjDouqWlRbxHL78J4egRdCN3ThBvbsKTa4A+Bch018bVhrqlR/gAVUq6JvQph akQQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n21si12547869pgv.105.2019.04.30.11.06.53; Tue, 30 Apr 2019 11:07:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727127AbfD3SFy (ORCPT + 99 others); Tue, 30 Apr 2019 14:05:54 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:60896 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727083AbfD3SFu (ORCPT ); Tue, 30 Apr 2019 14:05:50 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: gportay) with ESMTPSA id 67D3F282FE4 From: =?UTF-8?q?Ga=C3=ABl=20PORTAY?= To: Rob Herring , Mark Rutland , Heiko Stuebner , Michael Turquette , Stephen Boyd , MyungJoo Ham , Kyungmin Park , Chanwoo Choi , Sandy Huang , David Airlie , Daniel Vetter , =?UTF-8?q?Ga=C3=ABl=20PORTAY?= , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org, dri-devel@lists.freedesktop.org Cc: Douglas Anderson , Matthias Kaehlcke , Derek Basehore , Lin Huang , Enric Balletbo i Serra , Boris Brezillon , kernel@collabora.com Subject: [RFC 4/4] arm64: dts: rockchip: Set the display-subsystem devfreq Date: Tue, 30 Apr 2019 14:05:24 -0400 Message-Id: <20190430180524.22710-5-gael.portay@collabora.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190430180524.22710-1-gael.portay@collabora.com> References: <20190430180524.22710-1-gael.portay@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use the Dynamic Memory Controller as the display-subsystem's devfreq device. Signed-off-by: Gaƫl PORTAY --- arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 4 ++++ arch/arm64/boot/dts/rockchip/rk3399.dtsi | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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>; }; -- 2.21.0