Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5813940yba; Thu, 11 Apr 2019 06:22:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqypJHMIYl00+hWkwtPxR0HRPZIHxKbA4v1FKu/0NVMYKKxUa1dqil5XtpLoLpLtEpIftlIL X-Received: by 2002:a17:902:ab91:: with SMTP id f17mr46241633plr.151.1554988928970; Thu, 11 Apr 2019 06:22:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554988928; cv=none; d=google.com; s=arc-20160816; b=X0pzgU7CU6PaPCd/KUdVFfuYcQB7VUG4n7lEkpSmBixsGFfvqtS+nyleGSiw/SoC0H xSrt6eV1go3y8dS7rE6gYVv0HPi1qHHKrKAG4uVqmDRTLnPiwQaxyh6/oeaNy6ia7hsM zXVciy4tyVE5TVDICycFYHcCnbKzyvALTo/ItaEK/HiKN/37NYJcwORGoszQX/WWVkIT 3JByGfGJaIFdjS6aNJcX8S8zlC96N3MO+yRu9etMmor9IaAgPFn7HuKs9E0o1/KSxriO dDlHwQVvmU1aQkYhDXGPvTV6PxId4R6x69nJkCajjjwV50g3Q2u+ItrF4E8gQ0ZVMpJ5 xu6Q== 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=lQoFzJF5uN3l2kapHDhcX+hEMTP8XDB9K683ENpmAm8=; b=Ef37zxCiPwkWp3tzjs44U+t8dMJcEHBqVF38qFsvewlYTuTv6s5zuBZAJRHOFgdX6b KbxAbhjzDxUyWOCbJHKGLms7guTS7/gZEJi7Qa9pFx1RnyQGcZS/iV9WG4huSWzAjqsl 9LdiaIFtqWOs1EBfwYJ+ocqLFTTlXXO8yE9KS05UEPb3uWXq5Rr1Zbg70nmZAG/0Oq+A Q7yNXHcWumWCBHlkWTSiNSE8t6NqJO8IaMyw2HXHmyzVgpm+P4m96Ke4ymjsjlGVRfJm 377SadlT+rbeVu/3vG+BDNNzg4nj+cTqezVTTslC3sQWIip8wQmcpeuA3feW8vR6NL2s bWzA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k193si34250224pga.319.2019.04.11.06.21.52; Thu, 11 Apr 2019 06:22:08 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726678AbfDKNVM convert rfc822-to-8bit (ORCPT + 99 others); Thu, 11 Apr 2019 09:21:12 -0400 Received: from gloria.sntech.de ([185.11.138.130]:58476 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726264AbfDKNVL (ORCPT ); Thu, 11 Apr 2019 09:21:11 -0400 Received: from wf0380.dip.tu-dresden.de ([141.76.181.124] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hEZdO-00086a-Hc; Thu, 11 Apr 2019 15:20:54 +0200 From: Heiko Stuebner To: =?ISO-8859-1?Q?Ga=EBl?= PORTAY Cc: MyungJoo Ham , Kyungmin Park , Chanwoo Choi , Rob Herring , 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, Mark Rutland Subject: Re: [PATCH v3 4/5] arm64: dts: rk3399: Add dfi and dmc nodes. Date: Thu, 11 Apr 2019 15:20:53 +0200 Message-ID: <7786013.gjegOBUKu0@phil> In-Reply-To: <20190321231440.19031-5-gael.portay@collabora.com> References: <20190321231440.19031-1-gael.portay@collabora.com> <20190321231440.19031-5-gael.portay@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="iso-8859-1" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ga?l, Am Freitag, 22. M?rz 2019, 00:14:39 CEST schrieb Ga?l PORTAY: > From: Lin Huang > > These are required to support DDR DVFS on rk3399 platform. The patch also > introduces a new file with default DRAM settings. > > Signed-off-by: Lin Huang > Signed-off-by: Enric Balletbo i Serra > Signed-off-by: Ga?l PORTAY > + dmc: dmc { > + compatible = "rockchip,rk3399-dmc"; > + rockchip,pmu = <&pmugrf>; > + devfreq-events = <&dfi>; > + clocks = <&cru SCLK_DDRC>; > + clock-names = "dmc_clk"; > + status = "disabled"; > + rockchip,ddr3_speed_bin = <21>; > + rockchip,pd_idle = <0x40>; > + rockchip,sr_idle = <0x2>; > + rockchip,sr_mc_gate_idle = <0x3>; > + rockchip,srpd_lite_idle = <0x4>; > + rockchip,standby_idle = <0x2000>; > + rockchip,dram_dll_dis_freq = <300000000>; > + rockchip,phy_dll_dis_freq = <125000000>; > + rockchip,auto_pd_dis_freq = <666000000>; > + rockchip,ddr3_odt_dis_freq = <333000000>; > + rockchip,ddr3_drv = ; > + rockchip,ddr3_odt = ; > + rockchip,phy_ddr3_ca_drv = ; > + rockchip,phy_ddr3_dq_drv = ; > + rockchip,phy_ddr3_odt = ; > + rockchip,lpddr3_odt_dis_freq = <333000000>; > + rockchip,lpddr3_drv = ; > + rockchip,lpddr3_odt = ; > + rockchip,phy_lpddr3_ca_drv = ; > + rockchip,phy_lpddr3_dq_drv = ; > + rockchip,phy_lpddr3_odt = ; > + rockchip,lpddr4_odt_dis_freq = <333000000>; > + rockchip,lpddr4_drv = ; > + rockchip,lpddr4_dq_odt = ; > + rockchip,lpddr4_ca_odt = ; > + rockchip,phy_lpddr4_ca_drv = ; > + rockchip,phy_lpddr4_ck_cs_drv = ; > + rockchip,phy_lpddr4_dq_drv = ; > + rockchip,phy_lpddr4_odt = ; as Rob mentioned in his review, these values look board-specific, so should probably move over to the specific board you're using them on? Heiko