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 X-Spam-Level: X-Spam-Status: No, score=-4.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 29A08C433DB for ; Wed, 10 Feb 2021 10:30:48 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B889460200 for ; Wed, 10 Feb 2021 10:30:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B889460200 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=lhvIBd3m1ONqpoH2mzFsgKU84NIfDDnR545UzEgrNL0=; b=h1Qm0me01ljLKVP+sI7gtYRnX iFpkv8z4j57o06lownkAJmng/Z9fODcbpknkH+bNkNZmilUSu4Bw0oT1I5jGhOZKtQI1qpql72m0Y I4plv+HXlQ6C13R5i0W6+Dm1+HBfpFltng3oVo2i1TymCR2dAZKam/FIE9J48gfkXPyTiW19p69mG 6WciI+tAzv7sHwJCm7TtsJw3LW8917jxDYGfAzCfvuilDpoFJauyPM4ElX9Jy6pra6s/sUgXh+7ta PMcILTk2vKv6cwHGmZMcEx9SEcPJ7sQWdlp1JZhdm+nE6tasuyRsHoTOwoEjKBHIhpVsTIdO7nnUh VtZ1AdA7g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l9mkZ-0005MQ-KC; Wed, 10 Feb 2021 10:29:35 +0000 Received: from wnew2-smtp.messagingengine.com ([64.147.123.27]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l9mkW-0005LP-LK for linux-arm-kernel@lists.infradead.org; Wed, 10 Feb 2021 10:29:33 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.west.internal (Postfix) with ESMTP id 33B34C41; Wed, 10 Feb 2021 05:29:31 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 10 Feb 2021 05:29:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=oIa/2Qot3nAjg2o97/YX6K/oHZE bZ3WonfjT0JArODs=; b=l8yfqApM7aybXQ/4V2KFaP0E8A08zx33dGddvnt5mh2 t403i7nKaKwXtlDbCAR1wHi+u+MoJ21lS/BDZagY0aHVbK4BoeYQAm9/Z+wNng3T f6mDzoYKJMa/ldtlFCOJt9e9I1e+THvpdYO3Q6+bOvQ8rMofoeHW+reWrLfL7z8G e+ZQpR3LyVktM4wBDIZ3lKDDQo5v93GuUHq1FshVSe4qJfhsPpLcgT7Wk17wZOIe EIOytHwRDWJGW9TnyjNiqvS0nkTeUUeeS0jCr7B2+av1jGKmyVmZawnvicmnoKs6 cPxcx6YD45xX2OcXVHHbrun8oShgDs1cA4zCyLgWxJA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=oIa/2Q ot3nAjg2o97/YX6K/oHZEbZ3WonfjT0JArODs=; b=aM80EBujFemviFs1HPNFQX +Dj+kJ2DV1N5xzs/62T0zZz/Dm3el+9WiJJrbZZ626gdrfnVV3cGa7JoNNiClur0 KcnwczuUpKG3r05qNezT99p3U7QsENJ2OKVAOwij4k7p3/sjU9bxZ/uS9Io3VxpR 7MvOU3oqqvZPuVOrDTntwIFBOjHiNv6eUdbY5URSk848SxlmX+uYcHLiMl8Ok4Uw UQAJAe4QpriUpY2gSnCDk6k9mV3iyX6/Gu5WmYPH+5aiAMAEA6kYre8sDVtz5BNA aYR7xEvkk3HqttkA//76ff01rB++M3EOP7+M3ofNzZtyfsB5PnHU5Cn+KvCkVtYQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrheejgdduhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpeelkeeghefhuddtleejgfeljeffheffgfeijefhgfeufefhtdevteegheeiheeg udenucfkphepledtrdekledrieekrdejieenucevlhhushhtvghrufhiiigvpedunecurf grrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 68119108005B; Wed, 10 Feb 2021 05:29:30 -0500 (EST) Date: Wed, 10 Feb 2021 11:29:29 +0100 From: Maxime Ripard To: Jernej Skrabec Subject: Re: [PATCH v3 0/5] sunxi: fix H6 HDMI related issues Message-ID: <20210210102929.mkmxrwyku3js2zvp@gilmour> References: <20210209175900.7092-1-jernej.skrabec@siol.net> MIME-Version: 1.0 In-Reply-To: <20210209175900.7092-1-jernej.skrabec@siol.net> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210210_052932_799743_B285848C X-CRM114-Status: GOOD ( 16.20 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: sboyd@kernel.org, mturquette@baylibre.com, linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, airlied@linux.ie, wens@csie.org, daniel@ffwll.ch, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: multipart/mixed; boundary="===============0885548870058828760==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============0885548870058828760== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ju3jwli3ct6v5xkf" Content-Disposition: inline --ju3jwli3ct6v5xkf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 09, 2021 at 06:58:55PM +0100, Jernej Skrabec wrote: > Over the year I got plenty of reports of troubles with H6 HDMI signal. > Sometimes monitor flickers, sometimes there was no image at all and > sometimes it didn't play well with AVR. >=20 > It turns out there are multiple issues. Patch 1 fixes clock issue, > which didn't adjust parent rate, even if it is allowed to do so. Patch 2 > adds polarity config in tcon1. This is seemingly not needed for pre-HDMI2 > controllers, although BSP drivers set it accordingly every time. It > turns out that HDMI2 controllers often don't work with monitors if > polarity is not set correctly. Patch 3 always set clock rate for HDMI > controller. Patch 4 fixes H6 HDMI PHY settings. Patch 5 fixes comment and > clock rate limit (wrong reasoning). >=20 > Please take a look. >=20 > Best regards, > Jernej >=20 > Changes from v2: > - use clk_hw_can_set_rate_parent() directly instead of checking flags > Changes from v1: > - collected Chen-Yu tags (except on replaced patch 4) > - Added some comments in patch 2 > - Replaced patch 4 (see commit log for explanation) Applied patches 2-5, thanks Maxime --ju3jwli3ct6v5xkf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCYCO1iAAKCRDj7w1vZxhR xWI+AP9LVKht587rKqqvDF5OHytZ7rTIv7TkzV5PorCdpAl6CwEA3VVGL21fGO9l 0TtgdjhXMuTi5mmSoIsj/QQyNtubVQc= =9wps -----END PGP SIGNATURE----- --ju3jwli3ct6v5xkf-- --===============0885548870058828760== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============0885548870058828760==--