Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1234398pxb; Fri, 13 Nov 2020 07:32:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJxNc+CBv02l3wR4VjAdozJxHXbDSF3W/KGQQlTc/MzTPVmNmDCL2qpChCwFGbeETo16TdTO X-Received: by 2002:a17:906:1c8f:: with SMTP id g15mr2384371ejh.179.1605281566314; Fri, 13 Nov 2020 07:32:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605281566; cv=none; d=google.com; s=arc-20160816; b=yTQqvgenQfjj2Ouu3QDsOsYJhbhz4/HOVzWv68t1MmROtlmcA3UUTpjwj+cqVv01t8 SgsfZMHCq6cliCfsoC+JyuSqWwNpSTJjQDd03WqnGgPf7uo6xqXJzu9htiMGsRIcU0/G NUttWqDsM7c5gviXdTn+2PvBLCtP7/KcgTDVl3V9U18dT58cyPFcUZr/lsH0a0HtlVwA Cn2Fv3QEq1GPIIc+FnYyg/fGBznP7L+Elhl9BkMpCSJS6zuMHOHyQql11ApSgWxsru97 e8tYrmYbp3pN2KfRKMklHTGIsu/sNpMpBobXg/y+ze5ReQ3kvX9fL/Fk0N3+rviv+14h nB2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=QjI30tLa5DdNwojDnoyushxnFDfFsCay7eXqwNuVzA8=; b=V5N7ySCIz4mDf+K0WR6OVTJd5rDQWNWAOPsRosWsR5wdIA/Vi8Hj4Oy6VguXcKziY6 wAhuMkv8lbcD+LZXUxAUQzzdJYAJcCTb72upNq8muVl7A2n1YFGKb2yWujXte+cEEg5p v2Fcweg6i9u+2kw+PO4kNGD14pIYc/IXqIKeB8orbLhD78j0VaOQw2bdp+SWIug7+XvY p+UJiajtYR/rEpDuNtGCiKdR3hutBhvKly/JuzXXnBM7JNChF4KqDfq9M4kaLKMIX0LA FaUvIFsBSr+9YhTzmBar0M3smfb/zowZRBzCENgFs6CVvMrteedVYfl40oQCdeGuPmRU +YWw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ay12si5639072ejb.431.2020.11.13.07.32.21; Fri, 13 Nov 2020 07:32:46 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726751AbgKMP3I (ORCPT + 99 others); Fri, 13 Nov 2020 10:29:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726278AbgKMP3I (ORCPT ); Fri, 13 Nov 2020 10:29:08 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E5F1C0613D1 for ; Fri, 13 Nov 2020 07:29:08 -0800 (PST) Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kdb0V-0005ZU-Sx; Fri, 13 Nov 2020 16:28:59 +0100 Received: from afa by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1kdb0V-0000zk-2g; Fri, 13 Nov 2020 16:28:59 +0100 From: Ahmad Fatoum To: Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Cc: Ahmad Fatoum , Frieder Schrempf , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH] ARM: dts: imx6qdl: specify vcc-supply for NOP USB PHYs Date: Fri, 13 Nov 2020 16:28:55 +0100 Message-Id: <20201113152856.3758-1-a.fatoum@pengutronix.de> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: afa@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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