Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp899971pxb; Tue, 1 Feb 2022 12:45:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJyD64OPXUIsHGxKroYnC9/6YHy3v3FfkjzDl+Kk5VcU+y4QeHn8uusZfaTNiEb15bEPjfji X-Received: by 2002:a17:902:b497:: with SMTP id y23mr26654663plr.22.1643748343216; Tue, 01 Feb 2022 12:45:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643748343; cv=none; d=google.com; s=arc-20160816; b=vgDQ2ds4/HQXFhk8bLiE3qt/WReEwGeyFMZMgDFfgtkpGrCt2wviH9BWDBEyEYPkzU mYrYxIE66s5kVKC+kfO69WQy8hpUiB1TyRoor2wl9eToTtSzqt3s7bqX4n+eI6zhhp+U KiFhw54r248GS8ekHzIIoa36kW45OUxzaSeDIsQWPchSrQ3Al9gIdzvZUq5Dqv4R5K5o n6AKGrS3N90GRfWzh9P7QXNo94gwRHu2KzCpN2gUrV1aVjmAchx+8pIr7h6ur8Advpfa jcFfkLLfDHM4qV4ZEhLaAN0GELqahoazppkRsmzsLvBDDTG/Vc9PJqk8G2ce+ctuajsM hZRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=pq2lioXdRgfbbAgrjb+0HwzuycY8mIpT20OJghTqzwk=; b=jfRFIFRy6nxns1p2OTc+QMxNXuDvf283o+ltT2X4W+uzt5u+bvQwQzb6cQtm5fhsUL 18s+yUho8PdWJ1HsqURSDeWzJYn9GkVlFwh7TAcuZenJdxW/LJg5KOGJ2ZjeX4uOoMYI AoeSnguxTHk7UqiSnpFNUk+ZDGu8GOQIT17X+BcI45r2V27FpHEqd5+/elzhkIEy2FrP KlE2aPjJ5ZYWw0GzBtBO4Q/jWANTljfcFvfF2cDaMQUE9NQkuYCLhETcwk5Ppvk3LpYE xPeEjbR3lnvOETlGTcZDELLU/4Vr9h58Po6ZxztJmE7gecOKa/vVQQ6ZEYMN7qP8J0xA gtpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="TV/ZHqyo"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y10si15912215pfl.314.2022.02.01.12.45.31; Tue, 01 Feb 2022 12:45:43 -0800 (PST) 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=@linaro.org header.s=google header.b="TV/ZHqyo"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380541AbiAaQhS (ORCPT + 99 others); Mon, 31 Jan 2022 11:37:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1380516AbiAaQhP (ORCPT ); Mon, 31 Jan 2022 11:37:15 -0500 Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E06FC061714 for ; Mon, 31 Jan 2022 08:37:15 -0800 (PST) Received: by mail-pg1-x52a.google.com with SMTP id g20so12686400pgn.10 for ; Mon, 31 Jan 2022 08:37:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pq2lioXdRgfbbAgrjb+0HwzuycY8mIpT20OJghTqzwk=; b=TV/ZHqyoB8BfyZubWHTiSyaTd4Bua2KKp6Wgz7Rx3QwKn5TZ06c6vsokHA3UGOLxZL qWV/9fXEn3FqJLBb3Qro2sPIGrnMgLRjPXlsEu8tbjg4Ou23uszuDYI7LvzZ3aF6LON4 WrjsyTSo3K4SZESxazXNyefQwMNEhKeNcgT6KZcuwzUeOiver0zXC9qBU/iDjf7xq/mA Ljl1sNSX07CLemNmdnB9vnLl3icovO3JsF/Tuj4xu/FRcgBIxeKyuonmWfJCDHiJIs8q L6XgOVvpf3m15iqIe762QVHp/+IDzYUDntA2QuUVFV+fW9BttgARPXmkbW3SYIcp/AmN C3AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pq2lioXdRgfbbAgrjb+0HwzuycY8mIpT20OJghTqzwk=; b=eVSlXhjhu/o3FDGG+SiwSnacxVzwGDZM0iDv+1xZKzXqaxAI9DkUfi5cZ2iSG1RbvY 1Hf+Zo+LT60IsMaKDNmGxTWgbCQFEax2t9SU+5BtY+3vY8FPKKrM+/otmdVz+HQmD8d9 Z4m9HbMPnxBPkpI02A1LrK9jETyC+IVjqoH65ysQ1W2qRzcZVi8i2Ap3ByHFV0kK7mXA EO7AC1vWCxI0g06dXI617qMH1hoWEXNSoAaGW+Um2n9RavhIkSX6GyOzJEkDANjdV17o zBnXLM9sukOcbZcFGPmpWHtiZo4lRN8ly89uBI3fSJ6bbrwitdkbGJxrrpFxRTubBCEs JN2w== X-Gm-Message-State: AOAM531HaIbUog9Ot1H9gQbn/B/527udVreNFskrexiRdbHfHlpgFQqb IcDxL1yQtBb4G3um6yaKa1nuCtvclRpUL+18+38Itg== X-Received: by 2002:aa7:8490:: with SMTP id u16mr20859502pfn.1.1643647035064; Mon, 31 Jan 2022 08:37:15 -0800 (PST) MIME-Version: 1.0 References: <20220114091502.333083-1-allen.chen@ite.com.tw> In-Reply-To: From: Robert Foss Date: Mon, 31 Jan 2022 17:37:03 +0100 Message-ID: Subject: Re: [PATCH v11] drm/bridge: add it6505 driver To: AngeloGioacchino Del Regno Cc: allen , Kenneth Hung , Jernej Skrabec , Jau-Chih Tseng , David Airlie , "open list:DRM DRIVERS" , Neil Armstrong , open list , Jonas Karlman , Hermes Wu , Laurent Pinchart , Andrzej Hajda , Hsin-yi Wang , Hsin-Yi Wang Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 20 Jan 2022 at 16:25, AngeloGioacchino Del Regno wrote: > > Il 14/01/22 10:14, allen ha scritto: > > This adds support for the iTE IT6505. > > This device can convert DPI signal to DP output. > > > > From: Allen Chen > > Tested-by: Hsin-yi Wang > > Signed-off-by: Hermes Wu > > Signed-off-by: Allen Chen > > --- > > v10 -> v11 : remove drm_bridge_new_crtc_state > > --- > > drivers/gpu/drm/bridge/Kconfig | 8 + > > drivers/gpu/drm/bridge/Makefile | 1 + > > drivers/gpu/drm/bridge/ite-it6505.c | 3352 +++++++++++++++++++++++++++ > > 3 files changed, 3361 insertions(+) > > create mode 100644 drivers/gpu/drm/bridge/ite-it6505.c > > > > ...snip... > > > +static const struct of_device_id it6505_of_match[] = { > > + { .compatible = "ite,it6505" }, > > + { } > > +}; > > If you want to have a DT compatible and DT properties, you have to also add > dt-bindings (yaml) for this driver, otherwise, any SoC/device DT will fail > the dt binding check.... So, please, add that. Let me second this. A dt-binding is needed for this driver to be complete, it functions as both documentation and a way to test the DTS that use this device, so it is really important. > > For the driver by itself, though: > > Acked-by: AngeloGioacchino Del Regno > > > + > > +static struct i2c_driver it6505_i2c_driver = { > > + .driver = { > > + .name = "it6505", > > + .of_match_table = it6505_of_match, > > + .pm = &it6505_bridge_pm_ops, > > + }, > > + .probe = it6505_i2c_probe, > > + .remove = it6505_i2c_remove, > > + .shutdown = it6505_shutdown, > > + .id_table = it6505_id, > > +}; > > + > > +module_i2c_driver(it6505_i2c_driver); > > + > > +MODULE_AUTHOR("Allen Chen "); > > +MODULE_DESCRIPTION("IT6505 DisplayPort Transmitter driver"); > > +MODULE_LICENSE("GPL v2"); > > >