Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1222914ybt; Thu, 9 Jul 2020 01:34:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLTkC6IAzganIsmXqBDzGHteMOuN5pkHJ8TtEgwXhaP7MzwtI3j0dS1neb8l9ApmYz2lld X-Received: by 2002:a17:906:3b01:: with SMTP id g1mr19342041ejf.353.1594283639822; Thu, 09 Jul 2020 01:33:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594283639; cv=pass; d=google.com; s=arc-20160816; b=jyXCUPwe7T4fFnvz04z8p3lIc0171eZtgrlZlmuoIDmCAiTP+e3+rEj04iQk7KA4mY wf8ize0lwbF7eiQ8dBpNAUUC0PomnOajyFOKYL85fgedN+Rg5zwDU7NANOBa5G1i5v3E xCJeSpml0nSsMM8ZfDypCDpR3khnt1Vo4yrYLpm3bbUc9Nu2s2Qwyq+bl270D15oCOzA Q0nZTJUiEXbp8hdcg5cenWonx8BvhC+3AvwT7oE41//xZv2z+1SDPZusP0nOnouxeOtH 3hx3GAJtShAxE3JtQR6Z4+wImOXJLshUO65IhLkKoQ3O50aN9pnzK3rjLgOvdaEy0BdD MpYg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:in-reply-to :content-disposition:references:message-id:subject:cc:to:from:date :dkim-signature; bh=g2l02bwqOJcFgzvXOM1FKabFhPQkV7mDdw5aOX8Ym6k=; b=iv5qwJ/95Mt4J/0Uaok/hCMmchaOLGSgyhibs91daWkGxIWU+OeZkVwjTRXjT5D5Dv U0hHrbx/XxFSyElYqojnr+bQYgXjfFMMrHCUApJSPVW+56y5OprULwwM221P6PxEGYZT TT4RjWr2NJQn2XcSqYJl2VH/hwp9NT7Q8Cp0xyofywdl0utHRJvMWDA77e6Yn8sQecwz Lhidrmr8tYIahXrfG8jXNxCIoaJGhVT+1D65/f4kLNL8tc+ya76DcsD2qkgCjSMdPbQU j5agEKiz+FHFfjzaqSOgWK+q72lthuYZqIOfHF7SWVFULN7OO7vDqXYph/jvwXDuJWIi Tvrw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Analogixsemi.onmicrosoft.com header.s=selector2-Analogixsemi-onmicrosoft-com header.b=qx8oAUQu; arc=pass (i=1 spf=pass spfdomain=analogixsemi.com dkim=pass dkdomain=analogixsemi.com dmarc=pass fromdomain=analogixsemi.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id 88si1766595edr.154.2020.07.09.01.33.36; Thu, 09 Jul 2020 01:33:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@Analogixsemi.onmicrosoft.com header.s=selector2-Analogixsemi-onmicrosoft-com header.b=qx8oAUQu; arc=pass (i=1 spf=pass spfdomain=analogixsemi.com dkim=pass dkdomain=analogixsemi.com dmarc=pass fromdomain=analogixsemi.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726444AbgGIIdI (ORCPT + 99 others); Thu, 9 Jul 2020 04:33:08 -0400 Received: from mail-bn8nam11on2116.outbound.protection.outlook.com ([40.107.236.116]:57017 "EHLO NAM11-BN8-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726260AbgGIIdE (ORCPT ); Thu, 9 Jul 2020 04:33:04 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WgaGqlUxuhaXsYfc0Yz/HjpFfSrOd8W3YReIbLmKGvhALZN6vXpunGD4V+T2NsOqmNS8WRLaYn2nMlIs+YISAO01bJ12fEJmXUe+q28TaXGoM7ctdVkVgDnE13MRqLWy5v8MwkFA0WvzKDYwU5ELUnineqp5NMwd5Tr94bKuVaarwXak5cqHuecljaQ14BEKaJoIp+MfTe9nzSZNm2GcUj1pNRbGPD5hOB3R2ydRg5zEHNOuCDDv/P6sf40DRadxd/Z2EJcTNLOFo7cvPZ7eoCBkpnYeDQLafdOz2wHE55XGGIrxCkyzTlT5JXu9mgui2fMQVvTNmTxMcfbGz8UXBQ== 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=g2l02bwqOJcFgzvXOM1FKabFhPQkV7mDdw5aOX8Ym6k=; b=J4+p5EGNOg+vpjQi3pPA2HBRNoXvIecyeVt6pK0PCGFFGMSw7JqGWpoEY8MCWxmLSOyUSzuSs2VcC9lg60Adk38B4hfDs9FEl9Tbts1QSVn40d7/XO0mBD0T06I2YqAZAxmk72+whTflVYDGhvXYNYZhFR1QjT7GvxFS8y6LQSM/6byOhDsqZ3NRghVOW14ipNYXEClJjWqPDarOhu4wMNUmxoopQTYeOfw8x0eJFSVXHmso7jlTnQrj9GoTIQHXgOhkvsT1DgtG+qw2f+w6cj0jeK7HaxDkn0E9UQENLSsg/XdeMDHAFPApW+pZ/VQ85SN4d6svrkr5gJZc/Gv4Qw== 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=g2l02bwqOJcFgzvXOM1FKabFhPQkV7mDdw5aOX8Ym6k=; b=qx8oAUQuF38RMPaZATu6zZg7B2SnH8eMhyv4fiP5g9B4AnJteGibZ5JQ7S2iV2VTMwJ1WrvZjsFtSsbUhrnRwp1ZrpWC4jAn9xdKGeZEoPF+/j42k1A7Kbyc4Co/RicreUTdA4/Oo1TgdQXMZWtTZwiMNd4bQHMhqlcfF2ity48= Authentication-Results: analogixsemi.com; dkim=none (message not signed) header.d=none;analogixsemi.com; dmarc=none action=none header.from=analogixsemi.com; Received: from BY5PR04MB6739.namprd04.prod.outlook.com (2603:10b6:a03:229::8) by BYAPR04MB5462.namprd04.prod.outlook.com (2603:10b6:a03:c4::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.28; Thu, 9 Jul 2020 08:33:01 +0000 Received: from BY5PR04MB6739.namprd04.prod.outlook.com ([fe80::844e:398b:2165:631b]) by BY5PR04MB6739.namprd04.prod.outlook.com ([fe80::844e:398b:2165:631b%5]) with mapi id 15.20.3153.031; Thu, 9 Jul 2020 08:33:01 +0000 Date: Thu, 9 Jul 2020 16:32:51 +0800 From: Xin Ji To: devicetree@vger.kernel.org, devel@driverdev.osuosl.org, Laurent Pinchart , Andrzej Hajda , Nicolas Boichat , Sam Ravnborg Cc: Neil Armstrong , Jonas Karlman , Jernej Skrabec , Hsin-Yi Wang , David Airlie , Daniel Vetter , Dan Carpenter , Nicolas Boichat , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Pi-Hsun Shih , Sheng Pan Subject: [PATCH v14 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter DT schema Message-ID: References: Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-ClientProxiedBy: HK2PR02CA0138.apcprd02.prod.outlook.com (2603:1096:202:16::22) To BY5PR04MB6739.namprd04.prod.outlook.com (2603:10b6:a03:229::8) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from xin-VirtualBox (114.247.245.254) by HK2PR02CA0138.apcprd02.prod.outlook.com (2603:1096:202:16::22) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.20.3174.21 via Frontend Transport; Thu, 9 Jul 2020 08:33:00 +0000 X-Originating-IP: [114.247.245.254] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e86a5e0a-b30e-4824-8daa-08d823e2b103 X-MS-TrafficTypeDiagnostic: BYAPR04MB5462: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2733; X-Forefront-PRVS: 04599F3534 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: a2j+eHRozwxO6dz2641rmk/89mzF/xPfbKAb1J0zNKqU/pqgHIn8ShuMy9PdenTSOhW/e/95+c2QKIM4ktcUSkOviM3qoeryTbRgVz/ws/ZAY45Kelnqw2NxG9CSSYl/ey8B2DzBnOcgzjqfmcIyVaIhImgD0Tk35iTHBM2m30OQWHt+e1kMnrOhiI7ddjY7rFl2n4+MmZRMLGfm7ovUC6CBDAQoFKPC2BvdJ8zHTdDvtyvMwDg31IQrHxmHHo7uyMrt7O4uyUwfYm52N1jAKMGIyNLFP9Vs+auVbb6/NpNI0VjpWcb6ChXVXLRmRgphk7dbv4Inb1Kgn0tEC/UTlbd+6NTvI+ffUYqmTJ1kM/OAYhL0Porr6okEJtCz/NHUUiNRjX6zGyqbQS0jYwxblg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR04MB6739.namprd04.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(376002)(346002)(396003)(366004)(136003)(39840400004)(54906003)(110136005)(316002)(6666004)(8676002)(6486002)(2906002)(36756003)(5660300002)(66476007)(52116002)(16526019)(66556008)(186003)(66946007)(26005)(4326008)(6496006)(8936002)(107886003)(478600001)(956004)(86362001)(7416002)(2616005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData: IcA3BILt2uXCimQ5QdQUeQrSP3yjXZc0MboJKXcACzOjnhob89mJJgkVZ9UJD/KbDbftkTSiVgZBsenQETSgfy3iPxJ84MWh0HrIeixl2upT2Gm9dzqAAQoqrBmvFpxLgTn3QIn06hXQ1WzlEFl1JV7ydwOAdTLYHOmVlKSiXyUxQ4ttLSb3014NT9E5baG93Ho3fPNQ4tF+nUB+yxAP2VeyTDYUkrBcKCATVhXMUny0pRlqjz1Z/c7jVAs1y7Cd/WsR8iAbVhxz81VJ8bWg3YHc2QQXsJGVjJRu3t+m74HSVrPn/7t2r4GyNFoQTWrsFARTOWzf1s58yFzY9Ev0vAo64TPt++Eit6w/9bvBppscWnXS6ypObLj54DKJYCcKgV60J5HV97TWYiL76TMT+rDK8UG79StoD+ldXAqYvqjSJIxUGFYXwT1Cp+UZ0i7Dry7GM4gfcHWoiOJXvjbsvhLeEQTQenH4BSbMbSDeMjzfAGyVj1QV9U+5o6kbdJLn X-OriginatorOrg: analogixsemi.com X-MS-Exchange-CrossTenant-Network-Message-Id: e86a5e0a-b30e-4824-8daa-08d823e2b103 X-MS-Exchange-CrossTenant-AuthSource: BY5PR04MB6739.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jul 2020 08:33:01.5721 (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: 6tnTuxp8IAfA6OQcqe2hWIHgA/igfmmL/OyOebIcLSryvhwvXpAgcwOejgaUbEEfi4N6FhM9F5nAVoQvoZHzGw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR04MB5462 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org anx7625: MIPI to DP transmitter DT schema Signed-off-by: Xin Ji Reviewed-by: Rob Herring --- .../bindings/display/bridge/analogix,anx7625.yaml | 95 ++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml diff --git a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml new file mode 100644 index 0000000..60585a4 --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml @@ -0,0 +1,95 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2019 Analogix Semiconductor, Inc. +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/display/bridge/analogix,anx7625.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Analogix ANX7625 SlimPort (4K Mobile HD Transmitter) + +maintainers: + - Xin Ji + +description: | + The ANX7625 is an ultra-low power 4K Mobile HD Transmitter + designed for portable devices. + +properties: + compatible: + items: + - const: analogix,anx7625 + + reg: + maxItems: 1 + + interrupts: + description: used for interrupt pin B8. + maxItems: 1 + + enable-gpios: + description: used for power on chip control, POWER_EN pin D2. + maxItems: 1 + + reset-gpios: + description: used for reset chip control, RESET_N pin B7. + maxItems: 1 + + ports: + type: object + + properties: + port@0: + type: object + description: + Video port for MIPI DSI input. + + port@1: + type: object + description: + Video port for panel or connector. + + required: + - port@0 + - port@1 + +required: + - compatible + - reg + - ports + +additionalProperties: false + +examples: + - | + #include + + i2c0 { + #address-cells = <1>; + #size-cells = <0>; + + encoder@58 { + compatible = "analogix,anx7625"; + reg = <0x58>; + enable-gpios = <&pio 45 GPIO_ACTIVE_HIGH>; + reset-gpios = <&pio 73 GPIO_ACTIVE_HIGH>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + mipi2dp_bridge_in: port@0 { + reg = <0>; + anx7625_in: endpoint { + remote-endpoint = <&mipi_dsi>; + }; + }; + + mipi2dp_bridge_out: port@1 { + reg = <1>; + anx7625_out: endpoint { + remote-endpoint = <&panel_in>; + }; + }; + }; + }; + }; -- 2.7.4