Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp5318624pxv; Wed, 7 Jul 2021 00:32:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxmF9dpcpRKSM6y4M5n1W+bnsaXGJf2dZX/tIR+rol7T5J4MJ+lb368xW7Y0GZW877oIGXo X-Received: by 2002:a17:907:101a:: with SMTP id ox26mr12316972ejb.286.1625643150569; Wed, 07 Jul 2021 00:32:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1625643150; cv=pass; d=google.com; s=arc-20160816; b=1GfPOquc6j9GkGPyh7BqOw3SZjx2TaGMsVwAATIpNnXx4qNN0SGLakdSxPNainDcNo F/qI79pT7DX7bGb6sATy8fWlsOI0B+0QNImx44+03bCcRaG5LeDg4S4gFt9Si2Smt73T E4dO2tLhS4tYFoe2/pmI4OPUUfs1TAhHfx2f9+0BOINsFFOhulsUNvLwMdxJRMzKydrV iogHDckhiJFvmNaU42FX+OvA4xRmk+S5ICEYcvKmeWRt4ZNMey6yvYjJPiIrQW7x5dMa pOh4izaRXkeZeTTY2Q+gGxKwCrQvwtGCDKj9FattW+Yr9Y+2k6SHhb/N7sYjGHl7Gf8w ZTUg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=pcemODJHVVkgM/gxIQWeDNUkCMcFkj5qvaXOEx5uRe0=; b=Ut7TfLs8Rj4IpCoFs13vZgXDjjpulxpls2XL5CRNhih1dmPjxbaWxdY9IHR/EZfAG/ ZOejWBOoIT3k4U7ivAKsLe18zTx0sANakgfbLgFP+C5SEDwiFL3NzTwQoLhG99zSYWVq Kpac8EFMt05oumN/TRI+ySBywyUHYHmMCmGgMXQbl1WBiRxY6j8a2EL30Wn8tq5jjtlQ 3ZYFChm8lhdcd04gRiR5WJSVeQ8Bc5cr/MNIdc3Mhep9DP5P9QL5KnnIazEaZTXUrehA RMPti3ZNugn2BPuH+DrrHL/tt64wTPQ2wTxzz9CbHEYGZdqPmKqxuW+myammRBJxE1eo SkhQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Analogixsemi.onmicrosoft.com header.s=selector2-Analogixsemi-onmicrosoft-com header.b=mDTskpIH; 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 oz13si16319553ejc.440.2021.07.07.00.32.06; Wed, 07 Jul 2021 00:32:30 -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=mDTskpIH; 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 S230349AbhGGHdo (ORCPT + 99 others); Wed, 7 Jul 2021 03:33:44 -0400 Received: from mail-dm6nam08on2126.outbound.protection.outlook.com ([40.107.102.126]:19808 "EHLO NAM04-DM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230312AbhGGHdn (ORCPT ); Wed, 7 Jul 2021 03:33:43 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CIofSbvwoEkormVYuqsaqjc/+riDQKusgjvc0UGrF1PiN43d4Ol8GBngS9eaERyolC3zJLRl4MdJDi5IhpR3YBQx3CcgEhblpgujuNNxLyYkXPqdAPFm7f6kPEdAdbeK7L/kosmiCKiqA2eSeu6wsJPgLWYE7fezvWkOcSVKF2L7IAcuIzpXIDsPF0FfCrd+opQVCsfBXoFYlmaGRT+o7N5ounSQ6RzrW/hsFYi1sPOeL/RCKMpgViS0AR3yjA9juC/UfiOLQRuzFqUdonL2KJ47CngSJrQztR2Q3B2ZkJYlWOtE0T9BLvXlZtVQwIEEcaTwahayictvyJgoXGpSKA== 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=pcemODJHVVkgM/gxIQWeDNUkCMcFkj5qvaXOEx5uRe0=; b=l4v7YEFO6Y04tuMIdXzhzFgNktBrPIefVGc9azL+z/bB+SCMcUxqjI2immh0Z2TzDRKPawsZ/v54fdaPt97IfZkIPG6PvD0YgHdBbFtlKPofOSBovKjpiLxznU+2MUkBmRf+Zi07eQ/EBuozkMmgEfrJzSY7SEXmiPuQrVDW/uHZOZM+HZEmRs4toBewf/A8M7oMNQPbMJZhd7rYRxxP1HSrVO/xbI64atEwIxa/NOQZMcYrSxM/LKsp8/aYPtFAeifQlo8T7rpZ/mtExYRj4H8ZLCrptMD5aMH13g7/mecmA+4+IhliGZaZ0o3Wd6k9Ak7LitiyKqno4pBZvdyThg== 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=pcemODJHVVkgM/gxIQWeDNUkCMcFkj5qvaXOEx5uRe0=; b=mDTskpIHmubDtHhba5lxGJTGc5hkHtxCHvpdXnl1aNSiKm3J8cU3JVQEDVB1gKNZlyu9movmYy2UGAHlWNO2CuBXVzalWHf2/gcLm3Gi8CQ8Q2Xhw+WPP+/JL0ep7+xbBG941UE5Ff/6lThQE6yTBp4PjSb324SigQjCG5AyV/Y= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=analogixsemi.com; Received: from BY5PR04MB6739.namprd04.prod.outlook.com (2603:10b6:a03:229::8) by BYAPR04MB5749.namprd04.prod.outlook.com (2603:10b6:a03:106::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.23; Wed, 7 Jul 2021 07:31:00 +0000 Received: from BY5PR04MB6739.namprd04.prod.outlook.com ([fe80::5c0e:fbe5:2bd6:ec6]) by BY5PR04MB6739.namprd04.prod.outlook.com ([fe80::5c0e:fbe5:2bd6:ec6%3]) with mapi id 15.20.4308.020; Wed, 7 Jul 2021 07:31:00 +0000 Date: Wed, 7 Jul 2021 15:30:51 +0800 From: Xin Ji To: Robert Foss Cc: Rob Herring , David Airlie , Nicolas Boichat , Hsin-Yi Wang , Daniel Vetter , Sam Ravnborg , Laurent Pinchart , Maxime Ripard , Mark Brown , Ricardo =?iso-8859-1?Q?Ca=F1uelo?= , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, Bernie Liang , Sheng Pan , Zhen Li , linux-kernel@vger.kernel.org Subject: Re: [PATCH v9 1/4] dt-bindings:drm/bridge:anx7625:add vendor define flags Message-ID: <20210707073051.GA936385@anxtwsw-Precision-3640-Tower> References: <308427448195e2db37a32997c6d32905c96ca876.1624349480.git.xji@analogixsemi.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: TYAP286CA0034.JPNP286.PROD.OUTLOOK.COM (2603:1096:404:8014::21) To BY5PR04MB6739.namprd04.prod.outlook.com (2603:10b6:a03:229::8) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from anxtwsw-Precision-3640-Tower (60.251.58.79) by TYAP286CA0034.JPNP286.PROD.OUTLOOK.COM (2603:1096:404:8014::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.20 via Frontend Transport; Wed, 7 Jul 2021 07:30:59 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8807c75f-3bd3-4f5a-31d1-08d941192b0d X-MS-TrafficTypeDiagnostic: BYAPR04MB5749: 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: kcSP6n5yZSYS1ZyKjRxQkQpUmfuMOA1RwqEBVohkaVqzLRzKV+BSp4yYVkDCIgsCkYyvQ8mzhO2BHUWVSyAbzgmXxbJ8bnUe+Wi8JotPHgTNAQGLwKTKCjUPSdjIyshU8vfyXM+opSxjibGcYAFRV18yvsmXRtsEWLe7BgYjndTDg3IAmBfuNiLn23cgtmEyZkGYbIG06z4FllaO3GWxFUeoM91mUA09Mx3VYJFx7BZgSb4yiYPj4njCOPiU7qMJSgn6+i8Ggejz54cBrB+fENuzs8ncYvQrKMua4Ad0wQJbNklPzTFrJvUGFUv/xiIqB9DJwiIQJJCwQG4ubKdzQK69DgxIq1Rwhq36nqAap7y1GbqZvrvoEMqq+6q87TzlNEnhkgUOqBc/2higQsivzslkf29S1bSfXeXyMMo6nwHcOYtFAMpUStWB21qqPH0dCeRv9I7SOLwhXkEHytnweGKp20uXCINxBO4aGDVTRWo1x4OzZ2Xq5IXnPkjMXyMKXnHfBDOIFCbVLv20UDBNbP926B+KXSuL4tuy3XEoQSCynKHHizvgo5DvbXdLLWrtyWHmDy77giIPRs+XVXuNb/ozD4+hSzQvWzjzdStrprdCtwAlspqep30FOQyxqfQE1MEyJmith3ytMbkg0CpPE2GWzP7tThIIJ+D2lsSIs9LEJKdikynOWaEeZWNtzt+jY13/YcIas6EGRgNzLsRM2g== 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:(376002)(346002)(39840400004)(366004)(396003)(136003)(55016002)(956004)(6496006)(26005)(9686003)(54906003)(52116002)(4326008)(33716001)(33656002)(8936002)(1076003)(5660300002)(7416002)(83380400001)(316002)(6916009)(8676002)(55236004)(86362001)(478600001)(38100700002)(66556008)(66946007)(38350700002)(2906002)(66476007)(186003)(6666004);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?JUQj3jyxlV4lIGUFVtaKshFh/XPPSVWxobu/3pfo8GowmM3h7/WTMvYY4Xzi?= =?us-ascii?Q?YjEvuQScf6la5PdxtmEen04S/NrkNUekim2yP1+R/QZDBU+1WfupK6YTBrSs?= =?us-ascii?Q?LtzxmwRJwU2TOL6BHxowYevn5+712L3i4sNHJ8hmPxO6SG85PkRutuMzhCQn?= =?us-ascii?Q?RTIJGdY+UVo6Tls1AUBIMa8i61uckfhfB+W+nZDdLKV2ft1dwq7i6qT8nk13?= =?us-ascii?Q?fcSK0sQVGCW6WOkRrb/tleY36648IEmIYhSZk6P88OVf8YKIcUjPzNkiMc2o?= =?us-ascii?Q?lwH6wBR41qzxmztenCnPgsZooi/9a8V4DAz2Dog/o24rFLAnHQ7vYLCSWm8a?= =?us-ascii?Q?P3VINIyqzTKtfndEK52YAajFog06tTs4t0zGQu7bgjxFnawVS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GowFZvk13qPCS+VFnxJLY149vLXp+noUfn?= =?us-ascii?Q?oLPt37XSde1ZRCD3Ux1ns16m?= X-OriginatorOrg: analogixsemi.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8807c75f-3bd3-4f5a-31d1-08d941192b0d X-MS-Exchange-CrossTenant-AuthSource: BY5PR04MB6739.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jul 2021 07:31:00.4437 (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: 76/hPqzHXsE/q1ydTnM0wlr7vrO8AGhJwr5C4rZ3Eji8C0TPnMenlHCKMZQKfybWXqxv3yP/dg+GJbVnnMEBgw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR04MB5749 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 24, 2021 at 01:57:22PM +0200, Robert Foss wrote: > Hey Xin, > > I would like to merge this series now, but this patch needs a review > first. Maybe Laurent/Rob Herring are good candidates. > > > Rob. Hi Rob, I get Laurent/Rob comments before, and explained why we needs these DT properties, so far, I didn't get any response. Hi Rob Herring and Laurent, for the DT property lane0/1-swing, Google engineer has strong demond for them, they don't want to move DP swing adjusting to kernel, thus may cause change the driver code in each project, so config them in DT is a best option. Thanks, Xin > > On Tue, 22 Jun 2021 at 14:31, Xin Ji wrote: > > > > Add 'bus-type' and 'data-lanes' define for port0. Define DP tx lane0, > > lane1 swing register array define, and audio enable flag. > > > > Signed-off-by: Xin Ji > > --- > > .../display/bridge/analogix,anx7625.yaml | 57 ++++++++++++++++++- > > 1 file changed, 56 insertions(+), 1 deletion(-) > > > > diff --git a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml > > index ab48ab2f4240..9e604d19a3d5 100644 > > --- a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml > > +++ b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml > > @@ -43,6 +43,26 @@ properties: > > vdd33-supply: > > description: Regulator that provides the supply 3.3V power. > > > > + analogix,lane0-swing: > > + $ref: /schemas/types.yaml#/definitions/uint32-array > > + minItems: 1 > > + maxItems: 20 > > + description: > > + an array of swing register setting for DP tx lane0 PHY, please don't > > + add this property, or contact vendor. > > + > > + analogix,lane1-swing: > > + $ref: /schemas/types.yaml#/definitions/uint32-array > > + minItems: 1 > > + maxItems: 20 > > + description: > > + an array of swing register setting for DP tx lane1 PHY, please don't > > + add this property, or contact vendor. > > + > > + analogix,audio-enable: > > + type: boolean > > + description: let the driver enable audio HDMI codec function or not. > > + > > ports: > > $ref: /schemas/graph.yaml#/properties/ports > > > > @@ -50,13 +70,43 @@ properties: > > port@0: > > $ref: /schemas/graph.yaml#/properties/port > > description: > > - Video port for MIPI DSI input. > > + MIPI DSI/DPI input. > > + > > + properties: > > + endpoint: > > + $ref: /schemas/media/video-interfaces.yaml# > > + type: object > > + additionalProperties: false > > + > > + properties: > > + remote-endpoint: true > > + bus-type: true > > + data-lanes: true > > + > > + required: > > + - remote-endpoint > > + > > + required: > > + - endpoint > > + > > > > port@1: > > $ref: /schemas/graph.yaml#/properties/port > > description: > > Video port for panel or connector. > > > > + properties: > > + endpoint: > > + $ref: /schemas/media/video-interfaces.yaml# > > + type: object > > + additionalProperties: false > > + > > + properties: > > + remote-endpoint: true > > + > > + required: > > + - remote-endpoint > > + > > required: > > - port@0 > > - port@1 > > @@ -87,6 +137,9 @@ examples: > > vdd10-supply = <&pp1000_mipibrdg>; > > vdd18-supply = <&pp1800_mipibrdg>; > > vdd33-supply = <&pp3300_mipibrdg>; > > + analogix,audio-enable; > > + analogix,lane0-swing = <0x14 0x54 0x64 0x74 0x29 0x7b 0x77 0x5b>; > > + analogix,lane1-swing = <0x14 0x54 0x64 0x74 0x29 0x7b 0x77 0x5b>; > > > > ports { > > #address-cells = <1>; > > @@ -96,6 +149,8 @@ examples: > > reg = <0>; > > anx7625_in: endpoint { > > remote-endpoint = <&mipi_dsi>; > > + bus-type = <5>; > > + data-lanes = <0 1 2 3>; > > }; > > }; > > > > -- > > 2.25.1 > >