From patchwork Mon Dec 30 20:20:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Hentschel?= X-Patchwork-Id: 11313687 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 34017109A for ; Mon, 30 Dec 2019 20:21:23 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B149920722 for ; Mon, 30 Dec 2019 20:21:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Ha3WQNhE"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=dawncrow.de header.i=@dawncrow.de header.b="EwOLKt05" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B149920722 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=dawncrow.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=2HsZVV6MpJlXQSoYv5CVEV9vRJyO4KkiPyWz7pxyVDM=; b=Ha3WQNhEmNOQM6 riTZ8OUXcEz8qAOB8WWR5RDuY246d2I7/LNR+5BB+myd740XpZfXF6MgUVvSpyV3iB7f5v59pr53l xGALqCVOhc2VtKbMzIZXymMKYQOfHmdpwDZkW9BNVmm6tF/mnjv5z6pG9gPxToNKrxQkDyHcMuwuk r9JQaSRv99G/YpONYUxUdZRdSR6EcisRtys5hladUFLuSNGB7JHJ6eHuwH7gw1TJcl5y5G70/Q1Ba +YOql7idWeICodteq2XqwkyytthkdjA8iKHO58wXohUx8pzE+kHQP/u7JxFcQv42NShCpJ62YM/uY copIILFgGRyLed5imdNQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1im1XV-0000Yj-7u; Mon, 30 Dec 2019 20:21:21 +0000 Received: from mo6-p01-ob.smtp.rzone.de ([2a01:238:20a:202:5301::7]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1im1XR-0000X1-Ix for linux-arm-kernel@lists.infradead.org; Mon, 30 Dec 2019 20:21:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1577737267; 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=EwOLKt057yN9U0tw1YEg9bGd1D8gvH4Si5KPCQ4AWjmOiaaI6WxHR6voXoaxmS++W7 CVxyEm/nFQEAtt5GW5qt5up28/SPQuzzuY0uCkYgF20hZylLcBc9SxokO6J4RqzsYZjK /cRzi63kHEXRxm7TbG5KZfPQAUXQKXej4iJ16lGuods1+FYC8aXLS9Ow+BurH7kRpGjd tca5vfYpa8F3ZEWxVMT6tZACoy2WPPuqqaYnSljYTHfWoAUmAhM4B3/Be4QVfybvpqsQ 2VFv8pgLdj8zQDfYnSE+WDQBtCzrtonNXQLchSoobce0glOYuVZwNHhwJHIVtEm9w9+o h9EA== 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_Hentschel?= 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191230_122118_227765_F35319BF X-CRM114-Status: GOOD ( 13.88 ) X-Spam-Score: -0.9 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [2a01:238:20a:202:5301:0:0:7 listed in] [list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 SPF_NONE SPF: sender does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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 {