From patchwork Mon Apr 8 09:26:18 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: 10889135 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 ABA6A1669 for ; Mon, 8 Apr 2019 09:23:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 94B5828644 for ; Mon, 8 Apr 2019 09:23:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8937128650; Mon, 8 Apr 2019 09:23:35 +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 33FCB28644 for ; Mon, 8 Apr 2019 09:23:35 +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=uAYDpFCIDfckwMp6HcUdlrDHxbDIcWBILgb90sNc9L4=; b=mRhAnUr7henGX7 uIkhLvvKRvLwduwc17tpQ8Z2kDNSguLVMWtql6jrVbnlb2Zp2TC+ZvsCULQ40g6PP4TIUJ3iUqwZr N/hG8wmf8hILIgji6VBb6Tai9ZhG93jgpDNTFZSWK5bdoH4tSJbVPEWSR1R/TRcYXtL5fi5KyfGZw zW9sPA1An4wp3kQHZ792G47n6ClCk4zpO0N3Dmc+eJ0PPCBAzJ8f2kOifHlarb4/DRgJDSwYnkpgW 6gE8Gflx9DqY5+r3BI55fK2THgNuHGKeXba/+qqpYcFmLaUYvWrB/ltCXKNoiR6yNt9AguXj8Mrnl 3ss3ERlUXe/HGwHJpQYw==; 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 1hDQUz-0002nr-Oz; Mon, 08 Apr 2019 09:23:29 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hDQU6-0001ZR-BV for linux-arm-kernel@lists.infradead.org; Mon, 08 Apr 2019 09:22:40 +0000 Received: by mail-wm1-x344.google.com with SMTP id a184so13430888wma.2 for ; Mon, 08 Apr 2019 02:22:33 -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=KAIN5KK91kY4ITqeAKSPL8DOT67g+hbERSyfTlOuus8=; b=JOySidlVKJhOQZYIEJwVO2L7xGRtWnqgLgLDTILx0futaFhY605DkPqpcqEiE+s+Q7 mpfIhYwPkH63fzaCr9d+nH7C8yotjNcdfCCcQxvtSQThWRs5K+zXV/Td4U0A9bJZFo7u 3wb6Nm8jKesaaEU4iK+H2cpEb1fuiIVJC8EGVui1y8B3yFDyD8ROhmxt7xjzG8GzTMy3 KoCOwtIAzdfnhPjiHpeSh33hqJF0ObJcqH5PJDs6G8tqVwIMRU2reeBsSzMc4zJZmYG0 TrJJjuFGl2p22vU5HdA7SFO+B8QaEexQ7GU+gEorg6MdM7AG0vMXqV2AbXt+Osmni5+W tCPg== 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=KAIN5KK91kY4ITqeAKSPL8DOT67g+hbERSyfTlOuus8=; b=Zazgr8Zb5KA/6gXV8WDVYkwNOLplyV564W/qCELv4LB0RP6PN6/RVE/euzRkT2RC3E yizD7z3haAcMFf8P2Jbi/gT6AyioC+2wzByCmVXHQBVdG9WtkT5b2IYM5xx02rrn8awC AEDK69C78PFEnbqPdrQg7Tx0RSbFzpBhSPk1vA4Ic9N+ByLn0tiXYZxeJatyDcY9UXtb WJP8k9bKQrJcaODKHHpITGXd4DrKMx5go9yaFpybk6LHRQYk+9o6+r5CBGv3cbOqSZmT FVGyoUm32qBW55Boi/gN26TUUiNK5jp8RpsIexFgkmakzsC/t5JuHhoL1JlQNnymTiD0 ekGQ== X-Gm-Message-State: APjAAAWGt0F6wh7lYwr4JDQ2KfI5fmAxSv0tavcZ+Ay7Vg8q9QvrHMj4 5s6HPRyBxIGpTQ4MdXUrWjDiVpQJ8BA= X-Google-Smtp-Source: APXvYqzRsC3IsAU6XvdcZRvLUDUcmrYDfQGd/YHf/VIrCXcqly03qHQ4GQ6b2bnt15cAWOi15yeGEw== X-Received: by 2002:a05:600c:2294:: with SMTP id 20mr15392010wmf.56.1554715352526; Mon, 08 Apr 2019 02:22:32 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::df7e:4a05]) by smtp.gmail.com with ESMTPSA id u17sm22671883wmu.36.2019.04.08.02.22.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Apr 2019 02:22:31 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , Jagan Teki Subject: [PATCH v3 5/6] arm64: allwinner: h6: orangepi: Add PIO regulators Date: Mon, 8 Apr 2019 11:26:18 +0200 Message-Id: <20190408092619.23152-6-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190408092619.23152-1-peron.clem@gmail.com> References: <20190408092619.23152-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-20190408_022234_743532_784B1C5C X-CRM114-Status: GOOD ( 13.75 ) 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: 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 X-Virus-Scanned: ClamAV using ClamSMTP OrangePi One Plus and OrangePi Lite2 use the same PIO regulators. Add this in the common device tree. Signed-off-by: Clément Péron --- .../boot/dts/allwinner/sun50i-h6-orangepi.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi index 62e27948a3fa..16280525fd5a 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi @@ -70,6 +70,12 @@ status = "okay"; }; +&pio { + vcc-pc-supply = <®_bldo2>; + vcc-pd-supply = <®_cldo1>; + vcc-pg-supply = <®_bldo3>; +}; + &r_i2c { status = "okay"; @@ -189,6 +195,17 @@ }; }; +&r_pio { + /* + * PL0 and PL1 are used for PMIC I2C + * don't enable the pl-supply else + * it will fail at boot + * + * vcc-pl-supply = <®_aldo1>; + */ + vcc-pm-supply = <®_bldo3>; +}; + &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_ph_pins>;