From patchwork Thu Dec 7 19:04:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10100893 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BF5206056F for ; Thu, 7 Dec 2017 19:05:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B203127F93 for ; Thu, 7 Dec 2017 19:05:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A6E2728569; Thu, 7 Dec 2017 19:05:24 +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=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 170CC27F93 for ; Thu, 7 Dec 2017 19:05:24 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=2ryZhMRqs+hW5Ise9mtWZG5LN1i7dr5uGDIKBcy7yrE=; b=UfPAvL0f4iZS8mo7IQs6ruJSRr AfSS2ldNxQmc5lK4d4nMNwl8X+3y7WVYaLhWUrcB9ZOsKFqyRw2ll+eQLJDntjTsbzNWJHrQx8HP0 AnQ06SXGvmV6MvHuzJeG/WYV56vI06TZz/trS0VxMw9O1g0Oz82RIxOg8f+ECA+SzEysFMpYhSlhj 1RlDUnWrhyZsgAvMrobTrHEVzlV9yvhRdo4RrnF/eryV/0BUwR8+z3MDm7lGed93IpIg4DvqZ1wRG wI1a2w/QgOAed7syajQXSOHyuEHvpx/3iYFZALKizckw1hDRbnbgzp/tD6pRxlDXH1+VhMAS6aShN 2Fo70wNQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eN1U2-0000fn-QU; Thu, 07 Dec 2017 19:05:22 +0000 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eN1Tv-0007ce-P2 for linux-arm-kernel@lists.infradead.org; Thu, 07 Dec 2017 19:05:21 +0000 Received: by mail-pf0-x243.google.com with SMTP id p84so5374909pfd.3 for ; Thu, 07 Dec 2017 11:04:54 -0800 (PST) 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; bh=DydaUJvOAISssijmc9U+IVpAyRLVXVhxR1tPzS30ynA=; b=i/AZ4z3eerk/eLPkSw0mygCpf1oPwV79mdLRpDK6odMbqjLpQTLo+o5hDuuif7vrrE mJhZZiQB+wkN0/lPtv8mx1Hd+37MNCxbowfOaBKfOe4NmTCiaI+k4Pz+V5tpMaQqGTGB cOpTQMQfsSzRmMJfLygRs2KXDRLD/4cCU9FSHYt020iDl1BEQQbiicYkLQ1sDPXO+2jG 1AmReQl/mt1Edau0SdvhuVKTwbQHcU7EyrXce+b4q82waovmBFtZYCOpGehhrXfoJPTN 8RsndjXLnLV/9Pt9NlsdLqsK4WFAqgE64QIXzfV+SH/ht8MSD+Wxn9kKDALSgJfKutP1 uEmQ== 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; bh=DydaUJvOAISssijmc9U+IVpAyRLVXVhxR1tPzS30ynA=; b=envIMVqKRffBwq8rBniHc1xFsChx6Q1Ayioh8IxKC3vadyfp2VtIMaxlbE3CF9de6h TLM0lGVnlrgm3FrRE9ilg8WnI5tcOvElRZ4EAuULT4VpRZQ7Ny2wnkjA6zKpZU+8WIFi 0g18hY8+WkWNEvf01vZVHnOA+Vv+aDc233q8iGlK9nPf9KLtzHvhlkt7BjCnmg5mXjBa /3b5rbASW4UwjBpvIq2oYnpt1u2K3Q85ITLpdMU1Xds/OQCY9avQdiHJyxV1PO/sIzcp TRyqkKQGaOcKDkI00OLwRefvrZw7cJUc6/iYp74QLXJ/6/HnkG6UKyMqLlcZbeyPJFhI 290A== X-Gm-Message-State: AJaThX6nQh0j1KMEWtCQP1sezeX6ZHyAqBDOgz/feKdbahYZZakwdrG9 D3vx26tOFJFTyVWCQiEGLVs= X-Google-Smtp-Source: AGs4zMaZtNRTpYKMxdk3Z6YFjzU+rgJzrhLQkBHZy1z7FFdIzSrZPrcN27OgXy6wpAem5UizSAaVDQ== X-Received: by 10.84.168.101 with SMTP id e92mr26951678plb.34.1512673494020; Thu, 07 Dec 2017 11:04:54 -0800 (PST) Received: from localhost.localdomain ([115.97.180.212]) by smtp.gmail.com with ESMTPSA id j62sm10550867pfc.18.2017.12.07.11.04.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Dec 2017 11:04:52 -0800 (PST) From: Jagan Teki X-Google-Original-From: Jagan Teki To: Maxime Ripard Subject: [PATCH v2 2/3] arm64: allwinner: axp803: Add drivevbus regulator Date: Fri, 8 Dec 2017 00:34:19 +0530 Message-Id: <1512673460-7865-2-git-send-email-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512673460-7865-1-git-send-email-jagan@amarulasolutions.com> References: <1512673460-7865-1-git-send-email-jagan@amarulasolutions.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171207_110516_008200_A3801B83 X-CRM114-Status: UNSURE ( 9.23 ) X-CRM114-Notice: Please train this message. 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: Mark Rutland , devicetree@vger.kernel.org, Catalin Marinas , linux-sunxi@googlegroups.com, Will Deacon , linux-kernel@vger.kernel.org, Chen-Yu Tsai , Rob Herring , Jagan Teki , Michael Trimarchi , linux-arm-kernel@lists.infradead.org, Icenowy Zheng MIME-Version: 1.0 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 Add reg_drivevbus regualtor for boards which are using external regulator to drive the OTG VBus through N_VBUSEN PMIC pin. Signed-off-by: Jagan Teki --- Changes for v2: - New patch arch/arm64/boot/dts/allwinner/axp803.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/axp803.dtsi b/arch/arm64/boot/dts/allwinner/axp803.dtsi index ff8af52..e5eae8b 100644 --- a/arch/arm64/boot/dts/allwinner/axp803.dtsi +++ b/arch/arm64/boot/dts/allwinner/axp803.dtsi @@ -146,5 +146,10 @@ regulator-max-microvolt = <3000000>; regulator-name = "rtc-ldo"; }; + + reg_drivevbus: drivevbus { + regulator-name = "drivevbus"; + status = "disabled"; + }; }; };