Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp4689858rwr; Sun, 23 Apr 2023 10:51:57 -0700 (PDT) X-Google-Smtp-Source: AKy350YmPrcp6mU4TbIRqhG7b/2hAt8a7cAbRCFOgAWsJ0gQGtE8wVs12iguVB59Vcs1IGckFjZT X-Received: by 2002:a05:6a00:1506:b0:63b:6373:786b with SMTP id q6-20020a056a00150600b0063b6373786bmr21785716pfu.2.1682272317552; Sun, 23 Apr 2023 10:51:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682272317; cv=none; d=google.com; s=arc-20160816; b=Q2gT4o3SX3PXBnrJ+xBiBEuoWMFAa1WF66qaKIO1KVB1knn8/EIE9K2ZtnUqQ/kMHG JhQ+XktdDPsq0J/IoRj9LGr1GQFeE7/WZhuFE1uEnOjlI5kb83WnwfsQS2guAkUQOrCq uITZXSMBwOnLGpD64o0o/Ii/9TnhxFqSU0t2ThS7xeMBoyew9GbVYNl8KxkUuF4BT0jq t5QEHg2/2OwWpS+xAish6Pxcg/9j9qVtASFq0WyfM4zyGv7TWgjP1zX5rdLr1UIRXavq cc3p892XtqmRBsTBLr9Yw/dIuQZ2QN3ZIW/ge4EJr4vMzftPvWOu7NbQ5zYqJOabVT4A uf4w== 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=Y2eZs5d+yVYnpxqNGueuhOSq99ZCnZL+HNxoe/Z4agM=; b=Vhe0/7LOY/eU7ye1EaYKaubxTJHCI3m0k0e1sIZhD6eweCtRt5ysOLKbISus3YuILx w073K5sX7QVCMdzB2cA0ohe16UXon2LLdy8JG7nt5vSufuh+8R3ENKxDb6Z+cAHzFnZc WvcMHaQSj8DHVSy+CId23lujblwUcDZkpKosJnE/ZuCR0YPl5qaiZ8hgcRoa2Zfk3HXm aWds+EX6tuaXk9/kxfBR5/woXniHl2gstulnzVhCETC4P7jMcZd0RsyXg9MW711D4bLA 5gvTIb2h/E5ajNN9kFTnM7n/dt6oCCuuk6a8Lep/06nVkEXIw4AfqyCDzP1oYeeHrmlW vYoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20221208 header.b=rjqeblxU; 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 y21-20020aa79435000000b0063b680015casi9474289pfo.185.2023.04.23.10.51.46; Sun, 23 Apr 2023 10:51:57 -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=rjqeblxU; 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 S229771AbjDWRox (ORCPT + 99 others); Sun, 23 Apr 2023 13:44:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229458AbjDWRow (ORCPT ); Sun, 23 Apr 2023 13:44:52 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC72D10C9; Sun, 23 Apr 2023 10:44:51 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-94a34a0b9e2so492189766b.1; Sun, 23 Apr 2023 10:44:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20221208; t=1682271890; x=1684863890; 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=Y2eZs5d+yVYnpxqNGueuhOSq99ZCnZL+HNxoe/Z4agM=; b=rjqeblxUeHVA3FZXcGzBaljlFy+iD9hOhIVMbswTw1D0Fs7UgxpMc31Yrc7WS0WGEZ JcrwKlogGIp/aGiRxV3PAzhb9BhxPNRFIc3j2pdAvrLUOjPu+zdusbH11OXaua1HjHOr 8Kqbe8c/e1TAQpv+YqZgt4chohNPwserwMyXfU0lBm/lKpSFwEAfqZy/tyDyD0Rbm/W7 6R3WzmTBOwMpYMQHQp208GwYRvXw79xZGDOld3dyyi7rnv8Nz6vckPLwqGQJw0AG2h9r ME57w1b/0sd2ur9wSPLsQ/iaT6r1Kk1Hry3OC6Qy5OeXevjepT+H+hsKOVJbsS90KICX yXLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682271890; x=1684863890; 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=Y2eZs5d+yVYnpxqNGueuhOSq99ZCnZL+HNxoe/Z4agM=; b=Fx95Xxma/4xHuQE29hc3jGt8Ip/h4iQH2fsQJM0nL6tOIR4QH3yfTVbl4YANIJoYM6 bCwQ9DQVEXvuhKMkqStbA9Gsb3WfZjXKSdyaQbaLvav9qR8A6aV201gCQyE+/UIEugWM NvH36t4Kphc1GxU9rwujGYjRwyxFdDNrerZsgt/F1mSOIVEhiIo8zmxHLdyixt6FioGU HlpIAlXRwPuu6o8BOPkwcNabYl92EqT7hSmVhiqWRTerpX65Ed9NnBMYAYoBg85Yk4jf t5riBHhJZiHW62sCgJh3l6GhUu7TW4J5XePOFun8mQfgBCrp2LjlO8KrQXO7t6o9IKl6 KC6A== X-Gm-Message-State: AAQBX9cOHGJ/7xzuU7wsVA/xMPwaB5VWjJkfyTgSVuv3EmVNSye3rYDU 9zH5iJ0yDd/99yRo9rKebEG1vJQVgbBmPP49wL4= X-Received: by 2002:a17:907:8a18:b0:94a:5c6d:3207 with SMTP id sc24-20020a1709078a1800b0094a5c6d3207mr9914041ejc.44.1682271889923; Sun, 23 Apr 2023 10:44:49 -0700 (PDT) MIME-Version: 1.0 References: <20230418111612.19479-1-ddrokosov@sberdevices.ru> <20230418111612.19479-5-ddrokosov@sberdevices.ru> In-Reply-To: <20230418111612.19479-5-ddrokosov@sberdevices.ru> From: Martin Blumenstingl Date: Sun, 23 Apr 2023 19:44:39 +0200 Message-ID: Subject: Re: [PATCH v2 4/5] usb: dwc3-meson-g12a: support OTG switch for all IP versions 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 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 Tue, Apr 18, 2023 at 1:16=E2=80=AFPM Dmitry Rokosov wrote: > > From now, the Amlogic A1 USB controller is capable of switching between > host and gadget modes based on the status of the OTG_ID signal or via > manual USB role change. > Previously, only the Amlogic A1 IP version did not use OTG support for > host only mode, but this is no longer applicable. > Therefore, the 'otg_switch_supported' option can now be removed as > it is no longer required. > > Signed-off-by: Dmitry Rokosov Reviewed-by: Martin Blumenstingl