Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp115857pxu; Wed, 14 Oct 2020 22:18:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvB8w8LbREQNN9arsOjMnHCQKwL7uNZBPQrKU/ruX6CV4LKU7tihA/PMeQx9yREQyP5mlL X-Received: by 2002:a17:907:43c6:: with SMTP id i6mr2552373ejs.207.1602739137510; Wed, 14 Oct 2020 22:18:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602739137; cv=none; d=google.com; s=arc-20160816; b=FhJubpJCHYHBKgUZzpCKdulEmApziI6snXgBly1Vqbj35xck/qPnBsrmM8JQxkZC0D ViB/Z1iW3MoaQHqSly9Lz2Rma6jltnFbVXqPuD1U9tHWU/X1CWJDRZgq7Zyf6i50/uzA C7X1kRRwlXugO7bpcnB6m5XsTdbTnNdElODSxc6BZLownC/QWL5ObeK90rVlsQSsrC3x bOk24e/o7ft5CMGu1tW8O6UgWWFljWrVodJwl9HGIit5HgDM8laPD02YzL2Ns7hmxgOG Bk5zE3ECAwyKkCElTPVByC9GglJyYvZWaj72B83jvUA5wdOees+yqUomAsS8rYdIXWO5 iEeA== 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=ARgqhuWJgBKVPlDxiUpgFCXHBc6+vc3xWY2ELMDeV+E=; b=oHTKTQiqVmQh10Nql3Nfmue8HRjUU538VcSdAyTnsujpitm1uPLrySxwnd/4f3z0GB 8/3ndLJSh1uPoUlL4HDrjEBIGwtWGcEYaH2CCo3A0klbqLQmfsRXpL0xywq9ttICuZxe yn8dC1QaHIWFELBhbtUxY/LhrADNYsuDml09nc1sxffFQzsASKXfuNQ0HYPU652FCS+M JMC07vDQ8V5Gcpe0udGjmi8WPNO9oSU7SIo6Wujk355logWHZESGWC/sHXI9MPTdrThb i0C/8HNMGmoVEGKfeCT5RkQviFaCBy1k/rXDgbGnhVDfkiaoW2Js+ZfrArOk7zs4x6Q9 uOiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jlZHqT6s; 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 u18si1368118edf.140.2020.10.14.22.18.34; Wed, 14 Oct 2020 22:18:57 -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=@linaro.org header.s=google header.b=jlZHqT6s; 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 S1729701AbgJOE6S (ORCPT + 99 others); Thu, 15 Oct 2020 00:58:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726392AbgJOE6R (ORCPT ); Thu, 15 Oct 2020 00:58:17 -0400 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C480C0613D2 for ; Wed, 14 Oct 2020 21:58:16 -0700 (PDT) Received: by mail-lj1-x241.google.com with SMTP id x16so1789714ljh.2 for ; Wed, 14 Oct 2020 21:58:15 -0700 (PDT) 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=ARgqhuWJgBKVPlDxiUpgFCXHBc6+vc3xWY2ELMDeV+E=; b=jlZHqT6sNfNMWBuwznhHHdxyJ0c02U+o6Csoo0lyR4588J9wbAkQfzLC28PFD9lClq XsyTQNQiPnDGMbV1qthOuX4AIrFoOUVD5FiRIBU/zVODoGK/t06K0emws94Pk4viNbsV u7BtZtk9paNaDDZSB2g8lhjvrcoHwBRIwFuO/vpZDUD42hL6LAT+u9yaup1Wpl6fMmVg 3/HJr43CdGGIKTBEdw5N2+0UioNiRw94BwhPdn/kFVm0fzcLxqydH0YvWLlZGf00qMwX yABsUFpk67+29VKYaAe6GC/QVN3DjEol/X7BtcZ4CMQiMUMytMviNmY3OyCjcJspqcom WYHA== 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=ARgqhuWJgBKVPlDxiUpgFCXHBc6+vc3xWY2ELMDeV+E=; b=XoiiGietS4kz8+Ipv3pJsmyLoc6E6yNTBOCjc+LwzoS22WazEQt+H1dJgAZd0sc3t9 Rx2imhMV/E8jAc3fedkR+NdEupmc6CbZlgqRC47PF5kTLPodrCKPxtQXRUwiC/xjBJ5d 4qBaCPeMLAbBv84cudRsBeggCUWU1tm6kfQJA09jHHSjX8+kqTs7xH4O4YlZJ+MhnyhN upjftg0EmTl5QvtcYldfQ7tVsJIgmH55nA6tFKgw2r+Lute2kyrAwevUhPgwQGYxIANW 1dPKVmn2mrR+sNFc3esscNKJSJo7XgDLQpJIN1LIrC0h3bClub/9LrSvLE32iTmXuug9 Tx5w== X-Gm-Message-State: AOAM531hoBjDpZ+OwnJfOagZZHCpF2pD6xd1gT2UMx5TGJito1TKMcro 9MyCj1yFBEIu4Kq1x/aeS1GgZhximOsPmPr3UqRLig== X-Received: by 2002:a2e:88cb:: with SMTP id a11mr585052ljk.304.1602737894449; Wed, 14 Oct 2020 21:58:14 -0700 (PDT) MIME-Version: 1.0 References: <20200902064407.30712-1-sumit.semwal@linaro.org> <20200902064407.30712-2-sumit.semwal@linaro.org> <20201014184443.GA835495@ravnborg.org> In-Reply-To: <20201014184443.GA835495@ravnborg.org> From: Sumit Semwal Date: Thu, 15 Oct 2020 10:28:03 +0530 Message-ID: Subject: Re: [PATCH v7 1/2] dt-bindings: display: panel: Add bindings for Novatek nt36672a To: Sam Ravnborg Cc: Thierry Reding , devicetree@vger.kernel.org, David Airlie , LKML , DRI mailing list , Bjorn Andersson , Mauro Carvalho Chehab , "David S . Miller" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sam, On Thu, 15 Oct 2020 at 00:14, Sam Ravnborg wrote: > > Hi Sumit. > On Wed, Sep 02, 2020 at 12:14:06PM +0530, Sumit Semwal wrote: > > Novatek nt36672a is a display driver IC that can drive DSI panel. It > > is also present in the Tianma video mode panel, which is a FHD+ panel > > with a resolution of 1080x2246 and 6.18 inches size. It is found in > > some of the Poco F1 phones. > > > > This patch adds the display driver for the IC, with support added for > > this tianma fhd video mode panel. > > > > Signed-off-by: Sumit Semwal > > Reviewed-by: Rob Herring > Reviewed-by: Sam Ravnborg > I assume you will apply the patch yourself. Thanks, I will. > > Sam Best, Sumit. > > > > --- > > v2: remove ports node, making port@0 directly under panel@0 node. > > v3: updated to replace port@0 to just 'port'. > > v5: renamed to novatek,nt36672a, since the binding is for the IC and not > > the panel. > > v6: v5 review comments incorporated. > > - added enum for the compatible part, since it can be extended in > > future. > > - few cosmetic updates. > > --- > > .../display/panel/novatek,nt36672a.yaml | 87 +++++++++++++++++++ > > 1 file changed, 87 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml > > > > diff --git a/Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml b/Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml > > new file mode 100644 > > index 000000000000..d2170de6b723 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml > > @@ -0,0 +1,87 @@ > > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/display/panel/novatek,nt36672a.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Novatek NT36672A based DSI display Panels > > + > > +maintainers: > > + - Sumit Semwal > > + > > +description: | > > + The nt36672a IC from Novatek is a generic DSI Panel IC used to drive dsi > > + panels. > > + Right now, support is added only for a Tianma FHD+ LCD display panel with a > > + resolution of 1080x2246. It is a video mode DSI panel. > > + > > +allOf: > > + - $ref: panel-common.yaml# > > + > > +properties: > > + compatible: > > + items: > > + - enum: > > + - tianma,fhd-video > > + - const: novatek,nt36672a > > + description: This indicates the panel manufacturer of the panel that is > > + in turn using the NT36672A panel driver. This compatible string > > + determines how the NT36672A panel driver is configured for the indicated > > + panel. The novatek,nt36672a compatible shall always be provided as a fallback. > > + > > + reset-gpios: > > + description: phandle of gpio for reset line - This should be 8mA, gpio > > + can be configured using mux, pinctrl, pinctrl-names (active high) > > + > > + vddio-supply: > > + description: phandle of the regulator that provides the supply voltage > > + Power IC supply > > + > > + vddpos-supply: > > + description: phandle of the positive boost supply regulator > > + > > + vddneg-supply: > > + description: phandle of the negative boost supply regulator > > + > > + reg: true > > + port: true > > + > > +required: > > + - compatible > > + - reg > > + - vddi0-supply > > + - vddpos-supply > > + - vddneg-supply > > + - reset-gpios > > + - port > > + > > +unevaluatedProperties: false > > + > > +examples: > > + - |+ > > + #include > > + > > + dsi0 { > > + #address-cells = <1>; > > + #size-cells = <0>; > > + > > + panel@0 { > > + compatible = "tianma,fhd-video", "novatek,nt36672a"; > > + reg = <0>; > > + vddi0-supply = <&vreg_l14a_1p88>; > > + vddpos-supply = <&lab>; > > + vddneg-supply = <&ibb>; > > + > > + reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>; > > + > > + #address-cells = <1>; > > + #size-cells = <0>; > > + port { > > + tianma_nt36672a_in_0: endpoint { > > + remote-endpoint = <&dsi0_out>; > > + }; > > + }; > > + }; > > + }; > > + > > +... > > -- > > 2.28.0 > > > > _______________________________________________ > > dri-devel mailing list > > dri-devel@lists.freedesktop.org > > https://lists.freedesktop.org/mailman/listinfo/dri-devel