Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp921186ybl; Fri, 10 Jan 2020 08:57:31 -0800 (PST) X-Google-Smtp-Source: APXvYqyK5VXCNrPDCr8oIKYO6nQc+IxDVkK3GTUH5tgJvK7/R/6gKsHVHjPB3LlO1Mss7lAK8BC+ X-Received: by 2002:a05:6830:2014:: with SMTP id e20mr3190302otp.272.1578675451551; Fri, 10 Jan 2020 08:57:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578675451; cv=none; d=google.com; s=arc-20160816; b=0C54JxfFtWwxOCW8JWOQVrDP3453w+HogxBZYWyCnhwFIR4bKIZxNAAVr46I+1ot0i 35M0gw0Aix2EGvcWXFrtoqW7zSk6TgY/7AQ3MPIpKBNq4N/ycMGgevA1SNUxTURDzqh0 M6UkVNbS33VeCyQIwozaBi54WxXCdPIsOMpIEzzO6tfsPTLSklkuo2ypmcn8hjyvLXqf eH/BHSUZjBpmmPeKr7+5k1wGwtICsA7mwpYA2HXXMWe/r+1JRfrtSFIlVgFuVcGtIqWG vk0LmIAdrtEqhwyCoGUVSoRcrt9+aBty3VDmo3x+AA/OiugkNGX3zWqmjYvzmUQxYtk3 N9SQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:cc:to:in-reply-to:mime-version:user-agent:date :message-id:from:references:subject:dkim-signature; bh=qSIj+Q/eviriLbr4bwIlJlojdPvdcmcScS/njDhyucQ=; b=nLJ8o3Dl34XkCX1PQUd1jEzLT5f75vGxLbtDYwUqz+9oxMsuMYixGoXdzJpgWmjRpb tWIpkvPMbAC7oV2EZ+GmrASeGhvxVwQ14zOe33l9BVw4KecuLXo6nvmFBgq108CjS/YK D1peQy2mbL/SfkIHtxkr9/ClHycibdQr1au4rAuVZ8Swp2fjzvL9VVtwoLK0jkspZgTt tUsiauvy99vVeMUyRa2LddUh6yUd8tLE3mlC5KmZr6VSnYAx2b66kwQa7UnRV6Dce/i0 9DRfLVjyiXg/K0GWlH3UUitGyvnfXTmt61Jxf8c60pxwYg1WRHrJO3WviOInNirJ+W0w jAig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kwiboo.se header.s=001 header.b=LhwpGXfR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f190si1417338oig.229.2020.01.10.08.57.20; Fri, 10 Jan 2020 08:57:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kwiboo.se header.s=001 header.b=LhwpGXfR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728496AbgAJQ4P (ORCPT + 99 others); Fri, 10 Jan 2020 11:56:15 -0500 Received: from o1.b.az.sendgrid.net ([208.117.55.133]:54768 "EHLO o1.b.az.sendgrid.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728258AbgAJQ4O (ORCPT ); Fri, 10 Jan 2020 11:56:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kwiboo.se; h=subject:references:from:mime-version:in-reply-to:to:cc:content-type: content-transfer-encoding; s=001; bh=qSIj+Q/eviriLbr4bwIlJlojdPvdcmcScS/njDhyucQ=; b=LhwpGXfR08rN9g16BlVN8gbCN9ye/zQBHzIsxKPxQh3U83DR/TBmKPdQog3hbSdONNnr dyOWBHmPkX+EcdEB75xJAjEAYbwV/jtoHwaCq+0kWoibQBWbMl7gzfzfORscv8JpHCRg63 3pFUdmg+c8Aq4AfWopJU/Pz0KMMc/TUsw= Received: by filterdrecv-p3iad2-57f487d66-l92zz with SMTP id filterdrecv-p3iad2-57f487d66-l92zz-17-5E18ACAC-63 2020-01-10 16:56:12.829615348 +0000 UTC m=+2131774.242187522 Received: from [80.251.203.67] (unknown [80.251.203.67]) by ismtpd0073p1mdw1.sendgrid.net (SG) with ESMTP id 2KGoAlXLSRW0ynbiZTRwlA Fri, 10 Jan 2020 16:56:12.443 +0000 (UTC) Subject: Re: [PATCH v2 00/14] Support more HDMI modes on RK3228/RK3328 References: <20200108210740.28769-1-jonas@kwiboo.se> From: Jonas Karlman Message-ID: Date: Fri, 10 Jan 2020 16:56:12 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: X-SG-EID: =?us-ascii?Q?TdbjyGynYnRZWhH+7lKUQJL+ZxmxpowvO2O9SQF5CwCVrYgcwUXgU5DKUU3QxA?= =?us-ascii?Q?fZekEeQsTe+RrMu3cja6a0h88Wy6SX3=2F1iV6Uej?= =?us-ascii?Q?3Xa3x+z7=2FIqgRn9rdyg=2F6rE6t8oWfMo1X9LETIX?= =?us-ascii?Q?eguuHt+rMgQYsQTVdR=2FtMP2d9t21ViSkkoLDmxm?= =?us-ascii?Q?=2Fgvr1WtGWtjlxqknO6H16BWrHWSdapfOxQXW7Db?= =?us-ascii?Q?55cE7XCoam=2FhzUO5G=2FuH4RL5yTnIcUsN=2FMVCljJ?= =?us-ascii?Q?nKD29YdSwgvyUXjCIPrnA=3D=3D?= To: Kishon Vijay Abraham I , Heiko Stuebner , Sandy Huang Cc: Zheng Yang , linux-rockchip@lists.infradead.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=us-ascii Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-01-10 12:01, Kishon Vijay Abraham I wrote: > > > On 09/01/20 2:37 AM, Jonas Karlman wrote: >> This series make it possible to use more HDMI modes on RK3328, >> and presumably also on RK3228. It also prepares for a future YUV420 and >> 10-bit output series. >> >> 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 prepares for use of high TMDS bit rates used with HDMI 2.0 and >> 10-bit output modes. >> >> Patch 7-13 changes rk3228/rk3328 to use mode_valid functions suited for >> the inno hdmi phy instead of the dw-hdmi phy. These changes allows for >> more CEA modes to be usable, e.g. some 4K and fractal modes. >> >> Patch 14 adds support for more pixel clock rates in order to support >> common DMT modes in addition to CEA modes. > > Is it possible to split the series targeted for different subsystems or > is it required for all the patches to be merged together? I think it should be possible to split the patches without any issue. The phy changes mainly targets HDMI mode rates that is currently not in use, filtered out by current mode_valid or YUV420/Deep Color modes not yet supported. And the drm changes should not have a hard requirement on the phy changes in this series, but I have not tested them separately. I will split this series and re-run some tests before sending independent series. Regards, Jonas > > Thanks > Kishon >> >> Note: I have only been able to build test RK322x related changes >> as I do not have any RK322x device to test on. >> >> All modes, including fractal modes, has been tested with modetest on >> a RK3328 Rock64 device using e.g. >> >> modetest -M rockchip -s 39:3840x2160-29.97 >> >> Changes in v2: >> - collect acked-by tag >> - drop the limit resolution width to 3840 patch >> >> This series is also available at [1] and the early work on YUV420 and >> 10-bit output is available at [2]. >> >> [1] https://github.com/Kwiboo/linux-rockchip/commits/next-20200108-inno-hdmi-phy >> [2] https://github.com/Kwiboo/linux-rockchip/commits/next-20200108-bus-format >> >> Regards, >> Jonas >> >> Algea Cao (1): >> phy/rockchip: inno-hdmi: Support more pre-pll configuration >> >> Huicong Xu (1): >> phy/rockchip: inno-hdmi: force set_rate on power_on >> >> Jonas Karlman (11): >> 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 >> drm/rockchip: dw-hdmi: allow high tmds bit rates >> drm/rockchip: dw-hdmi: require valid vpll clock rate on rk3228/rk3328 >> clk: rockchip: set parent rate for DCLK_VOP clock on rk3228 >> arm64: dts: rockchip: increase vop clock rate on rk3328 >> arm64: dts: rockchip: add vpll clock to hdmi node on rk3328 >> ARM: dts: rockchip: add vpll clock to hdmi node on rk3228 >> drm/rockchip: dw-hdmi: limit tmds to 340mhz on rk3228/rk3328 >> drm/rockchip: dw-hdmi: remove unused plat_data on rk3228/rk3328 >> >> Zheng Yang (1): >> phy/rockchip: inno-hdmi: round fractal pixclock in rk3328 recalc_rate >> >> arch/arm/boot/dts/rk322x.dtsi | 4 +- >> arch/arm64/boot/dts/rockchip/rk3328.dtsi | 6 +- >> drivers/clk/rockchip/clk-rk3228.c | 2 +- >> drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 47 ++++++-- >> drivers/phy/rockchip/phy-rockchip-inno-hdmi.c | 110 ++++++++++++------ >> 5 files changed, 120 insertions(+), 49 deletions(-) >>