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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6E9EDCD4F3C for ; Fri, 15 May 2026 19:56:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=tFwTKW3kDBLJUKllmiRBoo0ahcgcG8TLGz1il3QI99Q=; b=P69BUEhui9p9GrUqjmY8Oow+a2 fomp7PNV2V35K2miAUuxLMjmiLX08F/+KUWZdji0Jwjvjp8j+DA157MytCQh9bVAJrJLk0l18fXsX bT2d3T2et+5ukCO/OsIa01pNRr1ukQ+/zNQINipDvWAYqAZdh867TUirawkVGmZpl7R7wYipEIv6B zYGw7MUjfrKrCjMsvjm3JYKg/QSVYipwrWCnGRb6stK8lItBp3swVla2KBdA3WBCJeGCfxoEqUs5n +n/Izt01Bg6M1P0V9wO87O3wF6em35bHFM0WVzbrzDbfAFFZcHeMnfLF2nQ3HLUB1RKomg7zS5iG1 1alS3vBw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wNydU-00000009Gcs-3eVM; Fri, 15 May 2026 19:55:52 +0000 Received: from smtp.forwardemail.net ([2a02:6ea0:d71e::9]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wNydS-00000009Gay-1zeD for linux-arm-kernel@lists.infradead.org; Fri, 15 May 2026 19:55:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kwiboo.se; h=Content-Transfer-Encoding: MIME-Version: References: In-Reply-To: Message-ID: Date: Subject: Cc: To: From; q=dns/txt; s=fe-e1b5cab7be; t=1778874949; bh=tFwTKW3kDBLJUKllmiRBoo0ahcgcG8TLGz1il3QI99Q=; b=sQsfTz5xZvFIGDiS/cr/4tJS4L+xN/IRDU/Ej7kGWkDe3APLntKl7cy7BZHQ4wRLyApkj2Q9k jXrzjnx77C/CpcnpEnQq2IqfdkizQrBK4sNJ4KE3lSK+YUs2w4JOzJftsZqVe4/j+FVLt4F+lLh M0wcNfkVbI3vcFX0RSMQSjGca+tokDdlUhGmImagjqu8nsdErbLRqF/DQxxjpQzfUkTfgX6S6n0 oiCOh+oZg/6hiPNrTvsoL0m8OrRT/h9/X/50tAxGDAiq4oRFTayWUcQVp43hSYWRp5h8t+hE+j9 qUPsSoenDE+ZdXyyzMzze0hDDuDhp+G4n4FLMvI/Xlog== X-Forward-Email-ID: 6a077a28ad7e292af75a10b0 X-Forward-Email-Sender: rfc822; jonas@kwiboo.se, smtp.forwardemail.net, 121.127.44.73 X-Forward-Email-Version: 2.8.12 X-Forward-Email-Website: https://forwardemail.net X-Complaints-To: abuse@forwardemail.net X-Report-Abuse: abuse@forwardemail.net X-Report-Abuse-To: abuse@forwardemail.net From: Jonas Karlman To: Vinod Koul , Neil Armstrong , Heiko Stuebner Cc: linux-phy@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Jonas Karlman Subject: [PATCH v3 2/2] phy: rockchip: inno-hdmi: Remove deprecated way to configure TMDS rate Date: Fri, 15 May 2026 19:55:11 +0000 Message-ID: <20260515195512.1757363-3-jonas@kwiboo.se> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260515195512.1757363-1-jonas@kwiboo.se> References: <20260515195512.1757363-1-jonas@kwiboo.se> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260515_125550_615153_DF61BD10 X-CRM114-Status: GOOD ( 11.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The TMDS character rate of this PHY is configured using PHY bus width in downstream vendor kernel and out-of-tree patches, however no in-tree consumer of this PHY has ever called phy_set_bus_width() to change the TMDS character rate as currently only 8-bit RGB output is supported by the HDMI display driver. The series "Split Generic PHY consumer and provider" clarifies that phy_set_bus_width() is intended as a provider-only function. Remove the deprecated unused fallback way to configure TMDS character rate now that this HDMI PHY support using phy_configure() to configure the TMDS character rate. Signed-off-by: Jonas Karlman --- v3: No change v2: New patch, split from original patch --- drivers/phy/rockchip/phy-rockchip-inno-hdmi.c | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/drivers/phy/rockchip/phy-rockchip-inno-hdmi.c b/drivers/phy/rockchip/phy-rockchip-inno-hdmi.c index efa95c22b3bb..3bc73f0cff70 100644 --- a/drivers/phy/rockchip/phy-rockchip-inno-hdmi.c +++ b/drivers/phy/rockchip/phy-rockchip-inno-hdmi.c @@ -555,24 +555,10 @@ static inline void inno_update_bits(struct inno_hdmi_phy *inno, u8 reg, static unsigned long inno_hdmi_phy_get_tmdsclk(struct inno_hdmi_phy *inno, unsigned long rate) { - int bus_width; - if (inno->hdmi_cfg.tmds_char_rate) return inno->hdmi_cfg.tmds_char_rate; - bus_width = phy_get_bus_width(inno->phy); - - switch (bus_width) { - case 4: - case 5: - case 6: - case 10: - case 12: - case 16: - return (u64)rate * bus_width / 8; - default: - return rate; - } + return rate; } static irqreturn_t inno_hdmi_phy_rk3328_hardirq(int irq, void *dev_id) @@ -1450,7 +1436,6 @@ static int inno_hdmi_phy_probe(struct platform_device *pdev) phy_set_drvdata(inno->phy, inno); phy_set_mode_ext(inno->phy, PHY_MODE_HDMI, PHY_HDMI_MODE_TMDS); - phy_set_bus_width(inno->phy, 8); if (inno->plat_data->ops->init) { ret = inno->plat_data->ops->init(inno); -- 2.54.0