From patchwork Fri Jan 27 00:47:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 9540439 X-Patchwork-Delegate: agross@codeaurora.org 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 E8078604AA for ; Fri, 27 Jan 2017 00:50:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D514628306 for ; Fri, 27 Jan 2017 00:50:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CA2822830A; Fri, 27 Jan 2017 00:50:05 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 70AE128319 for ; Fri, 27 Jan 2017 00:50:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752796AbdA0AuE (ORCPT ); Thu, 26 Jan 2017 19:50:04 -0500 Received: from mail-pf0-f174.google.com ([209.85.192.174]:34114 "EHLO mail-pf0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752793AbdA0Asm (ORCPT ); Thu, 26 Jan 2017 19:48:42 -0500 Received: by mail-pf0-f174.google.com with SMTP id e4so68814026pfg.1 for ; Thu, 26 Jan 2017 16:47:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=GZFqs312cNB7YY8rbe+UUYlgbpZ5FImNhs0fIqYyx7M=; b=AI7CTYzkJIHTE4p7yumHEQUnkwY4oRuJBpiOsMD5JceynCEfZ6Se+xj6BZkQL8KDa2 HFK8stpvTMIFcBqeU0TOzvQrgwvSQYFMiW9opn7VBCPV1GzRP/DFNSdE8GtfYAX9ZaOq yWxmDYGy/quj3D2IJgkUH6o1CcEYiYnZSAiWA= 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=GZFqs312cNB7YY8rbe+UUYlgbpZ5FImNhs0fIqYyx7M=; b=SbRWFaQ70PwY++jPbEyRJfDEwXM3Xjb5ReEUDyyJtDCORgSBjAAacN9JbQOdvRCFxN J3SqJv+wSTUzRprRsomhCnGoKUJY9Rfuo5URxsy11wacfLh1RHSXRuMl2IPm6tz4xelP FB1Ru0QltpEVFCbTcSbD7HZ+3AsJ8E96vNb62md77PHsG4r1kIzZzRepN/FbSfhGWmSx QstGSqQ1pR2yByzf0baLJMemwZdcDDTEko6zlon2wWwInojxbWo4R+bdQibwZfL5R8eO nhDliik4PR9rVG+cNba8Nfm1mg1/U0cUsR4kkolzTv6OAnLUzjFqpEFQHmf0oR/EhzZ6 VvVw== X-Gm-Message-State: AIkVDXIPdfwpmjUxtic+HAmqCv4QgRLWqJGW3zYuXfe3x8fWCLaZnGqgDS7dN/FJZoA4jCG0 X-Received: by 10.99.137.199 with SMTP id v190mr6341991pgd.120.1485478053341; Thu, 26 Jan 2017 16:47:33 -0800 (PST) Received: from localhost.localdomain (ip68-101-172-78.sd.sd.cox.net. [68.101.172.78]) by smtp.gmail.com with ESMTPSA id k184sm6016152pgc.23.2017.01.26.16.47.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 26 Jan 2017 16:47:32 -0800 (PST) From: Stephen Boyd To: Andy Gross Cc: "Bird, Tim" , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Tim Bird Subject: [PATCH 2/5] ARM: dts: qcom: add charger otg regulator Date: Thu, 26 Jan 2017 16:47:25 -0800 Message-Id: <20170127004728.22490-3-stephen.boyd@linaro.org> X-Mailer: git-send-email 2.10.0.297.gf6727b0 In-Reply-To: <20170127004728.22490-1-stephen.boyd@linaro.org> References: <20170127004728.22490-1-stephen.boyd@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: "Bird, Tim" Add the otg regulator provided by the charger block. Signed-off-by: Tim Bird Reviewed-by: Bjorn Andersson [stephen.boyd@linaro.org: Fix otg supply property name] Signed-off-by: Stephen Boyd --- arch/arm/boot/dts/qcom-pm8941.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/qcom-pm8941.dtsi b/arch/arm/boot/dts/qcom-pm8941.dtsi index f8eb5e31c920..6b16b296f0fa 100644 --- a/arch/arm/boot/dts/qcom-pm8941.dtsi +++ b/arch/arm/boot/dts/qcom-pm8941.dtsi @@ -45,6 +45,10 @@ "chg-gone", "usb-valid", "dc-valid"; + + usb-otg-in-supply = <&pm8941_5vs1>; + + chg_otg: otg-vbus { }; }; pm8941_gpios: gpios@c000 {