Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2201313ybh; Mon, 9 Mar 2020 00:50:23 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvwbxrzPm2jsSBPOR/aQQxOjVtw2Xphyte97Bzj7nYAGIwN/XeFtRpqegRitkt7roBcqGB7 X-Received: by 2002:aca:5ad5:: with SMTP id o204mr10036572oib.2.1583740223229; Mon, 09 Mar 2020 00:50:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583740223; cv=none; d=google.com; s=arc-20160816; b=YRXU3I8hYp5JwTeSnjL7NxQCWkdFf02k+JQSaJa6SP6pQ7bek9YnQSCQ4fnnEXC7sS jgKSb35KDIQqMrb5BcQGUKjMtdB2xjix2wh3IkCQHw/oH5WpVZPIr698qxxYwi1oiNQx j/xLuTnTCRWfLZcRKL1Km7vjqEutmcaGWzqa5z2X/VYgkTr018JGQr3XkEg8ARYKCZUP 6Kj7YnyCEf5ZzEU7fbQ7LN4X/A2OP/F5xLuLUnatjqWLhfB9HejT1dX3+D5z6mhvksOI tzeb21/cPLv39QHvwCnUQ/bZ8u6w7GdLIFexTFImtYEAFkVuPb3VqWyZQGdX3u62dDvL vIJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=tGvHVL+X8ENX8ZlFkJ4aTUiRtrm/fcY3/mfmmVzMIbM=; b=yVDrao4LfSbQ6kxnVRJSFXpnvaX1jFIKYqct/upopMB65p8N4DMkn95LtZFhy8PlK1 0u9bXwEC2PP83lF4r1sIOqUmBY/IoT8g7ZgKil4wH5XpnqVDQhLgC1Iz6NPjuooJ/RVU RXmJOEHQcDh9o0JCV7aLMCwA5kiNrUMCmWjeHBezH6v16LaLCjhP4Tw0kkFXSBDMvB4e Nsvk8r3aLM656/B1XjbLJUoNU+4GNGZuh7BxYzN17Z5YQ3KrKgN9HGCB0RsAKPPDEo85 sGDP+j0teh3u1CI/aZixcpMQZYciq0QTqOzKNjK5Bcxh8CVATXtf839Rhk2S0DEDxlJP eG6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Jq7oN9z+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k137si321920oih.226.2020.03.09.00.50.11; Mon, 09 Mar 2020 00:50:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Jq7oN9z+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726360AbgCIHtj (ORCPT + 99 others); Mon, 9 Mar 2020 03:49:39 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:42892 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725796AbgCIHtj (ORCPT ); Mon, 9 Mar 2020 03:49:39 -0400 Received: by mail-ed1-f67.google.com with SMTP id n18so10866990edw.9 for ; Mon, 09 Mar 2020 00:49:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tGvHVL+X8ENX8ZlFkJ4aTUiRtrm/fcY3/mfmmVzMIbM=; b=Jq7oN9z+T3yHMHlBWmtg/oPw3NMpUuf+HHE/AEB6ve19jbPtvt5AEZ3WDPvkS0xNRJ TxPi+1T+CforxzUbaOpceljyeEB1qThb+1+7Yv5FETpD/6MLNoUiLzGPTdjvfyt2N7yA 204omxFy4IXZZH2/4KFT1X0Gv3NC+THh/SuOk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tGvHVL+X8ENX8ZlFkJ4aTUiRtrm/fcY3/mfmmVzMIbM=; b=AI/1f7GPf01fgZ5s2qFg/s2MTWSyqbZrf10N3od/UvOHJQPNdPCs2luYIAzyNG6QmM wmDt+R0umIGyO38YrUJHUvywGMVkBoABotO9SyUZVoSvPM1G2Kz4YI7kjN+r+wgHep2U gXykKgvQtALRuvYhX0jr9vJ76gYjqd0SOKDAZx0anGh8D2m9Yr8WiLqf72BfdyQBjtB1 cWH4ymAXsVN1itEXj7eZLA5HCQ5aETJGbRbEz6gBZqs+dY/iX2SKSCNb6M7RM9jIebAs lSOhatAVGpjv1QEsfLhw1tzNMBu0IJAWcR8q7ngkJYwyaD7XY+S46ie3eu6zdAc3i79r zOxQ== X-Gm-Message-State: ANhLgQ1QIFUbCWMYErGrylIwCp4JjOceu1rxtciNpAKJZFqC9+ZyBvQE R5cg0T9XDrQnKwYROXxWIE9okGCcWdbxWidsEj5XFg== X-Received: by 2002:a17:907:2154:: with SMTP id rk20mr13348435ejb.322.1583740177890; Mon, 09 Mar 2020 00:49:37 -0700 (PDT) MIME-Version: 1.0 References: <1583735298-19266-1-git-send-email-allen.chen@ite.com.tw> <1583735298-19266-4-git-send-email-allen.chen@ite.com.tw> In-Reply-To: <1583735298-19266-4-git-send-email-allen.chen@ite.com.tw> From: Pi-Hsun Shih Date: Mon, 9 Mar 2020 15:49:01 +0800 Message-ID: Subject: Re: [PATCH v7 3/3] drm/bridge: add it6505 driver To: allen Cc: Jau-Chih Tseng , Jitao Shi , Yilun Lin , Andrzej Hajda , Neil Armstrong , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Matthias Brugger , open list , "open list:DRM DRIVERS" , "moderated list:ARM/Mediatek SoC support" , "moderated list:ARM/Mediatek SoC support" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi allen, On Mon, Mar 9, 2020 at 2:32 PM allen wrote: > > From: Allen Chen > > This adds support for the iTE IT6505. > This device can convert DPI signal to DP output. > > Signed-off-by: Jitao Shi > Signed-off-by: Yilun Lin > Signed-off-by: Allen Chen > Signed-off-by: Pi-Hsun Shih > --- > drivers/gpu/drm/bridge/Kconfig | 11 +- > drivers/gpu/drm/bridge/Makefile | 6 +- > drivers/gpu/drm/bridge/ite-it6505.c | 3022 +++++++++++++++++++++++++++++++++++ > 3 files changed, 3035 insertions(+), 4 deletions(-) > create mode 100644 drivers/gpu/drm/bridge/ite-it6505.c > > diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig > index aaed234..ff81681 100644 > --- a/drivers/gpu/drm/bridge/Kconfig > +++ b/drivers/gpu/drm/bridge/Kconfig > @@ -38,8 +38,15 @@ config DRM_DISPLAY_CONNECTOR > on ARM-based platforms. Saying Y here when this driver is not needed > will not cause any issue. > > -config DRM_LVDS_CODEC > - tristate "Transparent LVDS encoders and decoders support" > +config DRM_ITE_IT6505 > + tristate "ITE IT6505 DP bridge" > + depends on OF > + select DRM_KMS_HELPER > + help > + ITE IT6505 DP bridge chip driver. > + > +config DRM_LVDS_ENCODER > + tristate "Transparent parallel to LVDS encoder support" > depends on OF > select DRM_KMS_HELPER > select DRM_PANEL_BRIDGE > diff --git a/drivers/gpu/drm/bridge/Makefile b/drivers/gpu/drm/bridge/Makefile > index 6fb062b..e6c80ab 100644 > --- a/drivers/gpu/drm/bridge/Makefile > +++ b/drivers/gpu/drm/bridge/Makefile > @@ -1,7 +1,9 @@ > # SPDX-License-Identifier: GPL-2.0 > obj-$(CONFIG_DRM_CDNS_DSI) += cdns-dsi.o > -obj-$(CONFIG_DRM_DISPLAY_CONNECTOR) += display-connector.o > -obj-$(CONFIG_DRM_LVDS_CODEC) += lvds-codec.o > +obj-$(CONFIG_DRM_DUMB_VGA_DAC) += dumb-vga-dac.o > +obj-$(CONFIG_DRM_GENERIC_GPIO_MUX) += generic-gpio-mux.o > +obj-$(CONFIG_DRM_ITE_IT6505) += ite-it6505.o > +obj-$(CONFIG_DRM_LVDS_ENCODER) += lvds-encoder.o > obj-$(CONFIG_DRM_MEGACHIPS_STDPXXXX_GE_B850V3_FW) += megachips-stdpxxxx-ge-b850v3-fw.o > obj-$(CONFIG_DRM_NXP_PTN3460) += nxp-ptn3460.o > obj-$(CONFIG_DRM_PARADE_PS8622) += parade-ps8622.o There are unrelated changes to it6505 in the Makefile and Kconfig, please remove them.