From patchwork Mon May 20 20:08:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10952309 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 3FC356C5 for ; Mon, 20 May 2019 20:09:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2D7392892D for ; Mon, 20 May 2019 20:09:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 202372893A; Mon, 20 May 2019 20:09:13 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CA5AD2892D for ; Mon, 20 May 2019 20:09:12 +0000 (UTC) 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=p640+Qj0ePraDY1SPYlz0JRhSKaVoUEjU67xeO9csxo=; b=MtJqn/SqAOvm6T Xy+megXJZNKrZ3k8Y8rwjANb9i5tohZP0EXCeKPlMyIYVdGPRbw1CHLGQCzp7XQbOdCegMZr938IA Fz8J144DEoE9S3TvL2dTfehShzwJLymXu1CWnkA1xIGPvxl3dh6zHQFi6slTP9COmQYzDsfLIcnpG qHjyhjtEdyxsj5tSbVVESztmReFMCuCGxChs8G3i/vD6SacZurwt78Tl5nwjb2KJ8A/jV+3mpPUW2 CHGPXmwEcM9kMLyfXk9DPXvK2QuZ1yvYsIQ3590whA2sV/a5gk3ZNrGyzCCdJk9e0EC7i+wnUOtEV FRCNs5ikByhnK0RxuCfQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hSoaq-0004sy-13; Mon, 20 May 2019 20:09:08 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hSoaX-0004XT-EF; Mon, 20 May 2019 20:08:51 +0000 Received: by mail-wr1-x444.google.com with SMTP id g12so15706812wro.8; Mon, 20 May 2019 13:08:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=e0VqE+rZMvBKHIYBXL3p+1cgiNolIPVKif3ndVE931w=; b=fAwHIQTNJ7LYfS+npQAVAly5KBNMIBkvINFdruuroIDO75vDaATN0YQ2foFWKpHzu/ DSawlpfon0AAuxAVzkGqqLRAx1FfhXEyPs7azowQLJ3KSjmEd/Xcqd5Dq2PaLRMasqUG 2hATUsp1o2StoIAtb7ijeSqNElRx/atHKiFy4BaN9tAgWgTe+MrYVuotpSbKKY8LqUmU L9Fg3pKbeMpAtHI2qKWyZ+om8x6v49RkQmW5mrsyk3WFtd+Z0HvrUNuCL9AbAz4d9hmg atEN0Y4vmdFCjDbs9ixH3va+1vSF3XTXR97RlQ/J1DPdem4pFEuQpNSxqLIuz7fQyOSe NsuQ== 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=e0VqE+rZMvBKHIYBXL3p+1cgiNolIPVKif3ndVE931w=; b=PRNj+RvQf0I1uPYVYKdP7/gDIzLS3+JwmMWGHyMxyVbdZMRUSGAUNC6N+CBqwFrn/E nAMcrhxfnfNjgloVeXQfAIrz9o46cgJQhYSTkXl0JyRrwCiM8R0EoEotl96TOFCvk0kD GAT7yRrJR3L+XjsK/9WHII3PxNvr09IlsrTgZGSsew0Zm7fLu7du/5mTcKFq1nbulRPL zV9ydzR9PkDhs3BuI5mT48EiK90nByu+nSkzC7UQgKMZ6MjLOZZHA6wOUMB7vmSWIB3k 1gfAK7DD08nAdjBkOgiX1eGgQi4AJIJtDvgEbag16XgWrcnsox5mUQKd4pRR6BvXDv0v Gx7g== X-Gm-Message-State: APjAAAU1wfZMMP4s5WK6hvsozkVD1j/ZTk+4+iUMls0HktgY5KVTeDTt Wz15bBQtq/mwx9CFzk08jng= X-Google-Smtp-Source: APXvYqzMIgHXiFAjB2iqJtd7q4ohra7zn99jfRowf8TpuHE3QE0mc1sJ2+E0VGNp4HgzyiK1FT+wcA== X-Received: by 2002:adf:ec0f:: with SMTP id x15mr46678862wrn.120.1558382927766; Mon, 20 May 2019 13:08:47 -0700 (PDT) Received: from blackbox.darklights.net (p200300F133EE71009C356FA1F0E19AF9.dip0.t-ipconnect.de. [2003:f1:33ee:7100:9c35:6fa1:f0e1:9af9]) by smtp.googlemail.com with ESMTPSA id i185sm918627wmg.32.2019.05.20.13.08.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 May 2019 13:08:47 -0700 (PDT) From: Martin Blumenstingl To: balbes-150@yandex.ru, linux-amlogic@lists.infradead.org, khilman@baylibre.com Subject: [PATCH 1/2] ARM: dts: meson8m2: mxiii-plus: rename the DCDC2 regulator Date: Mon, 20 May 2019 22:08:38 +0200 Message-Id: <20190520200839.22715-2-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190520200839.22715-1-martin.blumenstingl@googlemail.com> References: <20190520200839.22715-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190520_130849_474286_F7E33AA6 X-CRM114-Status: GOOD ( 12.83 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Blumenstingl , 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 X-Virus-Scanned: ClamAV using ClamSMTP The DCDC2 regulator output is actually called "VDD_EE" in various Meson8b board schematics. This matches with what Amlogic names it in the most part of their vendor kernel (there are a few places where it's actually called VDDAO, schematics of EC-100 suggest that the regulator output is used for both signals). While here, also give the regulator an alias as it supplies the Mali GPU so a phandle to it will be required later on. Signed-off-by: Martin Blumenstingl --- arch/arm/boot/dts/meson8m2-mxiii-plus.dts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/meson8m2-mxiii-plus.dts b/arch/arm/boot/dts/meson8m2-mxiii-plus.dts index 29d830ae4bf4..c7d9cf035e22 100644 --- a/arch/arm/boot/dts/meson8m2-mxiii-plus.dts +++ b/arch/arm/boot/dts/meson8m2-mxiii-plus.dts @@ -114,8 +114,9 @@ regulator-always-on; }; - DCDC2 { - regulator-name = "VDDAO"; + vddee: DCDC2 { + /* the output is also used as VDDAO */ + regulator-name = "VDD_EE"; regulator-min-microvolt = <950000>; regulator-max-microvolt = <1150000>; regulator-boot-on; From patchwork Mon May 20 20:08:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10952311 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 D93B46C5 for ; Mon, 20 May 2019 20:09:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C8D6B2892D for ; Mon, 20 May 2019 20:09:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BB8C52893A; Mon, 20 May 2019 20:09:20 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7B9E72892D for ; Mon, 20 May 2019 20:09:20 +0000 (UTC) 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=ed3bI+1MKccbgJ2epmfJHbg0d8lxG7GgBghdjPzgwns=; b=qKLLQVQBNXjRK3 pQ6Mbx9eZqHQTFUBoaHsQiLzM4a6KR6VP842XMAUm9/fVDicowtMhTTsiI1KLb/i4f8YZzWWOdSt3 usx0ldzCcZ7Sy/P2nVjFxqfSKzvDoh7Pbar7A3wdFLJhRCoZI/qVztckZk2ZRZDj+TBew6FZ/9kv6 r7noxFcPrKyPrn1T10HE44sw9SE9jWGN491nWjSYRGDTbtDI1xIFPb0fUv8LuoBsetdC0atZBTjgQ 8StuIwfnqYrO1ot6PiB7ZdQllbOsW4na4KgCPKMNi4pKdIEpcuGYVhAW98DYz4VZupSnqJEGsxeaA nhIx3D+mobYKcknDRKXA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hSoax-00052L-KX; Mon, 20 May 2019 20:09:15 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hSoaY-0004Xf-F5; Mon, 20 May 2019 20:08:51 +0000 Received: by mail-wr1-x441.google.com with SMTP id g12so15706877wro.8; Mon, 20 May 2019 13:08:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VzyK0hwlGllQwpUASaSXDvSJ4lCGjRcRs3B49LwTWQM=; b=U4DhVvCK8cGR4sjHiPqsoKZBv923R6m3+PqlKY6yM9WbcNPsiSGWSp0EiyVkyZQqNU QuyIQdQHOfB59b1bQmeTkp7KSzfQ5vZVmVyuHzJADG6uOlivsXM/JZ1gG42q+MhfLtbg KV5WlcCJjQaLzR1CX2K1bud2XDiA4mZtCsfZ7fzqx9GsiyTDNZWzC56Jv5AG4JysZrRE kFFqhJyIQ6qzMHcn38KuOn6OAr28Y33HQg3zN/qiRNrht0nCJPF4M/t1T0B0QJihgvMX 11eZ+8WDcFIw3y8ELd8nApvIHH9kYRdPeQI25FszQntrjrxjlO+UZ6XUMIdpQQVb+bj3 if/A== 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=VzyK0hwlGllQwpUASaSXDvSJ4lCGjRcRs3B49LwTWQM=; b=nG7AmSLFA2FAiUHjqt76QBGXmMpuN0X2RrR97eFIyKMt0huC3iQ7VeBn0qYNrOoNpX 5Tue65TwvCyuXgtJBFCIGmHKD9+KTr9yXwk3tBCHVrvcaQw6lWsKYgadKozMnNhxYu+D QqiIj+7d92Ztx8B3bAxQND/qAjd3R+9SQqW7IujllDPdgG53MfkeCqdhZFCeWXAOihs9 F1ladj46KC/eIN+9VsokCatPNcF4o2R6MsyC14Fwl3tiC4ND5OMDw2deuAMHheqnk6UM XK6HwHYUxtz1lKhiYiWPuc1nFFNRKpz3oJK1zAO4GI0KHluJYNck4thjPvSWUzq8myAS VCxQ== X-Gm-Message-State: APjAAAVHo5+DsXbuBOGOMw9E6AlXQtOLDjmvY3vdlvjNIEaAGiSOdzXH qs1pgZ1a6R4uEZMA0knKXOA= X-Google-Smtp-Source: APXvYqyKxze095fP1qavF8T4ed1d3zUmuovjiLWGUkszU48aPxDoxCWtwfyiPggxWuH+G4Upbd/zJQ== X-Received: by 2002:a5d:62c2:: with SMTP id o2mr28290659wrv.254.1558382928917; Mon, 20 May 2019 13:08:48 -0700 (PDT) Received: from blackbox.darklights.net (p200300F133EE71009C356FA1F0E19AF9.dip0.t-ipconnect.de. [2003:f1:33ee:7100:9c35:6fa1:f0e1:9af9]) by smtp.googlemail.com with ESMTPSA id i185sm918627wmg.32.2019.05.20.13.08.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 May 2019 13:08:48 -0700 (PDT) From: Martin Blumenstingl To: balbes-150@yandex.ru, linux-amlogic@lists.infradead.org, khilman@baylibre.com Subject: [PATCH 2/2] ARM: dts: meson8m2: mxiii-plus: add the supply for the Mali GPU Date: Mon, 20 May 2019 22:08:39 +0200 Message-Id: <20190520200839.22715-3-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190520200839.22715-1-martin.blumenstingl@googlemail.com> References: <20190520200839.22715-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190520_130850_500408_534C1978 X-CRM114-Status: GOOD ( 10.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Blumenstingl , 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 X-Virus-Scanned: ClamAV using ClamSMTP The Mali GPU is supplied by VDD_EE which is provided by the DCDC2 regulator. Signed-off-by: Martin Blumenstingl --- arch/arm/boot/dts/meson8m2-mxiii-plus.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/meson8m2-mxiii-plus.dts b/arch/arm/boot/dts/meson8m2-mxiii-plus.dts index c7d9cf035e22..59b07a55e461 100644 --- a/arch/arm/boot/dts/meson8m2-mxiii-plus.dts +++ b/arch/arm/boot/dts/meson8m2-mxiii-plus.dts @@ -190,6 +190,10 @@ }; }; +&mali { + mali-supply = <&vddee>; +}; + &saradc { status = "okay"; vref-supply = <&vddio_ao1v8>;