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 519B3C5516D for ; Fri, 31 Jul 2026 10:33:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:References:To:From:Subject: Cc:Message-Id:Date:Mime-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DNW474SW1lt8SVbPN7W6AyGUrwvme4Tegvz/pK9uTnE=; b=4qihVTPBnXWe4j kkXG8EnKYpEw7G4Uv3bWAd4eZkgCfTLXwUmkFOuFfG1cuDoUFH9iIs2+5IHZky0C58mBfUpoT1qQ2 rV61TuletCP44hebXD4NrDQi4SkbSL/eeym09Q4iOCRUB+y5OWqkYc0t5iXgexwsqkey+9SXok6Jo thNSFigM9YS3ADaVeNguCOIRJ+DKXm8aYCLDVQQxgXMn2YHgZVovQxJbogtc7OD82DUCYwia+eql8 XEUjRiS7Xogt0U/woyrc9IPdp6rvFMZN79QGCPG3Kda5hH7B1uMZKV9D0/A0wjzFOvfZywegw/LZE 8yHow3JaY8Vn2ntEAkmA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wpkY4-0000000CK89-3l7R; Fri, 31 Jul 2026 10:33:04 +0000 Received: from out-180.mta0.migadu.com ([91.218.175.180]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wpkY1-0000000CK73-2F88 for linux-phy@lists.infradead.org; Fri, 31 Jul 2026 10:33:03 +0000 Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cknow-tech.com; s=key1; t=1785493969; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uuRw5hJ2mftHt1u3eDzEgfPNP6kuHelSAGaazRJn7TM=; b=Lv4Fq626JJBk/C3kc8zkrhqDPdUjL6bzyFEeyMQaBLrw1+uxbdtBz7qhsf/5sU16eP0lkl sM7bvwh9C1aeBzNbIXFTt9X3TnZu40JdLyC9Q5OpkjaSjZxxAyhKr/8wlGfnlN+6mAESl9 wTJnhv5EtsG/+7LZloPJteLS28VJCfPSHqy33X6SSMvRAzL7oLixWdrV+X7RCEmC3p0AR0 Y91AxOxqQR1FezH9v33+gOEDQZoTSWfnpSp7iFWcdB+igEBKy8L82X9wlQBmVOUvUP4r5V NWV9oS45FLj6cawfvdMEcckv+bN9jkZkD0ribPfYbdINDH08cF3zfKcZ/bjsBA== Date: Fri, 31 Jul 2026 12:32:44 +0200 Message-Id: Cc: , , , Subject: Re: [PATCH v4 0/2] phy: rockchip: inno-hdmi: Change TMDS rate handling to configure() ops X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: "Diederik de Haas" To: "Jonas Karlman" , "Vinod Koul" , "Neil Armstrong" , "Heiko Stuebner" References: <20260518180722.2480799-1-jonas@kwiboo.se> In-Reply-To: <20260518180722.2480799-1-jonas@kwiboo.se> X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260731_033301_720417_D1228CC6 X-CRM114-Status: GOOD ( 16.95 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org On Mon May 18, 2026 at 8:07 PM CEST, Jonas Karlman wrote: > This series adds support for using phy_validate() and phy_configure() > with this HDMI PHY as an alternative to current in-tree unused way of > using PHY bus width to configure the TMDS character rate. > > The only known users that calls phy_set_bus_width() on this PHY are my > out-of-tree HDMI 2.0 patches for Rockchip RK3228/RK3328, i.e. those > originating from LibreELEC (also carried by other distros), the > downstream vendor kernel uses a different implementation that also calls > phy_set_bus_width() on this PHY. Tested-by: Diederik de Haas # Rock64 > Patch "drm/rockchip: dw_hdmi: Configure HDMI PHY in atomic_mode_set()" > that calls phy_validate() and phy_configure() on this PHY can be found > at [1]. > > [1] https://lore.kernel.org/dri-devel/20260510183114.1248840-10-jonas@kwiboo.se/ > > This series is part of a larger multi series effort to: > - phy: rockchip: inno-hdmi: Change TMDS rate handling to configure() ops [v4] > - drm/rockchip: dw_hdmi: Misc cleanup and propagate bus format [v2] > - drm: bridge: dw_hdmi: Misc enable/disable, CEC and EDID cleanup [v7] > - drm/bridge: dw-hdmi: Improve input/output bus format handling > - drm/bridge: dw-hdmi: Convert to a HDMI bridge and use of bridge connector > - drm/bridge: dw-hdmi: Add and use tmds_char_rate_valid() plat data ops > - drm/meson: hdmi: Misc cleanup and use CEC notifier helpers [v1] > - drm/rockchip: dw_hdmi: Enable YCbCr and Deep Color modes > Link to snapshot: https://github.com/Kwiboo/linux-rockchip/commits/next-20260518-rk-hdmi-v5/ > > Changes in v4: > - Add NULL opts check in validate() > - Only store the opts->hdmi.tmds_char_rate value for later use > - Move comments about expected consumer usage from inline to above the > functions > Link to v3: https://lore.kernel.org/linux-phy/20260515195512.1757363-1-jonas@kwiboo.se/ > > Changes in v3: > - Change validate() ops to only validate tmdsclock > - Add comments about expected consumer usage > - Update commit message with a typical call chain > Link to v2: https://lore.kernel.org/linux-phy/20260510095731.1222705-1-jonas@kwiboo.se/ > > Changes in v2: > - Split into two patches, one that adds new ops and a second that remove > the old and unused workaround > - Add validate() ops to validate that the TMDS rate is supported > Link to v1: https://lore.kernel.org/linux-phy/20260503172936.194003-1-jonas@kwiboo.se/ > > Jonas Karlman (2): > phy: rockchip: inno-hdmi: Add configure() and validate() ops > phy: rockchip: inno-hdmi: Remove deprecated way to configure TMDS rate > > drivers/phy/rockchip/phy-rockchip-inno-hdmi.c | 71 +++++++++++++++---- > 1 file changed, 58 insertions(+), 13 deletions(-) -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy