Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1523348ybh; Thu, 23 Jul 2020 10:58:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycpTkaciGifgZIeoS5jWvZXJDLux2EqYYKMxeUXZpUU1aVvMCJ/AkgfAHp7zfdeofB2W2J X-Received: by 2002:a50:af86:: with SMTP id h6mr3367345edd.132.1595527129651; Thu, 23 Jul 2020 10:58:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595527129; cv=none; d=google.com; s=arc-20160816; b=nyPQccr4lOBM7Hzc8GWzrw7bgPSfcU8bvzFTc3fZdYH6dOiOz0MS7zbFWwmMkkg6Ew QM++pIcIcU3swFAIy0G0xYYjn6gAKGsoFTu6jrENpdM1LLXbs3Tg6Lzj/CMHY7iLU/jR gobVV6CpSGGEeBm3iEK7De6XTCAHEIfCv8q3HDEHArTZrBMVsBjVWNAoc/GfAsWSZOk6 6PnJ09qiC+RHkYZ6uX2+Bxwm/NhbHXXH1/mn3dU/XFMlCmsL+fvbqvTeBN03QfM71r/p FcOcrtE68vacWfR5wsNIgtsWp2bmsA5ZLngn7Vi3hClMRBhi5tQM3ZArmjAscKAQAhCQ Y8cA== 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=LatV4wJPmhuuRpuPDp60yB6PtdwChfxffIyNVC6yNyY=; b=XwZKksoFfkl9jSHXOuPANPHBhF3AOH3PYbSogAbBP03B1Vy14rO1eBCd5c+2E1MIy6 7N9b/fufvSb5MfurgV+V2f5AWEU7Jxvndc0fKhU7eGaza2UNNXGRJ8e3qVifnE6hIo6P 4WepM/oEqUCr3fiEKUYcLzjcUfzabis2gUpodcU4sKOj6SsNL80V43+tC674zIZtjsHj PfZ8Z21VDwTY94jxtcaOBYFQjquYdEl42fmuJLpWYVwR56KE+rOZHZm1TGyVFGM+zWMr sLl+nLIB0gcYyg1kJhKoG86lfjulpkJBfURuXl3YcrfETDHGzyEQAJTeaCl+NwVSOI/R QVyA== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g8si2258440ejs.512.2020.07.23.10.58.25; Thu, 23 Jul 2020 10:58:49 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728057AbgGWRz5 (ORCPT + 99 others); Thu, 23 Jul 2020 13:55:57 -0400 Received: from mail-io1-f67.google.com ([209.85.166.67]:38857 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726666AbgGWRz5 (ORCPT ); Thu, 23 Jul 2020 13:55:57 -0400 Received: by mail-io1-f67.google.com with SMTP id l1so7150102ioh.5; Thu, 23 Jul 2020 10:55:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=LatV4wJPmhuuRpuPDp60yB6PtdwChfxffIyNVC6yNyY=; b=kHO8hDqOsjyAgMIdQVkgNujSSOsvkGXZxVYF/ro+7yhLtoRV71sJyD8JWogBpfE7KA lfyMWOUU+wnHIbJKDrSXk9FXhc4dD30Vi1TPI45KsdLeKaRNMZ2koWDkBhDwe9Ijk/jY 0JupCVQdAKAkjJHJlxv3bYxlbnn56av124ko3e5KHSj/KcHAxa6Jqzjt442XiVrPi9G8 vgWyUVo5PSV6ek7bJnJfD5CgaHHY/4Vw/oczVRcGMkdxvWnYizid4/YvYEnUgUAuSvHM ARK0VwQYFUEK0YvtW29jIKLKsKNOu6ugiGdtjyLSjBwGi6PzkMdX4eFNbzwCIyMpbF07 K9lw== X-Gm-Message-State: AOAM532PiKdgXj/9jljyHKTV19FDNS6KCEdisDCNZPNvCk8klh5jVKY7 QlNZHSJ9olYhXCbaLY2yBP1PvW3hLw== X-Received: by 2002:a02:7419:: with SMTP id o25mr6144155jac.4.1595526955876; Thu, 23 Jul 2020 10:55:55 -0700 (PDT) Received: from xps15 ([64.188.179.252]) by smtp.gmail.com with ESMTPSA id x5sm1808340iol.36.2020.07.23.10.55.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jul 2020 10:55:55 -0700 (PDT) Received: (nullmailer pid 607657 invoked by uid 1000); Thu, 23 Jul 2020 17:55:52 -0000 Date: Thu, 23 Jul 2020 11:55:52 -0600 From: Rob Herring To: Sumit Semwal Cc: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Mauro Carvalho Chehab , "David S . Miller" , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, Bjorn Andersson Subject: Re: [PATCH v2 1/2] dt-bindings: display: panel: Add bindings for Tianma nt36672a panel Message-ID: <20200723175552.GA602630@bogus> References: <20200722055816.20768-1-sumit.semwal@linaro.org> <20200722055816.20768-2-sumit.semwal@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200722055816.20768-2-sumit.semwal@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 22, 2020 at 11:28:15AM +0530, Sumit Semwal wrote: > The nt36672a panel from Tianma is a FHD+ panel with a resolution of 1080x2246 > and 6.18 inches size. It is found in some of the Poco F1 phones. > > Signed-off-by: Sumit Semwal > Change-Id: I401dfbfe23ff2d806c956002f45e349cb9688c16 You know better... > --- > v2: remove ports node, making port@0 directly under panel@0 node. > --- > .../display/panel/tianma,nt36672a.yaml | 104 ++++++++++++++++++ > 1 file changed, 104 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/panel/tianma,nt36672a.yaml > > diff --git a/Documentation/devicetree/bindings/display/panel/tianma,nt36672a.yaml b/Documentation/devicetree/bindings/display/panel/tianma,nt36672a.yaml > new file mode 100644 > index 000000000000..cb1799fbbd32 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/panel/tianma,nt36672a.yaml > @@ -0,0 +1,104 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/panel/tianma,nt36672a.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Tianma model NT36672A DSI Panel display driver > + > +maintainers: > + - Sumit Semwal > + > +description: | > + The nt36672a panel from Tianma is a FHD+ LCD display panel with a resolution > + of 1080x2246. It is a video mode DSI panel. > + > +allOf: > + - $ref: panel-common.yaml# > + > +properties: > + compatible: > + const: tianma,nt36672a > + > + reg: > + description: DSI virtual channel of the peripheral > + > + 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 > + > + pinctrl-names: > + description: Pinctrl for panel active and suspend > + > + pinctrl-0: > + description: Active pinctrls > + > + pinctrl-1: > + description: Suspend pinctrls > + > + port@0: Just 'port' as there can only be 1 in this case. You can do just: 'port: true' as panel-common.yaml already has a definition. > + type: object > + description: DSI input port driven by master DSI > + properties: > + reg: > + const: 0 > + > + required: > + - reg > + > +required: > + - compatible > + - reg > + - vddi0-supply > + - vddpos-supply > + - vddneg-supply > + - reset-gpios > + - pinctrl-names > + - pinctrl-0 > + - pinctrl-1 > + - port@0 > + > +unevaluatedProperties: false > + > +examples: > + - |+ > + #include > + dsi0 { > + #address-cells = <1>; > + #size-cells = <0>; > + > + panel@0 { > + compatible = "tianma,nt36672a"; > + reg = <0>; > + vddi0-supply = <&vreg_l14a_1p88>; > + vddpos-supply = <&lab>; > + vddneg-supply = <&ibb>; > + > + reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>; > + > + pinctrl-names = "panel_active", "panel_suspend"; > + pinctrl-0 = <&sde_dsi_active>; > + pinctrl-1 = <&sde_dsi_suspend>; > + > + #address-cells = <1>; > + #size-cells = <0>; > + port@0 { > + reg = <0>; > + tianma_nt36672a_in_0: endpoint { > + remote-endpoint = <&dsi0_out>; > + }; > + }; > + }; > + }; > + > +... > -- > 2.27.0 >