Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp2838305pxb; Mon, 25 Apr 2022 03:47:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxS9AGLkTdE1mUZWS+4ZuuQZAIaazShoCsxkfiAnBye6NjOfPpmQR1GQgD86gGYOcq7n9aQ X-Received: by 2002:a17:902:8546:b0:15b:6752:d3fa with SMTP id d6-20020a170902854600b0015b6752d3famr17557071plo.89.1650883630736; Mon, 25 Apr 2022 03:47:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1650883630; cv=pass; d=google.com; s=arc-20160816; b=npGTEXcBXYwIEAdpLgcMNjmzd4JmT1OGudHZ6tJupg5Fxn1Zh79kHKhEdj7XdWKRyF 4WDymhVVmoP1Xk32bKE1YMrOqOPiJLWGmYfGFrWAwMUFw0hdQ4E+RbS0fwrj8458B6Op MXKPnhKIaSO2SkqR6LMMVLBasEWsdyfcV2brGRaPqwLXs6uNKVTAhYEnqivNh4OkCvsM C2MSkknthd/pWyMvwH+nUsIHgGnvzuYwV0KQlPUAH7QwV5o1AqfHKooXLQArnHyVHCR0 td2AsovocS+Wjt5eNt7RzLsQrl6xv/TzdOkB+5wqat4AYGvLv2POSw5zXBTBWgqfIMN8 yN4w== 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=SwOrSybOzWSr5qWMNPDEpPPILVMRXcVS2oipLakb7QA=; b=Bp12C5gWuMBmC6J6MNlm6eia/yL44SiLup350a0mxYRu6ISHqbeNJtJAeG/GSgLqnJ IA9oYu4It/eEM7N2gXnHbJNVxPJDPSQpuAQOOtk0fx8T/e+2SS8RaKhzTZyTsOQQWMVS 3iH5ssieFK9TqUkXqsxEDCMmsSjna3vBHVFmQNvfTZHgBgO9DJy6j8692WNFcx5JuDLf W8k+nArCJcTw09ELOQ4WM01wiTpFGgJttGL5JrZFpYmt4wmgFEWsn4CoB/p7PaweFNP0 sjquSsaB1FPwObYBdq6Pc90QreY6H5igtvG/SJabxgejV+muLguejJHEl/jQPrhym4mO 8hlw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Analogixsemi.onmicrosoft.com header.s=selector2-Analogixsemi-onmicrosoft-com header.b=BQDO1Rie; 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 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s207-20020a632cd8000000b003aa38d53172si15660705pgs.48.2022.04.25.03.46.42; Mon, 25 Apr 2022 03:47:10 -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=@Analogixsemi.onmicrosoft.com header.s=selector2-Analogixsemi-onmicrosoft-com header.b=BQDO1Rie; 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 2620:137:e000::1:20 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 S233906AbiDYJSj (ORCPT + 99 others); Mon, 25 Apr 2022 05:18:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241591AbiDYJRe (ORCPT ); Mon, 25 Apr 2022 05:17:34 -0400 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2110.outbound.protection.outlook.com [40.107.94.110]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB05E29E for ; Mon, 25 Apr 2022 02:14:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LRRvslAW776ddlYfoW001JUElwalR992gNioYeqXsLB0x/mPmIQ8htZWIdjxncJfeJqKdgc8jFLiWhPnmPf3QsaaD5UfFLJ6PBq+WA1WvnZMlxf4+yuANYndHX6QmQ8+6eNbxY2tJNkPzoIEolRUVqhG/ce4C5bOlFZImXzklSGbQhbbc5/dAG9V/24AJdsoXz+baVYqHtmNovrU1ruj80zpd7TzNbLyTY7Dm4AxqEwkgnW1dSfWFfJzQwB0EioGOTvc9WR2peaj8vsrBhNFuK3IC72fshkl6Wkab6TcQvat7HMITDChdBLXA0/XIi8jyjIvbjohPSQtBJ+0e7jbxw== 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=SwOrSybOzWSr5qWMNPDEpPPILVMRXcVS2oipLakb7QA=; b=DVLdBKWJwLew9KiuAa1Xlk8pDYykaUg0z6WW5T3urxqVtl82cU5aGpa5c2bMLHR7xSwLeSwu4NmooJpPGyN5ZtG51HRbinfbKEmYF05g9LyItDQ+kVcNKYEDX+AGeQ8HgNhIt7buetride0rTd9uAG2UHiYn6QA91QKZjONHe84zaMlkMnSzzDSGk7i0Sr1fKfTw0GV/eYVe1a9EkIQu4FEe1bA0SDcE2PsIHIB37nZTakiU/w4XAK+CucDL3OiLccccLkir6jdDfGK1T2l9Soe+uvivKTsLo7XAHEHN6QJ0/NHKn7xtP1Y5pQr+fhQCh5mauffTvPhwfgLlCRpdxg== 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=SwOrSybOzWSr5qWMNPDEpPPILVMRXcVS2oipLakb7QA=; b=BQDO1RieY2E3iJqYz1FBhFW+RaKraWgkbVqErKbm+rFUuYqiPfCOVIFe4ablYF7fl100hEA1uOV56qaHE2E4UbZok1O+ueiMBl8C+4PvYx7AXiQMTIO5eThx8FrvLZG3VBQXBLPbc5FsTHr+R2WhE24e5CXQndzl26qaKsW7y9c= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=analogixsemi.com; Received: from BY5PR04MB6739.namprd04.prod.outlook.com (2603:10b6:a03:229::8) by CO6PR04MB7746.namprd04.prod.outlook.com (2603:10b6:5:356::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.13; Mon, 25 Apr 2022 09:14:27 +0000 Received: from BY5PR04MB6739.namprd04.prod.outlook.com ([fe80::e9ba:4c90:6e9c:39f]) by BY5PR04MB6739.namprd04.prod.outlook.com ([fe80::e9ba:4c90:6e9c:39f%4]) with mapi id 15.20.5186.021; Mon, 25 Apr 2022 09:14:27 +0000 Date: Mon, 25 Apr 2022 17:14:19 +0800 From: Xin Ji To: Chen-Yu Tsai Cc: Robert Foss , dri-devel@lists.freedesktop.org, Jonas Karlman , David Airlie , qwen@analogixsemi.com, Neil Armstrong , linux-kernel@vger.kernel.org, Jernej Skrabec , Laurent Pinchart , Andrzej Hajda , bliang@analogixsemi.com Subject: Re: [PATCH v2 4/4] drm/bridge: anx7625: Use DPI bus type Message-ID: <20220425091419.GA967110@anxtwsw-Precision-3640-Tower> References: <20220422084720.959271-1-xji@analogixsemi.com> <20220422084720.959271-4-xji@analogixsemi.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: TY2PR06CA0014.apcprd06.prod.outlook.com (2603:1096:404:42::26) To BY5PR04MB6739.namprd04.prod.outlook.com (2603:10b6:a03:229::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7ef4eba5-0ddc-422a-376e-08da269bfeee X-MS-TrafficTypeDiagnostic: CO6PR04MB7746: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: BI5qR5z1/9MP5U5njOQyDDFmTkj+A0xeNKRDUoCt9OTtaZFuMcHa6B2jAKOGoH50X8bU7U4AhSz7lvZ6Mu0q+9UHsv3ncka0w8zZZV0AmxI92JO0L5FeqteAcqPYAkrRnDa72XZA/5IsWy+5UMgEHgJhAKcxJcBMHViOFOlf6yNzTOWioxpuJR6/2NNHch0ENBx1QFsMtQYS2M3GT8Gj3PzxyBOoDz9XDEXv5APhUMTCyXXvOFJojCuLrzxjon+f0IEmY1hhE/smfUjLUJ1v4U3+HAHSgtfjbwqKKynWYSsmj2Q3Y12nkHBDLFlZqc6/HxJPgcGM2X4zyI1KrZyRrKzctm4K33CX/IdjxYzoAofhB54AxLQlKJuf1411sZzOcp8wK1z1eDXpwoKyXtOVSEvOS2kISkmmG7H9ZP9Q/fRp+jTG6P0evEunFBhek2BHr4vp7j+drESSpMPWa1EhLa8V7D0hefFwxCjVNNsg7qsyAO2y18MViTJqSvO+UPd+NkPwtvpEBevHen+rIxOI9CVHw/d2e+VzQmK0IhJZ2mJBF96bxWTHd7OZGgSM8Zee3hftpIw0aILsDEPIwsGUmnFJmgreqdjXEq6FjqXRG2xOPfTBw1PK2zlmJCuyJJCllPM177/jcwAokUgmoBBmVEpHLOVLkBxUabkeV2iJV4IwXj9soFwlJBNchQ8pg2jdyGiZwaaeNfceqHzZ1l+dXg== 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:(13230001)(7916004)(366004)(8676002)(4326008)(66946007)(66556008)(53546011)(55236004)(86362001)(316002)(38100700002)(6916009)(54906003)(6506007)(6512007)(52116002)(9686003)(7416002)(186003)(8936002)(2906002)(6486002)(5660300002)(1076003)(107886003)(38350700002)(66476007)(33656002)(26005)(83380400001)(508600001)(33716001)(6666004);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?XjfmbmGxeuIzjlWvpZQTiU35q9qI11XOrEFSy24Xh2g1NhiUbbi8DbjM1lux?= =?us-ascii?Q?nSkDXss+L7qLjEdwQeeOaZ7Thx/gRUkT9EYRtBsw/CgMSw/dShmyFFFHu+tH?= =?us-ascii?Q?8iRBBHCqSPXZjaIWMKzgMRUUApTPaB8lXCU68F1mW7STYbOV2TRGB/DcU6Mr?= =?us-ascii?Q?KCCzJEoKs6SMw3FM9LEAk26PSAZ3wxvKerMRdGFh1J5bmmk0tBDY/w4FFgH0?= =?us-ascii?Q?6aWIpQD2CINpyhv0kap1fiCaKVzpANklTa08MiSt4VdR9B+ZbMr3bmhQFl0b?= =?us-ascii?Q?FmDE4qQcfBpY8nGeDRYTEur0awYBTDrki+N/rNBal8V3cTxaUnqiWKHz03X5?= =?us-ascii?Q?kCgyag8+pUZ/V+Dfh2L82LJaQLKXpkmiuD5UrVwcOgfRKWihF2nRzSHfM9YG?= =?us-ascii?Q?bu89Y/dPBz2NAgL8EJAGMiL1mE/XsIeiKT/Di03cmXyQRf4hmwoyNJ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a9HdvV4fCvKmjr7mvurSAUfAy2hm2k?= =?us-ascii?Q?NU7io7D73b57B0xuqlrZdrOtxU4+9OUgTV8pzSmGd9EcEhfoG5WR+S32Smxb?= =?us-ascii?Q?F44EgZBO1QQ8iqYsGWDFWg/Alj4aJ0D7N1QGp4T5NneV8cM8V7tbFLiYQIvN?= =?us-ascii?Q?dnMsxS1YReKBTTuGXtc0O8oG/QZV0AApclklj7cawcJsR4r3WGLmvGhkHamm?= =?us-ascii?Q?QBPyL4Kv9DZ/U5B81S56TlSuf0/bdr9poCf1Y28NyftpAa/mePtCzwE0eJeg?= =?us-ascii?Q?61ut4XXWYauI62RglsY+mhHlLQOe8zT1IptiDHR6tfjhCvaRYy21OSVTPUmW?= =?us-ascii?Q?pdzXjbTN/sHhCgelfAkenMFPkC2E5e4kQIGkvUY8CVA05DoBikYGis0Hd6Q1?= =?us-ascii?Q?rYZPhihwuQ=3D=3D?= X-OriginatorOrg: analogixsemi.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7ef4eba5-0ddc-422a-376e-08da269bfeee X-MS-Exchange-CrossTenant-AuthSource: BY5PR04MB6739.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2022 09:14:26.8438 (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: 2h5y7Dsb29MTh0JSgqbM65WIpEarE2off2yB1SvWdC6sp2VGqIccmUz4N9yOT3gv6vQ1GvnLk0SrkPYcBNeAIQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR04MB7746 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 Mon, Apr 25, 2022 at 04:24:50PM +0800, Chen-Yu Tsai wrote: > On Fri, Apr 22, 2022 at 10:13 PM Robert Foss wrote: > > > > On Fri, 22 Apr 2022 at 16:01, Robert Foss wrote: > > > > > > On Fri, 22 Apr 2022 at 10:49, Xin Ji wrote: > > > > > > > > As V4L2_FWNODE_BUS_TYPE_PARALLEL not properly descript for DPI > > > > interface, this patch use new defined V4L2_FWNODE_BUS_TYPE_DPI for it. > > > > > > > > Fixes: fd0310b6fe7d ("drm/bridge: anx7625: add MIPI DPI input feature") > > > > Signed-off-by: Xin Ji > > > > --- > > > > drivers/gpu/drm/bridge/analogix/anx7625.c | 8 ++++---- > > > > 1 file changed, 4 insertions(+), 4 deletions(-) > > > > > > > > diff --git a/drivers/gpu/drm/bridge/analogix/anx7625.c b/drivers/gpu/drm/bridge/analogix/anx7625.c > > > > index 376da01243a3..71df977e8f53 100644 > > > > --- a/drivers/gpu/drm/bridge/analogix/anx7625.c > > > > +++ b/drivers/gpu/drm/bridge/analogix/anx7625.c > > > > @@ -1623,14 +1623,14 @@ static int anx7625_parse_dt(struct device *dev, > > > > > > > > anx7625_get_swing_setting(dev, pdata); > > > > > > > > - pdata->is_dpi = 1; /* default dpi mode */ > > > > + pdata->is_dpi = 0; /* default dsi mode */ > > > > pdata->mipi_host_node = of_graph_get_remote_node(np, 0, 0); > > > > if (!pdata->mipi_host_node) { > > > > DRM_DEV_ERROR(dev, "fail to get internal panel.\n"); > > > > return -ENODEV; > > > > } > > > > > > > > - bus_type = V4L2_FWNODE_BUS_TYPE_PARALLEL; > > > > + bus_type = 0; > > > > mipi_lanes = MAX_LANES_SUPPORT; > > > > ep0 = of_graph_get_endpoint_by_regs(np, 0, 0); > > > > if (ep0) { > > > > @@ -1640,8 +1640,8 @@ static int anx7625_parse_dt(struct device *dev, > > > > mipi_lanes = of_property_count_u32_elems(ep0, "data-lanes"); > > > > } > > > > > > > > - if (bus_type == V4L2_FWNODE_BUS_TYPE_PARALLEL) /* bus type is Parallel(DSI) */ > > > > - pdata->is_dpi = 0; > > > > + if (bus_type == V4L2_FWNODE_BUS_TYPE_DPI) /* bus type is DPI */ > > > > + pdata->is_dpi = 1; > > > > > > > > pdata->mipi_lanes = mipi_lanes; > > > > if (pdata->mipi_lanes > MAX_LANES_SUPPORT || pdata->mipi_lanes <= 0) > > > > > > Reviewed-by: Robert Foss > > > > Acked-by: Robert Foss > > Tested-by: Chen-Yu Tsai > > Confirmed this fixes the display on Juniper (Acer Chromebook Spin 311) on > mainline (next-20220422). > > Xin, in the future, please send the whole series to all recipients of > all patches listed by get_maintainers.pl, not just the recipients of > each patch. In the case of this series, they should have been sent > to all of the mailing lists (media, devicetree, dri-devel) so that > everyone has the same, full view of the patches. Hi ChenYu, OK, I'll send to all media, devicetree, dri-devel next time. Thanks, Xin > > ChenYu