Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp977120ybg; Mon, 27 Jul 2020 04:54:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxitTNGcC/wA5tnqrTEu90mgJ4I0Ck/1SsW3LoZ6df0fkSV6CNI6J/j2FF+L5nfN/K3aAY8 X-Received: by 2002:aa7:d4c1:: with SMTP id t1mr20942114edr.253.1595850877098; Mon, 27 Jul 2020 04:54:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595850877; cv=none; d=google.com; s=arc-20160816; b=K1ysOeVFjoHJjWbHi0XeoJkHCkLTNl+q2lNs03Z2JoyFDagc2gUmohtillYF//vsbP yEtlkklz+6EQrUkXZ0lV6ms3aQskVB6cBdRrUTsywu9E7QOrbCvZlCP+IbdjQbv7d4aF vTc2Dq7bZFksgOguAYTkHjU9Lj5S50vgpDbpF8KPS5dgJPxs4NtZE7lmoQNSjXi32xYC 6P+CZmYuna8LXTAphCrNdcWihYpginVn3nz1StCordyArxlHnzbbzbTLHORoMfUv0DsZ eylJE1n+MQSeQgmWpCFOIfwm/lcLpDfEXHOP3cdqG71vYqHj5hKEoJXZR+3rlppfjCKu u+BQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=pmx7r4So4ltU9GFLtyowT8sGCWQ3CPndiOgHKn5MH2Q=; b=1C8okhhKiaoiqtb4RzysRdGA9LG57xNH5YG0W4L6YikR4rL0Z3+qDnOD8uyoH1D4oZ vX7vtu8Vq2eJ152w3wuAv7VtnQXxCwn+iSpK+Tji/vrVmqBbBc4Lpzi+fCDJ37eFiZwp JCH4CMacgza57mBcXCgCt225VjvDvQADSbzygBgRbe8Ema6NijjSaPMhyMMsPpMoxi3o dwDt0eg+DTgmVYIpvomzIqL5/s+AnYDvU4DIOcsnu6t8hr9uj/u1tiaH0w8voO36Y0V8 KuU0fQlIqxiDycHsFHAn4e9xtBKZsI+5bncc5zPO290dVUI4rx6hEGyApjwWksaSqI0P 0DBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=G1ACx5gL; 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 c19si5324121ejz.484.2020.07.27.04.54.14; Mon, 27 Jul 2020 04:54:37 -0700 (PDT) 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=default header.b=G1ACx5gL; 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 S1728202AbgG0Lxk (ORCPT + 99 others); Mon, 27 Jul 2020 07:53:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:54318 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726873AbgG0Lxj (ORCPT ); Mon, 27 Jul 2020 07:53:39 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A227E206E7; Mon, 27 Jul 2020 11:53:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595850819; bh=pmx7r4So4ltU9GFLtyowT8sGCWQ3CPndiOgHKn5MH2Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=G1ACx5gLsKOlLnHUq7TxrmlaoSuUj35QO83mZgX22J+x2NolUsEZLVhjOUT0Duu2X UBU8N1plsG6Qtp1WieL6u0koBH+1NAhNq5ckcoQiUhlW12aQ+nQzPDHVpbAGDiZ+1d LpaP1h91USoBeicfxQp8fugF1xEmm13NGV/cXHe4= Date: Mon, 27 Jul 2020 12:53:21 +0100 From: Mark Brown To: Mike Looijmans Cc: Vincent Whitchurch , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, balbi@kernel.org, gregkh@linuxfoundation.org, lgirdwood@gmail.com Subject: Re: [PATCH v3] usb: dwc3: Add support for VBUS power control Message-ID: <20200727115321.GC6275@sirena.org.uk> References: <20200619142512.19824-1-mike.looijmans@topic.nl> <20200723075612.tn5dbkhes2chohwh@axis.com> <20200723110523.GA4759@sirena.org.uk> <1b153bce-a66a-45ee-a5c6-963ea6fb1c82.949ef384-8293-46b8-903f-40a477c056ae.2698920d-90ba-4c46-abda-83e18e2093c8@emailsignatures365.codetwo.com> <1b153bce-a66a-45ee-a5c6-963ea6fb1c82.0d2bd5fa-15cc-4b27-b94e-83614f9e5b38.ac9c2a67-d7df-4f70-81b3-db983bbfb4db@emailsignatures365.codetwo.com> <20200727102317.GA6275@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vOmOzSkFvhd7u8Ms" Content-Disposition: inline In-Reply-To: X-Cookie: Doing gets it done. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --vOmOzSkFvhd7u8Ms Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 27, 2020 at 01:50:26PM +0200, Mike Looijmans wrote: >=20 > Met vriendelijke groet / kind regards, >=20 > Mike Looijmans > System Expert You probably want to remove your signature when replying to the list... > On 27-07-2020 12:23, Mark Brown wrote: > > On Sun, Jul 26, 2020 at 09:10:39AM +0200, Mike Looijmans wrote: > > > It's the 5V VBUS power for the USB "plug" that's being controlled her= e. It > > > must turned on when the controller is in "host" mode. Some boards arr= ange > > > this in hardware through the PHY, and some just don't have any contro= l at > > > all and have it permanently on or off. On a board where the 5V is con= trolled > > > using a GPIO line or an I2C chip, this patch is required to make it w= ork. > > That sounds like the driver should not be using _get_optional() then. > Making it mandatory would break most (read: all except Topic's) existing > boards as they won't have it in their devicetree. I'm perfectly okay with > that, but others might disagree. No, it wouldn't break them at all - they'd get a dummy regulator provided. --vOmOzSkFvhd7u8Ms Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl8ewDEACgkQJNaLcl1U h9AOeAf/Q3uCuO9POLkFE4AFLM60fwOW/cXI1NJMegOuZ91RhQk4TF2WaZlMWHIf b8SYB4gvI151gQYg2UPgf52UpWEbVUZN6GoM/wyk1dOAm6ulrMx248Upv3gQkpHi RBRynDGfnTgOdn6GPde9XO24zF9zCpL6HyN1AHbp9y9zuC3nVg23Pi+Usyw3MyiG RWRyQ3lKAqssLAh+6CYQQBVQ2mEp6ubHxH9UuGoKYfgDDqo7gff1b4Ibfkv9QT3G wjVCthn7ZcgpKyFalB1cZ6MJcsnvEvtWcdz/lMAYT6YXpha0UvuVs5xj0LFYw6pc u9fo8pNhRClmGM+PizicmWsAcQ6aBg== =yKtV -----END PGP SIGNATURE----- --vOmOzSkFvhd7u8Ms--