Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2603614pxb; Tue, 19 Jan 2021 01:05:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJzaXZIud7aRUNgYwXH2u6U7Yz1wFbj7vkcsi7iZ447u09du5+91B5ZBdD4bA4UaXtUuuzzH X-Received: by 2002:a17:906:a669:: with SMTP id en9mr2429487ejb.353.1611047139061; Tue, 19 Jan 2021 01:05:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611047139; cv=none; d=google.com; s=arc-20160816; b=Aps33q8AaRJI+UQiMZseaGatUT6JY73oKl6wgxdsoc75ZdG9CGWUouysvo3c+CfxlI 2rUPiSbJ4zHImjzlalOQkMrf4CJXYvvtib0ibHW97A1Jn5g4VMoPZBwmAh6lI0c0FteA dfaAQY3UFerStBZKhtI/HKmNgPywe0sRXAe1Lq58KTl3KbA8vXHSPpxIca6UHCyyHaC2 FkCgHUPv4FTAc4b+6/kYEKUUbZR5wKMQPwVdbRDCYUhvueCx2zgLmZlZrMu4kFMneuZ2 4SMd7j5MjI+46se6/6lyIpZn5xOZ/SMkCBn3eLMOxm1TNKKtwqoc6NKkMHx6nQrS+xwy jSUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=SC70cd44PoB3Qy1CgD+wVtNygiMs+bwJ445oAjz5DZI=; b=YBNRcxl5oZO677qcsksa8t0tw5gI0zpjmfo4yZJbhFaMbyisf6d6ODPMzTeCejK3xK ueezTL1CGztV45jGUVw+U2zMFjyIxT5OUM2rTcbEAtg07XMbzy1gHbxwZ4pnh59NvNYI bAr0qu3waalpdm9bFJYaGXO/UKnl3XnKVCEeAe5/ublt7LKbvmMmGPWKT5YKEBCxkfa7 ECw1jBx1HjjOULMpdABOJyTyr0hFYM7/qIbfDNoId4+ILfr7h+2NJU2/HAQnna2IauzS 3WbbWthervBBdNkg2mNl1X0jfy88/habsfC8DPpvUFwci5RYmJ75pnGI8eYsbVA3vLa/ AHag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lpWQ49To; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y14si400634edt.2.2021.01.19.01.05.15; Tue, 19 Jan 2021 01:05:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lpWQ49To; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731596AbhASJDS (ORCPT + 99 others); Tue, 19 Jan 2021 04:03:18 -0500 Received: from mail.kernel.org ([198.145.29.99]:54980 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731626AbhASI5s (ORCPT ); Tue, 19 Jan 2021 03:57:48 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0470123103; Tue, 19 Jan 2021 08:57:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1611046628; bh=FNcY0Ysa8mRAba5iHcXtcfQOnny/W/mDvHOHe7GEF0Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lpWQ49TouWfPuvM/2l87PgVTet3UyKx9kXsMTe8IcUcaf9NJxOooNf55QuaBflm58 QtF0WcrMXJmRPkbd7faM2Aw/41mG6G36eD2+EAnbZuue6Z0NXQj4j9L92zthdmTgKh NjMDIVXk0DbnDgTGYH0CwfV+hRtqAeDnlgTTabeSUiO9E0gdsb704cuh6v8+T/qBjP aWeD6T/T2YDup+KzPU5qCL0r8GEAA7FPfzb5zTNJeOUoVWuPdUJWlnM0+3EydtYUXv N9LwHz3PMt5IWA2K5VgrzUfwr5uvSMekCEQtqGJk/ArYj+1P+zxClXmjRshvDA2Ars 2FkRPfNS12rHw== Date: Tue, 19 Jan 2021 16:57:02 +0800 From: Shawn Guo To: Ahmad Fatoum Cc: Rob Herring , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Frieder Schrempf , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH] ARM: dts: imx6qdl: specify vcc-supply for NOP USB PHYs Message-ID: <20210119085700.GB4356@dragon> References: <20201113152856.3758-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201113152856.3758-1-a.fatoum@pengutronix.de> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 13, 2020 at 04:28:55PM +0100, Ahmad Fatoum wrote: > The SoC dtsi lists a NOP USB PHY for each of the two HSIC-only USB > controllers. Their device tree node doesn't indicate a vcc-supply > resulting in: > > usb_phy_generic usbphynop1: supply vcc not found, using dummy regulator > usb_phy_generic usbphynop2: supply vcc not found, using dummy regulator So the patch is all for removing this kernel message, with introducing the following potential breakage? Shawn > > warnings on boot up. The USB IP vcc-supply - separate from the vusb - is > hardwired to LDO_2P5[1], which we already have a device tree node for. > Reference it for the dummy "phy" as well. > > This will lead to breakage (probe deferment) for kernels that: > - Use a HSIC USB controller > - Use this new device tree > - but have CONFIG_REGULATOR_ANATOP disabled > > Because while the regulator is always-on, it can't be resolved when > there is no driver for it. > > As there are > > - no affected upstream device trees > - existing device trees are unaffected without recompilation > - disabling CONFIG_REGULATOR_ANATOP is explicitly a non-recommended > configuration per symbol help text > > this potential breakage is deemed acceptable. > > [1]: i.MX 6Dual/6Quad Reference Manual, Rev. C, > Figure 53-1. Power System Overview > > Cc: Frieder Schrempf > Signed-off-by: Ahmad Fatoum > --- > arch/arm/boot/dts/imx6qdl.dtsi | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi > index 43edbf1156c7..22e4c142de13 100644 > --- a/arch/arm/boot/dts/imx6qdl.dtsi > +++ b/arch/arm/boot/dts/imx6qdl.dtsi > @@ -131,11 +131,13 @@ pmu: pmu { > > usbphynop1: usbphynop1 { > compatible = "usb-nop-xceiv"; > + vcc-supply = <®_vdd2p5>; > #phy-cells = <0>; > }; > > usbphynop2: usbphynop2 { > compatible = "usb-nop-xceiv"; > + vcc-supply = <®_vdd2p5>; > #phy-cells = <0>; > }; > > -- > 2.28.0 >