Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp203946img; Tue, 19 Mar 2019 22:07:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqy+ahtd717iGuGvt4+smKdbjm7/xVxE8ieMQBicjpCpWN07Zb8lKJ6FnsgMSwxTRSnPOPFx X-Received: by 2002:a17:902:407:: with SMTP id 7mr5925168ple.62.1553058439761; Tue, 19 Mar 2019 22:07:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553058439; cv=none; d=google.com; s=arc-20160816; b=OoR6y5JcTIXmiGj0mnVldrroQq83Y9MqmShkQg6UKejArPrJxmN85IrHA54kKJA4a6 S8ZOuAGj78OvGeLIG69MJaMH6W6gFgbMwJUZQAFwkzFkBiGcO+js9X/i/U0ULqOIBCe9 drFhAG8BcxRXmz6ndL/vLPtU0cY0zx6pXLobrZyIp2Q4njfvKtcb/++q46zvP5KF3Rpp HbRocnk5rsyYtP+SYN5IUonomG6z/Pae8pO2aSS4NLtDjYolyr4syr7k+p/+5N08pksV VzSbChFYDShYR8+kbiWExUgGaxY/THtoJk2DeoKTtDDnALTwQCXycB9LF0QbfsDSoBor rXyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:dlp-filter:cms-type :content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:organization:from:cc:to:subject :dkim-signature:dkim-filter; bh=4Ce7XFj0btp0zV5a/xpebOI/wXq9NQrb4f1Hrl4XJ2Q=; b=ZJ9GcOiTInJqVZgSTcoSmLnG6/FIeNwLxZ8dPXLMaJQ5IsmDg6gMaJ+Nq6283IJTyk S11BntlBgDXb33WFlbd4WFSAc8nYGsDhZjS3XpagtKLN8F7z3MyhGPkesOAb7BJkUO1C 5RcWNch1RMNm64W7fIc+J7/ZXdWdacBnsPXKaf44AGeOz5QUGwX0RAGdpeRSjDJcDRcr IPn7GXq+8vd2B6FxzpnhG/IjUIEDQw0wggeddw4YYULlixShgtq1KuHL1SUr+szlRm7j ROgwAH9mWTXK3Eqtorz16EG/2+ak14VQ27BApz1iLSUJYQn+qlqcZWe6lLmOkKXEAqgs 0jsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=JxziM4PI; 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=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t7si774892pgp.196.2019.03.19.22.07.04; Tue, 19 Mar 2019 22:07:19 -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; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=JxziM4PI; 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=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727168AbfCTFFM (ORCPT + 99 others); Wed, 20 Mar 2019 01:05:12 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:33501 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726044AbfCTFFM (ORCPT ); Wed, 20 Mar 2019 01:05:12 -0400 Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20190320050509epoutp020885a779ff2533289035225a47e28b60~Nkk3rpOeB1918319183epoutp02N for ; Wed, 20 Mar 2019 05:05:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20190320050509epoutp020885a779ff2533289035225a47e28b60~Nkk3rpOeB1918319183epoutp02N DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1553058309; bh=4Ce7XFj0btp0zV5a/xpebOI/wXq9NQrb4f1Hrl4XJ2Q=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=JxziM4PI7urjyfTGhihwyraQgEpT01frHKgmXGnCnRfirAY0VJy9CEWpMBA7FqBcJ CQnEn7wpc/tzvEpufAL2CuDEETUeOWuhoSFW5M88q5JIQ7BR8YDusiKhIsGYo51a2r Ei5Xug69MSbk5TyDk7HgDli3SA4d+lf4fNSISQMY= Received: from epsmges1p3.samsung.com (unknown [182.195.40.152]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20190320050506epcas1p4229dd2019922cdc10fd716534f731037~Nkk08y3Nt0472804728epcas1p4P; Wed, 20 Mar 2019 05:05:06 +0000 (GMT) Received: from epcas1p1.samsung.com ( [182.195.41.45]) by epsmges1p3.samsung.com (Symantec Messaging Gateway) with SMTP id 3B.3F.04143.20AC19C5; Wed, 20 Mar 2019 14:05:06 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas1p3.samsung.com (KnoxPortal) with ESMTPA id 20190320050506epcas1p34dc500e2204b848726bda1ee12473b2c~Nkk0MUny41184911849epcas1p3h; Wed, 20 Mar 2019 05:05:06 +0000 (GMT) Received: from epsmgms1p2new.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190320050506epsmtrp17361c077b5d0fbad7e63d43689e0f228~Nkk0LO7Lc0986909869epsmtrp1m; Wed, 20 Mar 2019 05:05:06 +0000 (GMT) X-AuditID: b6c32a37-f31ff7000000102f-01-5c91ca028238 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 6C.1C.03662.10AC19C5; Wed, 20 Mar 2019 14:05:06 +0900 (KST) Received: from [10.113.221.102] (unknown [10.113.221.102]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190320050505epsmtip12e5b2c51b8619fb0ee310eefd0076337~Nkkz9UQrN2718027180epsmtip1M; Wed, 20 Mar 2019 05:05:05 +0000 (GMT) Subject: Re: [PATCH v2 5/5] arm64: dts: rockchip: Enable dmc and dfi nodes on gru. To: =?UTF-8?Q?Ga=c3=abl_PORTAY?= , MyungJoo Ham , Kyungmin Park , Rob Herring , Heiko Stuebner , Enric Balletbo i Serra , Lin Huang , Brian Norris , Douglas Anderson , Klaus Goger , Derek Basehore , Randy Li , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Cc: Mark Rutland , kernel@collabora.com From: Chanwoo Choi Organization: Samsung Electronics Message-ID: <3adc4347-7dd9-106f-e564-26d39ff38ffb@samsung.com> Date: Wed, 20 Mar 2019 14:05:21 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <20190319181323.22804-6-gael.portay@collabora.com> Content-Language: en-US Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA02Tf0xTVxTHc9+vFl3ds4Bc2Zz1LUsGodBHLVyNZSSa5W0ah8EQ05B0L/DW EvorfcXM/XAwN0cZOhjxV4vVjKKTsYAFHMIMWWmisNDNGdgyQ8KgU0ACmYSNKKxr+9jGf59z zzn3e7/n3ivHlVEqXV5hcwlOG29hqA3EjcEMtRobbizVRH35aHb8CUCBPxZINNv1LYUuhcIk GrnyHYXa7wcB8vfNUSg6+YhEy53DOOoK15NoqekqhkY+nJOhwNQYie71NVNo8VQIoMcTURy1 /nwXQ/drvqTQx7dCssJkrt3XDjhv9V2C6x33Ay7Q5qa4Lv8H3KpngOBOd7cB7psxH86dGD9H cl9PdhLcYuCFoo2Gyj1mgS8XnCrBVmYvr7CZ9Mz+YuNeoy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UvqPf7O2s/i0bdlFaPH9mvzmD2a705n9Vj7aAOLx+dNcgHcUVw2Kak5mWWpRfp2 CVwZSya9ZC5YLF7x58lDxgbGk0JdjJwcEgImEsffTGDvYuTiEBLYzSixcdILRoiEpMS0i0eZ uxg5gGxhicOHiyFq3jJKdP37zwZSIywQInFo8g1mkISIwEpWiamz1rKDJJgFbCUaN/5mgug4 ziixacdtsKlsAloS+1/cAOvmF1CUuPrjMVicV8BOoqN3NjOIzSKgKtHy7BTYIFGBCIm7F1+w QNQISpyc+QTM5hSwlzjUdZ4FYpm6xJ95l5ghbHGJW0/mM0HY8hLNW2czT2AUnoWkfRaSlllI WmYhaVnAyLKKUTK1oDg3PbfYsMAoL7Vcrzgxt7g0L10vOT93EyM4AWhp7WA8cSL+EKMAB6MS D++JBxNihFgTy4orcw8xSnAwK4nwFiVOjBHiTUmsrEotyo8vKs1JLT7EKM3BoiTOK59/LFJI ID2xJDU7NbUgtQgmy8TBKdXAqN3E9USB54rMRasN+ubnBUzTYzb4rnJT21AnNntG/sPlJ23P XQyOnZjBHLZFY/K+WXvYRWfeL7roXsNw6drpW+nz59qusWD9JL7vyYGK1x90np7g/NQtu0dP Kadhhl5hC5++8espBc48NowfEzRfhb76vT7n2+lVwlmOHo2HU3Y+158eyqK/XomlOCPRUIu5 qDgRANDBlKv8AgAA X-CMS-MailID: 20190320050506epcas1p34dc500e2204b848726bda1ee12473b2c X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20190319181359epcas4p11159b40adf1c883d179e18356d4cbd30 References: <20190319181323.22804-1-gael.portay@collabora.com> <20190319181323.22804-6-gael.portay@collabora.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Gaël, On 19. 3. 20. 오전 3:13, Gaël PORTAY wrote: > From: Lin Huang > > Enable the DMC (Dynamic Memory Controller) and the DFI (DDR PHY Interface) > nodes on gru/kevin boards so we can support DDR DVFS. > > Signed-off-by: Lin Huang > Signed-off-by: Enric Balletbo i Serra > Signed-off-by: Gaël PORTAY > --- > > Changes in v2: > - [PATCH 8/8] Move center-supply attribute of dmc node in file > rk3399-gru-chromebook.dtsi (where ppvar_centerlogic is > defined). > > Changes in v1: None > > .../dts/rockchip/rk3399-gru-chromebook.dtsi | 4 ++++ > arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 20 +++++++++++++++++++ > arch/arm64/boot/dts/rockchip/rk3399.dtsi | 2 +- > 3 files changed, 25 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru-chromebook.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-gru-chromebook.dtsi > index 931640e9aed4..cfb81356c61e 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3399-gru-chromebook.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3399-gru-chromebook.dtsi > @@ -400,3 +400,7 @@ ap_i2c_tp: &i2c5 { > rockchip,pins = <0 8 RK_FUNC_GPIO &pcfg_pull_none>; > }; > }; > + > +&dmc { > + center-supply = <&ppvar_centerlogic>; > +}; > diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi > index da03fa9c5662..d14dce679e7a 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi > @@ -289,6 +289,12 @@ > status = "okay"; > }; > > +&dmc_opp_table { > + opp04 { > + opp-suspend; > + }; > +}; > + > /* > * Set some suspend operating points to avoid OVP in suspend > * > @@ -368,6 +374,10 @@ > <200000000>; > }; > > +&display_subsystem { > + devfreq = <&dmc>; > +}; When I checked the rockchip_drm_drv.c on linux-next.git (20190320), there are no any codes about this. Maybe it should be removed. > + > &emmc_phy { > status = "okay"; > }; > @@ -489,6 +499,16 @@ ap_i2c_audio: &i2c8 { > status = "okay"; > }; > > +&dfi { > + status = "okay"; > +}; > + > +&dmc { > + status = "okay"; > + upthreshold = <25>; > + downdifferential = <15>; > +}; > + > &sdhci { > /* > * Signal integrity isn't great at 200 MHz and 150 MHz (DDR) gives the > diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi > index 8fe86a3e7658..010b3e5267a0 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi > @@ -156,7 +156,7 @@ > }; > }; > > - display-subsystem { > + display_subsystem: display-subsystem { > compatible = "rockchip,display-subsystem"; > ports = <&vopl_out>, <&vopb_out>; > }; > -- Best Regards, Chanwoo Choi Samsung Electronics