From patchwork Fri Apr 15 16:56:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harald Geyer X-Patchwork-Id: 562008 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9ED6CC433F5 for ; Fri, 15 Apr 2022 17:03:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242861AbiDORGM (ORCPT ); Fri, 15 Apr 2022 13:06:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236204AbiDORGL (ORCPT ); Fri, 15 Apr 2022 13:06:11 -0400 X-Greylist: delayed 448 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 15 Apr 2022 10:03:41 PDT Received: from mail.multiname.org (unknown [IPv6:2a01:4f8:160:11d1::1:107]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7504593AD for ; Fri, 15 Apr 2022 10:03:41 -0700 (PDT) Received: from huygens.ccbib.org (unknown [10.0.10.112]) by mail.multiname.org (Postfix) with SMTP id 4Kg2XV0TYRzKv0QF; Fri, 15 Apr 2022 16:56:09 +0000 (UTC) Received: by huygens.ccbib.org (sSMTP sendmail emulation); Fri, 15 Apr 2022 16:56:09 +0000 From: Harald Geyer To: Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org, Torsten Duwe , Harald Geyer Subject: [PATCH] arm64: dts: allwinner: teres-i: Add GPIO port regulators Date: Fri, 15 Apr 2022 16:56:05 +0000 Message-Id: <20220415165605.28560-1-harald@ccbib.org> X-Mailer: git-send-email 2.11.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Allwinner A64 SoC has separate supplies for PC, PD, PE, PG and PL. Usually supplies are linked via the 'regulator-name' property of regulator nodes. However when regulators are shared we need to declare the additional links in the pinctrl node. Signed-off-by: Harald Geyer --- arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts index aff0660b899c..cc316ef2e2d6 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts @@ -197,6 +197,11 @@ &ohci1 { status = "okay"; }; +&pio { + vcc-pc-supply = <®_dcdc1>; + vcc-pg-supply = <®_aldo2>; +}; + &pwm { status = "okay"; };