From patchwork Mon Nov 4 01:39:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 178383 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp851552ilf; Sun, 3 Nov 2019 17:40:44 -0800 (PST) X-Google-Smtp-Source: APXvYqxE+0lO+C3ARgYDO5WWd8QKpLPMZCtZq32dpY+NdxyOJ/NTUd74soWcy1sL6ww8e65WTdeE X-Received: by 2002:aa7:c1d4:: with SMTP id d20mr27061967edp.47.1572831643974; Sun, 03 Nov 2019 17:40:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572831643; cv=none; d=google.com; s=arc-20160816; b=qlGn6TRiPwWr2Gg9wTRBs+gAlUau8O/CyLmF/Di2Oq1kN7ESsoevzyxX6rHFutqtyX 9VxgYJ9htO7fefGs4hToF1DJMqxFsmiBcOEdgCemhGzfCVWPgyGbOUiN7HGwNZo+7PMJ bfkw1AWa1HXI8BgBlPp81ZXzetYE1m2AN4Cb/KSBmVuvCWn86P8srr7vso0jQmGAdI3D Ktq/kEW5ryN9OByblUOpkQcdZV93NAYEWxg2A4yu66IyV08EpLcPa7GZEiyqImi9whAe G/KlQYqIg0qVBtKCYj9f/HMBd6kHjtyBTq/TXnwnm7H4GKFnGKl5GLp5skWBkfnarNdJ lqjA== 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=9EFVlR2K8irAQcKZNpvVpCWAayjVNPm81snP0Ql3hNY=; b=Qm/jr+4GPJn8XbRjuxUWuzYwXtVW3DgJOFPOcZchiqJVTT2USEwqTF24L8Ouof/TGC +o1z6nB08pLHVbbcKJvH08w0ICUEzgFuewwtMZ/Cv+Dpol/dMRMpngvFrVLs0KlNyS+Y PVfLUgrKxYaTAtjM5rjm1Jhw70vTPrI7DIPj/frOw2UDBV09nLbX/E1FmJKkI2QcOJAK OOFYh9A7qAK9+vtItLBlA5ILfoolntJ9YggvFvIe6WJo3q16v0B/hsz1hS7wKRLhkXcP OofFB1KEPVkAZ5AsIWEahwTa0SP2r1XHeE6RTRx3uZrub9Jwc4c3vlF98g2v+VoonVF4 5SLA== 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 95si5884041edq.244.2019.11.03.17.40.43; Sun, 03 Nov 2019 17:40:43 -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; 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 S1728935AbfKDBkm (ORCPT + 26 others); Sun, 3 Nov 2019 20:40:42 -0500 Received: from mx2.suse.de ([195.135.220.15]:55790 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728443AbfKDBk3 (ORCPT ); Sun, 3 Nov 2019 20:40:29 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 12DE7B22B; Mon, 4 Nov 2019 01:40:27 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: linux-realtek-soc@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?q?Andreas_F=C3=A4rber?= , Rob Herring , David Airlie , Daniel Vetter , Mark Rutland , Heiko Stuebner , Neil Armstrong , Maxime Ripard , Guillaume Gardet , Krzysztof Kozlowski , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH 1/7] dt-bindings: gpu: mali-midgard: Tidy up conversion to YAML Date: Mon, 4 Nov 2019 02:39:26 +0100 Message-Id: <20191104013932.22505-2-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191104013932.22505-1-afaerber@suse.de> References: <20191104013932.22505-1-afaerber@suse.de> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Instead of grouping alphabetically by third-party vendor, leading to one-element enums, sort by Mali model number, as done for Utgard. This already allows us to de-duplicate two "arm,mali-t760" sections and will make it easier to add new vendor compatibles. Fixes: 553cedf60056 ("dt-bindings: Convert Arm Mali Midgard GPU to DT schema") Fixes: 1be5b54d26ae ("dt-bindings: gpu: mali-midgard: Add samsung exynos5250 compatible") Cc: Rob Herring Signed-off-by: Andreas Färber --- .../devicetree/bindings/gpu/arm,mali-midgard.yaml | 32 ++++++++++------------ 1 file changed, 14 insertions(+), 18 deletions(-) -- 2.16.4 diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml index 8e00a21b36f5..ffdb24c4ab6a 100644 --- a/Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml +++ b/Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml @@ -16,36 +16,32 @@ properties: oneOf: - items: - enum: - - allwinner,sun50i-h6-mali - - const: arm,mali-t720 - - items: - - enum: - - amlogic,meson-gxm-mali - - const: arm,mali-t820 + - samsung,exynos5250-mali + - const: arm,mali-t604 - items: - enum: - arm,juno-mali - const: arm,mali-t624 + # "arm,mali-t628" - items: - enum: - - rockchip,rk3288-mali - - const: arm,mali-t760 + - allwinner,sun50i-h6-mali + - const: arm,mali-t720 - items: - enum: - - rockchip,rk3399-mali - - const: arm,mali-t860 + - rockchip,rk3288-mali + - samsung,exynos5433-mali + - const: arm,mali-t760 - items: - enum: - - samsung,exynos5250-mali - - const: arm,mali-t604 + - amlogic,meson-gxm-mali + - const: arm,mali-t820 + # "arm,mali-t830" - items: - enum: - - samsung,exynos5433-mali - - const: arm,mali-t760 - - # "arm,mali-t628" - # "arm,mali-t830" - # "arm,mali-t880" + - rockchip,rk3399-mali + - const: arm,mali-t860 + # "arm,mali-t880" reg: maxItems: 1 From patchwork Mon Nov 4 01:39:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 178385 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp851680ilf; Sun, 3 Nov 2019 17:40:53 -0800 (PST) X-Google-Smtp-Source: APXvYqya468u448kaBXGq5Strho6Ubyb6gzuKa1EwQDka6284KKhnaROQ/T9S2p5CZOWJ6M9wkDA X-Received: by 2002:a05:6402:1692:: with SMTP id a18mr16098549edv.297.1572831653432; Sun, 03 Nov 2019 17:40:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572831653; cv=none; d=google.com; s=arc-20160816; b=oYsYyoS/NmyCzf9/DhmLdF3Q4dnHZV4x7JeVfm+ye+IP2aZY1SrtHjdTbUje1evgYC WU6LeiSba0I57bSg+X0ebj0/JdqFxMs8iaj3AK4TTOh5BCcMcPaUycHKO4rgrjPHOmsL mlcp/+Ldf5w6Cjwp1GpxuajQ3GJMwCluM0r7Q5amR1rQ843thgPoXknetaZsRAXWeL9J VgflxyTuN6nRO/xLsP0oVjsHd9xnc8cT3sTgWVKsV0yqhLW9uJE7p8DV3CNUwDunDlSJ OD9fEdluixeE/vzgePFjTUZJd2gEm36KuFDBNIUsDmWzWzcStzjMvYE9af+eGmJnbco4 SUDA== 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=P7Yq76C123jI8ar4vtOF+sXYYMMWQZijR0PTMVGT1YE=; b=k3PKR/0AT/0CQ62Hh7SJYSPABpBK9l/VqqXvTbZuvlvbF6oQyElIWSidRvvVrqNrbi o1tJ/WwoW6sVaOf4XjdVczNV9EUqFkmaWC0oCmQTiMfNnmK1c3IUrEntaeABZrcn6x+F FP7SOnY4uZ7W5SyHamxfXjUTBSqCmWRUaGfoth1Wj2LJBZMRwlpZBcEW4KIpPWZLTdpO 8fDL2D7eGepntNZcMp5hwB+oEZY0nhF88ZZguSEC8vrnVt0jzCfrIarrR6BjkSr41wCz hVVm+bo2Lmks3/LY+T/Wkg3KD4NsooQJrX6FEw/wgRjKhxFiIuQDWbbLYHSyoJcjLOo1 VGMA== 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 z58si6337995edz.141.2019.11.03.17.40.53; Sun, 03 Nov 2019 17:40:53 -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; 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 S1728970AbfKDBkv (ORCPT + 26 others); Sun, 3 Nov 2019 20:40:51 -0500 Received: from mx2.suse.de ([195.135.220.15]:55748 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728391AbfKDBk2 (ORCPT ); Sun, 3 Nov 2019 20:40:28 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id B8442B1B8; Mon, 4 Nov 2019 01:40:26 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: linux-realtek-soc@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?q?Andreas_F=C3=A4rber?= , David Airlie , Daniel Vetter , Rob Herring , Mark Rutland , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH 2/7] dt-bindings: gpu: mali-midgard: Add Realtek RTD1295 Date: Mon, 4 Nov 2019 02:39:27 +0100 Message-Id: <20191104013932.22505-3-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191104013932.22505-1-afaerber@suse.de> References: <20191104013932.22505-1-afaerber@suse.de> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Define a compatible string for Realtek RTD1295 SoC family. Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml | 1 + 1 file changed, 1 insertion(+) -- 2.16.4 diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml index ffdb24c4ab6a..f7e84d175dd2 100644 --- a/Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml +++ b/Documentation/devicetree/bindings/gpu/arm,mali-midgard.yaml @@ -35,6 +35,7 @@ properties: - items: - enum: - amlogic,meson-gxm-mali + - realtek,rtd1295-mali - const: arm,mali-t820 # "arm,mali-t830" - items: From patchwork Mon Nov 4 01:39:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 178379 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp851424ilf; Sun, 3 Nov 2019 17:40:34 -0800 (PST) X-Google-Smtp-Source: APXvYqwbao5nagDPRLurYD10XWe3XozgHzrokFuHOl72Luiwh3njI7VFxvH9Zsczi5kPOzF21UvK X-Received: by 2002:a17:906:b289:: with SMTP id q9mr13566891ejz.183.1572831633702; Sun, 03 Nov 2019 17:40:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572831633; cv=none; d=google.com; s=arc-20160816; b=v846JH+/1vdX5usadWnSm6w++SSa+pA/p5U078TJr8aXYamzxrQHhB1tZk6cVB3+cj G8PjPJ6uZQnA7H2fWxc2ksj1XJJ+49tuj/+fXMle6li2vVJCU1rakmOSwMFfCa2TM8gS b1QJAgTwSRcJ5L+bn6K2w4oXW01to8Hv5injw11LGIWVgq/n1eSYAhNVYaKCPCEn3uJF GPVXq7grmueT96dmVLF4a9wh8rG5EitbRsz2dDEoK4XH+onCO4EWbtTc1DyEtLdWKHJ+ eg0NXJDkbPUn9+PDCJitTeaNcDVmEhOGNt8dyyDHy6HR2QwiOUEgzt6sgAJMJ/Q+AV3x CODQ== 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=g2FDq2tN6FNA/K9W/v2aEq55MFXKZaRosFC7TC6Opbo=; b=K3mRGrHb1yy2wbTMtDsygOsy5vic3GRKowLrJQJn3sqCL4UbW0i825ZOBIRPgKufex YLtpZolQiKyGjTJCZuV/8i4E13n2g02jWeL22/gn0tuEjYvF9XpadyjLVZ4oJXUipIiL 6o9i9N/dhoiuBxXr7Wo0Q5I0cBw2hNbftD3EVkyWYNfAHPsPrJRumgBg8v2boJviAucH DKNOlo828QGcdO2tZ88YicF4E3EEoY4NsZGgiZ/ufwSi3zvI+fvcsFMvMocNUl20nxp7 k+rxQEyLCUGoQ34kcS9KDfLoc0QBm1mgsbsa0o/k5oYwOQH7J/QaVlfsZqk7LRWHnueJ +f3w== 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 pw16si1127765ejb.119.2019.11.03.17.40.33; Sun, 03 Nov 2019 17:40:33 -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; 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 S1728818AbfKDBk3 (ORCPT + 26 others); Sun, 3 Nov 2019 20:40:29 -0500 Received: from mx2.suse.de ([195.135.220.15]:55726 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728352AbfKDBk2 (ORCPT ); Sun, 3 Nov 2019 20:40:28 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 81A9CB1AC; Mon, 4 Nov 2019 01:40:26 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: linux-realtek-soc@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?q?Andreas_F=C3=A4rber?= , Rob Herring , Mark Rutland , devicetree@vger.kernel.org Subject: [RFC 3/7] arm64: dts: realtek: rtd1295: Add Mali node Date: Mon, 4 Nov 2019 02:39:28 +0100 Message-Id: <20191104013932.22505-4-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191104013932.22505-1-afaerber@suse.de> References: <20191104013932.22505-1-afaerber@suse.de> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Andreas Färber --- arch/arm64/boot/dts/realtek/rtd1295.dtsi | 85 ++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) -- 2.16.4 diff --git a/arch/arm64/boot/dts/realtek/rtd1295.dtsi b/arch/arm64/boot/dts/realtek/rtd1295.dtsi index 93f0e1d97721..61aa4f47c70b 100644 --- a/arch/arm64/boot/dts/realtek/rtd1295.dtsi +++ b/arch/arm64/boot/dts/realtek/rtd1295.dtsi @@ -69,6 +69,91 @@ ; }; + + mali_opp_table: gpu-opp-table { + compatible = "operating-points-v2"; + + opp@620000000 { + opp-hz = /bits/ 64 <620000000>; + opp-microvolt = <1100000>; + }; + + opp@600000000 { + opp-hz = /bits/ 64 <600000000>; + opp-microvolt = <1100000>; + }; + + opp@580000000 { + opp-hz = /bits/ 64 <580000000>; + opp-microvolt = <1075000>; + }; + + opp@560000000 { + opp-hz = /bits/ 64 <560000000>; + opp-microvolt = <1075000>; + }; + + opp@540000000 { + opp-hz = /bits/ 64 <540000000>; + opp-microvolt = <1050000>; + }; + + opp@520000000 { + opp-hz = /bits/ 64 <520000000>; + opp-microvolt = <1025000>; + }; + + opp@500000000 { + opp-hz = /bits/ 64 <500000000>; + opp-microvolt = <1000000>; + }; + + opp@460000000 { + opp-hz = /bits/ 64 <460000000>; + opp-microvolt = <1000000>; + }; + + opp@440000000 { + opp-hz = /bits/ 64 <440000000>; + opp-microvolt = <1000000>; + }; + + opp@400000000 { + opp-hz = /bits/ 64 <400000000>; + opp-microvolt = <1000000>; + }; + + opp@380000000 { + opp-hz = /bits/ 64 <380000000>; + opp-microvolt = <975000>; + }; + + opp@340000000 { + opp-hz = /bits/ 64 <340000000>; + opp-microvolt = <975000>; + }; + + opp@300000000 { + opp-hz = /bits/ 64 <300000000>; + opp-microvolt = <900000>; + }; + }; + + soc { + mali: gpu@98050000 { + compatible = "realtek,rtd1295-mali", "arm,mali-t820"; + reg = <0x98050000 0x10000>; + clocks = <&clkc RTD1295_CLK_EN_GPU>; + clock-names = "core"; + resets = <&reset1 RTD1295_RSTN_GPU>; + interrupts = , + , + ; + interrupt-names = "job", "mmu", "gpu"; + operating-points-v2 = <&mali_opp_table>; + #cooling-cells = <2>; + }; + }; }; &arm_pmu { From patchwork Mon Nov 4 01:39:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 178384 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp851674ilf; Sun, 3 Nov 2019 17:40:53 -0800 (PST) X-Google-Smtp-Source: APXvYqwOh1G25i+vIz19J0owi4bwOI7PxrpjoSYosdAJNtRT0Pyd2v3LiufxwGoZSqYymD4Yp66h X-Received: by 2002:a17:907:426e:: with SMTP id nx22mr13895306ejb.139.1572831653024; Sun, 03 Nov 2019 17:40:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572831653; cv=none; d=google.com; s=arc-20160816; b=oP/gU0Ns3cBG4LntGQx6rMTf+JcM9RVSuAeODSYmohIKbm+1KSI9CWjUnTJ1HL6x8A NEW0XgJWcvP+geHH6n8UbevGaN478gb7zJYpkoNFaZa5SrARVIOnI9yD1btTAPM/uUw/ /40XkuBEtQoe/Z7CX1FSVU4OPoA0xXY/yMTydwiVGsMXdM+vVHJA1R8oK4LclaLyzfPn MFQ66/1oiGF18rDGw+tu0FiYGtTbY8AmbKjiyBVf8uHpeC1IZvYqHgVkRlAFvvRVUZqB KMJNxTf40BUpMibYH5kWmEJKHoz75+nzhtjFZb6mZwnAw1/0FeG5UijgD/+0x6iFS8f2 7/MQ== 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=6jrx0I0b4hG9tAc71gUPER5syXxlkoo9ac4fhe+NGOI=; b=taGcrkb5lyS4O9qKRdiGGlomitrHDPRFCtUrsAUcrhkNq9QEUhDqUjrNCwMUaPLmSQ cSecF2e20O/WErCA9rLdqCEcdXnRUbIYy4WVVSirll+Rvpl8zrcRHSJVez1cU+9gFxdm sz2nVbjk1a/2Lbyn7EHz0/E/DtL3aqOHn5K5Wauj3W3NVHbDXdNLHl/tHrthv+l4jZBk 3TluEec84UGhzsuQjHYV7Ri1HA5RSYvha5hP3ImQGcpZzSXTQfQibsGf8RlybOEtcyR6 YhXYxEO9X2dMMxaE92dJ4QsGpwJUtGI+MCUvpYwR4VOrJU+OLay2x5zHQvngyVB270nN ahqA== 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 z58si6337995edz.141.2019.11.03.17.40.52; Sun, 03 Nov 2019 17:40:53 -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; 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 S1728951AbfKDBks (ORCPT + 26 others); Sun, 3 Nov 2019 20:40:48 -0500 Received: from mx2.suse.de ([195.135.220.15]:55756 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728432AbfKDBk2 (ORCPT ); Sun, 3 Nov 2019 20:40:28 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id E6856B228; Mon, 4 Nov 2019 01:40:26 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: linux-realtek-soc@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?q?Andreas_F=C3=A4rber?= , David Airlie , Daniel Vetter , Rob Herring , Mark Rutland , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [RFC 4/7] dt-bindings: gpu: mali-utgard: Add Realtek RTD1195 Date: Mon, 4 Nov 2019 02:39:29 +0100 Message-Id: <20191104013932.22505-5-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191104013932.22505-1-afaerber@suse.de> References: <20191104013932.22505-1-afaerber@suse.de> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Define a compatible string for Realtek RTD1195 SoC family. Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml | 1 + 1 file changed, 1 insertion(+) -- 2.16.4 diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml index afde81be3c29..b01b95cf5cdf 100644 --- a/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml +++ b/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml @@ -26,6 +26,7 @@ properties: - allwinner,sun7i-a20-mali - allwinner,sun8i-h3-mali - allwinner,sun50i-a64-mali + - realtek,rtd1195-mali - rockchip,rk3036-mali - rockchip,rk3066-mali - rockchip,rk3188-mali From patchwork Mon Nov 4 01:39:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 178380 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp851436ilf; Sun, 3 Nov 2019 17:40:34 -0800 (PST) X-Google-Smtp-Source: APXvYqwcFIfxVgFjFaRw2FZA5XKXEnhXuLNXksQyvJdfeeSARWyI9NDqDDaTBXigBPCmYBrBjHUs X-Received: by 2002:a17:906:80c1:: with SMTP id a1mr22064750ejx.37.1572831634679; Sun, 03 Nov 2019 17:40:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572831634; cv=none; d=google.com; s=arc-20160816; b=m1SvK1+HlHfyx0pyd0sx1niKtAsEN0dfnhTx7vZ9/4qce35eEjhL+En32aNzJ7uxEC Wzcje2elZkNFug3Mh6Bk9JfMbAe5i5TSAmu3WOwyrEQz/HkNu1VY4UUSZ17/H+mXvdu6 u53GdYHNa+DujJdcb2iYnI52JMnT28FoKvIua8V2NcUSvxN4lByFSg5JNQMN7LvV2Jc/ EWSqZeXbpXsZ2zui1IrLVDSimBnzFubRB9AkrPLPFoLpKkch+gln8PfiDAyi2bLp4t18 pnx40Uxnyt8y3fGkcJIYe3oHC5zwZ+4yh6GODBN9O0PjsR6AEFSlkE6qt0Hzcp7ZnJ79 gBaA== 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=pd2jL0hfl2b0pqMOsOWY9chZtsRB7hzU/Gg3pzP3EJM=; b=Msn56cABMcbe9kR8dZ8ab+1k1nfDpdEYoBpxtJE7Qf/rfmqc95Tk60X1fImeCr53K+ FDqG6MiGjb8A5jEl2dvvpITajedSMoya8cND6LeDcREerX33R6s2nhOdyyqqvUNxwRSa O5WdUtq+mDOI/D5CQEP3rIcjZjO0Dxu/gGIVbQrJ2za+MhozmkDWn4clTTjShRfPsDdm oryUmrLqMKLAvfhsQf9fI4Q7hUNtPbxK1VFQsuhWBiaIUTd48/8ash0bT74LATrvByVj ofx1coFX8ybrirs2EbceAVOz5wbFBDLbJM9qcuoaIM6eqlNUmidfMFvsAKA5vmJHuuu0 2yuw== 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 pw16si1127765ejb.119.2019.11.03.17.40.33; Sun, 03 Nov 2019 17:40:34 -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; 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 S1728900AbfKDBkc (ORCPT + 26 others); Sun, 3 Nov 2019 20:40:32 -0500 Received: from mx2.suse.de ([195.135.220.15]:55830 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728288AbfKDBk3 (ORCPT ); Sun, 3 Nov 2019 20:40:29 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 56B4BB22E; Mon, 4 Nov 2019 01:40:27 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: linux-realtek-soc@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?q?Andreas_F=C3=A4rber?= , Rob Herring , Mark Rutland , devicetree@vger.kernel.org Subject: [RFC 5/7] ARM: dts: rtd1195: Add Mali node Date: Mon, 4 Nov 2019 02:39:30 +0100 Message-Id: <20191104013932.22505-6-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191104013932.22505-1-afaerber@suse.de> References: <20191104013932.22505-1-afaerber@suse.de> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a DT node for the Mali GPU. Signed-off-by: Andreas Färber --- arch/arm/boot/dts/rtd1195.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) -- 2.16.4 diff --git a/arch/arm/boot/dts/rtd1195.dtsi b/arch/arm/boot/dts/rtd1195.dtsi index 774f95d544a3..ae8843782cfa 100644 --- a/arch/arm/boot/dts/rtd1195.dtsi +++ b/arch/arm/boot/dts/rtd1195.dtsi @@ -292,6 +292,25 @@ status = "disabled"; }; + /* TODO 0x18030000 0x10000 or 0x18003000 0x1000? */ + mali: gpu@18030000 { + compatible = "realtek,rtd1195-mali", "arm,mali-400"; + reg = <0x18030000 0x10000>; + /* TODO which bus clk to pass? */ + clocks = <&clkc RTD1195_CLK_EN_GPU>, <&osc27M>; + clock-names = "core", "bus"; + resets = <&reset1 RTD1195_RSTN_GPU>; + interrupts = , + , + , + , + , + ; + interrupt-names = "gp", "gpmmu", + "pp0", "ppmmu0", + "pp1", "ppmmu1"; + }; + gic: interrupt-controller@ff011000 { compatible = "arm,cortex-a7-gic"; reg = <0xff011000 0x1000>, From patchwork Mon Nov 4 01:39:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 178382 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp851483ilf; Sun, 3 Nov 2019 17:40:38 -0800 (PST) X-Google-Smtp-Source: APXvYqzcEY1AghMlog2To1lhu6GawPKJo9nHP741MzHcIbQuID0fLNyJx9sMijYz3QW1K3AogNxq X-Received: by 2002:aa7:c645:: with SMTP id z5mr26875759edr.204.1572831638715; Sun, 03 Nov 2019 17:40:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572831638; cv=none; d=google.com; s=arc-20160816; b=vQGcAhxxznTcNHC8Hhee0JhfxpkOzIKN5Niuaqw2ggToXO9QGdzODyHNlcV+XvTNMd QY3NgQ4/9DECj/FFvCykkY1sabM+H/ksJoZRBjsZ1ZZZreKiu5SiyKFDx1P1kEOIkMcp vD7MiNoIRjeakIYj2ZyDyQ1xKntueCuI/YsZXdDFyayNldT8DQ27nZ9RXTr5im+LJvaR S+eFcFJz7x2skv/vE3eFLxxkC4MVR1BTq8h/CR9mkK6Mu/X+VYuFYITuR0J0l4Op8wHJ 7tdpRTATh8yVmAFcvW/+XN85uzspzghdg0rIlibS3L6ILBfrQQeCdX/i8Wm6oUHtDJFA 3LXg== 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=WO1qqantOUturqD0vSDvw5HuUDFaikD2OmfKaEnljHY=; b=fcMPP35Y3WmhyVzGsfMPtidWF9zjA0FsDvhBoBiXuFlg6cCWqDgwXN2oDz+JB/gRSC bFbw5M8e2GvWMO/2JwklRQjHAlLs8SufLA2v06hGTV4VobYIo9q9cWnO4OgzzXGLE3Bb cizHV2bn6o+zad3IjCKPUcin12qTdg95u2Kca175PVenQ/Rl6FUCjlfh9g0TNsezA7it jPAID0dwqnP4vnQCG+42gI8DUglp2JP6J4ryMKxIOvccerPt2i8VqBUjrDRJosU6yvAw JgB0AL7vYI20nPXxWJRwfq+Pa8kh/QxWroRl7V657PtJp/Upme4L1CekvYvmp0pAD1fJ m+bg== 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 pw16si1127765ejb.119.2019.11.03.17.40.38; Sun, 03 Nov 2019 17:40:38 -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; 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 S1728884AbfKDBkb (ORCPT + 26 others); Sun, 3 Nov 2019 20:40:31 -0500 Received: from mx2.suse.de ([195.135.220.15]:55828 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728682AbfKDBk3 (ORCPT ); Sun, 3 Nov 2019 20:40:29 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id C183AB233; Mon, 4 Nov 2019 01:40:27 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: linux-realtek-soc@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?q?Andreas_F=C3=A4rber?= , David Airlie , Daniel Vetter , Rob Herring , Mark Rutland , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [RFC 6/7] dt-bindings: gpu: mali-utgard: Add Realtek RTD1395 Date: Mon, 4 Nov 2019 02:39:31 +0100 Message-Id: <20191104013932.22505-7-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191104013932.22505-1-afaerber@suse.de> References: <20191104013932.22505-1-afaerber@suse.de> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Define compatible strings for Mali-470 and Realtek RTD1395 SoC family. Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml | 4 ++++ 1 file changed, 4 insertions(+) -- 2.16.4 diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml index b01b95cf5cdf..62d5d3603c5d 100644 --- a/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml +++ b/Documentation/devicetree/bindings/gpu/arm,mali-utgard.yaml @@ -44,6 +44,10 @@ properties: - hisilicon,hi6220-mali - rockchip,rk3328-mali - const: arm,mali-450 + - items: + - enum: + - realtek,rtd1395-mali + - const: arm,mali-470 # "arm,mali-300" From patchwork Mon Nov 4 01:39:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 178381 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp851443ilf; Sun, 3 Nov 2019 17:40:35 -0800 (PST) X-Google-Smtp-Source: APXvYqyrxijc4Ns2sHDFyWOq3hI1zy3T0GNKwbn3GIrv3NMDdjTIrwq9HaLH4AyNgobE+aNuyFT6 X-Received: by 2002:a17:906:c45:: with SMTP id t5mr17031951ejf.296.1572831635047; Sun, 03 Nov 2019 17:40:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572831635; cv=none; d=google.com; s=arc-20160816; b=WMkyLjYt/opu2OeCshDc5/SkhR+P7qjn8bldghM6ncjJHtepeGr+Sdy4rpytAi9w6W dWZ/DIQ26FEhkstgDJRkx/iZnh+H1wR3ecm1jIXYxWnObFO5JXVPf5eVMdJ5xdjwL0CZ 1YSdwLiPBbp0waTIOlARDHT46VcVrLWvNdM2Mn/mDWUSqCa9zpEvrbHnY3JpqR9oPyMa I8m+PF0LzhBHoLlhCF8mUkbljoWzdZQH6jaRkbEQxNKylW0Bw7JC4t9SUdwJXxQtW5hj +o04RPG++VhZUGuxs1bNp8ElxOWfxSTWfRU062y4RPi6z/3WImaJRtYLKcYrUHvYB9XY cFRw== 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=F0WqyJv8uRc1kpO7QaOf57m5K52UrLGiNzDPpRmR0iM=; b=1KHD1pum2zcZlr85XjbyXaH4mAt5nmuk2AMDJ9hZyz40dRNnjwPRN4GmWs+49w/JPh aDVVDHjjg2vgOxricgTGqOpzgWPAwn+bnh5jHK5XGhEpdHz7wcTB6Y7qy8cBn7hC53r2 eu+Xe+4ctLXVzHHatZznfgspYyIB33BChcHAXOhSPWWyM8UC+HaJcw1pQa4zKg3MkaxE TIUuhV9u6ttaKeBsfpt3rwi9Fg/dWqbj77m1BCPTxZ6nR53+wmEwri3aTiVhMsfo1FM9 Ekfw/fnh4RBwZK5eAphun2YtmvTfIZ06HI2XlQmrcz5WU/+/3zj7lq3W+dM0syylaTK1 VAQg== 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 pw16si1127765ejb.119.2019.11.03.17.40.34; Sun, 03 Nov 2019 17:40:35 -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; 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 S1728916AbfKDBkd (ORCPT + 26 others); Sun, 3 Nov 2019 20:40:33 -0500 Received: from mx2.suse.de ([195.135.220.15]:55834 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728753AbfKDBk3 (ORCPT ); Sun, 3 Nov 2019 20:40:29 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 399ACB456; Mon, 4 Nov 2019 01:40:28 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: linux-realtek-soc@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?q?Andreas_F=C3=A4rber?= , David Airlie , Daniel Vetter , Rob Herring , Mark Rutland , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: [PATCH 7/7] dt-bindings: gpu: arm-bifrost: Add Realtek RTD1619 Date: Mon, 4 Nov 2019 02:39:32 +0100 Message-Id: <20191104013932.22505-8-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191104013932.22505-1-afaerber@suse.de> References: <20191104013932.22505-1-afaerber@suse.de> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Define a compatible string for Realtek RTD1619 SoC family. Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml | 1 + 1 file changed, 1 insertion(+) -- 2.16.4 diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml index e50a0cc78fff..0c426e371e71 100644 --- a/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml +++ b/Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml @@ -17,6 +17,7 @@ properties: items: - enum: - amlogic,meson-g12a-mali + - realtek,rtd1619-mali - const: arm,mali-bifrost # Mali Bifrost GPU model/revision is fully discoverable reg: