Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp214718pxk; Wed, 16 Sep 2020 02:28:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyqOXhMlbxuOPDrSCFppcjWITNhyfdWBGZbc+79vLsddqIOKkydRJ96Vy7DMzFqyXB835x8 X-Received: by 2002:a17:906:e216:: with SMTP id gf22mr24548294ejb.2.1600248488703; Wed, 16 Sep 2020 02:28:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1600248488; cv=pass; d=google.com; s=arc-20160816; b=exQYgP7DbfI9JINVt3RSRnHFxd1ZAD2bAS5k1Xrm3ZGPqZpfiLfZeKATX9X7xqhMyV v70csYEW7s6UP9AbXnnvVftq4Bc8FIXtmy/mNrMZZ2XvmvA1f9Bndhj6YeYm8vFfvkwO 2sMJFsBgyyjWav2bVPm9jI+8qZNjHaFTDpO7Sd6sNxW700yQN57LiWXkY7RHSIIHk9ed cyxYozXy6cWHBwO31qDXr13Ys0m29GF4ugw8OsaJJ5pPf61ajBJGeDQn/ShVL+elpsmB S3KjiP2+ToaUBOCt7JztIKjVIyie+aKtHMehkYRoHQazZ8iKCadMOr6xNJup13s1lpbb osow== 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=m6AEVq9/zOM91GtgIx1myx6y0LSAR4z7ZIvfuTZtovbTk7u3s3Jgob+vcUHWscvs+8 UWa4hZZRgWPOnsGlZF45tY4qNMxb9mi3aKz8M0ZKbEdO9ilF/975NmqHtYCBg9hNUvkG MuFl0rJ5oMc69zWtJG9PFW4ioiDRR9AU8qZ+8CF4A2pxc8Q/kbEsgWztxjR8c1dDOXH2 1S65fG0EFBOVapuFKVWUwtu/9QG4v58v3ZUkOg4btQvI3ooqtAyENEP1jSTHOaokapiw ZL8zxwrkRz2YQs0MO2LzvyvAkjfV39WWY3gLZJtDf6Qh8huZteVXlOYCi1+AJ6hy9rbU xJ4g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Analogixsemi.onmicrosoft.com header.s=selector2-Analogixsemi-onmicrosoft-com header.b=MapfaiCN; 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 e25si11310099ejb.260.2020.09.16.02.27.46; Wed, 16 Sep 2020 02:28:08 -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=MapfaiCN; 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 S1726658AbgIPJZB (ORCPT + 99 others); Wed, 16 Sep 2020 05:25:01 -0400 Received: from mail-dm6nam10on2119.outbound.protection.outlook.com ([40.107.93.119]:6048 "EHLO NAM10-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726369AbgIPJY6 (ORCPT ); Wed, 16 Sep 2020 05:24:58 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bF/Fj14Gs6JOcZIoax2dLiuVW0y3CmlcgU5Er5qSH3UpZSn5K4+hHo9pmstOCDFtFirROvONVxMlM+G9mRgDCmygdJGATtoUT1b438Wc3iCD+cB2JFbzk6nbwVccVcR7fV2Jb+u1A/axKJex0E0Sx8akkzFWV3xwfk5Cg+U2ACgCLMj5BNCcBwzw9tOzCV1qovGyQtkCoopk44vpe7GozEPmfz/4VFjhhm3vM6g4U8OzHYh921SJR6wwVBSSYKHwdcRMfBlmY2Mmc8su3sqAdQF9Qh5OtNCodhtzpwRPFfJvoymk6OUEs7+GNDE1/zfAwS+tzTls6EeymLfw057P/Q== 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=miQksYN16CT6qTOPD/vh2Saoj8hmGNtiPeYP+uPCRMz/8pVn5bBTrVjUwLxuWMIh6clC4WqztNSMz2QrPdtxH3mh/eoi7e1bkK77fst/Obs2W4bJlKNJfkMMsuukcSc7nfyUAXG9DJGP4Pr3IfU/w/Wk1g2eWZk/ZUt3tjn7LBkz5d2niO8UrRO35PtbUMoaA8r4RrzkRIInR8F9649gFXRph8MOUxZEuLlATS0vTAwSODmMZvlQmN+6jcwYRfjWao73qFaX4428S1VUVw6XfbaRQ/i8RQW7Jm7HAHn1UuhMxU4sKAtGC+dwtfrtezt4UrgrRX2OxtOyoLm8Urh9Kw== 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=MapfaiCN6rfgnxxLyfkR1eQQq9YDcEIjcBgBfglqWB7a+4loJcTvhyoRhbWjbSZz6IyeFolXIoYsKU2nDSplPjN8beLCbtmhxgZI7YVgjkPRAkeo1EYU+itTgk1qFscrZk1eHSPTms3h1Xk9zVeY7SdFr/0MpEPxZIDu44M7Xjc= 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 BYAPR04MB4648.namprd04.prod.outlook.com (2603:10b6:a03:59::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.11; Wed, 16 Sep 2020 09:24:56 +0000 Received: from BY5PR04MB6739.namprd04.prod.outlook.com ([fe80::1dc0:7d4b:9820:e68]) by BY5PR04MB6739.namprd04.prod.outlook.com ([fe80::3c04:982f:7d75:779e%7]) with mapi id 15.20.3370.019; Wed, 16 Sep 2020 09:24:55 +0000 Date: Wed, 16 Sep 2020 17:24:49 +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 , Sam Ravnborg , 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 v15 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: HKAPR03CA0029.apcprd03.prod.outlook.com (2603:1096:203:c9::16) To BY5PR04MB6739.namprd04.prod.outlook.com (2603:10b6:a03:229::8) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from pc-user (114.247.245.146) by HKAPR03CA0029.apcprd03.prod.outlook.com (2603:1096:203:c9::16) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.20.3370.9 via Frontend Transport; Wed, 16 Sep 2020 09:24:55 +0000 X-Originating-IP: [114.247.245.146] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 602e8fe2-0e19-4294-54a5-08d85a225fcb X-MS-TrafficTypeDiagnostic: BYAPR04MB4648: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2733; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: L/v0CA5PvQE5/VOpilnb/SmPwCnUyT8h7NnaaNxvt84iBqizU1ixIOQZslGOY3PynZPZArqXULf0z+aYyJ07nyIrgqe5ewYvWLtJ5RvJuqXWesd4NBlw9B3cO70QOV3pPdX2E4lO6gvk2ZVSRQcNxqtzwkyPUplEy6pmnC8qb4ECPgLoGQN8cwrqhlfvMGPFtCoAcMNkHmoyaGQi0ivn3zPFtSzTzJwrSOnCNYAuOY5n5t8NcRpqZwyFHSObXbK1ecUNuM5RrwokRiMNR6RHyuWXwDeEQaKLC5dTx0spB0JKgLBGrNyJB0nVi7ttqWnzfXxCZKP2YURstMBPlYH+/MwpRWQS392PYjDGn49Yq205QnsdwAz/1mAJSb/VGQ/zTSNs7qOBzB+M8GUZ77kNMQ== 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;SFS:(376002)(346002)(136003)(366004)(396003)(39850400004)(26005)(66946007)(110136005)(2616005)(956004)(478600001)(4326008)(107886003)(6486002)(66556008)(66476007)(8676002)(6496006)(7416002)(86362001)(16526019)(52116002)(186003)(6666004)(54906003)(316002)(8936002)(5660300002)(2906002)(36756003);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData: l7cJI5IrmyLlFUT/IwJAzJvyIqETktlXcIcYqeGziL3XntE8cTSkUwnqAgR7Rx5OmwbtbxIywElU5e+NTAh7BirT3Nqk+SNnX+ID/CVa+EgtW5oBmf3EVj+NdhGsOtlmdwc5A4Qgw+fnaql1giY3sH27qS/anGH0sYBhBQQMIryUE2Q+KDBBpJQSqTVZMsWErO9ZVcrL3XGvOm2tOktvHjNBDox6PKGNKwlO7+0jmfOid1unE/s1+9zDS/Ieby/lmmhQy1Pch6f87ySzDKt7SZP9DKOvmqWWf5ZltUXAiNORy1UI5mJf07bViapoBsupq77THDkDXotFGtC6pgMHaLvYUiweWCjiAW4xwwhwbQqzh4UEognjs+x0IHKBWlowmkl47Li3ss+xHlW1OrdXiStej+06Tf376eQLbdnwHVNnpH+/DTHR1lfgRYJudR++iTb5AhX6dQqIVbcxO0n2Z5YS7dU36bfRm1rTj45tEiyjAPglOmWkgPeu+NHUJRfRhxQdxHMylQUeppTxLnURkdgZfVnokZO6xww2f/n1fJp9Iqxx+yOJGmE5Y/o1cU4diRwvdTPukaua2UWwtSyLSmysqsx488bquBHpXoL02IfIcGFdW7vEUqB9ayWqlCZ8PquPpuojzLHOvhndd2ZMpA== X-OriginatorOrg: analogixsemi.com X-MS-Exchange-CrossTenant-Network-Message-Id: 602e8fe2-0e19-4294-54a5-08d85a225fcb X-MS-Exchange-CrossTenant-AuthSource: BY5PR04MB6739.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Sep 2020 09:24:55.8799 (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: CH9dvPvn9+//Es4d/7k4tT8Qz9/HFDTV1nsZurAlpbkjz9oFwbxXk+Gade3imas6e6CrMpMZ3kdKXf3UFCpNHQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR04MB4648 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