* [PATCH 0/2] drm/panel: simple: Rocktech RK101II01D-CT + binding @ 2019-11-28 16:44 ` Jyri Sarha 0 siblings, 0 replies; 11+ messages in thread From: Jyri Sarha @ 2019-11-28 16:44 UTC (permalink / raw) To: dri-devel; +Cc: tomi.valkeinen, thierry.reding Add support for Rocktech RK101II01D-CT panel to panel-simple and add yaml binding for it. Jyri Sarha (2): dt-bindings: display: DT schema for rocktech,rk101ii01d-ct panel drm/panel: simple: Add Rocktech RK101II01D-CT panel .../display/panel/rocktech,rk101ii01d-ct.yaml | 48 +++++++++++++++++++ drivers/gpu/drm/panel/panel-simple.c | 32 +++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel ^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 0/2] drm/panel: simple: Rocktech RK101II01D-CT + binding @ 2019-11-28 16:44 ` Jyri Sarha 0 siblings, 0 replies; 11+ messages in thread From: Jyri Sarha @ 2019-11-28 16:44 UTC (permalink / raw) To: dri-devel; +Cc: tomi.valkeinen, thierry.reding Add support for Rocktech RK101II01D-CT panel to panel-simple and add yaml binding for it. Jyri Sarha (2): dt-bindings: display: DT schema for rocktech,rk101ii01d-ct panel drm/panel: simple: Add Rocktech RK101II01D-CT panel .../display/panel/rocktech,rk101ii01d-ct.yaml | 48 +++++++++++++++++++ drivers/gpu/drm/panel/panel-simple.c | 32 +++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel ^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 1/2] dt-bindings: display: DT schema for rocktech,rk101ii01d-ct panel 2019-11-28 16:44 ` Jyri Sarha (?) @ 2019-11-28 16:45 ` Jyri Sarha -1 siblings, 0 replies; 11+ messages in thread From: Jyri Sarha @ 2019-11-28 16:45 UTC (permalink / raw) To: dri-devel, devicetree; +Cc: tomi.valkeinen, thierry.reding, robh+dt Add DT schema binding for Rocktech Displays Limited RK101II01D-CT 10.1" TFT 1280x800 Pixels with LVDS interface, LED Backlight and capacitive touch panel. Signed-off-by: Jyri Sarha <jsarha@ti.com> --- .../display/panel/rocktech,rk101ii01d-ct.yaml | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml diff --git a/Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml b/Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml new file mode 100644 index 000000000000..09caeee8701d --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml @@ -0,0 +1,48 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/dlc,dlc0700yzg-1.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rocktech Displays Ltd RK101II01D-CT 10.1" TFT 1280x800 Pixels + +maintainers: + - Jyri Sarha <jsarha@ti.com> + - Thierry Reding <thierry.reding@gmail.com> + +allOf: + - $ref: panel-common.yaml# + +description: | + Rocktech Displays Limited RK101II01D-CT 10.1" TFT 1280x800 Pixels + with LVDS interface, LED Backlight and capacitive touch panel. For + touch screen details see "goodix,gt928" in: + Documentation/devicetree/bindings/input/touchscreen/goodix.txt + +properties: + compatible: + const: rocktech,rk101ii01d-ct + + reset-gpios: true + enable-gpios: true + backlight: true + port: true + +required: + - compatible + - power-supply + +examples: + - | + display0 { + compatible = "rocktech,rk101ii01d-ct"; + backlight = <&lcd_bl>; + enable-gpios = <&pca9555 8 GPIO_ACTIVE_HIGH>; + power-supply = <&dummy_supply>; + + port { + lcd_in0: endpoint { + remote-endpoint = <&oldi_out0>; + }; + }; + }; -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki ^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 1/2] dt-bindings: display: DT schema for rocktech, rk101ii01d-ct panel @ 2019-11-28 16:45 ` Jyri Sarha 0 siblings, 0 replies; 11+ messages in thread From: Jyri Sarha @ 2019-11-28 16:45 UTC (permalink / raw) To: dri-devel, devicetree; +Cc: tomi.valkeinen, thierry.reding, robh+dt Add DT schema binding for Rocktech Displays Limited RK101II01D-CT 10.1" TFT 1280x800 Pixels with LVDS interface, LED Backlight and capacitive touch panel. Signed-off-by: Jyri Sarha <jsarha@ti.com> --- .../display/panel/rocktech,rk101ii01d-ct.yaml | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml diff --git a/Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml b/Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml new file mode 100644 index 000000000000..09caeee8701d --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml @@ -0,0 +1,48 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/dlc,dlc0700yzg-1.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rocktech Displays Ltd RK101II01D-CT 10.1" TFT 1280x800 Pixels + +maintainers: + - Jyri Sarha <jsarha@ti.com> + - Thierry Reding <thierry.reding@gmail.com> + +allOf: + - $ref: panel-common.yaml# + +description: | + Rocktech Displays Limited RK101II01D-CT 10.1" TFT 1280x800 Pixels + with LVDS interface, LED Backlight and capacitive touch panel. For + touch screen details see "goodix,gt928" in: + Documentation/devicetree/bindings/input/touchscreen/goodix.txt + +properties: + compatible: + const: rocktech,rk101ii01d-ct + + reset-gpios: true + enable-gpios: true + backlight: true + port: true + +required: + - compatible + - power-supply + +examples: + - | + display0 { + compatible = "rocktech,rk101ii01d-ct"; + backlight = <&lcd_bl>; + enable-gpios = <&pca9555 8 GPIO_ACTIVE_HIGH>; + power-supply = <&dummy_supply>; + + port { + lcd_in0: endpoint { + remote-endpoint = <&oldi_out0>; + }; + }; + }; -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel ^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 1/2] dt-bindings: display: DT schema for rocktech, rk101ii01d-ct panel @ 2019-11-28 16:45 ` Jyri Sarha 0 siblings, 0 replies; 11+ messages in thread From: Jyri Sarha @ 2019-11-28 16:45 UTC (permalink / raw) To: dri-devel, devicetree; +Cc: tomi.valkeinen, thierry.reding, robh+dt Add DT schema binding for Rocktech Displays Limited RK101II01D-CT 10.1" TFT 1280x800 Pixels with LVDS interface, LED Backlight and capacitive touch panel. Signed-off-by: Jyri Sarha <jsarha@ti.com> --- .../display/panel/rocktech,rk101ii01d-ct.yaml | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml diff --git a/Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml b/Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml new file mode 100644 index 000000000000..09caeee8701d --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml @@ -0,0 +1,48 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/dlc,dlc0700yzg-1.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rocktech Displays Ltd RK101II01D-CT 10.1" TFT 1280x800 Pixels + +maintainers: + - Jyri Sarha <jsarha@ti.com> + - Thierry Reding <thierry.reding@gmail.com> + +allOf: + - $ref: panel-common.yaml# + +description: | + Rocktech Displays Limited RK101II01D-CT 10.1" TFT 1280x800 Pixels + with LVDS interface, LED Backlight and capacitive touch panel. For + touch screen details see "goodix,gt928" in: + Documentation/devicetree/bindings/input/touchscreen/goodix.txt + +properties: + compatible: + const: rocktech,rk101ii01d-ct + + reset-gpios: true + enable-gpios: true + backlight: true + port: true + +required: + - compatible + - power-supply + +examples: + - | + display0 { + compatible = "rocktech,rk101ii01d-ct"; + backlight = <&lcd_bl>; + enable-gpios = <&pca9555 8 GPIO_ACTIVE_HIGH>; + power-supply = <&dummy_supply>; + + port { + lcd_in0: endpoint { + remote-endpoint = <&oldi_out0>; + }; + }; + }; -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 1/2] dt-bindings: display: DT schema for rocktech,rk101ii01d-ct panel 2019-11-28 16:45 ` Jyri Sarha (?) @ 2019-11-28 17:23 ` Jyri Sarha -1 siblings, 0 replies; 11+ messages in thread From: Jyri Sarha @ 2019-11-28 17:23 UTC (permalink / raw) To: dri-devel, devicetree; +Cc: tomi.valkeinen, thierry.reding, robh+dt On 28/11/2019 18:45, Jyri Sarha wrote: > Add DT schema binding for Rocktech Displays Limited RK101II01D-CT > 10.1" TFT 1280x800 Pixels with LVDS interface, LED Backlight and > capacitive touch panel. > > Signed-off-by: Jyri Sarha <jsarha@ti.com> > --- > .../display/panel/rocktech,rk101ii01d-ct.yaml | 48 +++++++++++++++++++ > 1 file changed, 48 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml > > diff --git a/Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml b/Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml > new file mode 100644 > index 000000000000..09caeee8701d > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml > @@ -0,0 +1,48 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/panel/dlc,dlc0700yzg-1.yaml# Argh, at least one copy-paste error here: ^^^^^^^^^^^^^^^^^^^^^ So not to be applied as such. BR, Jyri /me wonders why he always sees these only right after sending the patch. > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Rocktech Displays Ltd RK101II01D-CT 10.1" TFT 1280x800 Pixels > + > +maintainers: > + - Jyri Sarha <jsarha@ti.com> > + - Thierry Reding <thierry.reding@gmail.com> > + > +allOf: > + - $ref: panel-common.yaml# > + > +description: | > + Rocktech Displays Limited RK101II01D-CT 10.1" TFT 1280x800 Pixels > + with LVDS interface, LED Backlight and capacitive touch panel. For > + touch screen details see "goodix,gt928" in: > + Documentation/devicetree/bindings/input/touchscreen/goodix.txt > + > +properties: > + compatible: > + const: rocktech,rk101ii01d-ct > + > + reset-gpios: true > + enable-gpios: true > + backlight: true > + port: true > + > +required: > + - compatible > + - power-supply > + > +examples: > + - | > + display0 { > + compatible = "rocktech,rk101ii01d-ct"; > + backlight = <&lcd_bl>; > + enable-gpios = <&pca9555 8 GPIO_ACTIVE_HIGH>; > + power-supply = <&dummy_supply>; > + > + port { > + lcd_in0: endpoint { > + remote-endpoint = <&oldi_out0>; > + }; > + }; > + }; > -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 1/2] dt-bindings: display: DT schema for rocktech,rk101ii01d-ct panel @ 2019-11-28 17:23 ` Jyri Sarha 0 siblings, 0 replies; 11+ messages in thread From: Jyri Sarha @ 2019-11-28 17:23 UTC (permalink / raw) To: dri-devel, devicetree; +Cc: tomi.valkeinen, thierry.reding, robh+dt On 28/11/2019 18:45, Jyri Sarha wrote: > Add DT schema binding for Rocktech Displays Limited RK101II01D-CT > 10.1" TFT 1280x800 Pixels with LVDS interface, LED Backlight and > capacitive touch panel. > > Signed-off-by: Jyri Sarha <jsarha@ti.com> > --- > .../display/panel/rocktech,rk101ii01d-ct.yaml | 48 +++++++++++++++++++ > 1 file changed, 48 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml > > diff --git a/Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml b/Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml > new file mode 100644 > index 000000000000..09caeee8701d > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml > @@ -0,0 +1,48 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/panel/dlc,dlc0700yzg-1.yaml# Argh, at least one copy-paste error here: ^^^^^^^^^^^^^^^^^^^^^ So not to be applied as such. BR, Jyri /me wonders why he always sees these only right after sending the patch. > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Rocktech Displays Ltd RK101II01D-CT 10.1" TFT 1280x800 Pixels > + > +maintainers: > + - Jyri Sarha <jsarha@ti.com> > + - Thierry Reding <thierry.reding@gmail.com> > + > +allOf: > + - $ref: panel-common.yaml# > + > +description: | > + Rocktech Displays Limited RK101II01D-CT 10.1" TFT 1280x800 Pixels > + with LVDS interface, LED Backlight and capacitive touch panel. For > + touch screen details see "goodix,gt928" in: > + Documentation/devicetree/bindings/input/touchscreen/goodix.txt > + > +properties: > + compatible: > + const: rocktech,rk101ii01d-ct > + > + reset-gpios: true > + enable-gpios: true > + backlight: true > + port: true > + > +required: > + - compatible > + - power-supply > + > +examples: > + - | > + display0 { > + compatible = "rocktech,rk101ii01d-ct"; > + backlight = <&lcd_bl>; > + enable-gpios = <&pca9555 8 GPIO_ACTIVE_HIGH>; > + power-supply = <&dummy_supply>; > + > + port { > + lcd_in0: endpoint { > + remote-endpoint = <&oldi_out0>; > + }; > + }; > + }; > -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 1/2] dt-bindings: display: DT schema for rocktech,rk101ii01d-ct panel @ 2019-11-28 17:23 ` Jyri Sarha 0 siblings, 0 replies; 11+ messages in thread From: Jyri Sarha @ 2019-11-28 17:23 UTC (permalink / raw) To: dri-devel, devicetree; +Cc: tomi.valkeinen, thierry.reding, robh+dt On 28/11/2019 18:45, Jyri Sarha wrote: > Add DT schema binding for Rocktech Displays Limited RK101II01D-CT > 10.1" TFT 1280x800 Pixels with LVDS interface, LED Backlight and > capacitive touch panel. > > Signed-off-by: Jyri Sarha <jsarha@ti.com> > --- > .../display/panel/rocktech,rk101ii01d-ct.yaml | 48 +++++++++++++++++++ > 1 file changed, 48 insertions(+) > create mode 100644 Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml > > diff --git a/Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml b/Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml > new file mode 100644 > index 000000000000..09caeee8701d > --- /dev/null > +++ b/Documentation/devicetree/bindings/display/panel/rocktech,rk101ii01d-ct.yaml > @@ -0,0 +1,48 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/display/panel/dlc,dlc0700yzg-1.yaml# Argh, at least one copy-paste error here: ^^^^^^^^^^^^^^^^^^^^^ So not to be applied as such. BR, Jyri /me wonders why he always sees these only right after sending the patch. > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Rocktech Displays Ltd RK101II01D-CT 10.1" TFT 1280x800 Pixels > + > +maintainers: > + - Jyri Sarha <jsarha@ti.com> > + - Thierry Reding <thierry.reding@gmail.com> > + > +allOf: > + - $ref: panel-common.yaml# > + > +description: | > + Rocktech Displays Limited RK101II01D-CT 10.1" TFT 1280x800 Pixels > + with LVDS interface, LED Backlight and capacitive touch panel. For > + touch screen details see "goodix,gt928" in: > + Documentation/devicetree/bindings/input/touchscreen/goodix.txt > + > +properties: > + compatible: > + const: rocktech,rk101ii01d-ct > + > + reset-gpios: true > + enable-gpios: true > + backlight: true > + port: true > + > +required: > + - compatible > + - power-supply > + > +examples: > + - | > + display0 { > + compatible = "rocktech,rk101ii01d-ct"; > + backlight = <&lcd_bl>; > + enable-gpios = <&pca9555 8 GPIO_ACTIVE_HIGH>; > + power-supply = <&dummy_supply>; > + > + port { > + lcd_in0: endpoint { > + remote-endpoint = <&oldi_out0>; > + }; > + }; > + }; > -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel ^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 2/2] drm/panel: simple: Add Rocktech RK101II01D-CT panel @ 2019-11-28 16:45 ` Jyri Sarha 0 siblings, 0 replies; 11+ messages in thread From: Jyri Sarha @ 2019-11-28 16:45 UTC (permalink / raw) To: dri-devel; +Cc: tomi.valkeinen, thierry.reding Add support for Rocktech RK101II01D-CT, 10.1" 1280x800 TFT with LVDS interface, LED backlight and integrated Goodix GT928 capacitive touch panel. Signed-off-by: Jyri Sarha <jsarha@ti.com> --- drivers/gpu/drm/panel/panel-simple.c | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 5d487686d25c..489e217102ea 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -2479,6 +2479,35 @@ static const struct panel_desc rocktech_rk070er9427 = { .bus_format = MEDIA_BUS_FMT_RGB666_1X18, }; +static const struct drm_display_mode rocktech_rk101ii01d_ct_mode = { + .clock = 71100, + .hdisplay = 1280, + .hsync_start = 1280 + 48, + .hsync_end = 1280 + 48 + 32, + .htotal = 1280 + 48 + 32 + 80, + .vdisplay = 800, + .vsync_start = 800 + 2, + .vsync_end = 800 + 2 + 5, + .vtotal = 800 + 2 + 5 + 16, + .vrefresh = 60, +}; + +static const struct panel_desc rocktech_rk101ii01d_ct = { + .modes = &rocktech_rk101ii01d_ct_mode, + .num_modes = 1, + .size = { + .width = 217, + .height = 136, + }, + .delay = { + .prepare = 50, + .disable = 50, + }, + .bus_flags = DRM_BUS_FLAG_DE_HIGH, + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, + .connector_type = DRM_MODE_CONNECTOR_LVDS, +}; + static const struct drm_display_mode samsung_lsn122dl01_c01_mode = { .clock = 271560, .hdisplay = 2560, @@ -3338,6 +3367,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "rocktech,rk070er9427", .data = &rocktech_rk070er9427, + }, { + .compatible = "rocktech,rk101ii01d-ct", + .data = &rocktech_rk101ii01d_ct, }, { .compatible = "samsung,lsn122dl01-c01", .data = &samsung_lsn122dl01_c01, -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel ^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 2/2] drm/panel: simple: Add Rocktech RK101II01D-CT panel @ 2019-11-28 16:45 ` Jyri Sarha 0 siblings, 0 replies; 11+ messages in thread From: Jyri Sarha @ 2019-11-28 16:45 UTC (permalink / raw) To: dri-devel; +Cc: tomi.valkeinen, thierry.reding Add support for Rocktech RK101II01D-CT, 10.1" 1280x800 TFT with LVDS interface, LED backlight and integrated Goodix GT928 capacitive touch panel. Signed-off-by: Jyri Sarha <jsarha@ti.com> --- drivers/gpu/drm/panel/panel-simple.c | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 5d487686d25c..489e217102ea 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -2479,6 +2479,35 @@ static const struct panel_desc rocktech_rk070er9427 = { .bus_format = MEDIA_BUS_FMT_RGB666_1X18, }; +static const struct drm_display_mode rocktech_rk101ii01d_ct_mode = { + .clock = 71100, + .hdisplay = 1280, + .hsync_start = 1280 + 48, + .hsync_end = 1280 + 48 + 32, + .htotal = 1280 + 48 + 32 + 80, + .vdisplay = 800, + .vsync_start = 800 + 2, + .vsync_end = 800 + 2 + 5, + .vtotal = 800 + 2 + 5 + 16, + .vrefresh = 60, +}; + +static const struct panel_desc rocktech_rk101ii01d_ct = { + .modes = &rocktech_rk101ii01d_ct_mode, + .num_modes = 1, + .size = { + .width = 217, + .height = 136, + }, + .delay = { + .prepare = 50, + .disable = 50, + }, + .bus_flags = DRM_BUS_FLAG_DE_HIGH, + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, + .connector_type = DRM_MODE_CONNECTOR_LVDS, +}; + static const struct drm_display_mode samsung_lsn122dl01_c01_mode = { .clock = 271560, .hdisplay = 2560, @@ -3338,6 +3367,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "rocktech,rk070er9427", .data = &rocktech_rk070er9427, + }, { + .compatible = "rocktech,rk101ii01d-ct", + .data = &rocktech_rk101ii01d_ct, }, { .compatible = "samsung,lsn122dl01-c01", .data = &samsung_lsn122dl01_c01, -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 2/2] drm/panel: simple: Add Rocktech RK101II01D-CT panel 2019-11-28 16:45 ` Jyri Sarha (?) @ 2019-12-04 20:25 ` Tomi Valkeinen -1 siblings, 0 replies; 11+ messages in thread From: Tomi Valkeinen @ 2019-12-04 20:25 UTC (permalink / raw) To: Jyri Sarha, dri-devel; +Cc: thierry.reding On 28/11/2019 18:45, Jyri Sarha wrote: > Add support for Rocktech RK101II01D-CT, 10.1" 1280x800 TFT with LVDS > interface, LED backlight and integrated Goodix GT928 capacitive touch > panel. > > Signed-off-by: Jyri Sarha <jsarha@ti.com> > --- > drivers/gpu/drm/panel/panel-simple.c | 32 ++++++++++++++++++++++++++++ > 1 file changed, 32 insertions(+) Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Tomi -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2019-12-04 20:25 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2019-11-28 16:44 [PATCH 0/2] drm/panel: simple: Rocktech RK101II01D-CT + binding Jyri Sarha 2019-11-28 16:44 ` Jyri Sarha 2019-11-28 16:45 ` [PATCH 1/2] dt-bindings: display: DT schema for rocktech,rk101ii01d-ct panel Jyri Sarha 2019-11-28 16:45 ` [PATCH 1/2] dt-bindings: display: DT schema for rocktech, rk101ii01d-ct panel Jyri Sarha 2019-11-28 16:45 ` Jyri Sarha 2019-11-28 17:23 ` [PATCH 1/2] dt-bindings: display: DT schema for rocktech,rk101ii01d-ct panel Jyri Sarha 2019-11-28 17:23 ` Jyri Sarha 2019-11-28 17:23 ` Jyri Sarha 2019-11-28 16:45 ` [PATCH 2/2] drm/panel: simple: Add Rocktech RK101II01D-CT panel Jyri Sarha 2019-11-28 16:45 ` Jyri Sarha 2019-12-04 20:25 ` Tomi Valkeinen
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.