Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp14557647ybl; Mon, 30 Dec 2019 12:23:36 -0800 (PST) X-Google-Smtp-Source: APXvYqxzNjONCUgiINBuE9hL+vyNbm5afprc97IkBznFjDgZUI6MSE9tGRb03XBGbBK5GtZdfiTO X-Received: by 2002:a05:6830:20d3:: with SMTP id z19mr71535005otq.330.1577737416432; Mon, 30 Dec 2019 12:23:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577737416; cv=none; d=google.com; s=arc-20160816; b=yFOQxNeREojepuTON1Dw7nhkpNG0bJHoq4wO/nGz5fE2+2RaLpY+YceK/tSSCoEZxF 5YesrqKX/maW7KIcgcvvYQ+nbm/iRhv1Kd5fqpbCcB/xli3riEb8pi0Ct/ptbJ1uF9UJ memlRD0VA1887pRHakLYS+85pV8O+vmBfhm0IidtbMiE8ytahkoDD67jmM5ir+8ouVi+ XNqvA4Zc4IsUMqRQL87QevxGdabdIiw6CVcwmlRhjLXsj+djoOClPnfBCyOqw4MmkyPn i6lJ78fedb2hrJSj/SwlTgbndgH6kd9PtWkG9lJZ9IiHu2bO5b+kW9i7iSvBUtlbD+xH +wqQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=1fEvtm3yODCntar2DrEwrxk34L4DYJSOx40B0uTFp9g=; b=0fLyiB5A4fvddPsB/dZQmwJAuCqs2xCoca6fd3kBD7dqNh2hHm3ERwO/UTIdVv+YGz 7VQwchKxQXjar74Acj+qKiFCDiC2OzlUo/xgtGh4DciXwF9jVG28+tkpH5VRzXDpZeff WuMfsieV2ZeFFeyAK65Afw+wRnhyrLU6ay7EKOUo66iur9uatX9UtzjymKg/soDIvn/Q sAlhBgqEkwPO1P0xAJl6xLpdkdDqNMVtecygE+DV2aUdUE5JTpt9ZNvJnYEjo4Vh/uVx 1s3tiKhduLzOfGsQFlzOEodObqKHcUZxfFdkgm5XG1ikK27R6XscQU7IPU57VJbgX5gl X/hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@dawncrow.de header.s=strato-dkim-0002 header.b=niHpVfg0; 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 h24si17626991oie.151.2019.12.30.12.23.23; Mon, 30 Dec 2019 12:23:36 -0800 (PST) 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=fail header.i=@dawncrow.de header.s=strato-dkim-0002 header.b=niHpVfg0; 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 S1727749AbfL3UVY (ORCPT + 99 others); Mon, 30 Dec 2019 15:21:24 -0500 Received: from mo4-p01-ob.smtp.rzone.de ([81.169.146.164]:26535 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727691AbfL3UVY (ORCPT ); Mon, 30 Dec 2019 15:21:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1577737279; s=strato-dkim-0002; d=dawncrow.de; h=Message-Id:Date:Subject:Cc:To:From:X-RZG-CLASS-ID:X-RZG-AUTH:From: Subject:Sender; bh=1fEvtm3yODCntar2DrEwrxk34L4DYJSOx40B0uTFp9g=; b=niHpVfg0Pbdz3Ykxi5IS2wDFZ08LhM/foyiFmyGXRBq+UdluPJiMLl25+/ygbj0urC JGUIwt04iLlfX3SNyY7zloat2KUI8zg2/d6ws73GEVRUsLj5zPRpAjnT5S9ULjMb/Mm5 +rnUtzs+B8n7Gdp8MGCDh/uvpIcNoz4GRVAVZHUz5Xh8RdTJoArhnTWgX/n9t3FSQYmX xD7ymFstRb92V1vVX466mQUmjnAryR8DIBkx7a327ely54nlVnCd4Cy3j57wKyksTCqL oWCdO028L2AbAdTOL2D38dm/rhfpOFcBvEylHhHfgHx7bpTxkf0dZZs69TT7p0qqTlBm t/AA== X-RZG-AUTH: ":ImkWY2CseuihIZy6ZWWciR6unPhpN+aXzZGGjY6ptdusOaLnXzn3ovD+FrFdXyk=" X-RZG-CLASS-ID: mo00 Received: from tesla.fritz.box by smtp.strato.de (RZmta 46.1.3 DYNA|AUTH) with ESMTPSA id I099d1vBUKL4G7z (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Mon, 30 Dec 2019 21:21:04 +0100 (CET) From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= To: linux@arm.linux.org.uk, robh+dt@kernel.org, mark.rutland@arm.com, bcousson@baylibre.com, tony@atomide.com, linux-omap@vger.kernel.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] ARM: dts: Move interconnect target module for omap3 sgx to separate dtsi files Date: Mon, 30 Dec 2019 21:20:36 +0100 Message-Id: <20191230202037.28836-1-nerv@dawncrow.de> X-Mailer: git-send-email 2.17.1 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 Only dm3730 and am3715 come with SGX support Signed-off-by: André Hentschel --- I changed some dtsi files where I could be sure it's dm3730 arch/arm/boot/dts/am3715.dtsi | 38 ++++++++++++++++++++++++ arch/arm/boot/dts/dm3730.dtsi | 6 ++++ arch/arm/boot/dts/omap3-gta04.dtsi | 2 +- arch/arm/boot/dts/omap3-lilly-a83x.dtsi | 2 +- arch/arm/boot/dts/omap3-pandora-1ghz.dts | 2 +- arch/arm/boot/dts/omap36xx.dtsi | 28 ----------------- 6 files changed, 47 insertions(+), 31 deletions(-) create mode 100644 arch/arm/boot/dts/am3715.dtsi create mode 100644 arch/arm/boot/dts/dm3730.dtsi diff --git a/arch/arm/boot/dts/am3715.dtsi b/arch/arm/boot/dts/am3715.dtsi new file mode 100644 index 000000000000..f53d1f24dc53 --- /dev/null +++ b/arch/arm/boot/dts/am3715.dtsi @@ -0,0 +1,38 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2019 André Hentschel + */ + +#include "omap36xx.dtsi" + +/ { + ocp@68000000 { + /* + * Note that the sysconfig register layout is a subset of the + * "ti,sysc-omap4" type register with just sidle and midle bits + * available while omap34xx has "ti,sysc-omap2" type sysconfig. + */ + sgx_module: target-module@50000000 { + compatible = "ti,sysc-omap4", "ti,sysc"; + reg = <0x5000fe00 0x4>, + <0x5000fe10 0x4>; + reg-names = "rev", "sysc"; + ti,sysc-midle = , + , + ; + ti,sysc-sidle = , + , + ; + clocks = <&sgx_fck>, <&sgx_ick>; + clock-names = "fck", "ick"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0x50000000 0x2000000>; + + /* + * Closed source PowerVR driver, no child device + * binding or driver in mainline + */ + }; + }; +}; diff --git a/arch/arm/boot/dts/dm3730.dtsi b/arch/arm/boot/dts/dm3730.dtsi new file mode 100644 index 000000000000..8d278499965b --- /dev/null +++ b/arch/arm/boot/dts/dm3730.dtsi @@ -0,0 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2019 André Hentschel + */ + +#include "am3715.dtsi" diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index b6ef1a7ac8a4..564bce9164f9 100644 --- a/arch/arm/boot/dts/omap3-gta04.dtsi +++ b/arch/arm/boot/dts/omap3-gta04.dtsi @@ -6,7 +6,7 @@ */ /dts-v1/; -#include "omap36xx.dtsi" +#include "dm3730.dtsi" #include / { diff --git a/arch/arm/boot/dts/omap3-lilly-a83x.dtsi b/arch/arm/boot/dts/omap3-lilly-a83x.dtsi index c22833d4e568..1086cde24ba5 100644 --- a/arch/arm/boot/dts/omap3-lilly-a83x.dtsi +++ b/arch/arm/boot/dts/omap3-lilly-a83x.dtsi @@ -3,7 +3,7 @@ * Copyright (C) 2014 Christoph Fritz */ -#include "omap36xx.dtsi" +#include "dm3730.dtsi" / { model = "INCOstartec LILLY-A83X module (DM3730)"; diff --git a/arch/arm/boot/dts/omap3-pandora-1ghz.dts b/arch/arm/boot/dts/omap3-pandora-1ghz.dts index 81b957f33c9f..da71dd68a84a 100644 --- a/arch/arm/boot/dts/omap3-pandora-1ghz.dts +++ b/arch/arm/boot/dts/omap3-pandora-1ghz.dts @@ -10,7 +10,7 @@ /dts-v1/; -#include "omap36xx.dtsi" +#include "dm3730.dtsi" #include "omap3-pandora-common.dtsi" / { diff --git a/arch/arm/boot/dts/omap36xx.dtsi b/arch/arm/boot/dts/omap36xx.dtsi index 1e552f08f120..6fb23ada1f64 100644 --- a/arch/arm/boot/dts/omap36xx.dtsi +++ b/arch/arm/boot/dts/omap36xx.dtsi @@ -139,34 +139,6 @@ interrupts = <18>; }; }; - - /* - * Note that the sysconfig register layout is a subset of the - * "ti,sysc-omap4" type register with just sidle and midle bits - * available while omap34xx has "ti,sysc-omap2" type sysconfig. - */ - sgx_module: target-module@50000000 { - compatible = "ti,sysc-omap4", "ti,sysc"; - reg = <0x5000fe00 0x4>, - <0x5000fe10 0x4>; - reg-names = "rev", "sysc"; - ti,sysc-midle = , - , - ; - ti,sysc-sidle = , - , - ; - clocks = <&sgx_fck>, <&sgx_ick>; - clock-names = "fck", "ick"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x50000000 0x2000000>; - - /* - * Closed source PowerVR driver, no child device - * binding or driver in mainline - */ - }; }; thermal_zones: thermal-zones { -- 2.17.1