From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5C098C433F5 for ; Thu, 14 Apr 2022 03:23:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239700AbiDNDZa (ORCPT ); Wed, 13 Apr 2022 23:25:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232819AbiDNDZ1 (ORCPT ); Wed, 13 Apr 2022 23:25:27 -0400 Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 939E650E33 for ; Wed, 13 Apr 2022 20:23:02 -0700 (PDT) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 2F2435C0592; Wed, 13 Apr 2022 23:23:00 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 13 Apr 2022 23:23:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm2; t=1649906580; x=1649992980; bh=C3mmvXZDOtnT5CAr1mR7N4ijX RPzVFhjMZOWou2pCO4=; b=CqrQmwhyKx8NQy2r9knoGzrweikr90xUJIUuH8H5q UGs7HnofSl7eRyRk0tXZ/O1TK0c1tTCvPDlZ4bsxxoZ5KaB5d2ge6cJ0o11iv3/b cbhuq4KGpV6VbUmHVRph4M3wwOADHw5s3D3TRTZ2ECrTRR//ejsXRh9cY4aAK3ip ZHAozjkdbF7E5knfBFa3Z03n9JfXM5C9xkqA8tpBKxunoNZ86UnlkeKiUheNXPm4 KKaejlky6LyrGlAAvBN80NffPnYK3PU+baSovLaCFtE+EzxuguNGZYCZ3BE6B2bR K21wiF4X9xSxY3n10+HOUn5atMSAA8Dpa++O6stlGWMxQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1649906580; x=1649992980; bh=C 3mmvXZDOtnT5CAr1mR7N4ijXRPzVFhjMZOWou2pCO4=; b=fJC8lp5MCmaYVw/my tR+kZa4M4F2CXXJMEyzT4QswkmMLmhy+RGCJ/oROLZ2NAj+BT/UTEknqQWFZkkoT /YlGH7McJRjrG/043VcAkiJ/wqOQw7qzigOPRN+D3a2comvo10n8hbPPZDNknEm3 YpMd0nSwlRCDxlNAXjjv+o3i4VIl4u2j35W+DzvrWF9nSJ5eZ0H/xlLYKFIaVNl0 irZOO4n3SDpZvPdEcf5btKlBGDn/rYXrNbPcUezBjm0Nw5gLzKZ9XoO2/Whz962p xO7b7eEGyt+a+Sqel5jW2fRf4tCs5BkRGWpIK8b2WTggsoRfBZivYov6JHJPqTmK /H8Cg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudelvddgjedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgvlhcu jfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtffrrg htthgvrhhnpeeiteekhfehuddugfeltddufeejjeefgeevheekueffhffhjeekheeiffdt vedtveenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 13 Apr 2022 23:22:59 -0400 (EDT) From: Samuel Holland To: Kishon Vijay Abraham I , Vinod Koul , Heiko Stuebner Cc: Peter Geis , Samuel Holland , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH 0/6] phy: rockchip-inno-usb2: RK356x OTG fix and enhancements Date: Wed, 13 Apr 2022 22:22:51 -0500 Message-Id: <20220414032258.40984-1-samuel@sholland.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.35.1