Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp3915797rwe; Mon, 17 Apr 2023 05:37:11 -0700 (PDT) X-Google-Smtp-Source: AKy350aEk6+aQiH1/jwkTTWUzSki01ylDsfVReokUhyD2zg4F104bWV196MfOVJ4WLqxoSKexit7 X-Received: by 2002:a17:902:f805:b0:1a6:4770:8383 with SMTP id ix5-20020a170902f80500b001a647708383mr11623823plb.29.1681735031042; Mon, 17 Apr 2023 05:37:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681735031; cv=none; d=google.com; s=arc-20160816; b=cmSXEW1IwOn/lI6ZEsFpyXQJBCK3mPEDMtp8dv/i2YpSlCwICTCem88ROB6ShR/Lnt Yheb9ysZDhBti2fLS8ipfK84JGZnbQ+yM57g37jHN+tc/2UIOFGewBpmMqDb9yzpqpIB 6qiqIipT1TuMyLt1LFpSy0cAFHgxiRMbtpcdoplnpW+0YFJXsw4/z2Qq0VzBnnBrSSdz ognlIizz/lRmX6W3Q7ZzW6mRZH4WaBQKiEfZ7VbN7wN+oSkR/WB2UmuwZ5U7Ju3+t8Wt kRqRaPhe8cMFXQ6ukm278A2Jk97EZebLfW4ic6nZEArgzAWCWwhvM7b9wy755CfZXq8H hWhg== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=jvK4cXeO8Jj4+6kMoLy/DP4MK+U8SvFogPOaVUzPgzM=; b=zOwKvvyBBGrhhBEwmyL+NphLeOgZZ+vmWL6oVyRGlDq1eIXMT4+jWSuEH3doEiJV+u FPStbqIGKpvKHcOF7pPk12z9ZOQq2hGS8g4beXP/FnlKG0C+yynNrXCgIswlzqp5NVL1 +FtyCJ3X6qTGy/9Y8bI98i5T+xu93avoZaWPX/Pyh0tLqVp/4aboMAXT/Gwva3fH+Ce9 30dlB0dz2I4gcSrfRYOlZp+FIGqWRRDkp9nwUfkp00ebJwdOouAf5hOR4DhZaRsyBOPF wMIVM08ItmY4P0o7pJgrfoxcuSt/Jd4l53xOX8z6XR8RCrOOo/92QuGckml+Jpg/2D6j csnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b=eDdQtACx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sberdevices.ru Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b10-20020a170902d88a00b001a64fba3382si11404195plz.148.2023.04.17.05.36.59; Mon, 17 Apr 2023 05:37:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b=eDdQtACx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sberdevices.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230052AbjDQMaG (ORCPT + 99 others); Mon, 17 Apr 2023 08:30:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231215AbjDQM37 (ORCPT ); Mon, 17 Apr 2023 08:29:59 -0400 Received: from mx.sberdevices.ru (mx.sberdevices.ru [45.89.227.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5FA7CE5B; Mon, 17 Apr 2023 05:29:56 -0700 (PDT) Received: from s-lin-edge02.sberdevices.ru (localhost [127.0.0.1]) by mx.sberdevices.ru (Postfix) with ESMTP id B6A735FD1F; Mon, 17 Apr 2023 15:29:54 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sberdevices.ru; s=mail; t=1681734594; bh=jvK4cXeO8Jj4+6kMoLy/DP4MK+U8SvFogPOaVUzPgzM=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type; b=eDdQtACxFXEqW9lv0/TbVuemLFGr05aN/2rtSitOukENevq2YpZU1eJIDGIUzC3op IpM60h1IZiEXMQsxT+Lype5cB1mZa2XUi7KJBeTaUltlibH1bZmx9qPU+yR54J0Nv2 gHeV002pL93tMlt6tfVHZPlsXqxDyhDcrrOTooj2H1bU+pOdjNDCl9PJbN2pF1hf7U Df7myAOXL2YSMclFwSiu3k2Zy7VTy6xO5aTH3NhaHqSE+ydMDNx42kww5CgHFVbf60 kTSRCd10xUeAsFYOboT8GI9umuSD9aXbt7yNaVsr9qWokp1G2cROb58jVVwW3czh5D lj2Qe3T++gS9A== Received: from S-MS-EXCH01.sberdevices.ru (S-MS-EXCH01.sberdevices.ru [172.16.1.4]) by mx.sberdevices.ru (Postfix) with ESMTP; Mon, 17 Apr 2023 15:29:53 +0300 (MSK) Date: Mon, 17 Apr 2023 15:29:52 +0300 From: Dmitry Rokosov To: CC: Martin Blumenstingl , , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH v1 4/5] usb: dwc3-meson-g12a: support OTG switch Message-ID: <20230417122952.s6ag2mtc7exdbr4n@CAB-WSD-L081021> References: <20230414152423.19842-1-ddrokosov@sberdevices.ru> <20230414152423.19842-5-ddrokosov@sberdevices.ru> <20230417114739.r7aoiodqybalbn4o@CAB-WSD-L081021> <3381d124-1049-16da-bcdb-1cbbec379154@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3381d124-1049-16da-bcdb-1cbbec379154@linaro.org> User-Agent: NeoMutt/20220415 X-Originating-IP: [172.16.1.6] X-ClientProxiedBy: S-MS-EXCH02.sberdevices.ru (172.16.1.5) To S-MS-EXCH01.sberdevices.ru (172.16.1.4) X-KSMG-Rule-ID: 4 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Status: not scanned, disabled by settings X-KSMG-AntiSpam-Interceptor-Info: not scanned X-KSMG-AntiPhishing: not scanned, disabled by settings X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 1.1.2.30, bases: 2023/04/17 09:07:00 #21118574 X-KSMG-AntiVirus-Status: Clean, skipped X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Neil, Thank you for review, appreciate it! On Mon, Apr 17, 2023 at 02:22:26PM +0200, neil.armstrong@linaro.org wrote: > On 17/04/2023 13:47, Dmitry Rokosov wrote: > > Hello Martin, > > > > Thank you for quick review, appreciate it! > > Please find my comments below and in the other replies. > > > > On Sun, Apr 16, 2023 at 10:56:36PM +0200, Martin Blumenstingl wrote: > > > On Fri, Apr 14, 2023 at 5:24 PM Dmitry Rokosov wrote: > > > [...] > > > > static const struct dwc3_meson_g12a_drvdata a1_drvdata = { > > > > - .otg_switch_supported = false, > > > > + .otg_switch_supported = true, > > > it would be great if you could also follow up with a patch that > > > removes otg_switch_supported. > > > A1 was the only variant that needed it and after this patch it's just dead code. > > > > It makes sense. I thought about it before sending the first version, but > > I found a counter-argument: future SoCs may use this parameter. > > But if you ask, I will remove 'otg_switch_supported' in the next version > > > > Please remove it, it's easy to add it again if needed. Sure, no problem. It will be removed in the next version. -- Thank you, Dmitry