Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1790484imm; Thu, 18 Oct 2018 04:24:23 -0700 (PDT) X-Google-Smtp-Source: ACcGV63FYIBiBdCEBiOpTLTdTq8XKSF0wpqIQAk/vQYH8vRWh2dnZbahpVCskOUD+k9zkbV7Fx0j X-Received: by 2002:a17:902:8a8c:: with SMTP id p12-v6mr29564185plo.133.1539861863033; Thu, 18 Oct 2018 04:24:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539861863; cv=none; d=google.com; s=arc-20160816; b=QufNEjbs08Ml+4Y8p9o44SnnYbkGD9YfoonaGH4tkMfJOaF7dWKTTupbZedN+V9FX6 Vqs2ym6VAa6N2CW4fK8/rvDpFCqnBEo4foP+aCyRQ2uDOnwtSKv0UU2OptADE24mD3Hc 8Zn8BYO0INcPjHJkNEDH/Rs5YF4nbaJpTeQCATFHDciETkzsDCAnoDl/P6tukVE2Ck7q OEIpp4jkhIngPcNJjGjK+lQH5h8oFAYIQ1oBIZlCXgPNwfy+J45/gjBe2POCRQ78ZE0S FuOAruHVzPoox2DS80j4aWpLCpeNi5CIgzGfRIah/XmNv3MxFl/wUlbDGrPoJYGSRzfc Wuzw== 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:mime-version :references:in-reply-to:organization:message-id:date:subject:cc:to :from:dkim-signature; bh=0sddua8DC6rpGjR03XB/sRwOF3Dq8QjBfw+KL3iFYz0=; b=mTy4BaefT4JyGOr62Cl7D828okRUZl7iZex8uBRvSsfq5JsD2oEjB4Y1ZQ8dUNoseq yTq354lpXtnelWRhG9TZklgJbAdnjqC3jsD8OBVGnJ57nUVXkf5qBC1LH+FL1yEWIepx Ll9W4JdeetTfpru92vAIkd0bkN7hsLdXBk5P/dPVTRUIzCnvuyUNZHJAK9FaJZEY6zKS 5aZlSwJ8PwF6DMb1kq1J4zdjKpnoOk50YEu+0huiz0AcEWGdaJjPmif/ZNwLb4xBGVg8 /0SCSkxXaGOMHK72xx1aQ2QGkJBivJAb92HbaKcWLX9rOE7ENAM80dSF7R3rpBObgGGC NoVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=ctBthBsY; 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 h21-v6si21186794plr.98.2018.10.18.04.24.07; Thu, 18 Oct 2018 04:24:23 -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 (test mode) header.i=@ideasonboard.com header.s=mail header.b=ctBthBsY; 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 S1727497AbeJRTYQ (ORCPT + 99 others); Thu, 18 Oct 2018 15:24:16 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:33210 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727365AbeJRTYQ (ORCPT ); Thu, 18 Oct 2018 15:24:16 -0400 Received: from avalon.localnet (dfj612ybrt5fhg77mgycy-3.rev.dnainternet.fi [IPv6:2001:14ba:21f5:5b00:2e86:4862:ef6a:2804]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 79F5C1277; Thu, 18 Oct 2018 13:23:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1539861820; bh=Ua5VvH5u+egpbUIXpxDSJvUMBkDLZAMSnks4J3fHYQs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ctBthBsYTcfxQ4g5G2bKpm3eYy1MAkSvRP3YZGaIYloc/2ie/bn7WKSWs+k5V+g7Y nJJYvpVizFO4003sC/NmMv8uoewFHifb+0HI20Do+H867wp4GD6bThCxypNVUoIjRa FtdlmW7k1dNjhZDhc5od8kEY+Y+aXzFczULhvfkM= From: Laurent Pinchart To: Icenowy Zheng Cc: devicetree@vger.kernel.org, Archit Taneja , Andrzej Hajda , David Airlie , linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Maxime Ripard , Chen-Yu Tsai , Rob Herring , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 4/9] dt-bindings: Add ANX6345 DP/eDP transmitter binding Date: Thu, 18 Oct 2018 14:23:50 +0300 Message-ID: <2778638.na8ndVNUfi@avalon> Organization: Ideas on Board Oy In-Reply-To: References: <20181018073327.64942-1-icenowy@aosc.io> <1886367.eljNk7jKYl@avalon> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Icenowy, On Thursday, 18 October 2018 13:00:05 EEST Icenowy Zheng wrote: > =E5=9C=A8 2018-10-18=E5=9B=9B=E7=9A=84 11:53 +0300=EF=BC=8CLaurent Pincha= rt=E5=86=99=E9=81=93=EF=BC=9A > > On Thursday, 18 October 2018 10:33:22 EEST Icenowy Zheng wrote: > >> The ANX6345 is an ultra-low power DisplayPort/eDP transmitter > >> designed > >> for portable devices. > >>=20 > >> Add a binding document for it. > >>=20 > >> Signed-off-by: Icenowy Zheng > >> --- > >>=20 > >> .../bindings/display/bridge/anx6345.txt | 39 +++++++++++++++++++ > >>=20 > >> 1 file changed, 39 insertions(+) > >> create mode 100644 > >>=20 > >> Documentation/devicetree/bindings/display/bridge/anx6345.txt > >>=20 > >> diff --git > >> a/Documentation/devicetree/bindings/display/bridge/anx6345.txt > >> b/Documentation/devicetree/bindings/display/bridge/anx6345.txt new > >> file > >> mode 100644 > >> index 000000000000..0689d4eb5f65 > >> --- /dev/null > >> +++ b/Documentation/devicetree/bindings/display/bridge/anx6345.txt > >> @@ -0,0 +1,39 @@ > >> +Analogix ANX6345 eDP Transmitter > >> +-------------------------------- > >> + > >> +The ANX6345 is an ultra-low power Full-HD eDP transmitter designed > >> for > >> +portable devices. > >> + > >> +Required properties: > >> + > >> + - compatible : "analogix,anx6345" > >> + - reg : I2C address of the device > >> + - reset-gpios : Which GPIO to use for reset > >> + > >> +Optional properties: > >> + > >> + - dvdd12-supply : Regulator for 1.2V digital core power. > >> + - dvdd25-supply : Regulator for 2.5V digital core power. > >=20 > > Shouldn't these to supplies be mandatory ? >=20 > Yes they should. >=20 > >> + - panel-supply : Regulator for the power of the panel. > >=20 > > Shouldn't the panel supply for specified in the DT node of the panel > > ? >=20 > However, eDP panel can be probed, may vary on the same device, and we > don't have a generic binding for it... Shouldn't we fix that ? :-) > >> + - edid : verbatim EDID data block describing > >> attached > >> + panel, only used when the panel has no EDID > >> info. > >=20 > > This should also be specified in the panel DT node. > >=20 > > > + - Video port for RGB input, using the DT bindings defined in [1]. > >=20 > > I think you should also add a port for the output. >=20 > What will it point to? The panel DT node ? > >> +[1]: Documentation/devicetree/bindings/media/video-interfaces.txt > >> + > >> +Example: > >> + > >> +anx6345: anx6345@38 { > >> + compatible =3D "analogix,anx6345"; > >> + reg =3D <0x38>; > >> + reset-gpios =3D <&pio 3 24 GPIO_ACTIVE_HIGH>; /* PD24 */ > >> + panel-supply =3D <®_dc1sw>; > >> + dvdd25-supply =3D <®_dldo2>; > >> + dvdd12-supply =3D <®_fldo1>; > >> + > >> + port { > >> + anx6345_in: endpoint { > >> + remote-endpoint =3D <&tcon0_out_anx6345>; > >> + }; > >> + }; > >> +}; =2D-=20 Regards, Laurent Pinchart