Received: by 2002:a19:f614:0:0:0:0:0 with SMTP id x20csp28803lfe; Fri, 15 Apr 2022 17:54:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFweEd4amAMk/c3/1QDvrPUe1bI3FJf5m3Qnx3hwA6sy0P0SmuceDzA0cbR/Pe8gbKMJCG X-Received: by 2002:a17:903:1249:b0:154:c472:de6b with SMTP id u9-20020a170903124900b00154c472de6bmr1588484plh.38.1650070474467; Fri, 15 Apr 2022 17:54:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1650070474; cv=pass; d=google.com; s=arc-20160816; b=YQ3/LPRMKLdWe5g/y50SssJ4yhWXeNlFBK3EOQNhVm6eSHdEEsPrfeJFkvOn5QIQvx dxoAudQo5yc9JoiwQ/LQNDFuYXVgp15AfwkGEZE5ET9XPCFJB/ecwX0PscN2k9TKCeL7 DHlqMl9HUZn86NPxuyhuTJbJkhO3Lf/xxEJfiJqKdQqovmkvxb8enqc9F82ECiZvq+Vu H9Ut/czAfFaFYeqdWVfVt7y6g7rx2x7v9a6F6M+gXw7ZWlOxL19uL7Wk4BeNPLcGDRVk vvbxOvLuEdU1W81GXq3YSdFECb59sb+FSOinqdHXMZJx+18BIHanD9u9s0WqeJpWf65+ FY9w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=W6WJG3z7+A6PkqIESPLap30LmEklT7FiyKydSqU2cVw=; b=L9GqFo0Vo9srW/KAvOf196ckHRvUewghAfmn1XdpPK8f9Upw4W6C5sAf23x3p1a6X3 bjGqLjLK+mSJAoRNx+zSLjGZsePjIGLcWngGOO8oY7+Fkrf/B9k93c4N/8d6Hk9EL8du BIyhWIsH3PVjrUhfrqKgUfKxhwfkHaky17wxMX47zoqJ6vdt9KIxHHqLTuc/GdzdnnKR lRzUHdSeVRBoShyHjVQlicWhS2ifUWcBdQwFMN4ltZ24eqBnDKCxNt/fShFqrq+dlzIF ooHC7RKVPlTbQfN9kgxpJ1VtpmezAXbHs9I8tS5jdoHsqoJYVOw2GtvhQaCHq57JsFaI Uc7A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=Zr5BOiKn; arc=pass (i=1 spf=pass spfdomain=wolfvision.net dkim=pass dkdomain=wolfvision.net dmarc=pass fromdomain=wolfvision.net); spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wolfvision.net Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id g11-20020a63fa4b000000b003983fed820asi2783257pgk.242.2022.04.15.17.54.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 17:54:34 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=Zr5BOiKn; arc=pass (i=1 spf=pass spfdomain=wolfvision.net dkim=pass dkdomain=wolfvision.net dmarc=pass fromdomain=wolfvision.net); spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wolfvision.net Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AE03F10DA44; Fri, 15 Apr 2022 17:41:08 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357214AbiDNP3o (ORCPT + 99 others); Thu, 14 Apr 2022 11:29:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348356AbiDNOEV (ORCPT ); Thu, 14 Apr 2022 10:04:21 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2049.outbound.protection.outlook.com [40.107.20.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B11C43EA95 for ; Thu, 14 Apr 2022 07:00:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I6tf+LwPemmOPhdfRjQzMrewDOkYsf1gfraWQnrbTx2gh7t2aeygv5Vp07fnqF7dUn+LfVLTSMo8asdoH6ZIawEUlh8Pjh4q0RjZuJNlU5Bqu+21yFDQod+oapYyZ3P7CJzklAIYA5rVBQc5dZxQKEXdKSplyboSHRYt0+TjDzHmlctRxPLUGv7mpwMfIQ6ErznmN+R4RoANAZ8KAH/mLDsKiGxPFJhrJFWZjKQ1jbO4o/oFubFzfDQSepXkPpxup2KynB6wWiZ/7B9SNiECrAcwoC52d/D0Q7mlONEL3qxZVbnWly6gUlE55SRyhQo5acsUTVyxVGVvsEOxjlNAHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=W6WJG3z7+A6PkqIESPLap30LmEklT7FiyKydSqU2cVw=; b=eXZkyZSMZR1pEeqcz3CqdiiZx0VQXc+NkTRZyBIljodoD6axUWXOnvPG2NHS+qccTr68FUMP3uwExo581SDRbWILIroIs/1E9T1lINaJVFC2Q1eezuOpZv53MCu2crC1ilhtWSooDNoEiH79yg+dhTWkoQMhylOa5S9kJesr+QExUEQCTtIoq+3aNeB203G/5268wyjLK+CWtdvVHCJWeVhCG+vX8pzbgv/R0bp3NQb0IjDATFtfJWRCkAeCZMH4TyFYbRvauMioSUl2ddHbKuKpzRqv8YfWKwlgGrurE7/V2onhGAnkiwQ2tubgAfKKhLr4jJ63T6CVShZqIAoLXQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wolfvision.net; dmarc=pass action=none header.from=wolfvision.net; dkim=pass header.d=wolfvision.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=W6WJG3z7+A6PkqIESPLap30LmEklT7FiyKydSqU2cVw=; b=Zr5BOiKnbhvUI2noTgYFMj1nqJqfeyFt9ZIi8VVPrK+m84nYT8w8Vv2KQPnan24Qovm12JdvKquu8yhn6cWHR4IyB9cx9nz0Xk+sgc1ggtsTaf9ASxIe8kS6DJpTG9EsYM1wNyjYsHyVDSf/XEjbwosK6aE4atMTEnUCdpGsZUo= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) by DB9PR08MB7116.eurprd08.prod.outlook.com (2603:10a6:10:2c9::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.20; Thu, 14 Apr 2022 14:00:32 +0000 Received: from HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::3de2:62a:3915:9d6d]) by HE1PR0802MB2426.eurprd08.prod.outlook.com ([fe80::3de2:62a:3915:9d6d%7]) with mapi id 15.20.5144.030; Thu, 14 Apr 2022 14:00:31 +0000 Message-ID: <8b67b7e8-29f2-49e0-ff99-5a13e73f4b62@wolfvision.net> Date: Thu, 14 Apr 2022 16:00:29 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH 0/6] phy: rockchip-inno-usb2: RK356x OTG fix and enhancements Content-Language: en-US To: Samuel Holland , Kishon Vijay Abraham I , Vinod Koul , Heiko Stuebner Cc: Peter Geis , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-rockchip@lists.infradead.org References: <20220414032258.40984-1-samuel@sholland.org> From: Michael Riesch In-Reply-To: <20220414032258.40984-1-samuel@sholland.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: ZR0P278CA0158.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:41::17) To HE1PR0802MB2426.eurprd08.prod.outlook.com (2603:10a6:3:e1::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4ed427eb-ad00-4a74-17b0-08da1e1f2367 X-MS-TrafficTypeDiagnostic: DB9PR08MB7116:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QVTjAHpqRoRuCn0SYanS+8VViFr3hG6AKVY3llnUw2aaokZUkcu9jIKSCvwrgjcZ3DyQryVEjHK9VpknJfE5QYkJi6i2fpb6AbaDSjcANVizr8nPq5xkSprQxNLOAtP64OsEvC1LIj3qbA6/vdppfZVkplxeUayDwT028C3UzsPIJZswJd4LXuMF/m2wUeOK0+voiAby5tlF0qNHfLokUMqqEXeY7J3wcJEQR0DeIsF0IlIwvHgpCdVC83CQhGvGcNQufkv5tKGUggsMsa9ZRsJLOqSzOym5r/Y3IDpD5HFTzEUeImHAvpNFTM5xt6Ctlzz7RNRFHLjbBu0/g1PsyYPzzgDEO8MOJ5mrWzBwCcE3ptkpTbBSsNJXYvMtsWBjbDqlDRVa1jZzr62Gv7BnjcLa66Ry9ZSsg2ww1AQLNJNCEckS1EOwaY9yq0XAyX9v0JxOMtXBpWeo3iKuHffkKwMpMI1TAOx9SczOyrI2EAUAlsb0h6ozYiqyeD99QE46GmqPofOtHPZZi9L7HDuqq59J40tldElRzHV2Q1MLBqJa4XwW6BiUCYmMpzfVWSikQ2S5X+/DuaU1rC3gTpskH3Rsst+YEOk9mDAV8VcgUgENVtsvgwgTvowLVMkXOOPGiDAy7vFys/3gL2pifXwvnUG+BoCwsYaxr5vu3C8AGMqZaYsREQFH8ZX6hjw1cq9ibKItKsLB/bUduvU5xiM1ihYQUX4WnxwxNX53gaOz+SA= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HE1PR0802MB2426.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(39840400004)(346002)(396003)(376002)(366004)(136003)(44832011)(53546011)(186003)(8676002)(2616005)(83380400001)(2906002)(38100700002)(52116002)(6506007)(6512007)(86362001)(31696002)(316002)(110136005)(508600001)(5660300002)(36756003)(6486002)(8936002)(66476007)(66946007)(66556008)(4326008)(31686004)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 2 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?cUkweVBScVNPc1JTa1U1VDJZUUNHRWtSWVoyTWFpUzFDaWVtK0dNVVVMdXVu?= =?utf-8?B?em9OUXB2TXQ5UU9aYkQ0c3R6K01xWnp6RURtbEJ5NEFZZnBOVXlSTTZjN3l6?= =?utf-8?B?dStKZE9PR1k2K0RFRTFYb0w3ZXhzV1d0dlVNVzZkbTNxRzhDYW9JaHJ6TVBI?= =?utf-8?B?UlVlam1yOURSd2NRN0Q0S0E3c1ZkbXZtK3JKcXhwbjZhM2g1VEVuODE4a2hF?= =?utf-8?B?LzVpbFJCalhJNE1XQ1ozSmZHOVpxdTEvSDdHbXpLMytDenNFSk90b0dmT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zbE9LaTlaaG5sREQ2aEw5SHVHTVlLWUZCSHNieWlaMVBnZkU5dURn?= =?utf-8?B?NHlVWU1zMzQzK0NYRXZwZG9tRng5N0pSdzlTWjIrVXZZNWRHSnRLeXliczlS?= =?utf-8?B?OENiQld0bGtLSklqNGpESW9RMUhoSnJtcE9ZOXkyZ1NxaHZDL3RjV1IycWx2?= =?utf-8?B?ZVZxVXpodmppYWs4Z296cXUyS2c0N3NOWjFXSXZWYkJldHE0a0tlRDNBSWJU?= =?utf-8?B?YzRmODhtMU42ckV1UWRrbUZ3dVd6T2lDVzFYRjBEck91K3UxQWN2dWdyaDZI?= =?utf-8?Q?P4RnW+KKylN/14Spme8YKOsonm/meECW8R7Bca62krd62?= X-MS-Exchange-AntiSpam-MessageData-1: 5wOTIS7qCqknveexM++ERgNnNA/Xf3bUV7QOJDCWurHhfqO+4Qhjee9X X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 4ed427eb-ad00-4a74-17b0-08da1e1f2367 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0802MB2426.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Apr 2022 14:00:31.6405 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Mobn5tfn3vPplffuV6ZJ1I9h14GX0l+jBGpS5da5yGT5PoTrKxV7JbO+QSbPUpER6RUKtGmQIid4OwLK7TkP77C68HbZ2ApA5cn7ZRsK/YA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB7116 X-Spam-Status: No, score=-5.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Samuel, On 4/14/22 05:22, Samuel Holland wrote: > This series gets USB OTG working on the RK356x SoCs, as used in the > PineNote tablet. > > - Patch 1 fixes an interrupt storm issue specific to RK356x. > - Patches 2 and 3 are a couple of small optimizations. > - Patches 4 and 5 reduce the delay when unplugging from the OTG port. > - Patch 6 allows OTG ports to work in host mode without depending on > another driver to provide an extcon. The specific use case here is > a Type-C port controller that provides a hardware "ID pin" output. > > > Samuel Holland (6): > phy: rockchip-inno-usb2: Fix muxed interrupt support > phy: rockchip-inno-usb2: Do not check bvalid twice > phy: rockchip-inno-usb2: Do not lock in bvalid IRQ handler > phy: rockchip-inno-usb2: Support multi-bit mask properties > phy: rockchip-inno-usb2: Handle bvalid falling > phy: rockchip-inno-usb2: Handle ID IRQ > > drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 125 +++++++++++++++--- > 1 file changed, 105 insertions(+), 20 deletions(-) Thanks a lot! This series fixes the USB gadget operation of my RK356x boards. With suitable DTS changes, the zero gadget module, and usbtest Tested-by: Michael Riesch on a RK3568 EVB1 and a Rock 3 Model A. Best regards, Michael