Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1089630ybe; Thu, 19 Sep 2019 08:28:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqzcPlEhElx+IZCfwjWNvf/lzdW9UwVk5T7u3A0THtku2JNX/zpzcDW8RUBz/wbhOB7LZq+h X-Received: by 2002:a50:bb22:: with SMTP id y31mr17315350ede.58.1568906896742; Thu, 19 Sep 2019 08:28:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1568906896; cv=pass; d=google.com; s=arc-20160816; b=sdJs4QLvUelMkIbjsES9lZtsHwGxkKw9zbYmdwpS1R8yjNG1Waezmudpdu07QEGHoO ezW8ggB0pNgPKRlvic6WDbdtLByxuTS2IRvmDnWFggSzvip959Arn7wRoZG9+O22fR+e qdzFMlYYSs2IG61xb6lFwBP4xphqYNaxKh+e6H2EqUOaR16fnPLHiqSrTYp2R4wVLyJr YEtYieovPa1Nm7Bb+HVSujfavromVDU7vEuBkP+uipOt1PYo3ZpKrxhE3F0vTLmTt361 tNb2zll+3nxuN8C46GbtIPlEO1PTIZbQFMQLGI+AdYN/YB1HAd3wLzCZbuTcc1ppyP8Z SrKA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=fBTJSlswVOGD4whQ+j7Ii1uqhhDdxwbkPbhNhhWArO4=; b=bS4CbVaV7EY/2Ki/xeIahGOnQlOOLj7KSw/dKFD9Kr57eZPPqjnID+a54qN4y0+FXs YTiE1FRPt5EXYeBeqSr++23RTLECMOP3KxaG8pvcx1GDfMLo0MF1xqVRlM2XWynr0bmh chjlUBx3y9i31l2oHoDJF1e951c0soqGjH2y92hFvolWzt4msmWG1hOFPrnngbitbm7w 15Ru9/YPGU9jovohGkKRJ1jw0/J3pTJuz6DnpcCSOIpp4l5oxrG6AEmY5s5B5u28vFRn DGSXQm7lIKJOHSq6etgVzi5Fh/RIIWAfDA1V+iBG5rx3JCoWPDNFq/uWtYBMUVTHmyg1 qeRw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Analogixsemi.onmicrosoft.com header.s=selector2-Analogixsemi-onmicrosoft-com header.b=qGZHDIyn; arc=pass (i=1 spf=pass spfdomain=analogixsemi.com dkim=pass dkdomain=analogixsemi.com dmarc=pass fromdomain=analogixsemi.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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analogixsemi.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z7si5506044edb.160.2019.09.19.08.27.51; Thu, 19 Sep 2019 08:28:16 -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=@Analogixsemi.onmicrosoft.com header.s=selector2-Analogixsemi-onmicrosoft-com header.b=qGZHDIyn; arc=pass (i=1 spf=pass spfdomain=analogixsemi.com dkim=pass dkdomain=analogixsemi.com dmarc=pass fromdomain=analogixsemi.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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analogixsemi.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389393AbfISKvL (ORCPT + 99 others); Thu, 19 Sep 2019 06:51:11 -0400 Received: from mail-eopbgr770130.outbound.protection.outlook.com ([40.107.77.130]:27201 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2387987AbfISKvL (ORCPT ); Thu, 19 Sep 2019 06:51:11 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QtiDrEmMzxIc5zPcZ4hxP9uardI2OzdFafCQRVoNPBhYEFADRh6QUdkOO8lwo8SchqF+tAajhd1rpbcQf8IyKzq41nvPabIvXkOmKJNdVfXyELrpmPkRb+QXOG67ytlF8l1dAV5XXDaedEGiIgZGsHSItpxfeqM++nJLaQFdPtYZU8rBpkctb5F7D3tuGxZXxqnPyQq8wOK2NHJUc4qWOJ7V66KFcq6jnMuH+hcM7PxLZy/27q/33QnvdXaTRug9jFaKFCH3q70jauyRPJEAksdWhjdQz2wGrWUj6Oj7yeWWEA8qXk4f4w812bXOt1UvKkajUX21LjS8TnqiR69h0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fBTJSlswVOGD4whQ+j7Ii1uqhhDdxwbkPbhNhhWArO4=; b=k5zc+KdE3oHARcIELzTSKuMFWyOqylw/EycL7VE86umL9gNjCClsZYpkCR+V1JDkFjxU0XdAe/rabFipAYdHD81/zZbyQDJrFhJlee4WKlF7V4TVj3FFRMkNcOn5bODRf0yqV5vmr2xDYRIYqE9RKRz3QESsiHR5D/5VoXOS8I+S1BKtn3yUbUorbQixYqQ6PHa9+g0X/KHHyjzk8AaIZhm4ujW4tMGjKEx3jyEODlcR7e/3IDQJJk+2vcd0ubHSIJOGY0j/07H1ii2trrty1giDoQYkNMH/v5M9uwjVm6N2eDzT3zwXjm5vIfsl5UL38npjXuZO/UbMfqgray/Jnw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=analogixsemi.com; dmarc=pass action=none header.from=analogixsemi.com; dkim=pass header.d=analogixsemi.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Analogixsemi.onmicrosoft.com; s=selector2-Analogixsemi-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fBTJSlswVOGD4whQ+j7Ii1uqhhDdxwbkPbhNhhWArO4=; b=qGZHDIyn2aTTVojqA0h/OWXAsvShk59ntS0DRhghmcM/sX9KcRaFnJcVJk26xozj0cDH7pbOg5vXhy1Po7f5tup43X7Jz4DpT/L5qpniAwjmG/sdnhmGd2EfSTMKiBontXMxmWUdaWYw7mdo/n/emoLrwrUho26xciTNllQ34xI= Received: from MN2PR04MB5886.namprd04.prod.outlook.com (20.179.22.213) by MN2PR04MB6861.namprd04.prod.outlook.com (10.186.145.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2263.17; Thu, 19 Sep 2019 10:51:08 +0000 Received: from MN2PR04MB5886.namprd04.prod.outlook.com ([fe80::8520:f80f:ae9:63cd]) by MN2PR04MB5886.namprd04.prod.outlook.com ([fe80::8520:f80f:ae9:63cd%6]) with mapi id 15.20.2284.009; Thu, 19 Sep 2019 10:51:08 +0000 From: Xin Ji To: Neil Armstrong CC: "devel@driverdev.osuosl.org" , Laurent Pinchart , Andrzej Hajda , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , Sheng Pan Subject: Re: [PATCH v1 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter binding Thread-Topic: [PATCH v1 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter binding Thread-Index: AQHVbrcoV2OyOAmcWUS3ygObr3iBRKcykX4AgABBUYA= Date: Thu, 19 Sep 2019 10:51:08 +0000 Message-ID: <20190919105059.GB30631@xin-VirtualBox> References: <446ff66c-8097-fca8-8371-9223679f16bb@baylibre.com> In-Reply-To: <446ff66c-8097-fca8-8371-9223679f16bb@baylibre.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: HK0PR03CA0023.apcprd03.prod.outlook.com (2603:1096:203:2e::35) To MN2PR04MB5886.namprd04.prod.outlook.com (2603:10b6:208:a3::21) authentication-results: spf=none (sender IP is ) smtp.mailfrom=xji@analogixsemi.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [114.247.245.252] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 72d95f34-7b12-4564-d93b-08d73cef46ea x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600167)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:MN2PR04MB6861; x-ms-traffictypediagnostic: MN2PR04MB6861: x-ms-exchange-purlcount: 1 x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-forefront-prvs: 016572D96D x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(7916004)(346002)(396003)(376002)(366004)(136003)(39850400004)(189003)(199004)(33716001)(71200400001)(9686003)(4326008)(71190400001)(76176011)(256004)(81156014)(478600001)(66446008)(316002)(66946007)(64756008)(66476007)(52116002)(33656002)(81166006)(25786009)(8676002)(99286004)(66556008)(229853002)(6246003)(6116002)(386003)(5660300002)(11346002)(54906003)(186003)(3846002)(6512007)(14454004)(6436002)(53546011)(6916009)(6306002)(7736002)(6486002)(486006)(1076003)(7416002)(66066001)(446003)(6506007)(966005)(86362001)(8936002)(476003)(2906002)(305945005)(107886003)(26005)(102836004);DIR:OUT;SFP:1102;SCL:1;SRVR:MN2PR04MB6861;H:MN2PR04MB5886.namprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: analogixsemi.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: mSIRyTcvH59qVvfscBrXYm6Ap0SN30T3XA9jCMQQGHZvCadfxoWy7z2ZDzhCtp40BdmfOGUjWqAwF361EgD2aajhe6hFvFnNVfT3Bj7vhh+muaRMAkkjThN9UhzqIvyDL8mBDG0axxMTWr71RMa+rVokMuq43hLRrTIDYSko5i5m+a6QVB0Cn83BvdIUqadxeeH5g73YySAyeouU9mBhc6Z0ZTTbRtZ34KQ8gVGCk0ZaZA0xrqFOywc8XgNsGJwKvLNr4g7+6+Wj9zc7mm3+00TAcKdWMgVyLVsXXctx6JEJyVOnEgiTJ66XKJlHuclqqm4Lz8INSyOI4kJq/7uNf6JJ1j/WT30K4ZcSA46PBEAE/tv6yIO+B3+vdwHCdcQM/nYXPcZIhXpEQ2e6hUxFXxiwrlOJoqJKknIxMiHOv1s= Content-Type: text/plain; charset="us-ascii" Content-ID: <8248B93224CA044CA79F0C0DC8170CEA@namprd04.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: analogixsemi.com X-MS-Exchange-CrossTenant-Network-Message-Id: 72d95f34-7b12-4564-d93b-08d73cef46ea X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Sep 2019 10:51:08.4658 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b099b0b4-f26c-4cf5-9a0f-d5be9acab205 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: MmCTS+sIgafubrF3v9cGHyEPaNDVYgdcQn3MYp5w+WDh2CjLmKHOP+tpFk1e644g9dsSTEjgdWhkVfIgApu0GQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR04MB6861 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 19, 2019 at 08:57:12AM +0200, Neil Armstrong wrote: > Hi, >=20 > On 19/09/2019 08:55, Xin Ji wrote: > > The ANX7625 is an ultra-low power 4K Mobile HD Transmitter designed > > for portable device. It converts MIPI to DisplayPort 1.3 4K. > >=20 > > You can add support to your board with binding. > >=20 > > Example: > > anx_bridge: anx7625@58 { > > compatible =3D "analogix,anx7625"; > > reg =3D <0x58>; > > anx,low_power_mode =3D <1>; > > anx,dsi_supported =3D <1>; > > anx,dsi_channel =3D <1>; > > anx,dsi_lanes =3D <4>; > > anx,internal_pannel =3D <1>; > > anx,p-on-gpio =3D <&gpio0 45 GPIO_ACTIVE_LOW>; > > anx,reset-gpio =3D <&gpio0 73 GPIO_ACTIVE_LOW>; > > status =3D "okay"; > > port { > > anx7625_1_in: endpoint { > > remote-endpoint =3D <&mipi_dsi_bridge_1>; > > }; > > }; > > }; > >=20 > > Signed-off-by: Xin Ji > > --- > > .../devicetree/bindings/display/bridge/anx7625.txt | 42 ++++++++++++++= ++++++++ > > 1 file changed, 42 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/display/bridge/an= x7625.txt > >=20 > > diff --git a/Documentation/devicetree/bindings/display/bridge/anx7625.t= xt b/Documentation/devicetree/bindings/display/bridge/anx7625.txt > > new file mode 100644 > > index 0000000..f2a1c2a > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/display/bridge/anx7625.txt > > @@ -0,0 +1,42 @@ > > +Analogix ANX7625 SlimPort (4K Mobile HD Transmitter) > > +----------------------------------------------- >=20 > New bindings should use yaml format: > https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bi= ndings/example-schema.yaml >=20 > Neil OK, I'll follow the yaml format in the next version. Thanks, Xin >=20 > > + > > +The ANX7625 is an ultra-low power 4K Mobile HD Transmitter > > +designed for portable devices. > > + > > +Required properties: > > + > > + - compatible : "analogix,anx7625" > > + - reg : I2C address of the device > > + - anx,low_power_mode : Low power mode support feature > > + - anx,dsi_supported : DSI or DPI > > + - anx,dsi_channel : DSI channel index > > + - anx,dsi_lanes : DSI lane count > > + - anx,intr-hpd-gpio : Which GPIO to use for interrupt > > + > > +Optional properties: > > + > > + - anx,extcon_supported > > + external connector interface support flag > > + - anx,internal_pannel > > + Which indicate internal pannel > > + - anx,p-on-gpio > > + Which GPIO to use for Power On chip > > + - anx,reset-gpio > > + Which GPIO to use for RESET > > + - port > > + SoC specific port nodes with endpoint definitions as defined in > > + Documentation/devicetree/bindings/media/video-interfaces.txt, > > + > > +Example: > > + > > + anx_bridge: anx7625@58 { > > + compatible =3D "analogix,anx7625"; > > + reg =3D <0x58>; > > + anx,low_power_mode =3D <0>; > > + anx,dsi_supported =3D <1>; > > + anx,dsi_channel =3D <1>; > > + anx,dsi_lanes =3D <4>; > > + anx,intr-hpd-gpio =3D <&gpio1 19 IRQ_TYPE_LEVEL_LOW>; > > + status =3D "okay"; > > + }; > >=20