Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp2042693rdf; Mon, 6 Nov 2023 03:07:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IF/zJH2b5RIcs5lJjd3rn5JfdJkBnc9C2Qykve3R/DpILtTBlgbH/cCooRfKNTlGqFtqzwt X-Received: by 2002:a05:6a20:3d82:b0:17b:689e:c751 with SMTP id s2-20020a056a203d8200b0017b689ec751mr25168225pzi.5.1699268868232; Mon, 06 Nov 2023 03:07:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699268868; cv=none; d=google.com; s=arc-20160816; b=kH1NAPXfnvMAUkYJGmXafpfXPGEvWuOyoz8f2bm3WyHu/7E6A1LYVSAWtoPaNcZS73 pDUMKk7LaCWftcvNuXkhUP84YhOIWe3/mzZmJjwy+I0Nfn3ZrHxxgCwdfNoESsJ3wnvA n5VDFytJ7BIZ5C3AakFdm5/FSgo0G71vD5LXRFsZ5cJ3ehgNtyLohzWHi76EkFgOUtm2 51H3n8XDOrfBAJNVHyBP/BxHv2HM1Ahmty6BhzE35molCGnMd4/zx781Xmf9ZcMHTqFi A1uP5WxAZmGBA167y8tOtvhrCpu9a8pOyqL/yLQ29H3DZJSfHtvVIIVlgv7eRK+yVeR9 roqQ== 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; bh=J0isYWuS7AGfOCBjA1+9iBr6kSJnPRJXiklkJjVtHrk=; fh=usIcYeG3NIY35auTMv/raDZk1i0g7Ncau/NUR4dVPvU=; b=x7sTUeflw5IagwEF3lMUyBxXVg5nG1K0ytYbMMrU+B/rcclqkHX9ssfpdzWSyuQms7 M2JU3QUqDnVz8CwJmEaA2zjpdt8Gg/Xmd/D6aOmC+rauHYEmuJhlZepF0o9nXT2vFM3R /o4mR6/Fk11j/L2ApUp8S53Pci03U/mvu+vdipF+J/hgUPdiBi2kVpGu3x+27L+rtHBj n1KJUdkqqtaNQC7keEqCHvXW/6Vp92bl05oI+oYW6cKe8JIq2oJLgEvGfSejpz331Wvw 9V/vNQL1hIgJt53UWdFJnD4h6tOEK1jm/uwCHvGYWD43n4PtmC3IIplsLZdwTpjYuayh Yzng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="fBa/EuyJ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id t19-20020a056a0021d300b006bf0f06c31dsi7894362pfj.166.2023.11.06.03.07.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 03:07:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="fBa/EuyJ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 1FA9A80401D9; Mon, 6 Nov 2023 03:07:24 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229583AbjKFLGv (ORCPT + 99 others); Mon, 6 Nov 2023 06:06:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230220AbjKFLGt (ORCPT ); Mon, 6 Nov 2023 06:06:49 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC1C4136 for ; Mon, 6 Nov 2023 03:06:46 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 35D51C433CB; Mon, 6 Nov 2023 11:06:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1699268806; bh=g3eDON8La9LZBGvGeH9tuvtlZ9gkW8hDKV2CMMchUE4=; h=From:To:Cc:Subject:Date:From; b=fBa/EuyJu1KjyLtU6I9czSHVWMGMexRmURy8to5xILif8oO7Yo0mGuoaqCYhuOgee ZiVGPee5/nkIaGBoUCvutRflUr4V2xi0k2wm539RlYLIYb2jdXMhCAERHajB3he6z4 JHRlIgbWM1H08AI3XpOsKrrnLBm7EV8x1nvF6SZ61EVh53N/ftYP3s9BbPc4Ht4kxj 5Bzc5dCtPcNFLIlhiCw7A6+SS/h+ivRDIIAXhbwMWyobSaI4RQtMMwGiPP0SIJnqc9 1o3MaBYLxTHEH4E77PTsbpzxZ022lJkuSjy0Yl0ciajvIL7RpwKAsrTpuF/CWTaDYV 8jKGgZ4L4lNrg== Received: from johan by xi.lan with local (Exim 4.96) (envelope-from ) id 1qzxS7-00085p-1j; Mon, 06 Nov 2023 12:07:31 +0100 From: Johan Hovold To: Greg Kroah-Hartman Cc: Vinod Koul , Kishon Vijay Abraham I , Stanley Chang , linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-usb@vger.kernel.org, Johan Hovold Subject: [PATCH 0/3] Revert "usb: phy: add usb phy notify port status API" Date: Mon, 6 Nov 2023 12:06:51 +0100 Message-ID: <20231106110654.31090-1-johan+linaro@kernel.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,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 agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 06 Nov 2023 03:07:24 -0800 (PST) The recently added Realtek PHY drivers depend on the new port status notification mechanism which was built on the deprecated USB PHY implementation and devicetree binding. Specifically, using these PHYs would require describing the very same PHY using both the generic "phy" property and the deprecated "usb-phy" property which is clearly wrong. We should not be building new functionality on top of the legacy USB PHY implementation even if it is currently stuck in some kind of transitional limbo. Revert the new Realtek PHY drivers for now so that the port status notification interface can be reverted and replaced before we dig ourselves into an even deeper hole with this PHY mess. Note that there are no upstream users of these PHYs and the drivers were only included in 6.6 so there should still be time to undo this. Preferably these should go in through Greg's tree for 6.7-rc1. Johan Johan Hovold (3): Revert "phy: realtek: usb: Add driver for the Realtek SoC USB 3.0 PHY" Revert "phy: realtek: usb: Add driver for the Realtek SoC USB 2.0 PHY" Revert "usb: phy: add usb phy notify port status API" drivers/phy/Kconfig | 1 - drivers/phy/Makefile | 1 - drivers/phy/realtek/Kconfig | 32 - drivers/phy/realtek/Makefile | 3 - drivers/phy/realtek/phy-rtk-usb2.c | 1325 ---------------------------- drivers/phy/realtek/phy-rtk-usb3.c | 761 ---------------- drivers/usb/core/hub.c | 23 - include/linux/usb/phy.h | 13 - 8 files changed, 2159 deletions(-) delete mode 100644 drivers/phy/realtek/Kconfig delete mode 100644 drivers/phy/realtek/Makefile delete mode 100644 drivers/phy/realtek/phy-rtk-usb2.c delete mode 100644 drivers/phy/realtek/phy-rtk-usb3.c -- 2.41.0