Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1082027pxk; Fri, 18 Sep 2020 03:22:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynkA9WOJOddqhIfameo5ZM3xWnefyo0yWnnuU3kkuzdjxNIHYGhG59O6aXIdLYH9yX/Fja X-Received: by 2002:aa7:cf93:: with SMTP id z19mr38675886edx.187.1600424522685; Fri, 18 Sep 2020 03:22:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1600424522; cv=pass; d=google.com; s=arc-20160816; b=lUBOlK0Ilp2vUhNtv2ZM1bQKVYtuXjgVxeUu/jGjVMF2rgptzvn0N/RvflpBLnJa2v 8McGvDYx9eh4LLhCKW/pXgwNf9JtDCrwAkQuggnHycIH731D7w1A3SMSmJd4VI7aK8a5 hjjJQ7Cqz+ztxHuLD4weySfrNnuBo1/TLLfALtQmVuekJYveB4OAErpce2KZpOcveGbm w3aO9bnM80kx5bgK4vQM3Gum/LLxuRPB8xGvGB4luEivLFbbtJU6JjBhdbY/PiHSHBtq sqPcAHR+P8rcQbE9Ix0wLJsY19/HNNqJl68iHLczECIxlMAbCN3mBiQuodanbsMHK2iK ugSg== 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:content-disposition :message-id:subject:cc:to:from:date:dkim-signature; bh=nZhlc7jzBwVNIYmd2xAMmyD9JrveXlLu+ZNIynDF2kU=; b=HAkM2BoOU4YZ4BJbyl9FUT2IL0YYti3uX0CMAfIKOyu4F8SoCXWZ6qugDMOz0FnoVo 2rOXNoRvvh9gyTH14WCaLiyzK4mzxSr/stnM+HLE7pcD6rONvTBfPs0IOJu0pmekPWVd VhAs7ee+J+4e3kCh0J8JkfeO54iZbHVBLICHLhFun+cQuHEQ0jeDqJfSW+50Hn2EMsTr 8ouXG/NxJ0zlzcnNoou3Ug0hDBAYbOGMzKAFyrZ8mNsrTNpRydHvWoRUZLNhWuQO0k5u 8qfACZfNF86WbVW7OPfMhQt4423QN76wOkl0234PZT4Q2KGfJ0mfhO7/ytyFlQ7vFXl6 0MOQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Analogixsemi.onmicrosoft.com header.s=selector2-Analogixsemi-onmicrosoft-com header.b=fKYe5Gaj; 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 f14si1917661ejd.289.2020.09.18.03.21.39; Fri, 18 Sep 2020 03:22:02 -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=fKYe5Gaj; 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 S1726130AbgIRKUl (ORCPT + 99 others); Fri, 18 Sep 2020 06:20:41 -0400 Received: from mail-dm6nam10on2128.outbound.protection.outlook.com ([40.107.93.128]:53217 "EHLO NAM10-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725882AbgIRKUl (ORCPT ); Fri, 18 Sep 2020 06:20:41 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UHCCPzKjoJZ8F61DOqhV4v2NCoGM8VSqY7OcRyUNRXC8rzgzNwGwwyEzYKmc2yhOROLl7qglN5tuytGk6WTsY5Qyh4hrgGyQRk60U2fm0CVXSD9dQYUw3jDlXg6xan5Q/j7mHLaUFa6m3qgwPA3ZBRGz/VKPW735rbb33mkeQxyEpEtA8h9NT873EcR3U22G3eedjoy9E0of8jzMVnrThsdZhihVA4yAv5B5Ze0mgAckkPdVxjjVDZNBh5Y91BXC2jAAd2dSt6tHZl/1amxPk6ghX9B+bPcJt8bjCFXgCteaXzHCph8WMEtxD0jr47aFuSTHLeBo5k3d3uOh6NhzSw== 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=nZhlc7jzBwVNIYmd2xAMmyD9JrveXlLu+ZNIynDF2kU=; b=DnLfVDl/5OzK6CeKeKysFhPVXNOosx+QA1YKQ9EQ+0Omf6uFL4K7K8YxDuySaDKttQeiqkchXw5LzVpNVSGrmCABZMufW/y1mBqmZWZekdU9v8maGzTHrlincqyrmnhIvnEgAfzNLginhTAOpUoKTU8jZ2Z48sTB2y4/TpGQKh78YQfHRo7IChpptEA8aZMahxKGaONPENozq85RY9PRAlp7TYR5yGBiPVbPQU0ScBJYwEMiCn8ppfPCV9BBoU4HT4EpgAFAgLXw5ECIlQNsbKAVPIjOYqPyu2vZvqpn6Q4DyNh5EP/avQFr7Pl4frELfcJGUk+uiJZtr6LQmZytQA== 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=nZhlc7jzBwVNIYmd2xAMmyD9JrveXlLu+ZNIynDF2kU=; b=fKYe5GajoE3uR4xZp1YUAhJ70owRpcon8q4YaarAxgT3nl0tavKuYsia532m9p4JeGAGiRZtdr6z3hSkqsk6arOib7zkVjkh+tndBg09j6I815vbJcjTKnCqpGd9iM7Ol+CeSTEKYLm+H0SdtbaMrhpHrE/qYf+cPMkhc8zXHAw= 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 BYAPR04MB4582.namprd04.prod.outlook.com (2603:10b6:a03:13::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.18; Fri, 18 Sep 2020 10:20:37 +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; Fri, 18 Sep 2020 10:20:37 +0000 Date: Fri, 18 Sep 2020 18:18:19 +0800 From: Xin Ji To: 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 v17 0/2] Add initial support for slimport anx7625 Message-ID: Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-ClientProxiedBy: HK0PR01CA0070.apcprd01.prod.exchangelabs.com (2603:1096:203:a6::34) 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 HK0PR01CA0070.apcprd01.prod.exchangelabs.com (2603:1096:203:a6::34) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.20.3391.14 via Frontend Transport; Fri, 18 Sep 2020 10:20:36 +0000 X-Originating-IP: [114.247.245.146] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e5eca7a3-e998-468d-0e02-08d85bbc7c30 X-MS-TrafficTypeDiagnostic: BYAPR04MB4582: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fnmNgGUueYPIjJuEQD8ggpM/5Uuq1d67Dl+oJJWeogfTgUug/N/w4gdtyFqQMoXnJzlaopN3R5Yrahnot3VG44b3ksoaADHSsf882QD8NIWMcnUtBENGHu7uHnSo19UdGfy27PDICZ5qB3hRIUf0z3YVyFzcQWYjgeFjlctGl8r9ohBzMAWpBh/YKKbnP024cZ3L/ddhL1Bz0KyvAh5jB6Zaeo8FOsVHEAGGfAxVLN2btGuY5dUriRx9613QfSLGPy1HM2s+wfMrx15ru1ksL1QQo0hWZkEu8lWCY1pqspq3khoIRZN7pn6qiKX/i632 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:(366004)(39840400004)(346002)(396003)(376002)(136003)(2906002)(5660300002)(52116002)(956004)(2616005)(7416002)(16526019)(478600001)(6496006)(4326008)(186003)(26005)(54906003)(6486002)(110136005)(83380400001)(8676002)(107886003)(6666004)(8936002)(316002)(66556008)(36756003)(66946007)(66476007)(86362001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData: VNFGPccqQJzLbbZ8B3dwL+00wiTWgAff3O1EOCkDKI8ClHIHU5cA96SJFHUKZ4o8rWw+Td3JHIu1V9s4s3V888Z6byv5Y7X8FlKbYufPqAL7ahWunndmSsTrZg15aLaQt/mD09vK/WMGwD0vebHR6cxyfG0Vx6z8GCm/2eOu9AZeiV3+WfQxHUmSYVsYaIX/AZwRgn+1K3dVuxZ+SdUlMwuJnNit9wFLt/HMXPpMByA7vyHUyvRAMi8Ti5/+gNNydMQR6gcURMUzDMWVHS30l3GY7L3jEU7Glp06tsbisyEl7MtXipSSMN/jZiptDC3prZ2kWDvaMQUmKwrnW4nS5PKpyhwUkeCVQ9tChbXYnGdr2RPQj4yN7wEGhXHUPdrhX/DelNYUIDdGpmYIpkVjerhDfPYYnrgGakus31Qy1ffgIFFuAhVjvNtOL/9/u6CT1qhBaKAOsQIqW9xNXKJuUbapHZ6hg4gAkF/7YIc0HaIMHgNjzclFNUOYgwHa6K7r8di9/qw325BPcp8GYUUgzxWcAIoQxhhYKWq7y39FoTIfTgqFyXm8wbJCIxqfVOLSRq+ZVCuXacLPo+6kQa8TyENFFujviPXRN6L79OC7/FqrlwO2759RRs+n5GEdN2zUeADWgkz/A7r7/Z1i/zCvpw== X-OriginatorOrg: analogixsemi.com X-MS-Exchange-CrossTenant-Network-Message-Id: e5eca7a3-e998-468d-0e02-08d85bbc7c30 X-MS-Exchange-CrossTenant-AuthSource: BY5PR04MB6739.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Sep 2020 10:20:37.0987 (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: iLc90AOdPW3aGPgnjub1Ej91BlmcXX5Vk5IBi5A+tzraB81CAH/5cH7NBoa+fvu6CIVA2Z/boKU3ijDZTtDcgw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR04MB4582 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, The following series add support for the Slimport ANX7625 transmitter, a ultra-low power Full-HD 4K MIPI to DP transmitter designed for portable device. This is the v17 version, any mistakes, please let me know, I will fix it in the next series. Change history: v17: Fix comments from Dan - Fix possible memory leak of 'edid' v16: Fix compile error - Fix compiling error of incompitible interface of ".mode_valid()" v15: Fix comments from Sam and Hsin-Yi Wang - Remove connector - Allocate memory for edid at ".get_edid()" v14: Fix comments from Sam and Nicolas - Check flags at drm_bridge_attach - Use panel_bridge instead of drm_panel - Fix not correct return value v13: Fix comments from Launrent Pinchart and Rob Herring - Picked up Rob's Reviewed-By - Add .detect and .get_edid interface in bridge funcs. v12: Fix comments from Hsin-Yi Wang - Rebase the code on kernel 5.7, fix DRM interface not match issue. v11: Fix comments from Rob Herring - Update commit message. - Remove unused label. v10: Fix comments from Rob Herring, Daniel. - Fix dt_binding_check warning. - Update description. v9: Fix comments from Sam, Nicolas, Daniel - Remove extcon interface. - Remove DPI support. - Fix dt_binding_check complains. - Code clean up and update description. v8: Fix comments from Nicolas. - Fix several coding format. - Update description. v7: - Fix critical timing(eg:odd hfp/hbp) in "mode_fixup" interface, enhance MIPI RX tolerance by setting register MIPI_DIGITAL_ADJ_1 to 0x3D. Xin Ji (2): dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter DT schema drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP .../bindings/display/bridge/analogix,anx7625.yaml | 95 + drivers/gpu/drm/bridge/analogix/Kconfig | 9 + drivers/gpu/drm/bridge/analogix/Makefile | 1 + drivers/gpu/drm/bridge/analogix/anx7625.c | 1850 ++++++++++++++++++++ drivers/gpu/drm/bridge/analogix/anx7625.h | 390 +++++ 5 files changed, 2345 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml create mode 100644 drivers/gpu/drm/bridge/analogix/anx7625.c create mode 100644 drivers/gpu/drm/bridge/analogix/anx7625.h -- 2.7.4