From patchwork Wed Oct 30 15:07:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 11219745 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 6077313B1 for ; Wed, 30 Oct 2019 15:08:25 +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 1A469208C0 for ; Wed, 30 Oct 2019 15:08:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="QOcXZO+G"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="c556bP4D" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1A469208C0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.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=xbkRnzL91P5vDMFymtsdzdjXeNUbMWiLSpBwGakMxdU=; b=QOcXZO+GucmHF4 rg2qme5cwrXVs3UzESio5IU4A2UCClWzaXjGZNYxw1w8C7G6PDrbEc0jc40wTdFXDfL06XL6KIAjF b7J/HrI33VZAI81bU0AoGZNewvlZ/TzDTsBtCqufti1MSo+devabC65LR8UuBGE7s7lnaG9CMmBru lkgvZgxmKzBfDS48GzC2sxLR8eqHGE/8lJ028wI4SJk8SqHsWs5t8PDHj52s9TCl3GqMBarV4R49c WSwp1uXor/CBwZtu5FJAewML7vYEzHm53TMZBF7mwLPMOVfFhp7vpkADoG9lN0nWF+OcmQ3ePXdHa eIDn9D4G6Sy2gVLD9pOw==; 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 1iPpaC-00050B-9J; Wed, 30 Oct 2019 15:08:24 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iPpZf-0004X5-GG for linux-arm-kernel@lists.infradead.org; Wed, 30 Oct 2019 15:07:53 +0000 Received: by mail-wr1-x444.google.com with SMTP id p4so2698047wrm.8 for ; Wed, 30 Oct 2019 08:07: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:in-reply-to:references :mime-version:content-transfer-encoding; bh=lW9R1Kjh4RqLaQFjxo3y/Pqm10kL9MGXivj+gFRn3PI=; b=c556bP4DDtkg+ELPCznE0M/Y+gf6kR7x6CVyAA6DIBn5fNHWQbggK+owE0IqN9u5IP YGVPGBsRUqsSbr1HUP1eQdyXtcYoam8ytGKbYWsuzVzo7GhhrQ3NZJnEHLySORbw/2b0 25UEJasNAZ4N6cNTNYGcplRLT4HysyKrUxNHbL9hziyIKKnVJjON/5O5hufIPQxQvcG7 YABcBHQkCDo/ZljUXJ6Z1ShXxudkQ2+p4HsPma34mWCwxSztaPRHCHlDsjWklLNOOYBx pgkdsVaRsZfPT2j/uzPJt+Y67oxCzkl4XeE3zeYpR6olZax12Nu/9YONf/6vNOTdMN06 Knbg== 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=lW9R1Kjh4RqLaQFjxo3y/Pqm10kL9MGXivj+gFRn3PI=; b=MrnxaO+U8t20VTUZkaIVQPGU9cYGAB2s0bQk1zoGvLXht3vMKpCK1qw2cxirZ5xyzF r2MmC1pw5sA5enSMmYQNL6k6c5tctx/CpiWeuiEINVeNEdifsQDP7GlGTn8CpoDJLrSb E6W2+V1j8K3SsbOwCSxe3cEzWcXxdqxrjaszV6nzS3wTmHqS4NUey6zW59zy3rEDmod9 g8fIPTb77on3V07djQ1VDQ0ryNWbwzmF4zlztTpgiDl/O8B+ThCubVjq7ZGki5YTzFRr eYQru3SALX/53+TVq3P+Jt5qvRIwFxqZzhpWFIjN5pbBCGV9JNozRosrK1Z3ol94ntOh k0qA== X-Gm-Message-State: APjAAAX/Af9OvvwK23aQo8Y9mUd4LeKaUteIKhvwq0qBGALAA3txVjVi g2odaTRMfQsNWCqYkKiyl7o= X-Google-Smtp-Source: APXvYqzy7lMkIQLrrDyKXi4Da54CMcnQllR3Q6YYCu8EDXUhAAooVuppJ9HI7xIDZiqeViRj0d9IyA== X-Received: by 2002:a05:6000:1048:: with SMTP id c8mr271231wrx.349.1572448069737; Wed, 30 Oct 2019 08:07:49 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::4e2b:d7ca]) by smtp.gmail.com with ESMTPSA id 11sm278074wmg.36.2019.10.30.08.07.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2019 08:07:49 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Maxime Ripard , Tomeu Vizoso Subject: [PATCH v7 2/2] arm64: dts: allwinner: Add mali GPU supply for H6 boards Date: Wed, 30 Oct 2019 16:07:42 +0100 Message-Id: <20191030150742.3573-3-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191030150742.3573-1-peron.clem@gmail.com> References: <20191030150742.3573-1-peron.clem@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191030_080751_538839_39BFA33A X-CRM114-Status: GOOD ( 10.79 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:444 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (peron.clem[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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, =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= , 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 Enable and add supply to the Mali GPU node on all the H6 boards. Regarding the datasheet the maximum time for supply to reach its voltage is 32ms. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts | 6 ++++++ arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts | 6 ++++++ arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi | 6 ++++++ arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts | 6 ++++++ 4 files changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts index 1d05d570142f..e5ed1d4bfef8 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts @@ -89,6 +89,11 @@ status = "okay"; }; +&gpu { + mali-supply = <®_dcdcc>; + status = "okay"; +}; + &hdmi { status = "okay"; }; @@ -225,6 +230,7 @@ }; reg_dcdcc: dcdcc { + regulator-enable-ramp-delay = <32000>; regulator-min-microvolt = <810000>; regulator-max-microvolt = <1080000>; regulator-name = "vdd-gpu"; diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts index eb379cd402ac..f5ae5182f0c5 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts @@ -102,6 +102,11 @@ status = "okay"; }; +&gpu { + mali-supply = <®_dcdcc>; + status = "okay"; +}; + &hdmi { status = "okay"; }; @@ -237,6 +242,7 @@ }; reg_dcdcc: dcdcc { + regulator-enable-ramp-delay = <32000>; regulator-min-microvolt = <810000>; regulator-max-microvolt = <1080000>; regulator-name = "vdd-gpu"; diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi index ec9b6a578e3f..df4cbd7ef96c 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi @@ -55,6 +55,11 @@ status = "okay"; }; +&gpu { + mali-supply = <®_dcdcc>; + status = "okay"; +}; + &mmc0 { vmmc-supply = <®_cldo1>; cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; @@ -163,6 +168,7 @@ }; reg_dcdcc: dcdcc { + regulator-enable-ramp-delay = <32000>; regulator-min-microvolt = <810000>; regulator-max-microvolt = <1080000>; regulator-name = "vdd-gpu"; diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts index 30102daf83cc..74899ede00fb 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts @@ -85,6 +85,11 @@ status = "okay"; }; +&gpu { + mali-supply = <®_dcdcc>; + status = "okay"; +}; + &hdmi { status = "okay"; }; @@ -221,6 +226,7 @@ }; reg_dcdcc: dcdcc { + regulator-enable-ramp-delay = <32000>; regulator-min-microvolt = <810000>; regulator-max-microvolt = <1080000>; regulator-name = "vdd-gpu";