Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1236790 > unrolled thread
| Started by | Alexandre Belloni <alexandre.belloni@free-electrons.com> |
|---|---|
| First post | 2015-09-30 23:50 +0200 |
| Last post | 2015-10-01 15:30 +0200 |
| Articles | 6 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH 1/2] of: Add vendor prefix for QiaoDian Xianshi Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2015-09-30 23:50 +0200
[PATCH 2/2] drm: panel: simple: add QiaoDian qd43003c0-40 Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2015-09-30 23:50 +0200
Re: [PATCH 2/2] drm: panel: simple: add QiaoDian qd43003c0-40 Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2015-10-01 00:00 +0200
Re: [PATCH 1/2] of: Add vendor prefix for QiaoDian Xianshi Rob Herring <robh@kernel.org> - 2015-10-01 00:20 +0200
Re: [PATCH 1/2] of: Add vendor prefix for QiaoDian Xianshi Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2015-10-01 01:00 +0200
Re: [PATCH 1/2] of: Add vendor prefix for QiaoDian Xianshi Rob Herring <robh@kernel.org> - 2015-10-01 15:30 +0200
| From | Alexandre Belloni <alexandre.belloni@free-electrons.com> |
|---|---|
| Date | 2015-09-30 23:50 +0200 |
| Subject | [PATCH 1/2] of: Add vendor prefix for QiaoDian Xianshi |
| Message-ID | <qexqa-AE-7@gated-at.bofh.it> |
Use "qiaodian" as the vendor prefix for QiaoDian Xianshi Corporation in device tree compatible strings. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index ac5f0c34ae00..76579e2ef162 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt @@ -174,6 +174,7 @@ qca Qualcomm Atheros, Inc. qcom Qualcomm Technologies, Inc qemu QEMU, a generic and open source machine emulator and virtualizer qi Qi Hardware +qd QiaoDian XianShi Corporation qnap QNAP Systems, Inc. radxa Radxa raidsonic RaidSonic Technology GmbH -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Alexandre Belloni <alexandre.belloni@free-electrons.com> |
|---|---|
| Date | 2015-09-30 23:50 +0200 |
| Subject | [PATCH 2/2] drm: panel: simple: add QiaoDian qd43003c0-40 |
| Message-ID | <qexqb-AE-25@gated-at.bofh.it> |
| In reply to | #1236790 |
From: Josh Wu <josh.wu@atmel.com>
The QiaoDian Xianshi QD43003C0-40 is a 4"3 TFT LCD panel.
Timings from the OTA5180A document, ver 0.9, section
10.1.1:
http://www.orientdisplay.com/pdf/OTA5180A.pdf
Signed-off-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
.../devicetree/bindings/panel/qd,qd43003c0-40.txt | 7 ++++++
drivers/gpu/drm/panel/panel-simple.c | 27 ++++++++++++++++++++++
2 files changed, 34 insertions(+)
create mode 100644 Documentation/devicetree/bindings/panel/qd,qd43003c0-40.txt
diff --git a/Documentation/devicetree/bindings/panel/qd,qd43003c0-40.txt b/Documentation/devicetree/bindings/panel/qd,qd43003c0-40.txt
new file mode 100644
index 000000000000..900bc6ebeaff
--- /dev/null
+++ b/Documentation/devicetree/bindings/panel/qd,qd43003c0-40.txt
@@ -0,0 +1,7 @@
+QiaoDian XianShi Corporation 4"3 TFT LCD panel
+
+Required properties:
+- compatible: should be "qd,qd43003c0-40"
+
+This binding is compatible with the simple-panel binding, which is specified
+in simple-panel.txt in this directory.
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index f97b73ec4713..667cac37d2e5 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -1027,6 +1027,30 @@ static const struct panel_desc ortustech_com43h4m85ulc = {
.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
};
+static const struct drm_display_mode qd43003c0_40_mode = {
+ .clock = 9000,
+ .hdisplay = 480,
+ .hsync_start = 480 + 8,
+ .hsync_end = 480 + 8 + 4,
+ .htotal = 480 + 8 + 4 + 39,
+ .vdisplay = 272,
+ .vsync_start = 272 + 4,
+ .vsync_end = 272 + 4 + 10,
+ .vtotal = 272 + 4 + 10 + 2,
+ .vrefresh = 60,
+};
+
+static const struct panel_desc qd43003c0_40 = {
+ .modes = &qd43003c0_40_mode,
+ .num_modes = 1,
+ .bpc = 8,
+ .size = {
+ .width = 95,
+ .height = 53,
+ },
+ .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
+};
+
static const struct drm_display_mode samsung_ltn101nt05_mode = {
.clock = 54030,
.hdisplay = 1024,
@@ -1182,6 +1206,9 @@ static const struct of_device_id platform_of_match[] = {
.compatible = "ortustech,com43h4m85ulc",
.data = &ortustech_com43h4m85ulc,
}, {
+ .compatible = "qd,qd43003c0-40",
+ .data = &qd43003c0_40,
+ }, {
.compatible = "samsung,ltn101nt05",
.data = &samsung_ltn101nt05,
}, {
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Alexandre Belloni <alexandre.belloni@free-electrons.com> |
|---|---|
| Date | 2015-10-01 00:00 +0200 |
| Subject | Re: [PATCH 2/2] drm: panel: simple: add QiaoDian qd43003c0-40 |
| Message-ID | <qexzR-LW-37@gated-at.bofh.it> |
| In reply to | #1236797 |
And I forgot to add that this is V2, I've just added .bpc.
On 30/09/2015 at 23:42:17 +0200, Alexandre Belloni wrote :
> From: Josh Wu <josh.wu@atmel.com>
>
> The QiaoDian Xianshi QD43003C0-40 is a 4"3 TFT LCD panel.
>
> Timings from the OTA5180A document, ver 0.9, section
> 10.1.1:
> http://www.orientdisplay.com/pdf/OTA5180A.pdf
>
> Signed-off-by: Josh Wu <josh.wu@atmel.com>
> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> ---
> .../devicetree/bindings/panel/qd,qd43003c0-40.txt | 7 ++++++
> drivers/gpu/drm/panel/panel-simple.c | 27 ++++++++++++++++++++++
> 2 files changed, 34 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/panel/qd,qd43003c0-40.txt
>
> diff --git a/Documentation/devicetree/bindings/panel/qd,qd43003c0-40.txt b/Documentation/devicetree/bindings/panel/qd,qd43003c0-40.txt
> new file mode 100644
> index 000000000000..900bc6ebeaff
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/panel/qd,qd43003c0-40.txt
> @@ -0,0 +1,7 @@
> +QiaoDian XianShi Corporation 4"3 TFT LCD panel
> +
> +Required properties:
> +- compatible: should be "qd,qd43003c0-40"
> +
> +This binding is compatible with the simple-panel binding, which is specified
> +in simple-panel.txt in this directory.
> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> index f97b73ec4713..667cac37d2e5 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -1027,6 +1027,30 @@ static const struct panel_desc ortustech_com43h4m85ulc = {
> .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
> };
>
> +static const struct drm_display_mode qd43003c0_40_mode = {
> + .clock = 9000,
> + .hdisplay = 480,
> + .hsync_start = 480 + 8,
> + .hsync_end = 480 + 8 + 4,
> + .htotal = 480 + 8 + 4 + 39,
> + .vdisplay = 272,
> + .vsync_start = 272 + 4,
> + .vsync_end = 272 + 4 + 10,
> + .vtotal = 272 + 4 + 10 + 2,
> + .vrefresh = 60,
> +};
> +
> +static const struct panel_desc qd43003c0_40 = {
> + .modes = &qd43003c0_40_mode,
> + .num_modes = 1,
> + .bpc = 8,
> + .size = {
> + .width = 95,
> + .height = 53,
> + },
> + .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
> +};
> +
> static const struct drm_display_mode samsung_ltn101nt05_mode = {
> .clock = 54030,
> .hdisplay = 1024,
> @@ -1182,6 +1206,9 @@ static const struct of_device_id platform_of_match[] = {
> .compatible = "ortustech,com43h4m85ulc",
> .data = &ortustech_com43h4m85ulc,
> }, {
> + .compatible = "qd,qd43003c0-40",
> + .data = &qd43003c0_40,
> + }, {
> .compatible = "samsung,ltn101nt05",
> .data = &samsung_ltn101nt05,
> }, {
> --
> 2.1.4
>
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Date | 2015-10-01 00:20 +0200 |
| Message-ID | <qexTc-1nE-11@gated-at.bofh.it> |
| In reply to | #1236790 |
On Wed, Sep 30, 2015 at 4:42 PM, Alexandre Belloni <alexandre.belloni@free-electrons.com> wrote: > Use "qiaodian" as the vendor prefix for QiaoDian Xianshi Corporation in > device tree compatible strings. > > Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> > --- > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt > index ac5f0c34ae00..76579e2ef162 100644 > --- a/Documentation/devicetree/bindings/vendor-prefixes.txt > +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt > @@ -174,6 +174,7 @@ qca Qualcomm Atheros, Inc. > qcom Qualcomm Technologies, Inc > qemu QEMU, a generic and open source machine emulator and virtualizer > qi Qi Hardware > +qd QiaoDian XianShi Corporation Doesn't match the commit msg... > qnap QNAP Systems, Inc. > radxa Radxa > raidsonic RaidSonic Technology GmbH > -- > 2.1.4 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Alexandre Belloni <alexandre.belloni@free-electrons.com> |
|---|---|
| Date | 2015-10-01 01:00 +0200 |
| Message-ID | <qeyvT-274-3@gated-at.bofh.it> |
| In reply to | #1236828 |
On 30/09/2015 at 17:16:10 -0500, Rob Herring wrote : > On Wed, Sep 30, 2015 at 4:42 PM, Alexandre Belloni > <alexandre.belloni@free-electrons.com> wrote: > > Use "qiaodian" as the vendor prefix for QiaoDian Xianshi Corporation in > > device tree compatible strings. > > > > Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> > > --- > > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt > > index ac5f0c34ae00..76579e2ef162 100644 > > --- a/Documentation/devicetree/bindings/vendor-prefixes.txt > > +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt > > @@ -174,6 +174,7 @@ qca Qualcomm Atheros, Inc. > > qcom Qualcomm Technologies, Inc > > qemu QEMU, a generic and open source machine emulator and virtualizer > > qi Qi Hardware > > +qd QiaoDian XianShi Corporation > > Doesn't match the commit msg... > Yeah, I was not sure which one I should use actually, is "qd" sufficient? I couldn't find much information on the company, I chose to use the prefix they use for their parts. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Date | 2015-10-01 15:30 +0200 |
| Message-ID | <qeM5Q-5zC-11@gated-at.bofh.it> |
| In reply to | #1236847 |
On Wed, Sep 30, 2015 at 5:54 PM, Alexandre Belloni <alexandre.belloni@free-electrons.com> wrote: > On 30/09/2015 at 17:16:10 -0500, Rob Herring wrote : >> On Wed, Sep 30, 2015 at 4:42 PM, Alexandre Belloni >> <alexandre.belloni@free-electrons.com> wrote: >> > Use "qiaodian" as the vendor prefix for QiaoDian Xianshi Corporation in >> > device tree compatible strings. >> > >> > Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> >> > --- >> > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + >> > 1 file changed, 1 insertion(+) >> > >> > diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt >> > index ac5f0c34ae00..76579e2ef162 100644 >> > --- a/Documentation/devicetree/bindings/vendor-prefixes.txt >> > +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt >> > @@ -174,6 +174,7 @@ qca Qualcomm Atheros, Inc. >> > qcom Qualcomm Technologies, Inc >> > qemu QEMU, a generic and open source machine emulator and virtualizer >> > qi Qi Hardware >> > +qd QiaoDian XianShi Corporation >> >> Doesn't match the commit msg... >> > > Yeah, I was not sure which one I should use actually, is "qd" > sufficient? I couldn't find much information on the company, I chose to > use the prefix they use for their parts. I would lean toward qiaodian, but either is fine. Rob -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web