From patchwork Fri Aug 30 10:44:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Gardet X-Patchwork-Id: 11123741 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 630ED1399 for ; Fri, 30 Aug 2019 10:45:37 +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 41DE221897 for ; Fri, 30 Aug 2019 10:45:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="W+x1CUJ3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 41DE221897 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com 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:References:In-Reply-To: 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: List-Owner; bh=9QkJ7o4dSSPsBh7wWfOCaPIlHClZ5grHoHQIJF0hplQ=; b=W+x1CUJ3ifH0nn oMW6fuYjoun+dWstLalJ4GzncafwtU+goqOypOw+aOsj4BBCZI6PkICTHZlc03Bl4kNTatrEnYHC9 V2/Y2wj42/RuZFhwZBKouypVjragL7VOJIn8G5V4OMkmjLDvpodgx5wnmVw92+mBJKm8+vagsCSDu otlFmdzaJQ+InFMatKPKoDUYQknd9FXomTDBHla7XxMMxbh00IbhLQPKDlNSiWmkrjGapytwBkfUl e00JBPZcQ40Z3wTmELnnShOmsXJESPO8J4kK16CW6UrKUVdDaslBK3sALb9onfQ5GTwX/Wz70xnFQ f+0aXbAAXm8Rz0ajHNaw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i3ePL-0002fh-S6; Fri, 30 Aug 2019 10:45:31 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i3ePI-0002eR-U9 for linux-arm-kernel@lists.infradead.org; Fri, 30 Aug 2019 10:45:30 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E3951344; Fri, 30 Aug 2019 03:45:25 -0700 (PDT) Received: from localhost.localdomain (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id D384E3F718; Fri, 30 Aug 2019 03:45:24 -0700 (PDT) From: Guillaume Gardet To: linux-samsung-soc@vger.kernel.org Subject: [PATCH V3 1/5] dt-bindings: gpu: mali-midgard: Add samsung exynos5250 compatible Date: Fri, 30 Aug 2019 12:44:58 +0200 Message-Id: <20190830104502.7128-2-guillaume.gardet@arm.com> X-Mailer: git-send-email 2.22.1 In-Reply-To: <20190830104502.7128-1-guillaume.gardet@arm.com> References: <20190725083433.6505-1-guillaume.gardet@arm.com> <20190830104502.7128-1-guillaume.gardet@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190830_034529_019510_9B11129C X-CRM114-Status: UNSURE ( 9.37 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 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: Marek Szyprowski , Kukjin Kim , linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski , Guillaume Gardet Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add "samsung,exynos5250-mali" binding. Signed-off-by: Guillaume Gardet Cc: Kukjin Kim Cc: Krzysztof Kozlowski Cc: Marek Szyprowski Cc: linux-arm-kernel@lists.infradead.org --- V3 changes: * add dt-bindings before node in device tree V2 changes: * new file 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 9b298edec5b2..bdd1396d9cc3 100644 --- a/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt +++ b/Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt @@ -17,6 +17,7 @@ Required properties: * which must be preceded by one of the following vendor specifics: + "allwinner,sun50i-h6-mali" + "amlogic,meson-gxm-mali" + + "samsung,exynos5250-mali" + "samsung,exynos5433-mali" + "rockchip,rk3288-mali" + "rockchip,rk3399-mali" From patchwork Fri Aug 30 10:44:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Gardet X-Patchwork-Id: 11123745 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 217921399 for ; Fri, 30 Aug 2019 10:46:05 +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 009A821897 for ; Fri, 30 Aug 2019 10:46:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ZkVZUYzO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 009A821897 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com 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:References:In-Reply-To: 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: List-Owner; bh=QJbBxFBYDsP9G/1JVtEgVaeYZrAQaXMu/i3BjIHqD4w=; b=ZkVZUYzONyAexd 8XwD0cTnvMonYN80Mlxck988vx1GY5JHvbVYJfzmdBUiTQlxZvY0aZEFHbkDUBy4X6cwNElPrv9K0 5XWN4xHairdHlZ1aw4/x2T7PPQ1TmFKCQZJc96Yw6ZLzcPRG4WGu4dRQAQMXWbXbMvPOe49BHe2iH dnc7i9xQO0XTVBZ3/mkDgeITU0T0Vv+S83ZEkLA8B4S3+I/HrWzEixY5MIXnV+EMO2v6sRxjvFxQF nHoJajYKF0zquIlSaHOtyM5pKJG8IoEHDn+h8fCht1Isr6Ym3Amt4Weqx0/LLdJFaLqLCjMjTY8fl Ibd2FLXwsdnNHTpbyIAw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i3ePm-0003FM-Sy; Fri, 30 Aug 2019 10:45:58 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i3ePJ-0002eS-NV for linux-arm-kernel@lists.infradead.org; Fri, 30 Aug 2019 10:45:31 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 332741576; Fri, 30 Aug 2019 03:45:27 -0700 (PDT) Received: from localhost.localdomain (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 2A46D3F718; Fri, 30 Aug 2019 03:45:26 -0700 (PDT) From: Guillaume Gardet To: linux-samsung-soc@vger.kernel.org Subject: [PATCH V3 2/5] arm: dts: exynos: Add GPU/Mali T604 node to exynos5250 Date: Fri, 30 Aug 2019 12:44:59 +0200 Message-Id: <20190830104502.7128-3-guillaume.gardet@arm.com> X-Mailer: git-send-email 2.22.1 In-Reply-To: <20190830104502.7128-1-guillaume.gardet@arm.com> References: <20190725083433.6505-1-guillaume.gardet@arm.com> <20190830104502.7128-1-guillaume.gardet@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190830_034529_803915_7C4EED4D X-CRM114-Status: UNSURE ( 9.37 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 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: Marek Szyprowski , Kukjin Kim , linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski , Guillaume Gardet Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add nodes for GPU (Mali T604) to Exynos5250. Signed-off-by: Guillaume Gardet Cc: Kukjin Kim Cc: Krzysztof Kozlowski Cc: Marek Szyprowski Cc: linux-arm-kernel@lists.infradead.org --- V3 changes: * change clock name from 'g3d' to 'core' * disable node by default in exynos5250.dtsi * move dt-bindings before node addition in device tree V2 changes: * move mali node as /soc sub-node * move gpu_opp_table as mali sub-node * minor style updates * test on arndale board * enable by default * add dt bindings, in a separate patch arch/arm/boot/dts/exynos5250.dtsi | 47 +++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index d5e0392b409e..05b4d8755cfa 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -328,6 +328,53 @@ iommus = <&sysmmu_rotator>; }; + mali: gpu@11800000 { + compatible = "samsung,exynos5250-mali", "arm,mali-t604"; + reg = <0x11800000 0x5000>; + interrupts = , + , + ; + interrupt-names = "job", "mmu", "gpu"; + clocks = <&clock CLK_G3D>; + clock-names = "core"; + operating-points-v2 = <&gpu_opp_table>; + power-domains = <&pd_g3d>; + status = "disabled"; + + gpu_opp_table: gpu-opp-table { + compatible = "operating-points-v2"; + + opp-100000000 { + opp-hz = /bits/ 64 <100000000>; + opp-microvolt = <925000>; + }; + opp-160000000 { + opp-hz = /bits/ 64 <160000000>; + opp-microvolt = <925000>; + }; + opp-266000000 { + opp-hz = /bits/ 64 <266000000>; + opp-microvolt = <1025000>; + }; + opp-350000000 { + opp-hz = /bits/ 64 <350000000>; + opp-microvolt = <1075000>; + }; + opp-400000000 { + opp-hz = /bits/ 64 <400000000>; + opp-microvolt = <1125000>; + }; + opp-450000000 { + opp-hz = /bits/ 64 <450000000>; + opp-microvolt = <1150000>; + }; + opp-533000000 { + opp-hz = /bits/ 64 <533000000>; + opp-microvolt = <1250000>; + }; + }; + }; + tmu: tmu@10060000 { compatible = "samsung,exynos5250-tmu"; reg = <0x10060000 0x100>; From patchwork Fri Aug 30 10:45:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Gardet X-Patchwork-Id: 11123743 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 D6E981399 for ; Fri, 30 Aug 2019 10:45:51 +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 B60DF21897 for ; Fri, 30 Aug 2019 10:45:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="lFFqlpgA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B60DF21897 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com 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:References:In-Reply-To: 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: List-Owner; bh=oUS+gXfL8lts/jAHRhzBRXE2ysjAjUAr9fjoD1TA4cA=; b=lFFqlpgAr9pV97 okn42B0DI7cPCCcEQrV0VEfM4S3gHVp6eyAb3kEzhm/FEzGLMz01truFVlMSPK2y8wqnIYeWRgQ3k k3CdIDNsmssvtk0kGkHO+fIAwiefQVJ4sW8wRRJYSl+XgSOe0pa7LoTXcH0Y76VZYSBvLJr2ayqlp XOdRYZLLGceNzW+SNTBtmbenofEOcFftwEoIIzzkera3laDEyqdsmP16Dsc5CX9/8D2SYVwQx6eaK 5nRC2JtiTO9a+xj5RI7mdlPYECVm/knSaNplPKPS19o2jeGccfaSGvgPYqihB+3vDH5O5UF0K7c4h jj8cC0EtDKs24Dmv+zMg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i3ePe-00032n-7g; Fri, 30 Aug 2019 10:45:50 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i3ePJ-0002eq-Cg for linux-arm-kernel@lists.infradead.org; Fri, 30 Aug 2019 10:45:31 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7EDBA1596; Fri, 30 Aug 2019 03:45:28 -0700 (PDT) Received: from localhost.localdomain (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 6F9823F718; Fri, 30 Aug 2019 03:45:27 -0700 (PDT) From: Guillaume Gardet To: linux-samsung-soc@vger.kernel.org Subject: [PATCH V3 3/5] arm: dts: exynos: snow: Enable GPU/Mali T604 node Date: Fri, 30 Aug 2019 12:45:00 +0200 Message-Id: <20190830104502.7128-4-guillaume.gardet@arm.com> X-Mailer: git-send-email 2.22.1 In-Reply-To: <20190830104502.7128-1-guillaume.gardet@arm.com> References: <20190725083433.6505-1-guillaume.gardet@arm.com> <20190830104502.7128-1-guillaume.gardet@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190830_034529_468679_29359642 X-CRM114-Status: UNSURE ( 9.55 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 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: Marek Szyprowski , Kukjin Kim , linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski , Guillaume Gardet Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Tested with kmscube and some glmark2* tests on Chromebook snow. Frequency adapts with load. Signed-off-by: Guillaume Gardet Cc: Kukjin Kim Cc: Krzysztof Kozlowski Cc: Marek Szyprowski Cc: linux-arm-kernel@lists.infradead.org --- V3 changes: * new file arch/arm/boot/dts/exynos5250-snow-common.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-snow-common.dtsi b/arch/arm/boot/dts/exynos5250-snow-common.dtsi index fd9226d3b207..c952a615148e 100644 --- a/arch/arm/boot/dts/exynos5250-snow-common.dtsi +++ b/arch/arm/boot/dts/exynos5250-snow-common.dtsi @@ -529,6 +529,11 @@ status = "okay"; }; +&mali { + mali-supply = <&buck4_reg>; + status = "okay"; +}; + &mixer { status = "okay"; }; From patchwork Fri Aug 30 10:45:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Gardet X-Patchwork-Id: 11123747 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 30A501398 for ; Fri, 30 Aug 2019 10:46:15 +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 0F6B321897 for ; Fri, 30 Aug 2019 10:46:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="kluvLLrQ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0F6B321897 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com 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:References:In-Reply-To: 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: List-Owner; bh=st5TSaXXJBVBTeUbDG6i/ubM5V1XVbdIYG7INyy3E0Q=; b=kluvLLrQqQkivY vQjXg5GXqF6FkUqYwpIJwq6FNWdreFDO1vZIb7Er/mWudgrd7YPpMxafF62FGsuC0ee/1ysxwFTmF E5gtZOtxZhG3lINy99ur1UWnkq+fWuYveMQzw6RrzmhOeeSEvWoEtXVBfUKzE+h86nJOiJm+8DmzC DLyNod6+JhmS0nflPvsGaWo9JsQysD3ATrbqkZ3qfe0gNYjDwsEAQywkIYE7wtnF5cSCg/Wh0Amlj EadRGgypaNMlBDxfBnCH2D7AogFUL3wRzTcKdCDpFGaFgOk5FiNLkxqPrLuqZCjc5ES3Z+PeUHB6B NZLvTk74XcLJHeaL5uIA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i3ePv-0003Se-Vk; Fri, 30 Aug 2019 10:46:07 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i3ePK-0002fN-HY for linux-arm-kernel@lists.infradead.org; Fri, 30 Aug 2019 10:45:31 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id CCC931597; Fri, 30 Aug 2019 03:45:29 -0700 (PDT) Received: from localhost.localdomain (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id BD0DA3F718; Fri, 30 Aug 2019 03:45:28 -0700 (PDT) From: Guillaume Gardet To: linux-samsung-soc@vger.kernel.org Subject: [PATCH V3 4/5] arm: dts: exynos: arndale: Enable GPU/Mali T604 node Date: Fri, 30 Aug 2019 12:45:01 +0200 Message-Id: <20190830104502.7128-5-guillaume.gardet@arm.com> X-Mailer: git-send-email 2.22.1 In-Reply-To: <20190830104502.7128-1-guillaume.gardet@arm.com> References: <20190725083433.6505-1-guillaume.gardet@arm.com> <20190830104502.7128-1-guillaume.gardet@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190830_034530_621279_46A9684E X-CRM114-Status: UNSURE ( 9.55 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 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: Marek Szyprowski , Kukjin Kim , linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski , Guillaume Gardet Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Tested with kmscube and some glmark2* tests on arndale board. Signed-off-by: Guillaume Gardet Cc: Kukjin Kim Cc: Krzysztof Kozlowski Cc: Marek Szyprowski Cc: linux-arm-kernel@lists.infradead.org --- V3 changes: * new file arch/arm/boot/dts/exynos5250-arndale.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts index dc6fa6fe83f1..cf5a758f1927 100644 --- a/arch/arm/boot/dts/exynos5250-arndale.dts +++ b/arch/arm/boot/dts/exynos5250-arndale.dts @@ -543,6 +543,11 @@ status = "okay"; }; +&mali { + mali-supply = <&buck4_reg>; + status = "okay"; +}; + &mixer { status = "okay"; }; From patchwork Fri Aug 30 10:45:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Gardet X-Patchwork-Id: 11123749 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 1663E1398 for ; Fri, 30 Aug 2019 10:46:22 +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 E9C8A22CE3 for ; Fri, 30 Aug 2019 10:46:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="KeFHzdHi" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E9C8A22CE3 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com 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:References:In-Reply-To: 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: List-Owner; bh=LK2OAEO1/j4hoo6TNySN1DEKiFBmsRTBHLWRsi8yJLk=; b=KeFHzdHiDgLEG2 k9a6s3ALs2gREEnDwTFOZQ3IMDTMrRs87hTh0h9c9vYmILQUc3qN8JBmLk5LvpbbgcSVRX0ucej2w IpBmgFf4GsLj+9hUtcTx+BnKcP6CT1MwRKfowS+U87Uo0I7RF01EmsnKlCaW7CtHG5I1CKo+ePhdr ivxU5QiYmEa3jsiq/QTEYbGw5WTC4LbiTyxk9JBbl8J3/6P4LXbW8C5TjXTTHt245MR6xhELGUk6s 6XOQ2RhFFBnbASgDhCR8QdWUsr15DcLQqY23mgwz4XSlMMLXAF39EOeFQrJcmIt0ZHCUYGPIAn1FG IdNwkdpAwdD70BwB1smQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i3eQ8-0003gm-5k; Fri, 30 Aug 2019 10:46:20 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i3ePL-0002fz-Vd for linux-arm-kernel@lists.infradead.org; Fri, 30 Aug 2019 10:45:33 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 24C5D337; Fri, 30 Aug 2019 03:45:31 -0700 (PDT) Received: from localhost.localdomain (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 14BFD3F718; Fri, 30 Aug 2019 03:45:29 -0700 (PDT) From: Guillaume Gardet To: linux-samsung-soc@vger.kernel.org Subject: [PATCH V3 5/5] arm: dts: exynos: arndale: Fix min/max for buck4 regulator for gpu Date: Fri, 30 Aug 2019 12:45:02 +0200 Message-Id: <20190830104502.7128-6-guillaume.gardet@arm.com> X-Mailer: git-send-email 2.22.1 In-Reply-To: <20190830104502.7128-1-guillaume.gardet@arm.com> References: <20190725083433.6505-1-guillaume.gardet@arm.com> <20190830104502.7128-1-guillaume.gardet@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190830_034532_059591_B7E3259E X-CRM114-Status: UNSURE ( 9.88 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 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: Marek Szyprowski , Kukjin Kim , linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski , Guillaume Gardet Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Required to have gpu opp working properly. Signed-off-by: Guillaume Gardet Cc: Kukjin Kim Cc: Krzysztof Kozlowski Cc: Marek Szyprowski Cc: linux-arm-kernel@lists.infradead.org --- V3 changes: * new file arch/arm/boot/dts/exynos5250-arndale.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts index cf5a758f1927..6fcb78a354fe 100644 --- a/arch/arm/boot/dts/exynos5250-arndale.dts +++ b/arch/arm/boot/dts/exynos5250-arndale.dts @@ -461,8 +461,8 @@ buck4_reg: BUCK4 { regulator-name = "vdd_g3d"; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1000000>; + regulator-min-microvolt = <850000>; + regulator-max-microvolt = <1300000>; regulator-always-on; regulator-boot-on; op_mode = <1>;