Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1503918pxb; Thu, 14 Apr 2022 07:34:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxV5BpmlBNGR5v4KwRDqRKMee9feFIsCZyncaryPEzF2tdtLbc0RgMNsbJCR2acOmnLPMyz X-Received: by 2002:a17:906:4789:b0:6e8:7ab7:e843 with SMTP id cw9-20020a170906478900b006e87ab7e843mr2592776ejc.374.1649946881112; Thu, 14 Apr 2022 07:34:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649946881; cv=none; d=google.com; s=arc-20160816; b=HBGdUdF9sskuKGEVhYUzut2cO0GB8Llq2APLvL9Y9eVBqgOJ/ct0jvR6CnPhfbNSwl vjGxHcpvIcwjUcpASaoPBtGcWSeELOAV3zlbDNmLX4mAVK/fEu2uchecJPBs86i2/vHP Zxio7Vo5GYNaznp+e+DbKAz9b3PS10oYH7PP2jsRhs7vAaOat4kFn1at1NjmrJACjkQ4 UUYwO+yuiAJsv2sxhALF1eABtZFTRcCEkXuOqP77UCEKrnyZshxO81Z9lTZIkJniabDu aZYtdaaCpROCqaGJAbRuupvZLhonJpigGb70iv+ETwZKjpVp75crxge72npYlv1k8Jlo Upag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=C3mmvXZDOtnT5CAr1mR7N4ijXRPzVFhjMZOWou2pCO4=; b=pDaC/rD+5yCSPx02ca0JPCsgcFfN2UB4719YmzF3r37zSnHLTwHOZcQjaLTY95NuJu YrhHTwZV7qbHQK75JdqTvKORonvJ+admvSB6yIs//IcDkI3ZhYSTTaKR6EBgObx6xti5 54pC+bbVKDUeio0qcaqmHvnMPlGw5eH8P0JSA1uSes394T3ZxHQhcwhyTklSyq5qbIsX LIe99uIJjrR8Ciq6Ndi4eHCaXGKvzdNdoRf6oVbDk9SCUmAwcO3g0ueGc7bQtlAJW4t6 VACw7kSPRLK0xKNcYo+NHyykO9ynq6YtuB9TqkAU/Xzwa9ef4TMCp3J15YefQtBHamX+ 6+3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm2 header.b=CqrQmwhy; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=fJC8lp5M; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id la25-20020a170907781900b006df76385bf9si2095837ejc.153.2022.04.14.07.34.10; Thu, 14 Apr 2022 07:34:41 -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=@sholland.org header.s=fm2 header.b=CqrQmwhy; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=fJC8lp5M; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239696AbiDNDZ3 (ORCPT + 99 others); Wed, 13 Apr 2022 23:25:29 -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 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,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 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