Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4532072ybi; Sat, 6 Jul 2019 07:09:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqzs24DdRMyfyfFGhsT1o3hEoIsr8C/NOv9f5POTKdzL1+DLVflAmfZcJ7dZDlG3WPgXxdJS X-Received: by 2002:a63:1a03:: with SMTP id a3mr10633867pga.397.1562422152993; Sat, 06 Jul 2019 07:09:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562422152; cv=none; d=google.com; s=arc-20160816; b=HyjDykvtZV55FnsXicBm80H4vyxJUtu393gARdI7fjuzXyd7ATO9zzGapJgPPdvgmE pC5xVIOkek2r6elSt+oUsAVgqbz4JHcqugzP2pDGbM2d8XdUqUg8tobFP3OJgZrwQ26/ VhVtTmVFJXcoAKxwpcO/sRehYF5Ox02Vk5tWXU5H9nl+vWO19pKuw5Lzxg20iOGfViAM 5J9t+GiHB+o8StPWusP6+7tXHYPxzXCDUP2XpHnM/hkTUa9zY/NQsJGfQcPuRsuXB2FV +1gGKv7R77b8k8c77bX+U0ioZxfbqafI0RceAjY8/V3ppYUrqI4uNxwMIH03F+c1mV9D mYbA== 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=Nrxq+lnybE6ho5afGNKAw9ZzJ4JzWMphPJUl+9vYfdc=; b=dy5DfTmV29jqqdyGMcO36fBfy4Co9ut3GJ+HCM/vKN5DuWMrsQMx+Mxbart3l+LJtI 3qKqXzhnl5IX7BWWMD+HQQtc7kBx4EAVetsjxaZDyzYWC8BIXYd7DxnZWn3XY47N4n/5 oMjxkxmR/rDWP7DZQjO7PvGZyIEEL2LEXm8R0BJw+YNkynZJ/dHv0/DWSTM+A6kD4vNn C1Uz8SW2HtoLFM2jh8oFi5uF2vn+eEQxWbBGEpel7GbbdpI5PDVlhuYgpLalMz+WAKgm idT8oFRKRKDi70dtAfzkKSvdRv0i33Z90mrRKljpRpl/D+2HX2RfQ8WPr5p1oAeOg8hC EgDQ== 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 e1si10503039pjr.28.2019.07.06.07.08.57; Sat, 06 Jul 2019 07:09:12 -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 S1727352AbfGFOHp (ORCPT + 99 others); Sat, 6 Jul 2019 10:07:45 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:60237 "EHLO relay6-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727119AbfGFOHM (ORCPT ); Sat, 6 Jul 2019 10:07:12 -0400 X-Originating-IP: 2.224.242.101 Received: from uno.localdomain (2-224-242-101.ip172.fastwebnet.it [2.224.242.101]) (Authenticated sender: jacopo@jmondi.org) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id A3159C0004; Sat, 6 Jul 2019 14:07:09 +0000 (UTC) From: Jacopo Mondi To: laurent.pinchart@ideasonboard.com, kieran.bingham+renesas@ideasonboard.com, airlied@linux.ie, daniel@ffwll.ch Cc: Jacopo Mondi , koji.matsuoka.xm@renesas.com, muroya@ksk.co.jp, VenkataRajesh.Kalakodima@in.bosch.com, Harsha.ManjulaMallikarjun@in.bosch.com, linux-renesas-soc@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 12/19] arm64: dts: renesas: r8a77990: Add CMM units Date: Sat, 6 Jul 2019 16:07:39 +0200 Message-Id: <20190706140746.29132-13-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190706140746.29132-1-jacopo+renesas@jmondi.org> References: <20190706140746.29132-1-jacopo+renesas@jmondi.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add CMM units to Renesas R-Car E3 device tree and reference them from the Display Unit they are connected to. While at it, re-sort the du device node properties to match the ordering found in other SoCs. Reviewed-by: Laurent Pinchart Signed-off-by: Jacopo Mondi --- arch/arm64/boot/dts/renesas/r8a77990.dtsi | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/renesas/r8a77990.dtsi b/arch/arm64/boot/dts/renesas/r8a77990.dtsi index 79db5441b7e7..6743d1bd2470 100644 --- a/arch/arm64/boot/dts/renesas/r8a77990.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77990.dtsi @@ -1725,6 +1725,22 @@ iommus = <&ipmmu_vi0 9>; }; + cmm0: cmm@fea40000 { + compatible = "renesas,rcar-gen3-cmm"; + reg = <0 0xfea40000 0 0x1000>; + clocks = <&cpg CPG_MOD 711>; + power-domains = <&sysc R8A77990_PD_ALWAYS_ON>; + resets = <&cpg 711>; + }; + + cmm1: cmm@fea50000 { + compatible = "renesas,rcar-gen3-cmm"; + reg = <0 0xfea50000 0 0x1000>; + clocks = <&cpg CPG_MOD 710>; + power-domains = <&sysc R8A77990_PD_ALWAYS_ON>; + resets = <&cpg 710>; + }; + csi40: csi2@feaa0000 { compatible = "renesas,r8a77990-csi2"; reg = <0 0xfeaa0000 0 0x10000>; @@ -1764,9 +1780,11 @@ clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>; clock-names = "du.0", "du.1"; - vsps = <&vspd0 0>, <&vspd1 0>; status = "disabled"; + vsps = <&vspd0 0>, <&vspd1 0>; + cmms = <&cmm0 &cmm1>; + ports { #address-cells = <1>; #size-cells = <0>; -- 2.21.0