Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp743548pxa; Wed, 19 Aug 2020 13:42:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOCOFdDPQUZ1POZAYaKLcW7tTgZ8xjEZFAx6Zcj3uWqpVR6Zh95vBQPkf+PH9VXEzFfo7P X-Received: by 2002:a17:907:94ce:: with SMTP id dn14mr78947ejc.351.1597869774058; Wed, 19 Aug 2020 13:42:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597869774; cv=none; d=google.com; s=arc-20160816; b=xCcsO56CdqjR3UGFQ/lCyswIyo6fct5qSTEr6TZyhxftkBxZoTGDk6V4lhwCfWhhAn mBejoxfl5VWL2xUNfpgTH+W4cuqt7LpQ6nNb3YR4MtnU/BIOCkd5UCoPuU1Hcag288zX tPpBSg1/a4mzFWdo+FhRbx3yveHcc2YQLcXJqhb75zXHMdFV3bJIqH1/KDhKxDNYQ5g0 Dbb5rnEVT/bRLYQmufIYrGSJ70YTG2DgpHYRtvPa7NU60VHqTKpQ/Z/+2QHRqLumSSG1 5IcgP6eq2/rFgRIiN4V34uCAfm07Dzk9cU0Fwn5OynRxoQYI/8t5VJmQ1HIjlIePpKhF BLSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=ITvqowA1uTdHF4rmeczr4JsEB9bywtJB5GNid6Mc7Eo=; b=w9lqXWUib9Fc1JFUNh/OccM6QzqpoqT0OiuYDTagSZvm2+MM4pOM5HNooQQ2EGWtz0 BiDOgfZSi6oCOQ5473c7owrZ+hzixkMDKlkJuTCElfNM460D3z6Ep6eF2lywrMZQ85aQ 9inPkX9XqXPpcEiymuYLndkzRNfWOjbsDsdc3Gq4ZN0VzEc+ntPQkQhLuCsDhp0MxMhN vNRBRrYMFjVaTof2RSnArbsCdn3W1a9vIC43QxZQEYFdnkI1UicSnc0lIFRv1fuwIL7h r8gFWQfo1b3E7aBV74jQUYL4vyhOK25v4pGhaOqHuVqvxR65yAfc/HHE4zW6oBfjd2SW ia4w== ARC-Authentication-Results: i=1; mx.google.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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cz8si28907edb.455.2020.08.19.13.42.28; Wed, 19 Aug 2020 13:42:54 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726896AbgHSUkB (ORCPT + 99 others); Wed, 19 Aug 2020 16:40:01 -0400 Received: from asavdk4.altibox.net ([109.247.116.15]:42652 "EHLO asavdk4.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726603AbgHSUkA (ORCPT ); Wed, 19 Aug 2020 16:40:00 -0400 Received: from ravnborg.org (unknown [188.228.123.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by asavdk4.altibox.net (Postfix) with ESMTPS id D4190804B9; Wed, 19 Aug 2020 22:39:54 +0200 (CEST) Date: Wed, 19 Aug 2020 22:39:53 +0200 From: Sam Ravnborg To: Xin Ji Cc: devel@driverdev.osuosl.org, Nicolas Boichat , Jernej Skrabec , Nicolas Boichat , Jonas Karlman , David Airlie , Neil Armstrong , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Andrzej Hajda , Laurent Pinchart , Pi-Hsun Shih , Hsin-Yi Wang , Dan Carpenter , Sheng Pan Subject: Re: [PATCH v14 0/2] Add initial support for slimport anx7625 Message-ID: <20200819203953.GA109541@ravnborg.org> References: <20200810203546.GA421906@ravnborg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200810203546.GA421906@ravnborg.org> X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=aP3eV41m c=1 sm=1 tr=0 a=S6zTFyMACwkrwXSdXUNehg==:117 a=S6zTFyMACwkrwXSdXUNehg==:17 a=kj9zAlcOel0A:10 a=e5mUnYsNAAAA:8 a=-3hZfeu0XQcix8hqga0A:9 a=CjuIK1q_8ugA:10 a=Vxmtnl_E_bksehYqCbjh:22 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Xin Ji. On Mon, Aug 10, 2020 at 10:35:46PM +0200, Sam Ravnborg wrote: > Hi Xin Ji. > > On Thu, Jul 09, 2020 at 04:31:09PM +0800, Xin Ji wrote: > > Hi all, > > > > The following series add support for the Slimport ANX7625 transmitter, a > > ultra-low power Full-HD 4K MIPI to DP transmitter designed for portable device. > > > > > > This is the v14 version, any mistakes, please let me know, I will fix it in > > the next series. > > > > Change history: > > v14: Fix comments from Sam and Nicolas > > - Check flags at drm_bridge_attach > > - Use panel_bridge instead of drm_panel > > - Fix not correct return value > > Sorry for ignoring this for so long time. > The patch applies but no longer builds. > > I could fix it locally but wanted to know if you have a later version to > be applied? I took a short look at the driver today. I noticed following code: if (!(flags & DRM_BRIDGE_ATTACH_NO_CONNECTOR)) return -EINVAL; So if the display driver do not supply the DRM_BRIDGE_ATTACH_NO_CONNECTOR then -EINVAL is returned. But then the anx7625_bridge_attach() continues and creates a connector. For a new bridge driver there should be no need for the backward compatibility - so no need to create the connector. Unless the display driver needs it - but then we should fix the display driver and not add backward compatibility code in the bridge driver. Which display driver do you expect this bridge driver to be used with? Sam > > Sam > > > > > > v13: Fix comments from Launrent Pinchart and Rob Herring > > - Picked up Rob's Reviewed-By > > - Add .detect and .get_edid interface in bridge funcs. > > > > v12: Fix comments from Hsin-Yi Wang > > - Rebase the code on kernel 5.7, fix DRM interface not match issue. > > > > v11: Fix comments from Rob Herring > > - Update commit message. > > - Remove unused label. > > > > v10: Fix comments from Rob Herring, Daniel. > > - Fix dt_binding_check warning. > > - Update description. > > > > v9: Fix comments from Sam, Nicolas, Daniel > > - Remove extcon interface. > > - Remove DPI support. > > - Fix dt_binding_check complains. > > - Code clean up and update description. > > > > v8: Fix comments from Nicolas. > > - Fix several coding format. > > - Update description. > > > > v7: > > - Fix critical timing(eg:odd hfp/hbp) in "mode_fixup" interface, > > enhance MIPI RX tolerance by setting register MIPI_DIGITAL_ADJ_1 to 0x3D. > > > > > > Xin Ji (2): > > dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter DT schema > > drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP > > > > .../bindings/display/bridge/analogix,anx7625.yaml | 95 + > > drivers/gpu/drm/bridge/analogix/Kconfig | 9 + > > drivers/gpu/drm/bridge/analogix/Makefile | 1 + > > drivers/gpu/drm/bridge/analogix/anx7625.c | 1939 ++++++++++++++++++++ > > drivers/gpu/drm/bridge/analogix/anx7625.h | 391 ++++ > > 5 files changed, 2435 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml > > create mode 100644 drivers/gpu/drm/bridge/analogix/anx7625.c > > create mode 100644 drivers/gpu/drm/bridge/analogix/anx7625.h > > > > -- > > 2.7.4 > > > > _______________________________________________ > > dri-devel mailing list > > dri-devel@lists.freedesktop.org > > https://lists.freedesktop.org/mailman/listinfo/dri-devel > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel