From patchwork Tue Aug 27 21:00:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?S3J5xaF0b2YgxIxlcm7DvQ==?= X-Patchwork-Id: 13780152 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 995E1C54735 for ; Tue, 27 Aug 2024 21:04:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=557eQ0nrkCY+/ANVkKP3VQXQ7163oT4FiuaAuauOfKc=; b=ujrmH8K287eZd/KUmTH8kIUjPx ak75qiz8Jkzhx53L1zmwogfmMP7fHTvsEHVQgUcyQue/KQLHOAbK9XAGLQ1asI4ZC9LaC3qTCa1+R jneAS6xA6UK4/APnUeoMmDbQ4BThB4RWN+fDHCqEINosEkZjR+BelSkPxHHHf1HwIF63ZZ7iN7Vfx DXwNiAkyfPsbxJuOn9jbvB4UcokPkznRD1IrZw7huumJtulsjwmazSF/nLa/8uyJcsJB5CEP33+Q6 lJOZ8GETSX0At/dh+Uap7cBC9S4vmsr9f8vg63K//jlbizd9td7PonWszfrQ5nEMHwo42gqef2vcH 8YIGKIRQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sj3M0-0000000Coyq-1m4U; Tue, 27 Aug 2024 21:03:52 +0000 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sj3Je-0000000CoXu-3M5H for linux-arm-kernel@lists.infradead.org; Tue, 27 Aug 2024 21:01:28 +0000 Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-5343e75c642so5246779e87.2 for ; Tue, 27 Aug 2024 14:01:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724792485; x=1725397285; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=557eQ0nrkCY+/ANVkKP3VQXQ7163oT4FiuaAuauOfKc=; b=NXPh5D0aOwy40Z/o7sr4Jhg+yNOv0YURbIgcZHGVkW8ketAuDUbkSIkJwLU0BHVAz3 rcRASfMx+odsbCoM7EfkdQy3lM72BnoueRAqTNV0fMBBcIWw6wNwhYGYtQWzYtx3/rWf xAL8Ooa4TK/XsWsfVUVK2QOGH15wuwGYowqkp4bRxl+ZTjHEUnaca15Ip8J9Fuug5L+t 45j52joONqWLa1IFeIdqA0ISZbe1SeI0znd4Yp8hWySFYAPqadR8LCkrKPVxTiBg0f0n 9AXjHh8R1N8U7wVSKqt9YWuqo0wkAO8Y9eqvyyrLR9SWlRhFqAdII+7cDh5u+Hza//ib vsRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724792485; x=1725397285; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=557eQ0nrkCY+/ANVkKP3VQXQ7163oT4FiuaAuauOfKc=; b=wqtCN/ZUVfnGkb1bczFZKrIWZTTBvWjrr8hV24v7y2q1SJAq7MXtVdfiBHlEVJm6Zv 4MDNfRQL9lzqLTqOjOrV+NOg+44LJ/tWlqV1D8sNkuA7mhwmiGIT4YLg3B4jwk52Fggg vdAs2BTHWCq+aEnA8CQY5cVwFVJhFKrQwBKF1ovU2tSnVQyUrDX05I5fuezs42+jP//J 3Rzlu1k/3a2oNbVgdwfELoYBJ42OxDjUzNmp8WJ2B6v0tPmad/3U/LiFAkWt0wD92IJ5 N45QO8o2bmHgX+NYXCN6iA0UWlsKjuzWLQF+Q9FshcAi13fWWMHQLWKi1hsNapzT3+oR CR/Q== X-Forwarded-Encrypted: i=1; AJvYcCWpWaGAYNP2FmmfSUsQxTbSfl/ryU5u1kKsJr8Oe56J5IlZdq+SFhBVlvTh8vTBY7UwDR53uUADWavvGnZJr9He@lists.infradead.org X-Gm-Message-State: AOJu0YxOm4JM25Hr6r7fsH1AA2zKfE2vWiU0Dn/7MEKBFdzJ5szbBI8B sxIDmfYKmNPe0dMzDLVdsU6FT6qiTO7ElDh4heA1EioEvFfATEv0 X-Google-Smtp-Source: AGHT+IElOZVXVj/FlEZ3fbmtBkOLSrsihpcHyRreC5BIEGKSLXXKFN04zZD8UqjwCA5j+FE4FKXBkA== X-Received: by 2002:a05:6512:3da9:b0:52e:f950:31f5 with SMTP id 2adb3069b0e04-53438832e67mr10098468e87.18.1724792484028; Tue, 27 Aug 2024 14:01:24 -0700 (PDT) Received: from cleve-worktop. (85-193-33-82.rib.o2.cz. [85.193.33.82]) by smtp.googlemail.com with ESMTPSA id 4fb4d7f45d1cf-5c0bb1c3114sm1405835a12.13.2024.08.27.14.01.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Aug 2024 14:01:22 -0700 (PDT) From: =?utf-8?b?S3J5xaF0b2YgxIxlcm7DvQ==?= Date: Tue, 27 Aug 2024 23:00:44 +0200 Subject: [PATCH v2 2/3] Use regulators for pio on NanoPi NEO Plus2 MIME-Version: 1.0 Message-Id: <20240827-nanopi-neo-plus2-regfix-v2-2-497684ec82c7@gmail.com> References: <20240827-nanopi-neo-plus2-regfix-v2-0-497684ec82c7@gmail.com> In-Reply-To: <20240827-nanopi-neo-plus2-regfix-v2-0-497684ec82c7@gmail.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, =?utf-8?b?S3J5?= =?utf-8?b?xaF0b2YgxIxlcm7DvQ==?= X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1724792480; l=958; i=cleverline1mc@gmail.com; s=20240824; h=from:subject:message-id; bh=ZUQNvjzepWA4pCK8RLWIXzlmS349ucRwrxxaYBZS3Do=; b=OhH9WG6Wv6Z7PRWzl1EICmfw7GOLJF8ftG+PLNKrN978hxBL+u9qLUob7ALa9BomlnNZ/FhFT BEERtDUuzqqBHX0a/5HrQR62Z6mGP4Wyw9rbExnS+yHEhGYtAGdeoVt X-Developer-Key: i=cleverline1mc@gmail.com; a=ed25519; pk=CQifx5FUgTQKAoj5VCYrwYHi235AkXQ5yT1P6gkaBxM= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240827_140126_868643_7217577F X-CRM114-Status: UNSURE ( 9.59 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Pin controllers pio and r_pio will have proper regulators assigned. Signed-off-by: Kryštof Černý Reviewed-by: Andre Przywara --- arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts index dee4cd82636b..526443bb736c 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts @@ -171,6 +171,18 @@ &ohci3 { status = "okay"; }; +&pio { + vcc-pa-supply = <®_vcc3v3>; + vcc-pc-supply = <®_vcc3v3>; + vcc-pd-supply = <®_gmac_2v5>; + vcc-pf-supply = <®_vcc3v3>; + vcc-pg-supply = <®_vcc3v3>; +}; + +&r_pio { + vcc-pl-supply = <®_vcc3v3>; +}; + &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_pa_pins>;