From patchwork Thu Jun 15 17:10:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonas Karlman X-Patchwork-Id: 13281549 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 38083EB64D9 for ; Thu, 15 Jun 2023 17:10:38 +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:Cc:To:MIME-Version:Message-Id:Date: Subject:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=MbO8RiyU6WAOdK/HkNAXsg06el3u8mkAcvmkRKKmO0k=; b=n3WI3B54hU7ieL TcqC1F4rIcBMTnS1bfE1ynqG8Upsf9qyqE/j+pyzC7gR91QU1ooNjzZXYJsNXL6VFTaWpRH/+1RF9 2w3q2w8mK+xv5zMYB0k/xbRb90Zlr1Opxwpd5ZwDavrl8FXkwjQQz1fqWx10W0I4gUKSTqJhf7nOc 8ESzqfjLJLmvDD0yyi5NP0kYV7FZjURjk80hNuuN0J4rAKsxvNf8OOgLhrLL2nyJCWhPZYllzMPxT EY2vtKhZGvC13hvRp33PQSbO5MFxRRJyxJGsUvkZPZaWIy02pNeGOAQXhUEJDiuWCPK1YPnYenze4 Zwk2HZkC7rzSz1SflDiw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q9qUJ-00FXDc-1M; Thu, 15 Jun 2023 17:10:23 +0000 Received: from s.wrqvtbkv.outbound-mail.sendgrid.net ([149.72.123.24]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q9qUG-00FXAN-0L for linux-rockchip@lists.infradead.org; Thu, 15 Jun 2023 17:10:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kwiboo.se; h=from:subject:mime-version:to:cc:content-transfer-encoding: content-type:cc:content-type:from:subject:to; s=s1; bh=/iMiHruchMZdH7EbKaXXVbEUNCDq8w9JXi9nEY/WsG0=; b=rO8/HnoE9YtWXVLmjXww+B4Qqmh2HHf+JnA+/rg1e9HzBFSKZgm2cRhwyyfazuNoVUPn lmPBmV28a01qMJEC2UaPnponVCxXOghiGItj+76wIWtPsVSTP8lT+CyzIaNa7LfN0obOnQ c5P6T5HViCabUuQQTnskaK/oVfH74EhBi5RUfzzEDu8LQUA9YrRP3ElfEyUijPZ/wW8u1U KC5W0RT+rlR5pK4OY6Mo30Q73x1IRAtIpq4gqTrqNYwy8Y4GSrRVgsNSvbSYMdLHI4UoNg Igc0NezKG+mcM0a3IFcbUFWcmBWgCKg3+ehe9bjaZWrsCzYJJzYJdTehv8HSteqQ== Received: by filterdrecv-77869f68cc-l7kjz with SMTP id filterdrecv-77869f68cc-l7kjz-1-648B45F7-28 2023-06-15 17:10:15.543950118 +0000 UTC m=+3087258.628411507 Received: from bionic.localdomain (unknown) by geopod-ismtpd-2 (SG) with ESMTP id nGTvoAPVSCO8vRsd_RsRfg Thu, 15 Jun 2023 17:10:15.220 +0000 (UTC) From: Jonas Karlman Subject: [PATCH v4 0/6] Support more HDMI modes on RK3228/RK3328 Date: Thu, 15 Jun 2023 17:10:15 +0000 (UTC) Message-Id: <20230615171005.2251032-1-jonas@kwiboo.se> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-SG-EID: TdbjyGynYnRZWhH+7lKUQJL+ZxmxpowvO2O9SQF5CwCVrYgcwUXgU5DKUU3QxAfZekEeQsTe+RrMu3cja6a0h1XOkue/cxLltwil4k2y4aiZwCJ7/vKmD3jebfAfZdtNcM7nB2rsB1rsW2x6dmGJ+tvdv5r2Scmow9SIkrsu9+54z8rbzyYvWDIjMGnVA9wiwgfj9MeTQ07w1xNl5BtQTuVKk6s3hnLYYM5EdcG5vUqCWRHq2YwglYmwsoyGwfljLF9frAPZ50FPgUYCWyBC4g== To: Vinod Koul , Kishon Vijay Abraham I , Heiko Stuebner Cc: Alex Bee , linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Jonas Karlman X-Entity-ID: P7KYpSJvGCELWjBME/J5tg== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230615_101020_228731_AFD8E294 X-CRM114-Status: GOOD ( 11.58 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org This is a revival of a 3+ year old series that never got picked up, it contains fixes and adds support for more HDMI modes on RK3228/RK3328. This v4 series contains the original v2/v3 patches targeting the inno hdmi phy driver, the last patch that adds support for more HDMI modes has been replaced with a new patch from Alex Bee. Part of this has been reworked from vendor BSP 4.4 kernel commits. Patch 1-5 fixes issues and shortcomings in the inno hdmi phy driver. Patch 6 adds support for more pixel clock rates in order to support common DMT modes in addition to CEA modes. These patches has been in use by LibreELEC and other distros for the past 3+ years, hoping they can be merged this time around :-) Changes i v4: - replace last patch Changes in v3: - split series - drop drm and device tree changes Changes in v2: - collect acked-by tag - drop the limit resolution width to 3840 patch This series is also available at [1]. [1] https://github.com/Kwiboo/linux-rockchip/commits/next-20230615-inno-hdmi-phy Regards, Jonas Alex Bee (1): phy/rockchip: inno-hdmi: add more supported pre-pll rates Huicong Xu (1): phy/rockchip: inno-hdmi: force set_rate on power_on Jonas Karlman (3): phy/rockchip: inno-hdmi: use correct vco_div_5 macro on rk3328 phy/rockchip: inno-hdmi: remove unused no_c from rk3328 recalc_rate phy/rockchip: inno-hdmi: do not power on rk3328 post pll on reg write Zheng Yang (1): phy/rockchip: inno-hdmi: round fractal pixclock in rk3328 recalc_rate drivers/phy/rockchip/phy-rockchip-inno-hdmi.c | 234 +++++++++++++++--- 1 file changed, 198 insertions(+), 36 deletions(-)