Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1223358ybt; Thu, 9 Jul 2020 01:34:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzpfo5EcDPtqcnSO2L4Wko8YOY8R1+GIpQhglkC7iLhb4Dr5NMKplAVWjDqJTjS93FpvctR X-Received: by 2002:a17:907:395:: with SMTP id ss21mr54956630ejb.181.1594283686593; Thu, 09 Jul 2020 01:34:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594283686; cv=pass; d=google.com; s=arc-20160816; b=u2rrI5ZcchYTk0oC5oY8JEw0fsSbUgfNuJL8BkgVv5B4RGJzc4MkGdwwMMcqnRIEdV Lfa0WZ0/56e/OHqfQmtvew/IGP57ewapdFOoEfRGx+93fksoDo1wzjWVAYla3VVz8dDS b7skqKo0WAj++UrdvzfR1+seumnGTecqkfGhg8hn34OPu15e8GFDQ/vgVXtow7cgYQLo rCULrxuUThYBVF2A3yrfmYONClEXCoqpy+QMdO/4Io49SVkxUTeR6z7zDQYGj2exesXx wLDmSW/9CnzL7ENJ0h4HjIyFiH36Fg+XXpIDoQqE3WTNPTls2VSNnX6jpHtl1LsgQ3TN QhRA== 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 :content-disposition:message-id:subject:cc:to:from:date :dkim-signature; bh=cp+tfucsku7aI364laS9+4ItpkcVKBrKXR1VKWA+MBE=; b=07r1aNdFZUtUKydGpV6/B8EtMneU8ND/O26k7WtcMQKMoL8IyW+pMOZjIW5EDp5oux qmKhWcaPwJLbWbys6oOZGWy230aPPmmGrcwqv9x9SCiJfyXtcd3dxpXXOHuHanHvNae/ aoJ17W0Lz2N6dkRjbC984+vGL61DTHN1YXy15EcI5zXQ+VVFSHZqjbgMPU07WiyzjiLj 7aBJlyIIbhUi2WgBTzaw27tQX/Xs6Utt7FAFnsNCjyh6GdrR5+TrPna8O2ctTjCMWtyZ 5cdyxUe+Hj2d0RM9mGlG+ye9o8jMHuxpwcAxEQq//KfOu17zVpPCsv/vmdcNL3Ft6iSq wxVg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Analogixsemi.onmicrosoft.com header.s=selector2-Analogixsemi-onmicrosoft-com header.b=r5kd3Cc7; 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 o3si1478366eje.601.2020.07.09.01.34.24; Thu, 09 Jul 2020 01:34:46 -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=r5kd3Cc7; 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 S1726285AbgGIIb1 (ORCPT + 99 others); Thu, 9 Jul 2020 04:31:27 -0400 Received: from mail-bn8nam11on2130.outbound.protection.outlook.com ([40.107.236.130]:8608 "EHLO NAM11-BN8-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726151AbgGIIb0 (ORCPT ); Thu, 9 Jul 2020 04:31:26 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KCDOatpyytzK1Lgbp1JKaIh+GEbq8Lx2T7sG6YljMQCTISSYtjev2rD8koqjw8aAZrD67pdEiGZ4Sg2xR3xmS+k6vB2rYbrMPbvq/XH0BDtz04mIo+5xnJICQ9HXmpCgEaJM9Yj5tutEQba9nSPGEsnSgUnsuZ+pXUT4T7CLscM1HL4yAMu30chxfIG8TCs+rAwlZzo2RudgcfU4MOX6QZGkyZi6w8Ujoka4QpdHvPOaOw63Rq6V6ioTtUzCrs/W/fkA+IRrw2Xv7eVmhLj8ZOltTHQEUdjn72Ry2ZHAkTi0pZ9d/Sfmv3nHJqcAmuOGYEgaRmNDSAozacuq9tYlKQ== 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=cp+tfucsku7aI364laS9+4ItpkcVKBrKXR1VKWA+MBE=; b=U8RvFRwgCQQANC+ZxvE2KkpAUnXgej6UQ/9HwH1+PIjBOkyGBUHu7/7BqY0JxEQXEARkNUS3vQFcXzTs1OB+rlPEE/tPIt1Cd6VfOg2jORK3CjjNOqmwgl5FIAqlSDOEOPowbCnUPIhhaO59vybo8I46ks5V4j/PyEDmNfgLzAaETlvU41+NvI8pjeaKf0JYDQwhpLajF3X6Sv3iKBgpXfqsGbHNzx+N8I61kXYSeD/0eaI4dXyjYdxnB158PfPWwrWPmaf2UhKP4a26oySMm/S5/ktBs+GklcK+LzjsLNthrkmbTACU5pQBbrBC+/LDaiUfVGrUwBGxfArX4874EA== 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=cp+tfucsku7aI364laS9+4ItpkcVKBrKXR1VKWA+MBE=; b=r5kd3Cc7CTeFurMn3SNRIwqVDVRKL7Usc+637CteuqfhtdksV5vnATzYiz3qinfYNaONTXOMMLtMLZj5m72uzLVYX6ZdvWU/jB0EGSj/x04K2gzpFCcn6uMsu/wVdBt0rI/yhXwIMnXhzLY8MVeW6jgeB0uJSGgsMMPZT4wiusM= 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:31:22 +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:31:22 +0000 Date: Thu, 9 Jul 2020 16:31:09 +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 , 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 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: HK2P15301CA0023.APCP153.PROD.OUTLOOK.COM (2603:1096:202:1::33) 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 HK2P15301CA0023.APCP153.PROD.OUTLOOK.COM (2603:1096:202:1::33) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.20.3195.5 via Frontend Transport; Thu, 9 Jul 2020 08:31:21 +0000 X-Originating-IP: [114.247.245.254] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d3c6d926-ba77-4e5e-77eb-08d823e275ca X-MS-TrafficTypeDiagnostic: BYAPR04MB5462: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-Forefront-PRVS: 04599F3534 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yuT3fblASby832hMdDTdzfoviDxTV0wzw2d3ygSfBxl9TLP+PIL0AF/PjvUPYkrGvmE1LIowIfRMIvw7wk/pOKLw7kRzKMCEsWt4RTjhqf5XjTxBRk2+/MXQtIZmhsqIz+ius8lHhi7baLs5utNAM7dPaGQC521Cd6dmiQmMkG+/3NV5adq3o16f5Y0NOvAjdLIH3fPJVRFpOG7e6p5TIFN5MsPBXQHaBevP6Xks/imYTcf1Xt4mj3Ok6x0189jSF3Nevtu/J0g/dzejCvD69QoO+CZX1GWiOc0TrxhotPG2YvxuBkh41vIIA3FpJsbu 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)(83380400001)(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: CS7orSMtzWmcYv3sTQn98yhJ4oLDd5yjjQAXO/qdh5SQfFQziy6YHf3bIQXifhstBGEq+JB+JDrXa25PnpsPDFpzzFe5W0Jgv7p5wvFI4byON4zon7qJJEPx2YKyc7auG5MAYnCEdLRFCXUI86cY6uuBq6wx4aT/kzYXRlo13drRyWVUvDYllx/2hnK2aBjW5KtTihqeIso7jNkYXGEpjLEOUsaXrERky0notnnHclmksVZZWNIbYmsIPaWkC2OwFbNar1u0UdBPUdQChjRIeGMniU5t5lvQJfTbGEYqSASIXe4pN1CBeW9SDsx1i0xoaRZ3qnbFkejtyRExpGi/vgCYO6aZoEL7NLBvW2TAd+/P7EowYQ7+zuWeU3df8jPk2gyyO2LbrYhaWFzn8IyH0LAzR3CSNiKViNnfV8AahnMd2Kv1NEpe4tehhmuUrLLtrSToMvKu38egI83GOLYMKHBHVj1SpZrKDtmjYAtTz6lf4LMEsSaSbgtqkS+vuKen X-OriginatorOrg: analogixsemi.com X-MS-Exchange-CrossTenant-Network-Message-Id: d3c6d926-ba77-4e5e-77eb-08d823e275ca 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:31:22.1965 (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: 5jVu5zHguaAKOQNpODBt4kesRsRuKuq3TJWnMfX8DjIi/N8vnkhV85U9NQoGwDlZk9RsbJMO9c/PK3Ds3uq1QQ== 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 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 v14 version, any mistakes, please let me know, I will fix it in the next series. Change history: 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 | 1939 ++++++++++++++++++++ drivers/gpu/drm/bridge/analogix/anx7625.h | 391 ++++ 5 files changed, 2435 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