Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp10983058pxu; Wed, 30 Dec 2020 18:24:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJw6eW07TVbT3ry3vJOgHJjVQWHsoNSkYNgV+zoz5fvxf55HE8xHA4zGuuPpS+35jCxo0XaO X-Received: by 2002:aa7:d846:: with SMTP id f6mr52575392eds.55.1609381458243; Wed, 30 Dec 2020 18:24:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1609381458; cv=pass; d=google.com; s=arc-20160816; b=l8u0vqkhqqBj+gWJTQ0tXBGRYzOvcaaBRJ25z1vEDq+2GXy0APYFyuxtj9BO7QbKCi SrBpWD14HP63KKZV0gfVSxpFzeuhC4xtwShMQKPrrAnI/HuNatu1hZ4yP8C20iDYlje7 nTAa4sYzycHmwYaWp1M6L1esy5ytiqKIpHE4SO89jsNZ086accBvAd2x7FbXV5ff654z U75NWWxgA/NG+sSuv/5yCpXxP7pdxqGWZ/8S+dgZALoHBYzi+hyB5XBjnVwCYyjv/3G+ ntYM9i04xxeVgOc+p25QgdIz2kAUB9Z0uYXs10LcEbJlKK7tQ0Ze32Z0X8V6rSzFk+CZ KfoQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:in-reply-to :content-disposition:references:message-id:subject:cc:to:from:date :dkim-signature; bh=WiVHUzY2cWvuYYAqvztcJJlqNp2mg7pu2f7RqR6Tx4Y=; b=GqzsxluMbWco+G7y3XE4uM657dxnP4/XRi4U/6ZQoTYzn3dGoQl6u4fcBnCzJusn+F 8dPXte3DlpPhDv+1uOzZtHGoer6RXKb7FfXaJZh6vPCGA88djETfU2oj/ueCj82C0Sb7 B0fGxvIEF9KIotPwyhtNQw1J+rLrEvGQgBFahHUQl6gqUa16CeeGzwpK8Jla4HiwkKWl IkRUJ9sIE5uEBuRZKyaqncN6jh6/K73Dtm21o2XkiyytvaYoMnhP19oN3vxqTdUcO0HI VvGteQwipZLOm8ifdQ+1bOF7Prs8IvDMeW/LKSUtFwoyJNqulQNVkziTJkzsTdd3XMyL O/Lg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Analogixsemi.onmicrosoft.com header.s=selector2-Analogixsemi-onmicrosoft-com header.b=oXUPm3qy; 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 l14si25670720eds.359.2020.12.30.18.23.55; Wed, 30 Dec 2020 18:24:18 -0800 (PST) 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=oXUPm3qy; 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 S1726583AbgLaCWN (ORCPT + 99 others); Wed, 30 Dec 2020 21:22:13 -0500 Received: from mail-dm6nam11on2108.outbound.protection.outlook.com ([40.107.223.108]:26721 "EHLO NAM11-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726289AbgLaCWM (ORCPT ); Wed, 30 Dec 2020 21:22:12 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UFocloFoAd2+3qS6laHqsCaCP1RMGfT0XsHbrsIPVx4EKCRM9ZBgrliaCd9o7YWrgnLfjVBpEYfd5Xl2KgmU6OGx5ACZ3HjQ1lGyzu/Om2g357iEEv89q0srwu3ZTeKhJPkcy22eHgBYuxhdYAQdwhiWDXeuFDzKgVq41pSmz6g6l2dLvJb0gOkNnW/sfbknpLAU/G09J2lv6JRHbIukvkW1c6ma/lEcP7FueckqgpdDomB/0JbOZK4QB0+GcBe0ug7dWO000dPBrDEH00QnGVAYJMH8BD3cKZTY/aEJH9uKO0wtgeIrwUo7NAVSNfTGWHnFMoKh6ymgcHUVuhrC0A== 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=WiVHUzY2cWvuYYAqvztcJJlqNp2mg7pu2f7RqR6Tx4Y=; b=nttWPc1XWPSL9aODSwCcJahapHpeDNSbw2f0uZvaA26iPP2XlWkkPD12BKcLL5Er+Z3gEw8W+opykPxDIIoUsPPzQITTHeKA5xdVvUfUPDzFh/7QTqQPB53tuJPIhh/aJPq+FIwg7aBD9ISG4HJe1UwlrumuavbyiwbpoV+nZyNIYtHl0z1+rUmOWlLCTb2+X3XXmFHx6FsVFcLSuTtgHCrgcMuLGliYSKzsGW5Xkwj1Nrktrrl2HeUw7uWWB4avTL0peH/1m6ipN9f5Lns6uzr9rFTCaQ3qdWJmEALgyQR8anyrEG2/IB2vNSfSmYoBq3MROWV080+8riE/Ne3n7g== 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=WiVHUzY2cWvuYYAqvztcJJlqNp2mg7pu2f7RqR6Tx4Y=; b=oXUPm3qynVxCsZeU+D3buv7Pg8rOZFmsWWsQhpwe+7o4c+Pvg1mXP2jxN6XY6x8rdUANIqjywd+mQ8Lgc+ZyyEfBhWh2dOkb0r9Dq05YbUDHkk6ND2D30w60DXoM8ULTjpdZ970eSYruqdt2l6BOOvo0qsSuclDMaDJ7LWVlMbA= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=analogixsemi.com; Received: from BY5PR04MB6739.namprd04.prod.outlook.com (2603:10b6:a03:229::8) by SJ0PR04MB7615.namprd04.prod.outlook.com (2603:10b6:a03:32b::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.19; Thu, 31 Dec 2020 02:21:18 +0000 Received: from BY5PR04MB6739.namprd04.prod.outlook.com ([fe80::707e:7179:3257:e72b]) by BY5PR04MB6739.namprd04.prod.outlook.com ([fe80::707e:7179:3257:e72b%8]) with mapi id 15.20.3721.020; Thu, 31 Dec 2020 02:21:18 +0000 Date: Thu, 31 Dec 2020 10:21:12 +0800 From: Xin Ji To: Rob Herring , David Airlie , Nicolas Boichat , Hsin-Yi Wang Cc: Daniel Vetter , Sam Ravnborg , Laurent Pinchart , Maxime Ripard , Mark Brown , Ricardo =?iso-8859-1?Q?Ca=F1uelo?= , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, Sheng Pan , linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] dt-bindings: drm/bridge: anx7625: add DPI flag and swing setting 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-Originating-IP: [61.148.116.10] X-ClientProxiedBy: HK2PR02CA0145.apcprd02.prod.outlook.com (2603:1096:202:16::29) To BY5PR04MB6739.namprd04.prod.outlook.com (2603:10b6:a03:229::8) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from pc-user (61.148.116.10) by HK2PR02CA0145.apcprd02.prod.outlook.com (2603:1096:202:16::29) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.20.3721.20 via Frontend Transport; Thu, 31 Dec 2020 02:21:18 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e1d54d61-4a91-496e-7420-08d8ad32c20e X-MS-TrafficTypeDiagnostic: SJ0PR04MB7615: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3044; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0lX5Iah3xPg9PVo5xoCg3cN4n7FkXg7UpxD09pR1YMUCKdYqeVnAuqoELAXIsg6JnEi+n5ewCiDl51HflQ1Jgkq8QePjvEdhEWoqHaP4s0Z0Eg/VRe1HAPL8gtICXg+sUbE9zhEtGFcYQ9G6Lz42ghUa9syUHIdLi7nyg5ww+f66RuyT+saxD0G3wUHpCdXdsQvM2fINZPTVEozKkuNfd9ikxGHlEgoRaOZjH8cjYY5v92iEjX4qZnK+XowTjgaXCTEOEOVJ/mKRXtn/+thFCFQ8JxI2EcrN8ek2lO3eqVzON16XFAZQeRzWi6/Hr/NnW816+aFcC6+fnNBQH3kFppq//Q13ba4IJLdoCroTo7yFuyxSicbYM/KnZexTCMCH2pqzUChLU9nxFAoC7zTxwg== 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:(39840400004)(376002)(366004)(346002)(136003)(396003)(110136005)(7416002)(478600001)(54906003)(8936002)(66476007)(66556008)(6496006)(8676002)(66946007)(4326008)(52116002)(36756003)(86362001)(83380400001)(6666004)(6486002)(5660300002)(2906002)(26005)(956004)(2616005)(316002)(186003)(16526019);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?hOdWZd0pWLH6A52dm7fiVrJ6cAOrKg+lAwcD2gfxJZvnJGtx8BOJNrTHNGuL?= =?us-ascii?Q?MwxZnC4F4N6QSYx2AZJ/SBQ1R9CogdChPDmdTF8XoesY/EUJPwLDN814Ecqy?= =?us-ascii?Q?r99c0G4YjtNqrj9dSZze8qEC68jktVtCB2glcy2lNmXqCDPf+Oe9z5mAu6y2?= =?us-ascii?Q?cE0Mpgxn8B5H0iTqhn5ccsZfBDLjrLrnf92g1G1RQYYLeHsUY1a5wEerePNV?= =?us-ascii?Q?3ev8gj7NZccdRWOy66bhOYXI27kelttrIOaa7iZRdPSbjDITeIhLoQ1jy/QC?= =?us-ascii?Q?mUBnF6qMaQXqqVfNi5wss+Y2B/WLU+XwWsUdL3lvBuc8s12Sv7SYt7DO9FeS?= =?us-ascii?Q?6vi0MBFba7xFeABt8Z8fw5yhr60C1PD3qC5l7E4012xx9NhJUpEyKLklEeIJ?= =?us-ascii?Q?aJug5/lOjNsdjlRxMB+CgF36x7MrlFRM9Sv42ZKaFKOPn0gfW06w886fk1+l?= =?us-ascii?Q?gZvglJgviCPbu1ETW7Z+Klp9fvuLCRdtfbWbTRaqcm4+2mK9zK4loV31O59T?= =?us-ascii?Q?+8h6ZmulhKPusx4ss5VsacF1UCAWnEhRxKB1lIKfCOhvD2P86/DYtWvD4TYk?= =?us-ascii?Q?ifKlHaVbkh/lJZC2AqBK4BhyfrcklqYj+RkuNlLWaC0QVxX8SdwSijGjlQMi?= =?us-ascii?Q?TMMg2L2BqwOrOASq7lyYoB33aBoJJLS9OCqMIybduMu5LMMO3nW4fx7WXGsR?= =?us-ascii?Q?J50FtXle+KXsRObjs0rI+ZbiYoizSU+KZbBSd+3GeNk+4zaOZdG9EFEY4lxl?= =?us-ascii?Q?L8d/trOvpmoHnlmbG2kliVXX8Df+gygWD1eQfTvajUmJE4o2rdXGRt+qdLUr?= =?us-ascii?Q?cyM9A37751jKLCk9sta+ZQO8hN/S1fy4nxfpubbi09lLqXlDJQ7LQ5aEYTAg?= =?us-ascii?Q?nf3kmZACjUxnl8bFvq1UeeHsHTC/G6eyYX2MoUtl2OkdfOLh0ElU5ptS20PZ?= =?us-ascii?Q?FZr5kA86/wtr/+3jYo153CfxDSGgjJ5HxXWkDbc5u4vl7Gd5XHV5R9tT02rt?= =?us-ascii?Q?hZwW?= X-OriginatorOrg: analogixsemi.com X-MS-Exchange-CrossTenant-AuthSource: BY5PR04MB6739.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Dec 2020 02:21:18.7517 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: b099b0b4-f26c-4cf5-9a0f-d5be9acab205 X-MS-Exchange-CrossTenant-Network-Message-Id: e1d54d61-4a91-496e-7420-08d8ad32c20e X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: yoi4ktoe8puUWJCIP2aRtM53msQ75T4XmYNAoel6TOuNNcONc4MMvTDvmds99rV+ag1Aul8P6xMGf64kecCsSA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR04MB7615 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add DPI flag for distinguish MIPI input signal type, DSI or DPI. Add swing setting for adjusting DP tx PHY swing Signed-off-by: Xin Ji --- .../bindings/display/bridge/analogix,anx7625.yaml | 25 ++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml index 60585a4..4eb0ea3 100644 --- a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml +++ b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml @@ -34,6 +34,16 @@ properties: description: used for reset chip control, RESET_N pin B7. maxItems: 1 + analogix,swing-setting: + type: uint8-array + $ref: /schemas/types.yaml#/definitions/uint32-array + description: an array of swing register setting for DP tx PHY + + analogix,mipi-dpi-in: + type: int + $ref: /schemas/types.yaml#/definitions/uint32 + description: indicate the MIPI rx signal type is DPI or DSI + ports: type: object @@ -49,8 +59,8 @@ properties: Video port for panel or connector. required: - - port@0 - - port@1 + - port@0 + - port@1 required: - compatible @@ -72,6 +82,17 @@ examples: reg = <0x58>; enable-gpios = <&pio 45 GPIO_ACTIVE_HIGH>; reset-gpios = <&pio 73 GPIO_ACTIVE_HIGH>; + analogix,swing-setting = <0x00 0x14>, <0x01 0x54>, + <0x02 0x64>, <0x03 0x74>, <0x04 0x29>, + <0x05 0x7b>, <0x06 0x77>, <0x07 0x5b>, + <0x08 0x7f>, <0x0c 0x20>, <0x0d 0x60>, + <0x10 0x60>, <0x12 0x40>, <0x13 0x60>, + <0x14 0x14>, <0x15 0x54>, <0x16 0x64>, + <0x17 0x74>, <0x18 0x29>, <0x19 0x7b>, + <0x1a 0x77>, <0x1b 0x5b>, <0x1c 0x7f>, + <0x20 0x20>, <0x21 0x60>, <0x24 0x60>, + <0x26 0x40>, <0x27 0x60>; + analogix,mipi-dpi-in = <0>; ports { #address-cells = <1>; -- 2.7.4