Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp466781ybn; Thu, 3 Oct 2019 07:38:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqwPCvPecla5v+l5iy/i7ny0omlIGxw0TwFPukY7+LW2Vka0OCh17d0rYlV7WLLlp9VCcdel X-Received: by 2002:a17:906:2f10:: with SMTP id v16mr7862124eji.247.1570113508023; Thu, 03 Oct 2019 07:38:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570113508; cv=none; d=google.com; s=arc-20160816; b=BVHmAF7ZxEkPfoEcaj0DBC0MAUizL+DWA6wXsmYzOQBPb48fJyoShDfG8EG7zrnkad 4n2iUE4K8B0XU+bGnr+wrctdPHNlcAmSFmnRe3KFAXD2Gq9vjbSIpdIPi95mmzOY3NZz 8lmp/7A2nt3I1c0YjgcfVyQMxPxCuLPU8yt/GrqApb9WRS0nKaKxqsYsNUs8KPSFqwfM JicT9lRnY1CYlnQymmr4v8bvT0L46cqD0bvdtEEVahe4Ec16jyaUGsgAf/6gFbGkSSh7 bJhGoYPtKQipLJNW7SnME3jfklYAWMsQ+b5UGrsCjCSrJMr6aOxGA2YNEvu7JZ1pB+Uq KaQw== 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:dkim-signature; bh=JR6sTxy+GNRWgbTb/Vea3n3Hjk/Qth8RxChpqMsbm28=; b=SVgwa5Fdq1AKtEpA8PHWLxB01K35S95ckRdhDLg1StRFwSsSG9bAXiDrgiqgJlPRdP eOF+ANMWfg90sXYCcQ+17KSC3dRoac4t/W6otZyLVatK/jW/qNmtRZdXeVp5S8XLZXS1 bl79v84Wgez/WQfLaUtr/KBt3mrVSQb1l25UIoMXcMaTF9S0hMDn2KDKBz8SDgAJ67iM 0BKQGBOGk60/ndghtg7ACoZbs4iJSqtL6NyvpEUv5S8HPiCmnxCTrexMFxTSMUh9cnMP Vn1EF3NKn+kijb2neqqe2cAQbD7snaIpzCP4RwzdDpPJt6oQQR3NOUGRJRnRJziS8Z/p KK4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2QzvAZ+Z; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j6si1483525ejj.37.2019.10.03.07.38.02; Thu, 03 Oct 2019 07:38:28 -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; dkim=pass header.i=@kernel.org header.s=default header.b=2QzvAZ+Z; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730447AbfJCNaf (ORCPT + 99 others); Thu, 3 Oct 2019 09:30:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:48552 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729655AbfJCNaf (ORCPT ); Thu, 3 Oct 2019 09:30:35 -0400 Received: from localhost (lfbn-1-10718-76.w90-89.abo.wanadoo.fr [90.89.68.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 87D85207FF; Thu, 3 Oct 2019 13:30:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570109434; bh=/PbXIGt0UaMtnHakh0maKsJfjC9hWocWlO7+FUASxAs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=2QzvAZ+ZKgdOJ80qmd9SOJ5LSwKyk4G/pw5n8Gp/a2xELivFH5ULWHtb4eAgV9ans E48i9e22CPdnXQuE2n7GWOtdKqOw4VSGKA0OvZ19/QyJ2q0J6pwyokSdaw/GXyAOMy RBSZCDf5+Mji9yipjs10suznOE6Etm80OulAKWYY= Date: Thu, 3 Oct 2019 15:30:31 +0200 From: Maxime Ripard To: Icenowy Zheng Cc: linux-arm-kernel@lists.infradead.org, Jagan Teki , devicetree@vger.kernel.org, David Airlie , linux-sunxi , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Chen-Yu Tsai , Daniel Vetter , michael@amarulasolutions.com Subject: Re: [PATCH v11 4/7] dt-bindings: sun6i-dsi: Add VCC-DSI supply property Message-ID: <20191003133031.gowixvfbdaif4sdf@gilmour> References: <20191003064527.15128-1-jagan@amarulasolutions.com> <20191003064527.15128-5-jagan@amarulasolutions.com> <20191003114733.56mlar666l76uoyb@gilmour> <0086CD40-F161-4B33-8D76-8DCA20E7DB07@aosc.io> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="xl6ox63chtxqzxbp" Content-Disposition: inline In-Reply-To: <0086CD40-F161-4B33-8D76-8DCA20E7DB07@aosc.io> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --xl6ox63chtxqzxbp Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 03, 2019 at 09:04:03PM +0800, Icenowy Zheng wrote: > =E4=BA=8E 2019=E5=B9=B410=E6=9C=883=E6=97=A5 GMT+08:00 =E4=B8=8B=E5=8D=88= 7:47:33, Maxime Ripard =E5=86=99=E5=88=B0: > >On Thu, Oct 03, 2019 at 12:15:24PM +0530, Jagan Teki wrote: > >> Allwinner MIPI DSI controllers are supplied with SoC DSI > >> power rails via VCC-DSI pin. > >> > >> Some board still work without supplying this but give more > >> faith on datasheet and hardware schematics and document this > >> supply property in required property list. > >> > >> Reviewed-by: Rob Herring > >> Tested-by: Merlijn Wajer > >> Signed-off-by: Jagan Teki > >> --- > >> .../bindings/display/allwinner,sun6i-a31-mipi-dsi.yaml | 3 > >+++ > >> 1 file changed, 3 insertions(+) > >> > >> diff --git > >a/Documentation/devicetree/bindings/display/allwinner,sun6i-a31-mipi-dsi= =2Eyaml > >b/Documentation/devicetree/bindings/display/allwinner,sun6i-a31-mipi-dsi= =2Eyaml > >> index 47950fced28d..9d4c25b104f6 100644 > >> --- > >a/Documentation/devicetree/bindings/display/allwinner,sun6i-a31-mipi-dsi= =2Eyaml > >> +++ > >b/Documentation/devicetree/bindings/display/allwinner,sun6i-a31-mipi-dsi= =2Eyaml > >> @@ -36,6 +36,9 @@ properties: > >> resets: > >> maxItems: 1 > >> > >> + vcc-dsi-supply: > >> + description: VCC-DSI power supply of the DSI encoder > >> + > > > >The driver treats it as mandatory, so I've added it to the binding, as > >suggested by the commit log. > > No. The regulator_get function will return dummy regulator, rather than > fail, if the regulator is not specified. Yes. And this deals nicely with the backward compatibility case. The regulator is there on all the SoCs, so there's no reason to leave it out. Maxime --xl6ox63chtxqzxbp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXZX39wAKCRDj7w1vZxhR xfdtAP9iY02ClBdX7PytSYTVv7u9rk5qFxNbRhfligYsza6diwEA+bXtRpDjiCDy YsfwN2Wm3Vvp2K/WtdvzfKezGk0WpAo= =iYP9 -----END PGP SIGNATURE----- --xl6ox63chtxqzxbp--