Message ID | 20231222110710.19397-2-quic_riteshk@quicinc.com |
---|---|
State | New |
Headers | show |
Series | Add support for Truly NT36672E LCD DSI panel | expand |
On 22/12/2023 12:07, Ritesh Kumar wrote: > Document Truly NT36672E FHD+ LCD DSI panel. > > Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com> > --- > .../display/panel/truly,nt36672e.yaml | 66 +++++++++++++++++++ > 1 file changed, 66 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/panel/truly,nt36672e.yaml > > diff --git a/Documentation/devicetree/bindings/display/panel/truly,nt36672e.yaml b/Documentation/devicetree/bindings/display/panel/truly,nt36672e.yaml > new file mode 100644 > index 000000000000..39ab05c5b103 > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/panel/truly,nt36672e.yaml > @@ -0,0 +1,66 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/panel/truly,nt36672e.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Truly NT36672E LCD DSI Panel > + > +maintainers: > + - Ritesh Kumar <quic_riteshk@quicinc.com> > + > +allOf: > + - $ref: panel-common.yaml# > + > +properties: > + compatible: > + const: truly,nt36672e Eee? This is existing Novatek, isn't it? > + > + reg: > + maxItems: 1 > + description: DSI virtual channel > + > + vddi-supply: true > + avdd-supply: true > + avee-supply: true > + port: true > + reset-gpios: true > + backlight: true > + > +additionalProperties: false This goes after required:. Best regards, Krzysztof
Hi Krzysztof, >-----Original Message----- >From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> >Sent: Friday, December 22, 2023 9:02 PM >To: Ritesh Kumar (QUIC) <quic_riteshk@quicinc.com>; dri- >devel@lists.freedesktop.org; devicetree@vger.kernel.org; linux- >kernel@vger.kernel.org >Cc: neil.armstrong@linaro.org; Jessica Zhang (QUIC) ><quic_jesszhan@quicinc.com>; sam@ravnborg.org; >maarten.lankhorst@linux.intel.com; mripard@kernel.org; >tzimmermann@suse.de; airlied@gmail.com; daniel@ffwll.ch; >robh+dt@kernel.org; krzysztof.kozlowski+dt@linaro.org; conor+dt@kernel.org; >Abhinav Kumar (QUIC) <quic_abhinavk@quicinc.com>; Rajeev Nandan (QUIC) ><quic_rajeevny@quicinc.com>; Vishnuvardhan Prodduturi (QUIC) ><quic_vproddut@quicinc.com> >Subject: Re: [v1 1/2] dt-bindings: display: panel: Add Truly NT36672E LCD DSI >panel > >WARNING: This email originated from outside of Qualcomm. Please be wary of >any links or attachments, and do not enable macros. > >On 22/12/2023 12:07, Ritesh Kumar wrote: >> Document Truly NT36672E FHD+ LCD DSI panel. >> >> Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com> >> --- >> .../display/panel/truly,nt36672e.yaml | 66 +++++++++++++++++++ >> 1 file changed, 66 insertions(+) >> create mode 100644 >> Documentation/devicetree/bindings/display/panel/truly,nt36672e.yaml >> >> diff --git >> a/Documentation/devicetree/bindings/display/panel/truly,nt36672e.yaml >> b/Documentation/devicetree/bindings/display/panel/truly,nt36672e.yaml >> new file mode 100644 >> index 000000000000..39ab05c5b103 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/display/panel/truly,nt36672e.y >> +++ aml >> @@ -0,0 +1,66 @@ >> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause %YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/display/panel/truly,nt36672e.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Truly NT36672E LCD DSI Panel >> + >> +maintainers: >> + - Ritesh Kumar <quic_riteshk@quicinc.com> >> + >> +allOf: >> + - $ref: panel-common.yaml# >> + >> +properties: >> + compatible: >> + const: truly,nt36672e > >Eee? This is existing Novatek, isn't it? This is novatek nt36672e panel. Existing novatek is nt36672a panel. They differ in resolution, power on/off sequence (init sequence, delays), panel reset sequence. NT36672E panel supports refresh rates of 60Hz, 90Hz, 120Hz and 144Hz. It also supports DSC. To start with, I have added support for uncompressed 60Hz. In subsequent patches, other configurations support will be added. > >> + >> + reg: >> + maxItems: 1 >> + description: DSI virtual channel >> + >> + vddi-supply: true >> + avdd-supply: true >> + avee-supply: true >> + port: true >> + reset-gpios: true >> + backlight: true >> + >> +additionalProperties: false > > >This goes after required:. Thanks, will change in next version. Thanks, Ritesh
diff --git a/Documentation/devicetree/bindings/display/panel/truly,nt36672e.yaml b/Documentation/devicetree/bindings/display/panel/truly,nt36672e.yaml new file mode 100644 index 000000000000..39ab05c5b103 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/truly,nt36672e.yaml @@ -0,0 +1,66 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/truly,nt36672e.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Truly NT36672E LCD DSI Panel + +maintainers: + - Ritesh Kumar <quic_riteshk@quicinc.com> + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: truly,nt36672e + + reg: + maxItems: 1 + description: DSI virtual channel + + vddi-supply: true + avdd-supply: true + avee-supply: true + port: true + reset-gpios: true + backlight: true + +additionalProperties: false + +required: + - compatible + - reg + - vddi-supply + - avdd-supply + - avee-supply + - reset-gpios + - port + +examples: + - | + #include <dt-bindings/gpio/gpio.h> + dsi { + #address-cells = <1>; + #size-cells = <0>; + panel@0 { + compatible = "truly,nt36672e"; + reg = <0>; + + reset-gpios = <&tlmm 44 GPIO_ACTIVE_HIGH>; + + vddi-supply = <&vreg_l8c_1p8>; + avdd-supply = <&disp_avdd>; + avee-supply = <&disp_avee>; + + backlight = <&pwm_backlight>; + + port { + panel0_in: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + }; + }; +...
Document Truly NT36672E FHD+ LCD DSI panel. Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com> --- .../display/panel/truly,nt36672e.yaml | 66 +++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/truly,nt36672e.yaml