Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1159816pxb; Wed, 13 Apr 2022 22:57:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxjtUQkyLZnFz8A2A+MF5SBcV7tt1JhWkC6oCRnb244S2j9XXIB+4IM69LAzZGjh4AunnPv X-Received: by 2002:a17:902:f605:b0:14d:bd53:e2cd with SMTP id n5-20020a170902f60500b0014dbd53e2cdmr45190665plg.164.1649915866796; Wed, 13 Apr 2022 22:57:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1649915866; cv=pass; d=google.com; s=arc-20160816; b=xIBB5noeSXhAUz7IQPEKEXf8MvyS3fP4mTaUyBQhjToQlCrY5KsAner4JpJuYXEsF7 8SQ/84qeMXMFSC69ngZcHo/KtGAs4doZLvwvuTvUSbMMGI5p5BMRTBRPt3EEBAdtFqn4 Xv/3zieZsMqaEGp/m4CTew56c3RJpPiGanjrCibyLxLxRJCrz0opflS9pHdwF+Q2rdWr kvsBRk0TfZru4ZW3LSdZvNVSLRKIoSu7d+M2A3gH/MxiVymm/3qjqc4WvQcAnBUuNoNn KlweAcaC3JCDe24tEXLqTr4rrlLbmqMP3xN5blZ9ME4Hxv2Vje3IyzXe5fGMmwaezVt+ KpPA== 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=r8apnvQdKNcuAtc0sVirhIlNhQG9N/iVg4SWmATU20U=; b=rpMEMMf78QVBc4fQi3OkaMZJQKrWK8/zX5QIOhbIczOwiUdJ9wQILfSHFrF5V3iXsQ gPxxYAgkeK2S9yZ3go3juvc278y0jhyWv7J4yDQBjGrVMJD3rSrpMrQS7lULuOyVMhb2 vpbtIQjiK3oHp6AfmaZheYtSQyMdGrJyeXaM48qfOCX9Nb7TWb81WZLAkOq275AnHWGm cfrqWSJDY4L/Ejx4e58kYu+7G45QNvzYXEqBxK2LYTnlhiDZSh/UCm7DT5Sg55Q1eoFK BWnsziBP7b5VuT/ZZjfNld8bKTd784bI+RbsEXbKnuJVbqzKBiDNhVNBV3gUlNBlj9Jj BStg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=jracsDCN; 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 p16-20020a17090b011000b001cb9ba78d1fsi898768pjz.19.2022.04.13.22.57.30; Wed, 13 Apr 2022 22:57:46 -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=jracsDCN; 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 S234835AbiDMKHv (ORCPT + 99 others); Wed, 13 Apr 2022 06:07:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234875AbiDMKHg (ORCPT ); Wed, 13 Apr 2022 06:07:36 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60083.outbound.protection.outlook.com [40.107.6.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04E224B1DD; Wed, 13 Apr 2022 03:05:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mqXa3hYQOM7omia6qeh5SaLKMTNcxffGewQ9qhzlwO/NCgGF3BsIcv9F+zR0KNIFtvIwGbZwYeRgX7YeJS23wW5Mcg87qcfbBb2THPbfv9WMJ3uvQQPnrc9seRB/0aBT+dQDIaXWhG7vShFRYojKcLuvpCQvPkVZFpsnQAmsXPvTQ1ft9a3pS1NdHdZoMWpG2GAwxplw0JYqK8VT0/wPPjsKGfi8CbnCK5aoGTzaVOpAOaZC0yhN03iVjmheVDKtiT4UA/URrIdYfCyY7d8oX7oluivCspxsGkbBxfbhK3734ywS6QSKGFlAlyfIpyjhmZH4JnUKBAUfEsYszz32nQ== 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=r8apnvQdKNcuAtc0sVirhIlNhQG9N/iVg4SWmATU20U=; b=Y0b3Lm9JlUQAgeZeeUJ4Cb71t+dJUlnlkI9cbUAX5IqBMmfyDYYb4b7bjchGeFIaYIA0J9LktUJr4CmwZiajVxR9QuDIqtn7ZhBQKQ+shuRl0N7titrs42VD3PxBPI2i8kEfNgl3PvmHw1UNyet3se4dxYRBAQl1/HCq9IdZpABS0qq0tvdZqfb9fy2KIz29RswD/I0jq7eWCgrgypFmUWpX5xCDpUOwmQsnd+ybovZmk1O0lzqukFLbIFQyJBiQfBx6YHtJ8iVP58uAWYLMQLLpfLqDvWjtDF2AwxuqUK9s7wAtreilMTVfJFHS7SDHDnsFFnRFFL88FoInVzzprg== 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=r8apnvQdKNcuAtc0sVirhIlNhQG9N/iVg4SWmATU20U=; b=jracsDCNKYaXj5x1zZHpFQXnFCK/HYwRf7cbQSf5b7/2oKDNO5fXqz8aqw5hh497prVEj5klZX5/iGoPTtxb4VLgHOykWj4anBW7LnY+go+vWFW+O368bxbfjo9Dq1086U4Ywm/BzgBcTZmJC28+VIjakbkPUsgRjKw2mU4AxJQ= 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 AM9PR04MB8322.eurprd04.prod.outlook.com (2603:10a6:20b:3e3::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.30; Wed, 13 Apr 2022 10:05:09 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::b09c:8ffe:8e02:7387]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::b09c:8ffe:8e02:7387%9]) with mapi id 15.20.5164.018; Wed, 13 Apr 2022 10:05:09 +0000 Message-ID: Subject: Re: [PATCH v6 resend 2/5] phy: Add LVDS configuration options From: Liu Ying To: Vinod Koul Cc: linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, kishon@ti.com, robh+dt@kernel.org, andrzej.hajda@intel.com, narmstrong@baylibre.com, 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, robert.foss@linaro.org Date: Wed, 13 Apr 2022 18:04:57 +0800 In-Reply-To: References: <20220402052451.2517469-1-victor.liu@nxp.com> <20220402052451.2517469-3-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: HKAPR04CA0011.apcprd04.prod.outlook.com (2603:1096:203:d0::21) 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: a96bf39f-5f64-4c56-546a-08da1d35179b X-MS-TrafficTypeDiagnostic: AM9PR04MB8322: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: bPTDz8hMLLTuqb/lVfj5vasyGrEAdkux0W8GQ+hEUpvSa8dHxzNmlDj6KeSzlGMsSefqRtlr+WuQCnIezamX0C1Kpvh/zRXkFawSSEix1aK14WL8tKlu5HPI5UdRiRQ90KhUyQP17wPMO8GIv3zuLwnhiILlMkbZAvQnTmRElqKGiVI5Pqz2bvnSjHInnyy1Rtw6xnNjkrsf7ac4WUZJCV9GNg5Fef1BKk2IbIQQ9qW/mKuH/HbBx0ZtY1k0Y31bVgvJLOuf8hGdtWTHj5eC3Gn6BdCkCR047h9vEwMaH0eFsjeJv8atF6ZAJT7xD+T89TlnJdgvMtlk7lCmxsXni/ih8Y56P3j6hO6lR27x1N0HcZZm8xvdkgPwwsOUjS9LK+7zWGe3eCP3EWV9GYWzBbN8jeqgurTMw/1LpU2xQzvYUZcsg2garFRs3QgDmFckE4PB4gtVqA1Awei1o/eHX/85Eqi+7QRTBWquWwE9382jIPTjMfOXL0yUst2DF5eZRyMcvlRz9Bm+Tx3AKsCnHKk3ABicnFDTCKOcmjKQmLbIFYVH26WnpzwfXGiXkJvKy/Mun4ea3v9GlaEvq1IhJprw/VYE/nh11moWzE1TYwOFwnh0HqFN03+RZfOcrEY+yIPm/V3Ptnev6btcFnCIOYzGu3b2EPMeOauw9UR6K5+WTBZ87VTfbFRXxTgRehIkS5cATkJ7g3Nkl+M7LsTf5elENOk1iOTz7aYVJ4lxdbHggchozSTSD3xhuxcgcBLQEiHZwEM2V4Uph60GHh3OzfBzBNoD8bWxNEWdxHJoBxr0PX9++8CX74qRDPwGtehNWNaDEem7Cnkdx5+rMJN8qdHTJGwsX3EFYLGSNsVUP6A= 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)(83380400001)(2616005)(53546011)(52116002)(66556008)(8676002)(66476007)(38350700002)(38100700002)(86362001)(186003)(26005)(4326008)(6916009)(66946007)(316002)(7416002)(36756003)(2906002)(8936002)(6486002)(966005)(6666004)(508600001)(6506007)(6512007)(5660300002)(99106002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RW5jc1JuUTJlUkQrOVZZUmFQajZHODhvZk5PbFJqbXUrdWlDVXNJc2NzN3lm?= =?utf-8?B?d3pmUm9xSzBja041RlhDQ1pkUWFoSHFtV3cyd1hOaUhlUWlYRjhDdU5GV0p6?= =?utf-8?B?Rkt5UXhUM0JtdzBCOG1SK09VYVZFNWNUdVVMcTJ5OUxsa0NSMVJ0MVJaVnBj?= =?utf-8?B?SEhucDlQclY4ZzRXMkRKVm11ajlMalBEc0VkSEtwMjNNN0liRkJEWi9tb3pQ?= =?utf-8?B?clNEWU10M0pDMWxES3RwN09CckhwQzlYci95SG9qbnFkT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ZhWFR1bDF5eFdtUVJ5amJaVEV3U2xseFNNM2FsSHZUVURL?= =?utf-8?B?cGE1K0psRm9aVVJmbTBnRHBTdk04dmpGbHN2bVRWNU1NOWxvOWRqL0lJV1Bm?= =?utf-8?B?bDFSbHEwY24zZlpzcjFLN0I3KzBoMHIyQ1AvbjlTWXJzSCtCbXpkbTRFb05M?= =?utf-8?B?d1VXSGhnOExJaEg4c1pWNnhjSHJIY3orR2laQjVLcm4wbTBqTXVtSEVkZTZH?= =?utf-8?B?cUhYL2hCelB1TTQ5S0J4dmVWMWtOWVhzTHY3SDBDeTZLeEoyM3A5QT09?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a96bf39f-5f64-4c56-546a-08da1d35179b X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Apr 2022 10:05:09.6623 (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: 7tpE5qoH6rl+p4i3PDAfy/JOzNreOvdag2x8Y6m6TvgG6TOOh4/NK174QVGceHtXvvBDH5S3fM2rJNy225+w7g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8322 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,T_SCC_BODY_TEXT_LINE 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 Hi Vinod, On Wed, 2022-04-13 at 11:41 +0530, Vinod Koul wrote: > On 02-04-22, 13:24, Liu Ying wrote: > > This patch allows LVDS PHYs to be configured through > > the generic functions and through a custom structure > > added to the generic union. > > > > The parameters added here are based on common LVDS PHY > > implementation practices. The set of parameters > > should cover all potential users. > > > > Cc: Kishon Vijay Abraham I > > Cc: Vinod Koul > > Cc: NXP Linux Team > > Signed-off-by: Liu Ying > > --- > > v5->v6: > > * Rebase upon v5.17-rc1. > > > > v4->v5: > > * Align kernel-doc style to include/linux/phy/phy.h. (Vinod) > > * Trivial tweaks. > > * Drop Robert's R-b tag. > > > > v3->v4: > > * Add Robert's R-b tag. > > > > v2->v3: > > * No change. > > > > v1->v2: > > * No change. > > > > include/linux/phy/phy-lvds.h | 32 ++++++++++++++++++++++++++++++++ > > include/linux/phy/phy.h | 4 ++++ > > 2 files changed, 36 insertions(+) > > create mode 100644 include/linux/phy/phy-lvds.h > > > > diff --git a/include/linux/phy/phy-lvds.h b/include/linux/phy/phy- > > lvds.h > > new file mode 100644 > > index 000000000000..7a2f4747f624 > > --- /dev/null > > +++ b/include/linux/phy/phy-lvds.h > > @@ -0,0 +1,32 @@ > > +/* SPDX-License-Identifier: GPL-2.0 */ > > +/* > > + * Copyright 2020 NXP > > 2022 now I may change it to 'Copyright 2020,2022 NXP'. > > > + */ > > + > > +#ifndef __PHY_LVDS_H_ > > +#define __PHY_LVDS_H_ > > + > > +/** > > + * struct phy_configure_opts_lvds - LVDS configuration set > > + * @bits_per_lane_and_dclk_cycle: Number of bits per data lane > > and > > + * differential clock cycle. > > What does it mean by bits per data lane and differential clock cycle? Please check Documentation/devicetree/bindings/display/panel/lvds.yaml. lvds.yaml metions slot. 'bits_per_lane_and_dclk_cycle' means the number of slots. But, I don't find the word 'slot' in my lvds relevant specs which mentioned in lvds.yaml, so 'slots' is probably not a generic name(lvds.yaml is for display panel). So, I use 'bits_per_lane_and_dclk_cycle' as the name tells what it means. > > > + * @differential_clk_rate: Clock rate, in Hertz, of the > > LVDS > > + * differential clock. > > + * @lanes: Number of active, consecutive, > > + * data lanes, starting from lane > > 0, > > + * used for the transmissions. > > + * @is_slave: Boolean, true if the > > phy is a slave > > + * which works together with a > > master > > + * phy to support dual link > > transmission, > > + * otherwise a regular phy or a > > master phy. > > + * > > + * This structure is used to represent the configuration state of > > a LVDS phy. > > + */ > > +struct phy_configure_opts_lvds { > > + unsigned int bits_per_lane_and_dclk_cycle; > > + unsigned long differential_clk_rate; > > + unsigned int lanes; > > + bool is_slave; > > +}; > > Where is the user of this new configuration? Can you post that patch > for > reference as well please Patch 5/5 uses it. Also, I posted two drm bridge drivers[1][2] which use it. [1] https://patchwork.kernel.org/project/dri-devel/patch/1617172405-12962-13-git-send-email-victor.liu@nxp.com/ [2] https://patchwork.kernel.org/project/dri-devel/patch/1617172405-12962-14-git-send-email-victor.liu@nxp.com/ Regards, Liu Ying