From patchwork Sat Apr 30 19:10:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harald Geyer X-Patchwork-Id: 568278 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 7E698C433F5 for ; Sat, 30 Apr 2022 19:10:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229617AbiD3TOG (ORCPT ); Sat, 30 Apr 2022 15:14:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241276AbiD3TN7 (ORCPT ); Sat, 30 Apr 2022 15:13:59 -0400 Received: from mail.multiname.org (unknown [IPv6:2a01:4f8:160:11d1::1:107]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D44C26E7 for ; Sat, 30 Apr 2022 12:10:34 -0700 (PDT) Received: from huygens.ccbib.org (unknown [10.0.10.112]) by mail.multiname.org (Postfix) with SMTP id 4KrJpW2cSqzKtyYG; Sat, 30 Apr 2022 19:10:27 +0000 (UTC) Received: by huygens.ccbib.org (sSMTP sendmail emulation); Sat, 30 Apr 2022 19:10:27 +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: [PATCHv2] arm64: dts: allwinner: teres-i: Add GPIO port regulators Date: Sat, 30 Apr 2022 19:10:09 +0000 Message-Id: <20220430191009.73946-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. Signed-off-by: Harald Geyer --- Changes since v1: * Add supplies for PD and PE even though they are matched from 'regulator-name' properties, as this is a Linuxism. * Add generic IO voltage as supply for PF as this is an implicit (chip internal) dependency. arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts | 8 ++++++++ 1 file changed, 8 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..1128030e4c25 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,14 @@ &ohci1 { status = "okay"; }; +&pio { + vcc-pc-supply = <®_dcdc1>; + vcc-pd-supply = <®_dldo2>; + vcc-pe-supply = <®_aldo1>; + vcc-pf-supply = <®_dcdc1>; /* No dedicated supply-pin for this */ + vcc-pg-supply = <®_aldo2>; +}; + &pwm { status = "okay"; };