Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2623926pxb; Sun, 17 Oct 2021 20:49:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxSQK+LD9iiAlpNZce5I6m/TSwD9VZ7J2iuiGSQR5PYoovQQ6gnR4qzwqxR0uMHa204YEp/ X-Received: by 2002:a05:6a00:248a:b0:44d:ca05:6430 with SMTP id c10-20020a056a00248a00b0044dca056430mr5015316pfv.62.1634528964660; Sun, 17 Oct 2021 20:49:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1634528964; cv=pass; d=google.com; s=arc-20160816; b=sjW6Be39mdCuEiJeWZLd5OB0A/zKLTpfJNEIbYtddU6FL9TXo/DxNh+OVdi2erxIMR YtC+13cMGoCSUdkN8ZKLE2f8rwPKrEtMXhF8VSHTWCIVT9lOHvUZEGI2r21Q2ljpuLC4 SV8MAGb4GYoIHHhf/WKgbx1uoQ7XvqFZLrRYJMa1w2aO77eg36tf/pzIlaj9V65nGX0d mSYbfpzr/jD8KlkAaYiplD7j74+h80bzwMt4yy5Da2m76uWQQK9GYq2nZG9iT/EPu9zf jITzWr00ALyIDNavAjaXl7LYPPlLpZC1dz2llzQiW5E+iaQuiqc60DUv57w3Ccv088ka Ik0w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5jm1yErAlZG4d+Ypt/Woxl4UH+n+0VhfEjRSo/ZCJBc=; b=WOsZ6Mb5VuVeWRh3hD1t/W0mwNa5WmW+DkAGw5uvLaS5Y4MqexxZ5FCJ/8LjaZyQJc Cscgk5NKWkI4zd3Z0O0yqxqkpImsQMUcBzYJGuyxDloCxgZ3k/WrvZr3urEyOUbsiZJ7 jpDNMCTI7dUaSp63hWUK9CM+zprhvLX39msfQPgGKnPIN1C7FxMz+Wx4rJkf3Askk6TX iu5fMU7XFyuSPRQa4boI310TbdQNbEz/SVBQ/tp70LBb7GYQSBOAPs8zd6uX2PdVQuEL 0F575rpd3vaJu7zd91ptKNULJ7zpJLRDzn0zlLT2OPiVXinrQzck7nO81BGThamC1QqD zJuw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Analogixsemi.onmicrosoft.com header.s=selector2-Analogixsemi-onmicrosoft-com header.b=y++oaPY8; 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 s12si13326927pgp.44.2021.10.17.20.49.11; Sun, 17 Oct 2021 20:49:24 -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=y++oaPY8; 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 S229604AbhJRDFT (ORCPT + 99 others); Sun, 17 Oct 2021 23:05:19 -0400 Received: from mail-mw2nam10on2118.outbound.protection.outlook.com ([40.107.94.118]:7009 "EHLO NAM10-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229526AbhJRDFQ (ORCPT ); Sun, 17 Oct 2021 23:05:16 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eXiWdwCVY1gDWL8ZOftLrTaCH13aci4bO3v13Se8XIUGh1zUAZuXkbwQD26v+I81uxX26M13k/8zxlJPZT7/LT1cTMmWR/z6WQjYct14kgjbE4AnFtb11movIDsdVstnVn+oFsow/85AmH3fFAcYjNXBAX41IKFK92eA5AVp2x1eICH5Dx4Jtwu3ygGNg06ZETd5cFIVwDjxKm63EVLSvnIxB403UTm1FOzM52NHNDTjokdvZMKWUPQujqXBZ7vEZB8QNxpex8c3as0OzsvlfL2nrU8UY7OWjMed14leRtdT8MtIw2fi/KSw3q3avY21gdjFDFMNr7ONZzFxfcn22Q== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=5jm1yErAlZG4d+Ypt/Woxl4UH+n+0VhfEjRSo/ZCJBc=; b=jUzx49STxScgvcb+wuxmRPXcw8KZNOjlQT4bkg8E8jbA26iuSWThb7s54+bOO7DD5duoOZjELCiWp0uNMKqLdqdVFGxQ+2dPPOuWLCfdDh/nwsyy5dxqGI7qhKWzqqMoeRRT3cjf/DKsBCdkfDAfK7ERMtknQccBY/fByqegWL3jqLpAdXRdkot5n0QXUMPPBB+MLuFdhGqI4HMaqYlbXXMXf3CcxTWTx3TqijXUxXje+t7dw0IB2rPRgxu4maaRUMzLNTb9J2WOAMDR9Vz79wxafttn8/HmdyYDHUHjyvpzoImBXm139b1bwHKNZ3YUNrgJjWYY115bIjR2HuuakA== 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=5jm1yErAlZG4d+Ypt/Woxl4UH+n+0VhfEjRSo/ZCJBc=; b=y++oaPY8qqvV1Wgwhmi/1ZSRf2VGiQpVOoQDrLYg/694dSUfRXPHOQSvhLaVeHxpFJ8YgmdLfIr9tzI+omExz6GZmURTpysF3x7nATYslJVlQT6XwebK9oCOVwF/IGznX37qse/1/aQvnzQOYyiUtHzORy0/NAsZzodVnoLYMqw= 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 BYAPR04MB3862.namprd04.prod.outlook.com (2603:10b6:a02:ad::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.16; Mon, 18 Oct 2021 03:03:03 +0000 Received: from BY5PR04MB6739.namprd04.prod.outlook.com ([fe80::e149:c2d4:fd23:a682]) by BY5PR04MB6739.namprd04.prod.outlook.com ([fe80::e149:c2d4:fd23:a682%7]) with mapi id 15.20.4608.018; Mon, 18 Oct 2021 03:03:03 +0000 From: Xin Ji To: xji@analogixsemi.com Cc: airlied@linux.ie, bliang@analogixsemi.com, broonie@kernel.org, daniel@ffwll.ch, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, drinkcat@google.com, hsinyi@chromium.org, laurent.pinchart+renesas@ideasonboard.com, linux-kernel@vger.kernel.org, mripard@kernel.org, ricardo.canuelo@collabora.com, robh+dt@kernel.org, sam@ravnborg.org, span@analogixsemi.com, zhenli@analogixsemi.com Subject: [PATCH v11 0/4] Add MIPI rx DPI support Date: Mon, 18 Oct 2021 11:02:53 +0800 Message-Id: <20211018030253.2055066-1-xji@analogixsemi.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: HKAPR03CA0002.apcprd03.prod.outlook.com (2603:1096:203:c8::7) To BY5PR04MB6739.namprd04.prod.outlook.com (2603:10b6:a03:229::8) MIME-Version: 1.0 Received: from anxtwsw-Precision-3640-Tower (60.251.58.79) by HKAPR03CA0002.apcprd03.prod.outlook.com (2603:1096:203:c8::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.13 via Frontend Transport; Mon, 18 Oct 2021 03:03:02 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9cecffa3-55fe-45c7-4c28-08d991e3cc97 X-MS-TrafficTypeDiagnostic: BYAPR04MB3862: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1uqlJ0JnyGfkJ6gGXmRHzRmWehN73QCZiFeCXzD+1Nc7Fc0dIMF4gexFYYpzbPf5S1kYSNX7Kj2CJxgBurw5Nm58K6aqmlaJte8Qflp2o7HjesLPyP97yKN2BO8YD082wBuHQXrwVVNHi6aGC0J93msPP/jsEIuqP5IWhN749agqAhg9L9nowDdR6KO27TCfBUvOf48CyZmtGpEuTMfBXpnBGkYVVFhnP5PqFBd43iPAJ4sHOh4kGGIx/bK1tLNr6YRYCCycqfi/clZrZIQ4AyEv2h+Xh/xHDglj/KTf2VZoIvpCZKp03YyzyLbrgBMIWstrw+cY+tsU5xy4Zj1tvS3QbGJGXL6mLHiXRRq9hrgghnyJj3m6IKn3BNtGRn2BLT6dXsKginvbPqsZkFvVnlpxviWTWaWTsvI3HI0F9zo0Docm7wAvEE59XXJwuOfMdRQTPQMPHfdFqH5/Z+PTqfbbSMKt67ZGim3DoIGkL19qx4sVsXWkfw1LUZYqUKW10Bca3jcgfYAjQHiKX+iv2hqOp9GN/uG2sJM+Mho+I2kQlD7IVmv0/ASIgDk2lOfoPhkC7HvMr7VTob0N4IoxFj5wpw5ejYsHTO5uvLHfawVtPp1YwLrdeNApjLhDBJGRV0wfqTCGBqU+4QxsgtELN+spKWEDqRWNcbEr6WgaQeidy9wu0VnVCDurM/s9Se49n42aKc8pCcNJ7hWikaU9Rw== 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)(83380400001)(2906002)(38100700002)(186003)(6666004)(1076003)(34206002)(6496006)(55236004)(52116002)(107886003)(36756003)(2616005)(956004)(26005)(8676002)(66946007)(6486002)(38350700002)(7416002)(5660300002)(4326008)(37006003)(86362001)(8936002)(508600001)(316002)(66556008)(66476007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?+fXhGL2XVM3PEjHJXX6XuhiQaM7rz98hYQfi5QFwyYysEZZBsJkwBlUSwxjL?= =?us-ascii?Q?jvbu7GAwNCopNVtwI4j/xkitJMhau6haOHI3u3/GR2QyWi+xOgJK+M7pRgKG?= =?us-ascii?Q?YzvM2PXeqvETJ/aF8f0Cutq+SnXyAQGGZdd20MmjInUcB3K1JVpNr/M4g/QV?= =?us-ascii?Q?9rLOiEfiDU5Jq1e15d2rgSAfozzKO0RucsGJBdO4O4tkir8D07w3nYOnc22d?= =?us-ascii?Q?e0cd4JZPJEAPtmtYrluVQYS8NeN/idCqlmWELE7YdURSQKuWBTvWQRywaGxQ?= =?us-ascii?Q?slKBLHyRh/SUhH8WxpQc1BbuI1WShX5dVKjQX2e8Kr2kjAsy65XtFjKKV/1k?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FtoepagGx78RB1qI0k+qlKP?= =?us-ascii?Q?1RMxSGO8Kd4P/jMO6p7/qAVon7gQtbuFIMq7IdEpnUh2kwAGGebOtV2WXeMI?= =?us-ascii?Q?JraX+zn0fCKE/FSZrJhOqSHW?= X-OriginatorOrg: analogixsemi.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9cecffa3-55fe-45c7-4c28-08d991e3cc97 X-MS-Exchange-CrossTenant-AuthSource: BY5PR04MB6739.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2021 03:03:03.0257 (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: h9mn3lbEuSdplwan3seHkRClJhCRcGHt/7xjQ8b1KhS0j0BEfGgJQvbwSGiAKiRhBeahuoLdkx2cHVXl7JCPOQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR04MB3862 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, this patch series implement MIPI rx DPI feature. Please help to review. This is the v11 version, rebase all patches on the latest code. Any mistakes, please let me know, I'll fix it in the next series. Change history: v11: Fix Rob Herring comment - Move swing register description in property. - Remove additional property. v10: Fix Rob Herring and Laurent Pinchart comments - Add more description about lane swing configuration in commit message. v9: Fix Neil Amstrong comment - use macro define 'V4L2_FWNODE_BUS_TYPE_PARALLEL' instead of fixing value. v8: Fix Laurent Pinchart comment - Expand the commit message. v7: - Rebase DT on the latest branch 'drm-misc-next'. - Remove HDCP patch. v6: Fix kernel robot compile warning v5: Fix Rob Herring, Hsin-Yi, Robert Foss comments - Rebase code on the branch 'drm-misc-next', refer video-interfaces.yaml - Seprate HDCP function to a new patch - Fix driver not correctly get 'bus-type' 'data-lanes' - Add audio HDMI codec function support v4: Fix Rob Herring comment - Rebase code on the branch 'drm-misc-next' - Change 'analogix,hdcp-support' type to boolean v3: Fix Rob Herring, Dan Carpenter, Nicolas comment - Split the patch, fix not correct return data - Fix several coding format - Split DP tx swing register setting to two property - Add HDCP support vender flag - remove 'analogix,swing-setting' and 'analogix,mipi-dpi-in' property v2: Fix Rob Herring comment - Fix yamllint warnings/errors in analogix,anx7625.yaml - Fix kernel robot compile warning v1: initial MIPI rx DPI feature support Xin Ji (4): dt-bindings:drm/bridge:anx7625:add vendor define drm/bridge: anx7625: fix not correct return value drm/bridge: anx7625: add MIPI DPI input feature drm/bridge: anx7625: add HDMI audio function .../display/bridge/analogix,anx7625.yaml | 65 ++- drivers/gpu/drm/bridge/analogix/anx7625.c | 458 ++++++++++++++++-- drivers/gpu/drm/bridge/analogix/anx7625.h | 23 +- 3 files changed, 491 insertions(+), 55 deletions(-) -- 2.25.1