Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2563008yba; Mon, 15 Apr 2019 14:31:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqya6YfrELRMT+5j9kK34dsoNXka2Rz8kqPfECPaww+wSLsMQTwsirMuqusuMeTZm4SgKX4x X-Received: by 2002:a63:3281:: with SMTP id y123mr8835113pgy.272.1555363860590; Mon, 15 Apr 2019 14:31:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555363860; cv=none; d=google.com; s=arc-20160816; b=coLBA/qHkh40RmUMvoxTJV0NhvOPQMBdUOWAbJHk2LokEvs+C/sPkzgmYvuk9i2Pkd zTZZ+RYxZVN0FevdtDnBtE3sCT2v/BUOA/zrG0wAyqbJ1FCn3FM/3a4GYk9W2wFpBASi pNL3bXSQgYCX9inIPv0TLCzRwoptZ/G8F81vx++/ome2lv5fcVTaIBbUk67ss1vauz0c CMGWcFrUR852bPX0sIiWMr/dQKIbigqDU8icpDcuKR4B3DYiXVdeHObkoxj86bUukTbj HLJjAA+TzM2RpbHkv8AcMzld/ePH9z4yMBBHNRH5T3hOQo/GqROJRw13eo6rq227GdhW sJng== 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=pMu9p9Iq8f1IV2CRF/xlzLdSZANmk/MLZ5vM2JoHsag=; b=brj3HNKGiC3EmWYJkqAUIWdHO/wiRxbZly4SH1El2Qio/RE4T6ZXf1gUllQbrDvVbE 4CQi2cM3GXseI6dnCtRr3NoJj+b3YTydYGZyoevz0XGJrS/WZGQvda1/oK/u83lh28tw 6JQ66bXsfa1Ehg+LF5lHK7f196rVxae2M2y30XV35BbWWJhicXQIenngAIY0lOdk7AgS 5MiwARUAJ6zac3Hr4stGmKPZ20VqqqoOUcA8v5F+4srou8sVUJmx9EDkEFrwFcYf0xQL R2x/4RNE2D3+3j9kAmJV/5GiAtc8Y/xlNh9xUdSBipN8w9qFkSUN6zrRqRrNaJlPkXY0 GhKQ== 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 p2si44529116pgk.326.2019.04.15.14.30.44; Mon, 15 Apr 2019 14:31:00 -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 S1728122AbfDOVaC (ORCPT + 99 others); Mon, 15 Apr 2019 17:30:02 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:46932 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728054AbfDOV36 (ORCPT ); Mon, 15 Apr 2019 17:29:58 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: gportay) with ESMTPSA id 2C5F6281AC7 From: =?UTF-8?q?Ga=C3=ABl=20PORTAY?= To: MyungJoo Ham , Kyungmin Park , Chanwoo Choi , 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 , =?UTF-8?q?Ga=C3=ABl=20PORTAY?= Subject: [PATCH v4 4/5] arm64: dts: rk3399: Add dfi and dmc nodes. Date: Mon, 15 Apr 2019 17:29:47 -0400 Message-Id: <20190415212948.7736-5-gael.portay@collabora.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190415212948.7736-1-gael.portay@collabora.com> References: <20190415212948.7736-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 From: Lin Huang These are required to support DDR DVFS on rk3399 platform. Signed-off-by: Lin Huang Signed-off-by: Enric Balletbo i Serra Signed-off-by: Gaƫl PORTAY --- Changes in v4: - [PATCH v3 4/5] Remove board related DDR settings. Changes in v3: None Changes in v2: - [PATCH 7/8] Reword the commit message to reflect the removal of rk3390-dram-default-timing.dts in v1. Changes in v1: - [RFC 8/10] Move rk3399-dram.h to dt-includes. - [RFC 8/10] Put sdram default values under the dmc node. - [RFC 8/10] Removed rk3399-dram-default-timing.dts arch/arm64/boot/dts/rockchip/rk3399.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index db9d948c0b03..87ee084fac89 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -1885,6 +1885,25 @@ status = "disabled"; }; + dfi: dfi@ff630000 { + reg = <0x00 0xff630000 0x00 0x4000>; + compatible = "rockchip,rk3399-dfi"; + rockchip,pmu = <&pmugrf>; + interrupts = ; + clocks = <&cru PCLK_DDR_MON>; + clock-names = "pclk_ddr_mon"; + status = "disabled"; + }; + + dmc: dmc { + compatible = "rockchip,rk3399-dmc"; + rockchip,pmu = <&pmugrf>; + devfreq-events = <&dfi>; + clocks = <&cru SCLK_DDRC>; + clock-names = "dmc_clk"; + status = "disabled"; + }; + pinctrl: pinctrl { compatible = "rockchip,rk3399-pinctrl"; rockchip,grf = <&grf>; -- 2.21.0