Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp569103ybg; Tue, 28 Jul 2020 13:03:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyocY1p/ICEhW/XQGG4q7J1WbYy2ToOgx2PsHjNp1v5DzL8JrarwbnNRq9nXsUUuuopq7Of X-Received: by 2002:a17:906:3050:: with SMTP id d16mr13103013ejd.12.1595966606938; Tue, 28 Jul 2020 13:03:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595966606; cv=none; d=google.com; s=arc-20160816; b=Ep8mSKWVnp9xSJyIaF51/B4r1rzmutdrFgg0HNHmPEG5zT3n9oEBjaqW7YjjLdM+Kg GJxAQK8/tjs+mz5VRxhtSprq7a9xV8agkpvkON5Gfy/btXYmXUvOrA7zQvakTJbpNYYs SgS4AaQomqdAnIgjUcuF8L+C631+8o46+57upakPrS1tAUUm1h8mBXGK7mPaUhnL8MHy AdIvOjOVz/WxQAcai5tx2rdVeu8ZNZQocw3HTO8FX7blPUycdpr4TI1VcqxUY8ml3Xua qRXv80OjJSyU+/b6BPT3bayWk0oayFK07ctUrVN3b0tSBrDPibYOT+90Mw/1iLJ6lpFJ A+qQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=oa15p4iXa6GJWXcRKbHat247Q7cvm1xa0u7tYmwOk/s=; b=xlOsQmgRt+6zkZDO5ILrwl1/UM+gsdyNzupJtF4KxXmF8zz0dvgyL591C6cZTNoag7 /FAV/UypSwKjRGV7nKEjxteu2RJ2Kg7fYc5agLo95jTtJtCnOSsmW8myw0ZYTKw5Nb+G FvGKWHPv9NmsLuA2LaeOfgU7JJyS+SrjcU51wzqWjPJ8C2cTZkMbtEJrYGg+oT3lzmVj 9CBcpC25+9F2Jq08gexS4enoZy0y4rthM8E6jbwMp1bg+IGj1So5m78NkgcxbTL14a5u g6Oj0HDu1QHKELpA9C3/PMSKvaYJShs0WBrnKVo88XQGr5/xDX0GWa9JEqKe8HHyv44e DR+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=blU+NE79; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g6si8871288edl.330.2020.07.28.13.03.05; Tue, 28 Jul 2020 13:03:26 -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=@googlemail.com header.s=20161025 header.b=blU+NE79; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732712AbgG1TSh (ORCPT + 99 others); Tue, 28 Jul 2020 15:18:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728751AbgG1TSg (ORCPT ); Tue, 28 Jul 2020 15:18:36 -0400 Received: from mail-ed1-x544.google.com (mail-ed1-x544.google.com [IPv6:2a00:1450:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53A93C061794; Tue, 28 Jul 2020 12:18:36 -0700 (PDT) Received: by mail-ed1-x544.google.com with SMTP id v22so4858250edy.0; Tue, 28 Jul 2020 12:18:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oa15p4iXa6GJWXcRKbHat247Q7cvm1xa0u7tYmwOk/s=; b=blU+NE79hmQP+AWK2v6QHIjREnaP4/YLScYIEh3rWReHYQ1hpM4CB6natewhEcZJg3 At/DtAoJ9fBGj4g3ZnXIMFH10prYf+AFTHKPO+8fGRN1w55P9BQqv5CG5MoRsyeuOUGy POKNlHiYWWDnRAmGiURfH6NrFotdNYkduTjxfX1eU8AGv+UrcTi8XLXCxBpX95UH/nrL VkdM0HjfPkXJVbmw5xo9QFfmCuDC7uGtgEvhLlgy6LaFCwHAms40eJR1/qxhoNZR63Us RkobSo+XmF/XkyPrpesTskiyKBR75/rYao7GhgZ+zXjoQJs1dT76PdO1tV+cozSe21+o 52EQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oa15p4iXa6GJWXcRKbHat247Q7cvm1xa0u7tYmwOk/s=; b=Uy4PPF4woKMyS4JMu3Q8HWUxMMcMppymWPzWFO6BqnxBP+0fmOjBK6P7V1tSYLiaSJ FSMI7a1eWs4SHcT78TgnltknunaOvUZHJKLWLsb3N/ZNYecj9pq/3+Y6YZc8Xm5ipCtX TkuOU7c5ZwCnkFlajsyRqrIvG7ty6ZQwP3ilZaKMxH+zyw2kfIfnqgucNbU85FP4ZdSX /IMvp3OrwQylnw3FoD3IZer9TR0MIbtrR7YiuwHx1sytaGFVPxwqRx0Lhqmt+TK947BI 9hqI8YTgkYn+EwXc29Wx4X77wNJeGhC9hFwm9f1N7j7F1jIwNsirRv7YlDg3sb5qsCgf GsYQ== X-Gm-Message-State: AOAM5317sbn/o/tDDTFAyNXOBIcr5GsnBpRQP394iRbL/Fxv1fVIAGR3 WsG0EwYB2GkZtLxd8doVuAFQ32wrNjvL85Kq5lA= X-Received: by 2002:a05:6402:1d0a:: with SMTP id dg10mr26396667edb.110.1595963915038; Tue, 28 Jul 2020 12:18:35 -0700 (PDT) MIME-Version: 1.0 References: <20200728074602.14218-1-amelie.delaunay@st.com> <20200728074602.14218-4-amelie.delaunay@st.com> In-Reply-To: <20200728074602.14218-4-amelie.delaunay@st.com> From: Martin Blumenstingl Date: Tue, 28 Jul 2020 21:18:24 +0200 Message-ID: Subject: Re: [PATCH v5 3/3] usb: dwc2: don't use ID/Vbus detection if usb-role-switch on STM32MP15 SoCs To: Amelie Delaunay Cc: Minas Harutyunyan , Felipe Balbi , Greg Kroah-Hartman , Rob Herring , Maxime Coquelin , Alexandre Torgue , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Fabrice Gasnier 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 Hi Amelie, On Tue, Jul 28, 2020 at 9:46 AM Amelie Delaunay wrote: > > If usb-role-switch is present in the device tree, it means that ID and Vbus > signals are not connected to the OTG controller but to an external > component (GPIOs, Type-C controller). In this configuration, usb role > switch is used to force valid sessions on STM32MP15 SoCs. > > Signed-off-by: Amelie Delaunay thank you for updating this patch - please add my: Acked-by: Martin Blumenstingl Martin