Received: by 10.192.165.148 with SMTP id m20csp2545240imm; Sun, 22 Apr 2018 09:15:30 -0700 (PDT) X-Google-Smtp-Source: AIpwx49QUOGgp4Ncs2XU6ZN80qd6JTLrhyygcGTmWTU5/vkXpOiPtWgFMrZVgObEHNtgCuvIsHSQ X-Received: by 2002:a17:902:6b03:: with SMTP id o3-v6mr17545087plk.213.1524413730936; Sun, 22 Apr 2018 09:15:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524413730; cv=none; d=google.com; s=arc-20160816; b=uM1C9FAI842xTIYeVYa9wSxijVbiwC5FusC1cmlL5B1cyJ29VKuK0ivOG0MIV+dk9r NgobvEcn4j9GEPQbxgEPVMa5Hxy/GczsqmxJ6aNLnGnZQh90cwsUEZmkPsNQy2qpFmw1 HWuhYVBFjmuow2koLmvw4ZEEuzNPWzJGq5a4pkWl0Sv4njT7ZHGCSKC4gmAuGa3p9nFw vtsUDaZpJTLI3m5c/1TDzvFp4oooCBHIiHvXemfaJz8Nl8ypFzsNyODKfnKsHNQy8di/ FDDhfO8y27Z8ErK4e9P1sUOGNbKDdBUHbhzSCFeBr5PwD9l3tteBdPM5VNKhsw95if+k 2zvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=7ZFOE+i2pjUmMNws9bWcRughFqZsDujMtoODYV/+GWk=; b=P+jBjrXXG5sgTczHXwHNE4Kvmfu010kGGlmaqh2QZ0+z7aUdfVvBAMTNJV+icxWZ4p I+FpcBLA9ji1hRo9FsWFk8nHkR6+v7G+f0ylsapswOpepJwr2Ea3iZTbP4SqczmfDO01 QIwsAS6vmkZcuuFLoNuO9KHXKIsQYD4J1saCV0js2qm8A/aUG+yKUMlyqOAlmpBl4nbL gcpt6dWzXp11fAOlHTIC4U2UtPxwcQvf0S8W6ECCVNllSfPiY2LQq/CaGfOsedZ6Q42l QCY/6s3QIR/N2od2jGorlP+RI0dppa64EaLCunmTn0dOQGDl78rYpLcna716Z6nIXiiY MaNw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p13si9437566pfh.249.2018.04.22.09.15.16; Sun, 22 Apr 2018 09:15:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753882AbeDVQOR (ORCPT + 99 others); Sun, 22 Apr 2018 12:14:17 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:44560 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753399AbeDVNzS (ORCPT ); Sun, 22 Apr 2018 09:55:18 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 42516904; Sun, 22 Apr 2018 13:55:17 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sean Wang , Matthias Brugger Subject: [PATCH 4.16 023/196] arm: dts: mt7623: fix USB initialization fails on bananapi-r2 Date: Sun, 22 Apr 2018 15:50:43 +0200 Message-Id: <20180422135105.313050375@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180422135104.278511750@linuxfoundation.org> References: <20180422135104.278511750@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.16-stable review patch. If anyone has any objections, please let me know. ------------------ From: Sean Wang commit 0629a01920c0f8a3f825361b24863d760610884a upstream. Fix that USB initialization fails as below runtime log is present during booting on bananapi-r2 board by adding missing regulators the USB device requires. Current regulators USB device uses are being updated with the correct ones to reflect real configurations which are all from fixed regulators rather than MT6323 one's output. xhci-mtk 1a1c0000.usb: 1a1c0000.usb supply vbus not found, using dummy regulator xhci-mtk 1a240000.usb: 1a240000.usb supply vbus not found, using dummy regulator Cc: stable@vger.kernel.org Fixes: f4ff257cd160 ("arm: dts: mt7623: add support for Bananapi R2 (BPI-R2) board") Signed-off-by: Sean Wang [mb: update kernel log in commit message] Signed-off-by: Matthias Brugger Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) --- a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts +++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts @@ -39,6 +39,24 @@ }; }; + reg_3p3v: regulator-3p3v { + compatible = "regulator-fixed"; + regulator-name = "fixed-3.3V"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + + reg_5v: regulator-5v { + compatible = "regulator-fixed"; + regulator-name = "fixed-5V"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-boot-on; + regulator-always-on; + }; + gpio_keys { compatible = "gpio-keys"; pinctrl-names = "default"; @@ -468,12 +486,14 @@ }; &usb1 { - vusb33-supply = <&mt6323_vusb_reg>; + vusb33-supply = <®_3p3v>; + vbus-supply = <®_5v>; status = "okay"; }; &usb2 { - vusb33-supply = <&mt6323_vusb_reg>; + vusb33-supply = <®_3p3v>; + vbus-supply = <®_5v>; status = "okay"; };