Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp856309pxb; Thu, 21 Apr 2022 11:54:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzyvSKN+LE1BJWOtmp2FY240AN4mETGPUcxWqPEFQ+ZRasOpVsu720RFkNpkQ7TRqJfJmyy X-Received: by 2002:aa7:c58e:0:b0:425:b5e3:6c51 with SMTP id g14-20020aa7c58e000000b00425b5e36c51mr731261edq.99.1650567257050; Thu, 21 Apr 2022 11:54:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1650567257; cv=pass; d=google.com; s=arc-20160816; b=bMdTBCsYXlpGT4cU+JlhrXO425F1R1V4QAp9jiAQC/I2uS1oCh4BfnMyOTRg1npOJe AXJ5iRpXQRf09IdwdlVnqdrJwHbEQgYQINQPbko1Oj0q6pnw0bSSzrSUBhPxuczk7KTC cmIvgdW1DmqkSVM0fGJAOlqIJyt6odbO7WJo38mQ/fwdaBtoOQOihwb2JzqmwE1CXRCz 1qESCV5ma/K3VH8v8Noy8iVvGZIMj1/g059fcBXfJl5yDOq6oZuNqbeIoH+eI0cA6Osf 4+FttsleSc6jUwmmzBG47NvGmwN07bRzhZTBoCsCz14z7qxVq47bFS9JREfCzsaRE7w+ ckyg== 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:date:cc:to:from:subject:message-id :dkim-signature; bh=XZSKLZk/gaPaHZFKd+uP88CfE5efqYRIWpIrzN0201s=; b=CroXw0F6+P51WdUbVKKieC2B0XYUpAf47KqUQf9SkMKzSOUTRoDvUoX7z5WxFvDlYE ZhLGwIQ/lnEHweB2ygioZGKqgHmHzUYBXJqHKx4K0hNDl8TVBkMk+2HheCQ2PfzsUZ8n BVpLp4MxE+4bjfUiykOLqDCo+kDlmYFhekoSq+RCNHz5mCO3zL/52qVb6RKfvd655Mu9 Wm6WFjlPWkjacqcwfqRtNAJEJReGRPmMIgE0j9VqLtTGusYFBx2XWYffx4ONvMbkGHCC 0xPnJe4fGY5g6OX+8NQ79TTSio8FBY12muDetrJT13lc9MQTr+2d9CTQgMwQKA4xITe6 J3CQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=aLmS3EbX; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w19-20020aa7d293000000b0041d79a37f75si4045780edq.78.2022.04.21.11.53.52; Thu, 21 Apr 2022 11:54:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=aLmS3EbX; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377784AbiDTKtN (ORCPT + 99 others); Wed, 20 Apr 2022 06:49:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377780AbiDTKtK (ORCPT ); Wed, 20 Apr 2022 06:49:10 -0400 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80040.outbound.protection.outlook.com [40.107.8.40]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 607B613F69; Wed, 20 Apr 2022 03:46:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=by/ZEQeT13mB4TcrFOSDA84yb/X91GxJKHkvxQMNFld4THXpqalGNt2I0uYzK/NJVoX/INU8Z6gyhhq1nZ6xBK+FiL8p3JEuOulaYt9UgLANB1pRbpwHkCYbRkgGaB/5/8HA3gq3hSa2cskEda8tzrH485tgEoz4rQKT+qX+/E6Ok3J9XXp9UmE4na51dEFk2BSQyG+L/bymFgS3Iq2E4BWQq44w+v/usswn3xxMpSx/86cnlm3arsEt1LIa+9XCyX7AitqwlLRyDojeI8BtqIleoKQWvn+rWmYcZ7fdCj0atxgqo3Pp6552Qecw2YzY2Wmjcr3vbWknXgQn3xnkTg== 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=XZSKLZk/gaPaHZFKd+uP88CfE5efqYRIWpIrzN0201s=; b=iGO+rd7klOSqIIJH1DrRqhwZpCbjW3Hp3Qffvc/TLLKXMcNyjRznTqXh/TqFWwsXrQF7GQUTQ+uObn39MeSRFdtfSqGo+NNYkzxTQuFlVqRLm6wGDkanGB6OlVbSLi9+7nDxNHf4QkBjUWPDkvVPqaXaktf9pE0kNZAeJAZ7rYrR/LWcNLpdW2FBESdVNnmdd8uKzIs6dKkMADa9NU82bWyDwMi0hp02lrYB2rE9zRfy3RteV7Z6nuIZ/QoZ1L+ialDhdt7O2fDHz7WOfS8umJdo3W+R52BaD1SDXoBPltPwFgAjgCEqmFBUf3DdJyILHwxjBGGlL00L91wOrjLOqg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XZSKLZk/gaPaHZFKd+uP88CfE5efqYRIWpIrzN0201s=; b=aLmS3EbXFzADGk7vU3YDOzQH3TS8+gGdLQh9GHSpR6sA6NamYTFHuuf9mmhuzGJL0Bkl70xZUxFHNB0tAbibTGAT1e8yFwsdRUIK9TLrKxRUSt7EiulYfQP1o2uAHZkDJWt/N74uKWluEnj5JnXsTsM+7RugWqckqr24lHyQOO4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) by AM0PR04MB5841.eurprd04.prod.outlook.com (2603:10a6:208:132::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.14; Wed, 20 Apr 2022 10:46:21 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::f5d8:2b7b:6f48:51f8]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::f5d8:2b7b:6f48:51f8%4]) with mapi id 15.20.5186.013; Wed, 20 Apr 2022 10:46:21 +0000 Message-ID: <7554f8419ec9fd0e29db24bbe996fe012633c2ca.camel@nxp.com> Subject: Re: [PATCH resend v8 0/5] phy: phy-fsl-imx8-mipi-dphy: Add i.MX8qxp LVDS PHY mode support From: Liu Ying To: Vinod Koul Cc: linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, kishon@ti.com, robh+dt@kernel.org, krzk+dt@kernel.org, andrzej.hajda@intel.com, narmstrong@baylibre.com, robert.foss@linaro.org, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@gmail.com, airlied@linux.ie, daniel@ffwll.ch, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, agx@sigxcpu.org, robert.chiras@nxp.com, martin.kepplinger@puri.sm Date: Wed, 20 Apr 2022 18:46:07 +0800 In-Reply-To: References: <20220419010852.452169-1-victor.liu@nxp.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: HK2P15301CA0001.APCP153.PROD.OUTLOOK.COM (2603:1096:202:1::11) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bb88d29e-4b8e-40a7-9737-08da22bb01fa X-MS-TrafficTypeDiagnostic: AM0PR04MB5841:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 36z1cjqEym0tKAzXYEAeDeDKq3XGTWiRILw66Rv1b1Q6gTyI3QpfAMeCGLZJJ4ahzpum3WCD3UxdGzCg3KEAWtwLQmyMjSbVrNxquXQE8UISDFihg3vt1saVFWFLSBZui3nOKIO9YJmrWIsOtH6CafS4oDarxQzs/o0HKGardoZwiUZnO3AXTK7fdtwKtJ1JuMQe0weIEQuDZ+n1UrCwIvD0NisuOpPTPh7uHiiUHz0XkFgAZ9jbfR63hS+tl8tN5yqFvRqxQq/spSUQlRhpUXGXlngF8ZWcYyTDxjNKxDS/56wDpYLOE2iVUMs/ho62/Xf+W6/TqEd9FuuMhgt7sBWzRRsCTOtKje2SV2fepBGWpqmpHJM9GgyZ17F4aSASTCjDnvFlJJkePnj/4Y6H3xs+IZNLs70r5YtP3BWQm1bk+TctP8XG+LcxZDymGQcvdQdRH6jkme7D+/dgWOA8S85VIVxmfRvMXOdinGxr3ZwWtxqC5RTXernRvfSmyUVdRVlTOHbAy01B5NFwg8d6H+jSDi76iMM+pkLV4r6iA1ipWSF+F4Lr+lhNvgR9UZER5xxFIy13JPmNxPx1kAzQBteT3AeBB5hM9O8kEslRBh7D0W8byuh0w1O9m1N9/pHoRBPQnBNPU9NgG6KQdUDlU7+Qh2A3iM46yiyMfk/UyhoNGssZM/+c8S4XgaDLeWeC41zeqk/7ITsuOF/stBf0EsSuA8uGbrE3HC6/QzVBbPs= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM7PR04MB7046.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(6666004)(6486002)(4326008)(6512007)(316002)(38350700002)(38100700002)(2616005)(8676002)(2906002)(66476007)(66556008)(86362001)(8936002)(6506007)(52116002)(6916009)(36756003)(53546011)(7416002)(5660300002)(26005)(186003)(508600001)(66946007)(99106002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RW1YazlHZU5IUUlaa3JiUi9XSVd1RVhqcHkwU1ZpUS84TTFZanA0SDY1VG83?= =?utf-8?B?OXg1TTl0Z0VpdDMvWExzbnBpUm1XejMwVFNCMXdqc3VrSkNpQmNUM0s0Rjkx?= =?utf-8?B?QmZTVmJjbzRrTXFqSDUvNHBNTnlTRFJjWURpM1NrR1d4WUR3dlZDZHBUV25N?= =?utf-8?B?TjBFY3hhSjZNRkMwM21JUDZqMkp2QmMrTzdLSHdyS3VwY2d4bnNLZld1RlRq?= =?utf-8?B?VXM0emJ2ZzRyUFBkbEs1RWVmTWxVeEgyUjJUVjVJUlEzYkxZdmhyRmdGd3Bt?= =?utf-8?B?UEdtZUJOZkJobHh6cjNpbTg5OHhqVzlGRVFTSU5NY0xZ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iUThKTU9GdGg4ZCtFT3A1Z05kanRRVE8wU2t0SHByZ2FwRmhW?= =?utf-8?B?UFB6VHdxR2FOdnZvZGpQMlJRV1NQS0xxaFBZVE5zc2lWdktIUUhjdlRjUTFn?= =?utf-8?B?YlZIb1UraytBWDNFMEFwVzdOTlZvR05qaytJNzE1V1l0UkUvbFVCNVltM0hk?= =?utf-8?B?USttL0x0bnNKTGhQN3pjRDN1OTFoZlJuY1dwZlNzNlNraEErSk5UUT09?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: bb88d29e-4b8e-40a7-9737-08da22bb01fa X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Apr 2022 10:46:21.5337 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: lXQDDcLLulXeoY4Du05OcORUdLooM3WvcyFy/wxE1aQls+DV47hzq5raR5tiaRpoltzmhEY/RNinGGmaG6Ymtw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB5841 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2022-04-20 at 13:00 +0530, Vinod Koul wrote: > On 19-04-22, 09:08, Liu Ying wrote: > > Hi, > > > > This is the v8 series to add i.MX8qxp LVDS PHY mode support for the > > Mixel > > PHY in the Freescale i.MX8qxp SoC. > > > > The Mixel PHY is MIPI DPHY + LVDS PHY combo, which can works in > > either > > MIPI DPHY mode or LVDS PHY mode. The PHY mode is controlled by > > i.MX8qxp > > SCU firmware. The PHY driver would call a SCU function to > > configure the > > mode. > > > > The PHY driver is already supporting the Mixel MIPI DPHY in i.MX8mq > > SoC, > > where it appears to be a single MIPI DPHY. > > > > > > Patch 1/5 sets PHY mode in the Northwest Logic MIPI DSI host > > controller > > bridge driver, since i.MX8qxp SoC embeds this controller IP to > > support > > MIPI DSI displays together with the Mixel PHY. > > > > Patch 2/5 allows LVDS PHYs to be configured through the generic PHY > > functions > > and through a custom structure added to the generic PHY > > configuration union. > > > > Patch 3/5 converts mixel,mipi-dsi-phy plain text dt binding to > > json-schema. > > > > Patch 4/5 adds dt binding support for the Mixel combo PHY in > > i.MX8qxp SoC. > > > > Patch 5/5 adds the i.MX8qxp LVDS PHY mode support in the Mixel PHY > > driver. > > Applied patch 2-5 to phy-next, thanks Now that patch 2-5 landed in phy-next, patch 1 is needed to explicitly set MIPI DPHY mode in the nwl-dsi drm bridge driver, otherwise, i.MX8mq MIPI DSI display feature will be broken due to the phy mode check added in patch 5. I'm assuming patch 1 should go through drm-misc. Robert/drm folks, can you please pick it up? Thanks, Liu Ying