From patchwork Fri Jun 14 20:31:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Kogut X-Patchwork-Id: 10996479 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0AFA676 for ; Fri, 14 Jun 2019 20:31:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ED6AC2876B for ; Fri, 14 Jun 2019 20:31:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DFAA028774; Fri, 14 Jun 2019 20:31:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E67842876D for ; Fri, 14 Jun 2019 20:31:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727206AbfFNUbx (ORCPT ); Fri, 14 Jun 2019 16:31:53 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:45003 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726953AbfFNUbw (ORCPT ); Fri, 14 Jun 2019 16:31:52 -0400 Received: by mail-pl1-f194.google.com with SMTP id t7so1442477plr.11; Fri, 14 Jun 2019 13:31:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8o+2bmk3JHw3bcscvg5i4csgQd4Cy57o3YZ91vrIQhk=; b=fmawliYbYe9RXgjYQw83JcEt3qnDc3a9Nr/dyRNlHVBsgPGykJOXH3w4C6Eu8DUyrl CrVaRFJv6oVjd8TD6dc/eUa7oEIvf83UPAFA5Q4p1A3H4Wds8oD+aKkPZAZ4GAloWSXF lkcOfoeKV9tkQsnV6TZGx4twjlJ657SfhMJThGkxwoqTmSl42l3+NQmlYoAwVd6LQCPI H310JzrVEUHkQYzmyWSIsaIQQrQdSBYWq3oxxJz4A54WeHv/5W2NdVQQByL9alDO0mVr DOsXQMJrpoV352/sQafvE8ReOUVpCrOQxC7VUWjKJbQC9TYzmOxWI8JDfDcweI/Lbyqq 1p1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8o+2bmk3JHw3bcscvg5i4csgQd4Cy57o3YZ91vrIQhk=; b=TgFPplICSayyVyBtpX45iBAsznDnvse8xixRe5ULP4DAnC9tyXbg0THEkblXVqouh8 ZLkEy0W0Zd88wFsfZMLgWl5iT9Vub0pi6KbYNLXi30sKe3NJt1mGjTBW5Dbkb/+Lhj/L DpcqPEgeNqfQC5/6k4Bg6AosVtWtX9VVvq5R4FnBfpFIQ5JLJ0tIeg6pkhHNiQOrB128 UJyYySMhjjRppKVcRF+/e7U06lS0/3T2VGEBXFflbaDz/VZzrMFsD3Ggy+DARXImoy6D d5HBlK4G/nr81h+nPJu4CeJhZLKlQem6C7gpmqmYg+pSIywRYI0JJ+e3zIFJZ4rB46zo R+Iw== X-Gm-Message-State: APjAAAVFYyx3lG5xaEpo4AhQ38cg0Anf/fwI+2ygPK996E7RI5X0bNkU hokPzStd4cKbF8J4DLVww/k= X-Google-Smtp-Source: APXvYqz8fXZMHh678m38GXZ7cOMf9Jew7ASJ24aKHKsv3zkzKPKgQG0N0NmX7eCgd61B1rxu1Qc+Kg== X-Received: by 2002:a17:902:8203:: with SMTP id x3mr11439487pln.304.1560544311481; Fri, 14 Jun 2019 13:31:51 -0700 (PDT) Received: from localhost.localdomain ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id 188sm5189016pfe.30.2019.06.14.13.31.50 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 14 Jun 2019 13:31:50 -0700 (PDT) From: Joseph Kogut To: robh+dt@kernel.org, mark.rutland@arm.com, kgene@kernel.org, krzk@kernel.org Cc: airlied@linux.ie, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Joseph Kogut Subject: [PATCH 1/2] dt-bindings: gpu: add Exynos Mali vendor specifics Date: Fri, 14 Jun 2019 13:31:43 -0700 Message-Id: <20190614203144.3850-1-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Document vendor specific compatible string for Mali gpus on Exynos SoCs. Signed-off-by: Joseph Kogut --- Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt b/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt index 1b1a74129141..a9704c736d07 100644 --- a/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt +++ b/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt @@ -18,6 +18,7 @@ Required properties: + "amlogic,meson-gxm-mali" + "rockchip,rk3288-mali" + "rockchip,rk3399-mali" + + "samsung,exynos-mali" - reg : Physical base address of the device and length of the register area. From patchwork Fri Jun 14 20:31:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Kogut X-Patchwork-Id: 10996481 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D80AC76 for ; Fri, 14 Jun 2019 20:31:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CA30A2876B for ; Fri, 14 Jun 2019 20:31:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BDF4A2876E; Fri, 14 Jun 2019 20:31:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 706542876B for ; Fri, 14 Jun 2019 20:31:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726953AbfFNUbz (ORCPT ); Fri, 14 Jun 2019 16:31:55 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:45392 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726047AbfFNUbz (ORCPT ); Fri, 14 Jun 2019 16:31:55 -0400 Received: by mail-pf1-f196.google.com with SMTP id r1so2074385pfq.12; Fri, 14 Jun 2019 13:31:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=AtSiqk5nC9LJRg1jpcdANXdpq0IBjpFzpPAT20QKwLs=; b=D9Zi0GLfXAxnK/1KAzAoqvnxrpDfxQcd8uc+ubVdKQ8OWuZFEibKd2qRjzla+7IFNS Q0jYmMOKetE6GkCPQSOh1Px3ZltrpfqKqD4nw/byc6+q4sDy9zWbPkXB0jfy0q1IshZt Dbvv2CUtzxO24ht5eBCHUlSqX9cW/hndKnXLLRKl9o1rfIhaYqDAKrmASX1w2High6cv hLJzPEwnHLsK2w2GSL7UIwCthVhtCjb6QXAjl2/SUr9wfuPN9ga76ohI6viKZpEdzCL0 L7J5XP/W+JurJSnwUPDddLZE7080G/vEk45SeYWimus+OdZg/7hvF2Ukr//3/uHwM3WZ zerA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=AtSiqk5nC9LJRg1jpcdANXdpq0IBjpFzpPAT20QKwLs=; b=Uyv/e/fmNh13PNiuRhxIV3nk+GF7KPWOQOC+9aiduViLbAIIO+9gyVnwp9NYoT6TY0 wpCFs4FtLsNzNj1mwCbJh1DNGtzHDE9DCYs2sfEbqEA/Ra6g8/ZQ1kQeb9p+jbKtbXu+ vL/ObQr0xEamEM242ocOvsHCRclS3gytJLX1RfWzBp14alG1A04xnbWvcrkSBnchsgdJ YgLZgw8eivFh1ZhkTm9004kiDF3TADu9dMvsL2zPiB5yclQhtVHoy/09pnQ8rSVqeFVV J3kk6FWzdrhSssUOzruttO/dZ1/b+x7/IYokoY4E2WMkOwg8k8AYKIFC4d49R9lRy9pA 9hzA== X-Gm-Message-State: APjAAAXjGg5Dlt0L70+GcwJmtfIw4qxbeheZCspNi5nXQxrCY3yuFlVN Z12GVo1murTKPPw/iPbupTI= X-Google-Smtp-Source: APXvYqzGVKsRY/HKe8P6drib97plaMeKe2fpFoiPvoa234LjxzhsrXYVgV3vx4vgJagc9QCCwyR/rA== X-Received: by 2002:a17:90a:b00b:: with SMTP id x11mr13055151pjq.120.1560544314155; Fri, 14 Jun 2019 13:31:54 -0700 (PDT) Received: from localhost.localdomain ([162.251.69.147]) by smtp.gmail.com with ESMTPSA id 188sm5189016pfe.30.2019.06.14.13.31.52 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 14 Jun 2019 13:31:53 -0700 (PDT) From: Joseph Kogut To: robh+dt@kernel.org, mark.rutland@arm.com, kgene@kernel.org, krzk@kernel.org Cc: airlied@linux.ie, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Joseph Kogut Subject: [PATCH 2/2] arm: dts: add ARM Mali GPU node for Odroid XU3 Date: Fri, 14 Jun 2019 13:31:44 -0700 Message-Id: <20190614203144.3850-2-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190614203144.3850-1-joseph.kogut@gmail.com> References: <20190614203144.3850-1-joseph.kogut@gmail.com> MIME-Version: 1.0 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add device tree node for mali gpu on Odroid XU3 SoCs. Signed-off-by: Joseph Kogut --- .../boot/dts/exynos5422-odroidxu3-common.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi index 93a48f2dda49..1f2ae19d01af 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi @@ -48,6 +48,24 @@ cooling-levels = <0 130 170 230>; }; + gpu: gpu@11800000 { + compatible = "samsung,exynos-mali", "arm,mali-t628"; + reg = <0x11800000 0x5000>; + interrupts = <0 117 0>, + <0 219 0>, + <0 74 0>; + interrupt-names = "gpu", "job", "mmu"; + clocks = <&clock CLK_G3D>, + <&clock CLK_DOUT_ACLK_G3D>, + <&clock CLK_FOUT_VPLL>; + mali-supply = <&buck4_reg>; + operating-points = < + /* KHz uV */ + 600000 1150000 + 177000 812500 + >; + }; + thermal-zones { cpu0_thermal: cpu0-thermal { thermal-sensors = <&tmu_cpu0 0>;