From patchwork Wed Sep 4 09:24:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 172907 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp979714ily; Wed, 4 Sep 2019 02:24:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqzD6jnCwfyPEoGcgjqp88I8BlSZVOFDQKKB04wkUKcwJrI2T9Y+XHELN1kzlzhjNA8iLxGQ X-Received: by 2002:a63:5754:: with SMTP id h20mr33199956pgm.195.1567589094300; Wed, 04 Sep 2019 02:24:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567589094; cv=none; d=google.com; s=arc-20160816; b=ll2a1Qg+8b2oQDB+j+2M2P4CJjc44dExWRTRhzOcUoopb+WzBnDgf3LEP/7ddjoBei ZLsex4HTw+9JRJO8BmbR9h9b8LMSYeVdOWbc/QFU+vzyiRLj3lU3S49qS1zvi8T9zyx4 gnaITl002NP/PKO4tmYgzDRsCiHAWLgDL7a3oyIFcDEoCx2GqnLu/5yCdk/D681wJVha j2VBFCasSZTI3QaFWZpZIj0FXTkMR0luGlRqtElQv0pZP+kis3MWrjQWSfzF06hC3qCH AnpVAI4hzQ84/6SinHKYgr7O1dlnvk/Bv6WNO0KJllqLoA6tJtyR3hbu3Li14mvD0XDp ZM3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=icoXPCScds9GOxVXeBes5t/StJRmpirbL+4fD1OUcHc=; b=YFjloRHJ2xl8vvx366TfsvJ7PjJQX6JvACM2p9J6ZhGaN6uWo0PNkJ8EuFihiAV4nv QyTmP5W8eZaPh1NJ7MME6lE2FmRmrQj0gvPxUgszG1Mji9R3fn2W82SiQiSo/aUVs1Ll mlJn1W/CP+MlxnD/gq0ujJNFb06xff/ZkjmoPrD8Tqn01WZHsawzKF8F1XWewbWalAIB TPosuu6EititTzv4A+jFY7wLnSKTZlE47f96QUYQ8fuH0QBwqonJTtAzJaYrQRyenBGE 0LlIbX/KJr/1DX2/4SBGm7BwxKaq3kFhlG5dkILOTBD8830KhxwoTE+9gIBRVB4YKdPZ LRLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=IDZMM5zj; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h13si17228029plk.361.2019.09.04.02.24.54; Wed, 04 Sep 2019 02:24:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=IDZMM5zj; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729650AbfIDJYx (ORCPT + 3 others); Wed, 4 Sep 2019 05:24:53 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:48464 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729643AbfIDJYx (ORCPT ); Wed, 4 Sep 2019 05:24:53 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190904092451euoutp01c6d262c38313fc6137dd42453d9d546d~BMfkf7v4e1981319813euoutp010 for ; Wed, 4 Sep 2019 09:24:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190904092451euoutp01c6d262c38313fc6137dd42453d9d546d~BMfkf7v4e1981319813euoutp010 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1567589091; bh=icoXPCScds9GOxVXeBes5t/StJRmpirbL+4fD1OUcHc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IDZMM5zj2j+MmlJddogyg0z0DqICszOtzjnuJ6h3eUFhx85J5t7a38MOAy7wm95dt 41f66MrKBjE8G2g4gNNYFNAbeJpY9pcDUT3Y/BRXpDemacwE1YdUOBjmpDY9sWY1cw W4gEG7pF6a1hAyt6eKsTYmLuxTuKGUjnmZbmsdOk= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190904092450eucas1p18c8d539bcda924804cd591f3aff27c1c~BMfkEjKRN1405814058eucas1p1-; Wed, 4 Sep 2019 09:24:50 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 8C.31.04469.2E28F6D5; Wed, 4 Sep 2019 10:24:50 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190904092450eucas1p2d1d24bae0effe335a5068b39323e9475~BMfjYM_cK2897028970eucas1p25; Wed, 4 Sep 2019 09:24:50 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190904092449eusmtrp2adc59ab78340db36a1c141fe06f96663~BMfjKA1Ft2791027910eusmtrp2O; Wed, 4 Sep 2019 09:24:49 +0000 (GMT) X-AuditID: cbfec7f2-569ff70000001175-ec-5d6f82e22208 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 12.07.04166.1E28F6D5; Wed, 4 Sep 2019 10:24:49 +0100 (BST) Received: from AMDC2765.DIGITAL.local (unknown [106.120.51.73]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190904092449eusmtip16267bc26912514d261a5a43022596f96~BMfi0NTcH1532115321eusmtip1J; Wed, 4 Sep 2019 09:24:49 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Alim Akhtar Subject: [PATCH 1/3] arm64: dts: exynos: Move GPU under /soc node for Exynos5433 Date: Wed, 4 Sep 2019 11:24:40 +0200 Message-Id: <20190904092442.26260-2-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190904092442.26260-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrJIsWRmVeSWpSXmKPExsWy7djP87qPmvJjDXbfUrF4MG8bm8XGGetZ Lc6f38BuMeP8PiaLtUfusjuwemxa1cnm0bdlFaPH501yAcxRXDYpqTmZZalF+nYJXBmtF6ez F8yRqzgydRVLA+NHsS5GTg4JAROJR+8WM3cxcnEICaxglJj84DkrhPOFUeLKxOlQmc+MEt8+ LWaCadn0qo8JIrGcUWL1/OuMcC1Xb09gBqliEzCU6HrbxQZiiwioSnxuW8AOYjMLbGeUaLws CGILCwRJ9C/+wwpiswDVPNo8lwXE5hWwlfj3cRE7xDZ5idUbDoDN5BSwk9i/6x3YMgmBy2wS kw9egTrJReJhzxYoW1ji1fEtUM0yEv93zmeCaGhmlHh4bi07hNPDKHG5aQYjRJW1xOHjF4HO 4AA6T1Ni/S59iLCjxM21E9lBwhICfBI33gpCPMAnMWkbKFxAwrwSHW1CENVqErOOr4Nbe/DC JWYI20Oidf1aFkgATWSUOLVrM/sERvlZCMsWMDKuYhRPLS3OTU8tNsxLLdcrTswtLs1L10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sPi8knCJi4nFTpFMx2B59mKN2MP/qj6/Kzj6hk1jwqYU9ddblFiKMxINtZiLihMBnLCadF0C AAA= X-CMS-MailID: 20190904092450eucas1p2d1d24bae0effe335a5068b39323e9475 X-Msg-Generator: CA X-RootMTR: 20190904092450eucas1p2d1d24bae0effe335a5068b39323e9475 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190904092450eucas1p2d1d24bae0effe335a5068b39323e9475 References: <20190904092442.26260-1-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Mali GPU hardware module is a standard hardware module integrated to Exynos5433 SoCs, so it should reside under the "/soc" node. The only SoC components which are placed in the DT root, are those, which are a part of CPUs: like ARM architected timers and ARM performance measurement units. Fixes: f0a6208b90bd ("arm64: dts: exynos: Add GPU/Mali T760 node to Exynos5433") Signed-off-by: Marek Szyprowski --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 102 ++++++++++----------- 1 file changed, 51 insertions(+), 51 deletions(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index a76f620f7f35..239bf44d174b 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -249,57 +249,6 @@ }; }; - gpu: gpu@14ac0000 { - compatible = "samsung,exynos5433-mali", "arm,mali-t760"; - reg = <0x14ac0000 0x5000>; - interrupts = , - , - ; - interrupt-names = "job", "mmu", "gpu"; - clocks = <&cmu_g3d CLK_ACLK_G3D>; - clock-names = "core"; - power-domains = <&pd_g3d>; - operating-points-v2 = <&gpu_opp_table>; - status = "disabled"; - - gpu_opp_table: opp_table { - compatible = "operating-points-v2"; - - opp-160000000 { - opp-hz = /bits/ 64 <160000000>; - opp-microvolt = <1000000>; - }; - opp-267000000 { - opp-hz = /bits/ 64 <267000000>; - opp-microvolt = <1000000>; - }; - opp-350000000 { - opp-hz = /bits/ 64 <350000000>; - opp-microvolt = <1025000>; - }; - opp-420000000 { - opp-hz = /bits/ 64 <420000000>; - opp-microvolt = <1025000>; - }; - opp-500000000 { - opp-hz = /bits/ 64 <500000000>; - opp-microvolt = <1075000>; - }; - opp-550000000 { - opp-hz = /bits/ 64 <550000000>; - opp-microvolt = <1125000>; - }; - opp-600000000 { - opp-hz = /bits/ 64 <600000000>; - opp-microvolt = <1150000>; - }; - opp-700000000 { - opp-hz = /bits/ 64 <700000000>; - opp-microvolt = <1150000>; - }; - }; - }; - psci { compatible = "arm,psci"; method = "smc"; @@ -1125,6 +1074,57 @@ power-domains = <&pd_gscl>; }; + gpu: gpu@14ac0000 { + compatible = "samsung,exynos5433-mali", "arm,mali-t760"; + reg = <0x14ac0000 0x5000>; + interrupts = , + , + ; + interrupt-names = "job", "mmu", "gpu"; + clocks = <&cmu_g3d CLK_ACLK_G3D>; + clock-names = "core"; + power-domains = <&pd_g3d>; + operating-points-v2 = <&gpu_opp_table>; + status = "disabled"; + + gpu_opp_table: opp_table { + compatible = "operating-points-v2"; + + opp-160000000 { + opp-hz = /bits/ 64 <160000000>; + opp-microvolt = <1000000>; + }; + opp-267000000 { + opp-hz = /bits/ 64 <267000000>; + opp-microvolt = <1000000>; + }; + opp-350000000 { + opp-hz = /bits/ 64 <350000000>; + opp-microvolt = <1025000>; + }; + opp-420000000 { + opp-hz = /bits/ 64 <420000000>; + opp-microvolt = <1025000>; + }; + opp-500000000 { + opp-hz = /bits/ 64 <500000000>; + opp-microvolt = <1075000>; + }; + opp-550000000 { + opp-hz = /bits/ 64 <550000000>; + opp-microvolt = <1125000>; + }; + opp-600000000 { + opp-hz = /bits/ 64 <600000000>; + opp-microvolt = <1150000>; + }; + opp-700000000 { + opp-hz = /bits/ 64 <700000000>; + opp-microvolt = <1150000>; + }; + }; + }; + scaler_0: scaler@15000000 { compatible = "samsung,exynos5433-scaler"; reg = <0x15000000 0x1294>;