Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4650055imm; Fri, 18 May 2018 08:29:12 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrpdixqqY2k/EDs98qCI3CV/5ryr50/azXXPfadvde8CdOOXzyWaAr9GB8Qo7azVz7gg2rX X-Received: by 2002:a62:e801:: with SMTP id c1-v6mr9912300pfi.184.1526657352776; Fri, 18 May 2018 08:29:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526657352; cv=none; d=google.com; s=arc-20160816; b=a0teOLdNRllha3mjXUMjsSSCN2i3wuajeyd/vpxq/kRi8XVR9Xps5xGyPwryOkmqi4 f9LwPOq0VQQSRiu3JvoRDaDcW8qFGryRDnzxukLw/MDYHTKihpWhJjbvkRc841eJvswx UhgoE/T292JfikuzXmnTtSz9x3FNh9Ikj28DLoJIrcbV57gYjB8uVRBwLv/NucmTrSgf IXsS33Yn2X7DektHDJZucGwaGW6MC282W0u8WYXuLa7xHLU6oBA+ydPLlkCvlZo4MVGC 5XYTXSwt42NYWej4DfWiH+vkwnSjYkqvMf5M96PBzv7No09kHmMWuMH+S6xh/5WiitHY FcQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=5H3vnyvZXgQ7kob4bnQCrGKH4j+mV6qBMhMtYkWBr4Q=; b=zWelunIM2FQiWgGIXJ4RXCJLSYHysoIoGV6+1Ef/1k+FRZrZGLA1IKX51kmtqFvBRz Qf9VR1CqGjECap2cVIfNFkneMzjT005QWLB6pNtK/B8Ym6xx69H7zKO1RkrVmp9/Avwo fGhKMW4stezX5lT2la8xN0h0Ppi//fHaRWkL3+xQgaYFm8B7dzPZmoxgeANqi5eNxZp4 I8nracC+ZvdWZ2GLoOHU/I52oBh8GighuaCd+hHXdut3Cm/LeNvO9cXaInD9Rs9uaya5 nOza9uKWIs6RenM/IvpvNv8vU+EFl0jnUGYNSMpYRBQR4PEqlR2ksx6kvzhS5SZZRuR2 HTdg== ARC-Authentication-Results: i=1; mx.google.com; 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 k13-v6si6206092pgo.662.2018.05.18.08.28.57; Fri, 18 May 2018 08:29:12 -0700 (PDT) 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; 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 S1752395AbeERP1G (ORCPT + 99 others); Fri, 18 May 2018 11:27:06 -0400 Received: from mail.bootlin.com ([62.4.15.54]:53565 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750882AbeERP1D (ORCPT ); Fri, 18 May 2018 11:27:03 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id D9B5420794; Fri, 18 May 2018 17:27:00 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.bootlin.com (Postfix) with ESMTPSA id A9506204AD; Fri, 18 May 2018 17:26:50 +0200 (CEST) Date: Fri, 18 May 2018 17:26:51 +0200 From: Maxime Ripard To: Jernej =?utf-8?Q?=C5=A0krabec?= Cc: Jagan Teki , Chen-Yu Tsai , Icenowy Zheng , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , David Airlie , dri-devel@lists.freedesktop.org, Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org, Michael Trimarchi , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: Re: [PATCH v2 12/26] drm/sun4i: Add support for multiple DW HDMI PHY clock parents Message-ID: <20180518152651.lfymc3kj7npj5tww@flea> References: <20180518094536.17201-1-jagan@amarulasolutions.com> <20180518094536.17201-13-jagan@amarulasolutions.com> <20180518100116.4bf2qcffg7ekxa7u@flea> <4909574.Q3IFWM0xt6@jernej-laptop> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="tvit4m5thudok37l" Content-Disposition: inline In-Reply-To: <4909574.Q3IFWM0xt6@jernej-laptop> User-Agent: NeoMutt/20180323 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --tvit4m5thudok37l Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 18, 2018 at 04:46:41PM +0200, Jernej =C5=A0krabec wrote: > > And this is a bit sloppy, since if phy_clk_num =3D=3D 3, you won't try = to > > lookup pll-2 either. >=20 > It is highly unlikely this will be higher than 2, at least for this HDMI = PHY,=20 > since it has only 1 bit reserved for parent selection. But since I have t= o fix=20 > it, I'll add ">=3D 2" If we're only going to have two parents at most, ever, why don't we had just a single other boolean. This would be less intrusive, and we wouldn't have to check for those corner cases. > BTW, I'll resend fixed version of this patch for my R40 HDMI series, sinc= e=20 > there is nothing to hold it back, unlike for this. Awesome, thanks! Maxime --=20 Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com --tvit4m5thudok37l Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAlr+8LoACgkQ0rTAlCFN r3RbhhAAiPiS0oBKrE4SXuEZWn62ARBw1jMOVxivZlxbDkKSK+fpfxr2hAVKYxtZ nIpt5ribBWn98C2K5oqbwIg/Xino6lGKP3AGTKm6468rtHviVT5YnyRk5xSP1PRi IDL9CdfCK+G5GMmC14Ht1OIxqenqQjPcT0UAkftjV+gkwPzipIVy7Tgff5Uz7BOk wRaiMpxrc2DAa2B/xDdrQkwP+wkuXLkYR52NYBJMsQsxl69v/qjwaKK1svb1ewKm qyi7Bebtfwh77scOWahjAIjCKInqqLn8uMYmoe/GqeH6TThyeDNBJTmyi8Eo3sxc 8YY1yvNc1aSfQ6ds8H0bNweRLxI3aigqLeRaPczL6pILNMXQOZciVAezqhtZ3U7P b7wNfC4aoXdveVy60vLpTo2hWKQdgmixvV8VBILgvct4Zq1IJytet/7+mFvcL7Eh VXJOCYNXy+VOser93hcWdKSouvAj5oBSD+f9Nhoi6iv8ezKeQBhXsMeyhe/7rhDt fAIeLBPJtRyEoM8aMWYDmtCWj6jITYZ+ZOsbe0fCMVbJqsAHOQK7e8BSlcKceC81 Iw5Vi9Cbz/ZE4fADrt/HxlJy9o4WCqswPJBroq4s43gRXz8SYC3bq72+GrLojGp1 TX98j3eQKkYQDp3C3nVJS16JTF0TEb/907K2lSavyIhu4JmLl2M= =AUyt -----END PGP SIGNATURE----- --tvit4m5thudok37l--