Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp3195384rwe; Sun, 16 Apr 2023 14:08:18 -0700 (PDT) X-Google-Smtp-Source: AKy350a+yZB1y7YpPlP/EQ/xfvFl2yAFt8Lg8lnjE1o2aj/v7+VHMZ7PEGMgXot8IMtMOZRANk22 X-Received: by 2002:a05:6a20:a11f:b0:ee:f632:1fdd with SMTP id q31-20020a056a20a11f00b000eef6321fddmr6010035pzk.62.1681679297951; Sun, 16 Apr 2023 14:08:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681679297; cv=none; d=google.com; s=arc-20160816; b=mol2BhvQyovwCgBgCozMxERUpLL9iJM9pa602APD+AOSi6BQuSXuBE296Wr+zeQWvP 9uq5jTU08LGs0YsYnsja6Vckow7UkdRE2HNMlz4iJwxllh5k/Ln1HHG1bYYgvLrT72Ew cX/t2GDGc44mfQUfooOHrfoZ/03CrUcZ1E+ajs9jUe3byRgo3YWPCONfE5TyBGwdGMDm V4Tn/AjGB7DR24cXaj98DjHvbCu38A0JXBSq/dRA2o+9pXaMP13lf/BcLwboJZUJwUj7 U+4V9vmV2LhCQ7E7vxzGb4X7Ka6bDu8EoXxreXECo2xHCzeu1Sgy/ylsvSMMc1d1sEnb 5Q1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=0WS1S2J47m9oZfeWP6yf02N4PR4c/sbbG9OpnnKVNb0=; b=oxeD/L+SM2tm1YAqUSA9Re7VUtr/PyvtuX8s0pScYz038dfCXOIPREZ/AR2ZlL/2Zu AFoxVIfIdSfyRCSGJXypA8+yBV4LKHqt9EIzNAQBKr8R5Rq6s0Ss9725XC3eOd7zsKGy c4bQ6bhx9EamRP0olcyCdOnx1HCPZMGdN17FXS4g8xULKAG16DC1kpMwgsgCikRgioTp rQo2CjhzNtmipD4fG5nVowUfGFwBchTbXRhxAcEuwp09RcbQZCmRlnqHAYqAcXD7UcJS EqoM4AKlEBiDP4Cj8Nc5rr8T/OqllDIT/pF/j272DRYZoVIpRu2/qbax+0UrtujaENWE +SUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20221208 header.b=Y1MtgDTM; 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=googlemail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t2-20020a654b82000000b00517aa9db92dsi10118819pgq.396.2023.04.16.14.08.04; Sun, 16 Apr 2023 14:08:17 -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=@googlemail.com header.s=20221208 header.b=Y1MtgDTM; 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=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229794AbjDPU4w (ORCPT + 99 others); Sun, 16 Apr 2023 16:56:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbjDPU4u (ORCPT ); Sun, 16 Apr 2023 16:56:50 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2C022133; Sun, 16 Apr 2023 13:56:49 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id ud9so58968891ejc.7; Sun, 16 Apr 2023 13:56:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20221208; t=1681678608; x=1684270608; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=0WS1S2J47m9oZfeWP6yf02N4PR4c/sbbG9OpnnKVNb0=; b=Y1MtgDTM9NDmIpajiqJlE+6DdkvMLOoVa3VmvdAft4qxVRnLve++ZydABxkHv8okQs lNdimhxM1p+SzvXifOHGHG0RxMapoI1z00KvMeXjDXsFhN+mJmMSRPIwcTNq+188RkNL w8y42mUxpWfiaOKBd6/x+4Vvm6ONnANnO80FXhOpioMXcOvkqMj2gPhEg6VPOxJxpleF h9/JIntF3/Ml8569J/WDwrEtlxvV7WAypD48jWo+HNbZXSjTAw/9Ue2uG/zSnQvbrP7i jy1EX3IzlOb4ECnd5O0c6MdrUbRX2ZO13DQMTQl2y6yqL23SqjPnN/piGBwGtr3Ft67e 8sSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681678608; x=1684270608; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0WS1S2J47m9oZfeWP6yf02N4PR4c/sbbG9OpnnKVNb0=; b=l01DzcdUHFoUpyvW/Cmsw5+JmtNvyITT51BWUeeqris84ihVIruesBii9aR8+Zc3e2 sUzYavYMzHLZZNyC3/gwMRZ23+0R7ucBcGaBRxm/eAgNRXZpRXGgMbN1hxfuXGJd/XgB N4Wa8CpGLUtqd1ecnWsCLZ4DHLiLa5r3wZUFY1+pjxNKO6xxCd4JCrjpJXiVMlal2hXM QkWaTDWsTh4qSEhP4u7ykd53S9Cm58jMqZJ5g43oe/sJJhd23n8MrSOtCZtdwoL+II05 0Dre1bCkekHUQvl7s0i3V6+wVRhmyDgwqvgLUum4OTZxrLo5YPDZ8qjUUdfb1XcWVol/ g/Jw== X-Gm-Message-State: AAQBX9foKiqJN7wZuj8K8Q7pGv7Y5bEIsfs6lArBAp0gLxWctpzmZfMr lFUtIo2Bfluy72/bJAnCsd14p/hENIFeYJhbBhs= X-Received: by 2002:a17:907:590:b0:94f:3338:2431 with SMTP id vw16-20020a170907059000b0094f33382431mr3499453ejb.32.1681678608156; Sun, 16 Apr 2023 13:56:48 -0700 (PDT) MIME-Version: 1.0 References: <20230414152423.19842-1-ddrokosov@sberdevices.ru> <20230414152423.19842-5-ddrokosov@sberdevices.ru> In-Reply-To: <20230414152423.19842-5-ddrokosov@sberdevices.ru> From: Martin Blumenstingl Date: Sun, 16 Apr 2023 22:56:36 +0200 Message-ID: Subject: Re: [PATCH v1 4/5] usb: dwc3-meson-g12a: support OTG switch To: Dmitry Rokosov Cc: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, neil.armstrong@linaro.org, khilman@baylibre.com, jbrunet@baylibre.com, mturquette@baylibre.com, vkoul@kernel.org, kishon@kernel.org, hminas@synopsys.com, Thinh.Nguyen@synopsys.com, yue.wang@amlogic.com, hanjie.lin@amlogic.com, kernel@sberdevices.ru, rockosov@gmail.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-phy@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 On Fri, Apr 14, 2023 at 5:24=E2=80=AFPM Dmitry Rokosov wrote: [...] > static const struct dwc3_meson_g12a_drvdata a1_drvdata =3D { > - .otg_switch_supported =3D false, > + .otg_switch_supported =3D 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. Best regards, Martin