Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp95048ybg; Tue, 28 Jul 2020 00:28:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyltZC/gyIXbZqQ1FktZMt1Q56qVRSnjR+HX6nUB37QdDrBW6fHsvwqQsSqKW0ruX5euUEp X-Received: by 2002:a17:906:7d6:: with SMTP id m22mr5878738ejc.229.1595921338659; Tue, 28 Jul 2020 00:28:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595921338; cv=none; d=google.com; s=arc-20160816; b=qE3y15FyG6A7VeQRrU0RgzDqwHYxfIcwlGp3nlYDtQsLN6ALvJitpxOyVe4JhHgRya VSJXpUB8VK+C8+7/KvaQlPLovftsZWUDW51ub5QWUzMEi70XYVBJzPlAS6z7fwJcoaQI Sv2UU4ggZqfNKRuMorvdNkg1n+KqfdZWkKXmp49O52ZNGV3qeqSrRs4IxBkgAB4H60/Z ge6sQZk7cUh7rQmBSRe+mdRilkQxaozW/TZE9u5yIq2hhRDdD+IG/A/3w3c0K0siURWN G612t6iqp3Zed4VGXwfKgPmr8zfTIAdylFvxG+rnjg8Q/lvwC8aiv/QOkDSud/8jxgbJ R9CA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=L908e2AdQSAptw2MG0+5KEEyg20P0DnrpSzY3TXAojs=; b=m9naiiPFOvQqHp+PWBIO5gwnR23B7XnB7UF0OK+gbmXk8+26i4WviDVIBU9dTViYCX 9PylRn2YhegN/RSM399Cc0fH5q5QgmsW38QuZpncUn8U0tLGd1fgrjhKoml03rNEn+vZ +JIqIbBN/WbAsNSrOHkR2oSNFS1hCy3ACE9EYsBmyE7fJqv6vecQ+j/BenYz39SyBsoL 80X+7u0Q1mB5TECgWIv2apKj2PEoFgtltWdcoUtUjP/K4ioyNSiigbtm6o0WiRttv2Eg TjKELoPjm7uLIIF1751ieBjHfUa1pyrMvwWUQ0wOMOyYCgA9bJ31QhEcHDdAvsK7QvmE 4rtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=z00tIkug; 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=st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bg17si6378414ejb.16.2020.07.28.00.28.36; Tue, 28 Jul 2020 00:28:58 -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=@st.com header.s=STMicroelectronics header.b=z00tIkug; 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=st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728004AbgG1H15 (ORCPT + 99 others); Tue, 28 Jul 2020 03:27:57 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:34080 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726990AbgG1H15 (ORCPT ); Tue, 28 Jul 2020 03:27:57 -0400 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 06S7I0mM015172; Tue, 28 Jul 2020 09:27:39 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=STMicroelectronics; bh=L908e2AdQSAptw2MG0+5KEEyg20P0DnrpSzY3TXAojs=; b=z00tIkugcratI9e5e77HQjJo3ixY/oHxNREc9N4lcN5UzKrNzBPI0m9+aTks0zETaszu ydeTDMAExij1wXWKKUz37quocYSk3p4XsbdmC6mjXqaPmDRf3BLHDlIxBJtXbNb6p3g4 MUvyqlAM4iumBCxTPVJCOwPPiE543J63KLul1mzH5kvL2qrE55a1VjH2zUMPiPBbYec3 M4AefGRuV4Gfh6JoBihACujluFq8q3hQEWNIUI7CATa5oSytZj/uI5g6yJZ4gJ6NP2P2 hwk2d5XcOkLrrtoEzd/qxVLNBz6MGGn3XASQ3e6HcM10B7VT9Q7cSqCthJkSl7SYe3Zr vg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 32gbmg4q00-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 28 Jul 2020 09:27:39 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 8562A100034; Tue, 28 Jul 2020 09:27:38 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 7063121F0BF; Tue, 28 Jul 2020 09:27:38 +0200 (CEST) Received: from lmecxl0995.lme.st.com (10.75.127.45) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 28 Jul 2020 09:27:37 +0200 Subject: Re: [PATCH v4 3/3] usb: dwc2: don't use ID/Vbus detection if usb-role-switch on STM32MP15 SoCs To: Andy Shevchenko , Martin Blumenstingl CC: Minas Harutyunyan , Felipe Balbi , Greg Kroah-Hartman , Rob Herring , Maxime Coquelin , Alexandre TORGUE , USB , devicetree , Linux Kernel Mailing List , linux-arm Mailing List , "linux-stm32@st-md-mailman.stormreply.com" , Fabrice GASNIER References: <20200727092346.19780-1-amelie.delaunay@st.com> <20200727092346.19780-4-amelie.delaunay@st.com> From: Amelie DELAUNAY Message-ID: <19ba2fe3-56d1-32a9-3897-27a36ab58c2c@st.com> Date: Tue, 28 Jul 2020 09:27:37 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [10.75.127.45] X-ClientProxiedBy: SFHDAG4NODE2.st.com (10.75.127.11) To SFHDAG3NODE2.st.com (10.75.127.8) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-07-28_01:2020-07-27,2020-07-28 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 7/27/20 9:44 PM, Andy Shevchenko wrote: > On Mon, Jul 27, 2020 at 10:04 PM Martin Blumenstingl > wrote: >> On Mon, Jul 27, 2020 at 11:23 AM Amelie Delaunay wrote: > >> > -       p->activate_stm_id_vb_detection = true; >> > +       p->activate_stm_id_vb_detection = >> > +               !of_property_read_bool(np, "usb-role-switch"); >> the rest of params.c uses device_property_read_* instead of of_read_property_* >> I thought I'd mention it so you can decide yourself whether this is >> fine or needs to be changed > > Better to change and leave all on one line. > Thank you both for your review. I'll change it in upcoming v5. I'm still not used to exceed the 80 columns :) Regards, Amelie > -- > With Best Regards, > Andy Shevchenko