* [PATCH v3 0/3] Add display support for gta04 device @ 2014-05-08 20:16 ` Marek Belisko 0 siblings, 0 replies; 26+ messages in thread From: Marek Belisko @ 2014-05-08 20:16 UTC (permalink / raw) To: linux-arm-kernel This 3 patches adding display support for openmoko gta04 device. First patch add DT bindings for topolly td028 panel. Second add description for dss + panel and third fix panel probing when panel is compiled as module. Changes from v2: - add missing 'port' node for dpi_out endpoint (comment from Tomi Valkeinen) Changes from v1: - extend panel compatible string by 'omapdss' - add tpo-td028 panel to dss_compat_conv_list - add MODULE_ALIAS macro to properly probe panel when is compiled as module Marek Belisko (3): omapdss: panel-tpo-td028ec1: Add DT support. ARM: dts: oma3-gta04: Add display support omapdss: panel-tpo-td028ec1: Add module alias .../bindings/video/toppoly,td028ttec1.txt | 30 ++++++++ arch/arm/boot/dts/omap3-gta04.dts | 87 ++++++++++++++++++++++ arch/arm/mach-omap2/display.c | 1 + .../omap2/displays-new/panel-tpo-td028ttec1.c | 33 +++++++- 4 files changed, 150 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/video/toppoly,td028ttec1.txt -- 1.9.1 ^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH v3 0/3] Add display support for gta04 device @ 2014-05-08 20:16 ` Marek Belisko 0 siblings, 0 replies; 26+ messages in thread From: Marek Belisko @ 2014-05-08 20:16 UTC (permalink / raw) To: linux-arm-kernel This 3 patches adding display support for openmoko gta04 device. First patch add DT bindings for topolly td028 panel. Second add description for dss + panel and third fix panel probing when panel is compiled as module. Changes from v2: - add missing 'port' node for dpi_out endpoint (comment from Tomi Valkeinen) Changes from v1: - extend panel compatible string by 'omapdss' - add tpo-td028 panel to dss_compat_conv_list - add MODULE_ALIAS macro to properly probe panel when is compiled as module Marek Belisko (3): omapdss: panel-tpo-td028ec1: Add DT support. ARM: dts: oma3-gta04: Add display support omapdss: panel-tpo-td028ec1: Add module alias .../bindings/video/toppoly,td028ttec1.txt | 30 ++++++++ arch/arm/boot/dts/omap3-gta04.dts | 87 ++++++++++++++++++++++ arch/arm/mach-omap2/display.c | 1 + .../omap2/displays-new/panel-tpo-td028ttec1.c | 33 +++++++- 4 files changed, 150 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/video/toppoly,td028ttec1.txt -- 1.9.1 ^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH v3 0/3] Add display support for gta04 device @ 2014-05-08 20:16 ` Marek Belisko 0 siblings, 0 replies; 26+ messages in thread From: Marek Belisko @ 2014-05-08 20:16 UTC (permalink / raw) To: robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak, rdunlap, bcousson, tony, linux, plagnioj, tomi.valkeinen, grant.likely Cc: devicetree, linux-doc, linux-kernel, linux-omap, linux-arm-kernel, linux-fbdev, hns, Marek Belisko This 3 patches adding display support for openmoko gta04 device. First patch add DT bindings for topolly td028 panel. Second add description for dss + panel and third fix panel probing when panel is compiled as module. Changes from v2: - add missing 'port' node for dpi_out endpoint (comment from Tomi Valkeinen) Changes from v1: - extend panel compatible string by 'omapdss' - add tpo-td028 panel to dss_compat_conv_list - add MODULE_ALIAS macro to properly probe panel when is compiled as module Marek Belisko (3): omapdss: panel-tpo-td028ec1: Add DT support. ARM: dts: oma3-gta04: Add display support omapdss: panel-tpo-td028ec1: Add module alias .../bindings/video/toppoly,td028ttec1.txt | 30 ++++++++ arch/arm/boot/dts/omap3-gta04.dts | 87 ++++++++++++++++++++++ arch/arm/mach-omap2/display.c | 1 + .../omap2/displays-new/panel-tpo-td028ttec1.c | 33 +++++++- 4 files changed, 150 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/video/toppoly,td028ttec1.txt -- 1.9.1 ^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH v3 1/3] omapdss: panel-tpo-td028ec1: Add DT support. 2014-05-08 20:16 ` Marek Belisko (?) (?) @ 2014-05-08 20:16 ` Marek Belisko -1 siblings, 0 replies; 26+ messages in thread From: Marek Belisko @ 2014-05-08 20:16 UTC (permalink / raw) To: linux-arm-kernel Signed-off-by: Marek Belisko <marek@goldelico.com> --- .../bindings/video/toppoly,td028ttec1.txt | 30 ++++++++++++++++++++ arch/arm/mach-omap2/display.c | 1 + .../omap2/displays-new/panel-tpo-td028ttec1.c | 32 +++++++++++++++++++++- 3 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/video/toppoly,td028ttec1.txt diff --git a/Documentation/devicetree/bindings/video/toppoly,td028ttec1.txt b/Documentation/devicetree/bindings/video/toppoly,td028ttec1.txt new file mode 100644 index 0000000..7175dc3 --- /dev/null +++ b/Documentation/devicetree/bindings/video/toppoly,td028ttec1.txt @@ -0,0 +1,30 @@ +Toppoly TD028TTEC1 Panel +============ + +Required properties: +- compatible: "toppoly,td028ttec1" + +Optional properties: +- label: a symbolic name for the panel + +Required nodes: +- Video port for DPI input + +Example +------- + +lcd-panel: td028ttec1@0 { + compatible = "toppoly,td028ttec1"; + reg = <0>; + spi-max-frequency = <100000>; + spi-cpol; + spi-cpha; + + label = "lcd"; + port { + lcd_in: endpoint { + remote-endpoint = <&dpi_out>; + }; + }; +}; + diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c index 16d33d8..66a2ee0 100644 --- a/arch/arm/mach-omap2/display.c +++ b/arch/arm/mach-omap2/display.c @@ -566,6 +566,7 @@ static const char * const dss_compat_conv_list[] __initconst = { "svideo-connector", "ti,tfp410", "ti,tpd12s015", + "toppoly,td028ttec1", }; /* prepend compatible string with "omapdss," */ diff --git a/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c b/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c index fae6adc..5b3466e 100644 --- a/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c +++ b/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c @@ -206,7 +206,8 @@ static int td028ttec1_panel_enable(struct omap_dss_device *dssdev) if (omapdss_device_is_enabled(dssdev)) return 0; - in->ops.dpi->set_data_lines(in, ddata->data_lines); + if (ddata->data_lines) + in->ops.dpi->set_data_lines(in, ddata->data_lines); in->ops.dpi->set_timings(in, &ddata->videomode); r = in->ops.dpi->enable(in); @@ -389,6 +390,23 @@ static int td028ttec1_panel_probe_pdata(struct spi_device *spi) return 0; } +static int td028ttec1_probe_of(struct spi_device *spi) +{ + struct device_node *node = spi->dev.of_node; + struct panel_drv_data *ddata = dev_get_drvdata(&spi->dev); + struct omap_dss_device *in; + + in = omapdss_of_find_source_for_first_ep(node); + if (IS_ERR(in)) { + dev_err(&spi->dev, "failed to find video source\n"); + return PTR_ERR(in); + } + + ddata->in = in; + + return 0; +} + static int td028ttec1_panel_probe(struct spi_device *spi) { struct panel_drv_data *ddata; @@ -418,6 +436,10 @@ static int td028ttec1_panel_probe(struct spi_device *spi) r = td028ttec1_panel_probe_pdata(spi); if (r) return r; + } else if (spi->dev.of_node) { + r = td028ttec1_probe_of(spi); + if (r) + return r; } else { return -ENODEV; } @@ -463,6 +485,13 @@ static int td028ttec1_panel_remove(struct spi_device *spi) return 0; } +static const struct of_device_id td028ttec1_of_match[] = { + { .compatible = "omapdss,toppoly,td028ttec1", }, + {}, +}; + +MODULE_DEVICE_TABLE(of, td028ttec1_of_match); + static struct spi_driver td028ttec1_spi_driver = { .probe = td028ttec1_panel_probe, .remove = td028ttec1_panel_remove, @@ -470,6 +499,7 @@ static struct spi_driver td028ttec1_spi_driver = { .driver = { .name = "panel-tpo-td028ttec1", .owner = THIS_MODULE, + .of_match_table = td028ttec1_of_match, }, }; -- 1.9.1 ^ permalink raw reply related [flat|nested] 26+ messages in thread
* [PATCH v3 1/3] omapdss: panel-tpo-td028ec1: Add DT support. @ 2014-05-08 20:16 ` Marek Belisko 0 siblings, 0 replies; 26+ messages in thread From: Marek Belisko @ 2014-05-08 20:16 UTC (permalink / raw) To: robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak, rdunlap, bcousson, tony, linux, plagnioj, tomi.valkeinen, grant.likely Cc: devicetree, linux-doc, linux-kernel, linux-omap, linux-arm-kernel, linux-fbdev, hns, Marek Belisko Signed-off-by: Marek Belisko <marek@goldelico.com> --- .../bindings/video/toppoly,td028ttec1.txt | 30 ++++++++++++++++++++ arch/arm/mach-omap2/display.c | 1 + .../omap2/displays-new/panel-tpo-td028ttec1.c | 32 +++++++++++++++++++++- 3 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/video/toppoly,td028ttec1.txt diff --git a/Documentation/devicetree/bindings/video/toppoly,td028ttec1.txt b/Documentation/devicetree/bindings/video/toppoly,td028ttec1.txt new file mode 100644 index 0000000..7175dc3 --- /dev/null +++ b/Documentation/devicetree/bindings/video/toppoly,td028ttec1.txt @@ -0,0 +1,30 @@ +Toppoly TD028TTEC1 Panel +======================== + +Required properties: +- compatible: "toppoly,td028ttec1" + +Optional properties: +- label: a symbolic name for the panel + +Required nodes: +- Video port for DPI input + +Example +------- + +lcd-panel: td028ttec1@0 { + compatible = "toppoly,td028ttec1"; + reg = <0>; + spi-max-frequency = <100000>; + spi-cpol; + spi-cpha; + + label = "lcd"; + port { + lcd_in: endpoint { + remote-endpoint = <&dpi_out>; + }; + }; +}; + diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c index 16d33d8..66a2ee0 100644 --- a/arch/arm/mach-omap2/display.c +++ b/arch/arm/mach-omap2/display.c @@ -566,6 +566,7 @@ static const char * const dss_compat_conv_list[] __initconst = { "svideo-connector", "ti,tfp410", "ti,tpd12s015", + "toppoly,td028ttec1", }; /* prepend compatible string with "omapdss," */ diff --git a/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c b/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c index fae6adc..5b3466e 100644 --- a/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c +++ b/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c @@ -206,7 +206,8 @@ static int td028ttec1_panel_enable(struct omap_dss_device *dssdev) if (omapdss_device_is_enabled(dssdev)) return 0; - in->ops.dpi->set_data_lines(in, ddata->data_lines); + if (ddata->data_lines) + in->ops.dpi->set_data_lines(in, ddata->data_lines); in->ops.dpi->set_timings(in, &ddata->videomode); r = in->ops.dpi->enable(in); @@ -389,6 +390,23 @@ static int td028ttec1_panel_probe_pdata(struct spi_device *spi) return 0; } +static int td028ttec1_probe_of(struct spi_device *spi) +{ + struct device_node *node = spi->dev.of_node; + struct panel_drv_data *ddata = dev_get_drvdata(&spi->dev); + struct omap_dss_device *in; + + in = omapdss_of_find_source_for_first_ep(node); + if (IS_ERR(in)) { + dev_err(&spi->dev, "failed to find video source\n"); + return PTR_ERR(in); + } + + ddata->in = in; + + return 0; +} + static int td028ttec1_panel_probe(struct spi_device *spi) { struct panel_drv_data *ddata; @@ -418,6 +436,10 @@ static int td028ttec1_panel_probe(struct spi_device *spi) r = td028ttec1_panel_probe_pdata(spi); if (r) return r; + } else if (spi->dev.of_node) { + r = td028ttec1_probe_of(spi); + if (r) + return r; } else { return -ENODEV; } @@ -463,6 +485,13 @@ static int td028ttec1_panel_remove(struct spi_device *spi) return 0; } +static const struct of_device_id td028ttec1_of_match[] = { + { .compatible = "omapdss,toppoly,td028ttec1", }, + {}, +}; + +MODULE_DEVICE_TABLE(of, td028ttec1_of_match); + static struct spi_driver td028ttec1_spi_driver = { .probe = td028ttec1_panel_probe, .remove = td028ttec1_panel_remove, @@ -470,6 +499,7 @@ static struct spi_driver td028ttec1_spi_driver = { .driver = { .name = "panel-tpo-td028ttec1", .owner = THIS_MODULE, + .of_match_table = td028ttec1_of_match, }, }; -- 1.9.1 ^ permalink raw reply related [flat|nested] 26+ messages in thread
* [PATCH v3 1/3] omapdss: panel-tpo-td028ec1: Add DT support. @ 2014-05-08 20:16 ` Marek Belisko 0 siblings, 0 replies; 26+ messages in thread From: Marek Belisko @ 2014-05-08 20:16 UTC (permalink / raw) To: linux-arm-kernel Signed-off-by: Marek Belisko <marek@goldelico.com> --- .../bindings/video/toppoly,td028ttec1.txt | 30 ++++++++++++++++++++ arch/arm/mach-omap2/display.c | 1 + .../omap2/displays-new/panel-tpo-td028ttec1.c | 32 +++++++++++++++++++++- 3 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/video/toppoly,td028ttec1.txt diff --git a/Documentation/devicetree/bindings/video/toppoly,td028ttec1.txt b/Documentation/devicetree/bindings/video/toppoly,td028ttec1.txt new file mode 100644 index 0000000..7175dc3 --- /dev/null +++ b/Documentation/devicetree/bindings/video/toppoly,td028ttec1.txt @@ -0,0 +1,30 @@ +Toppoly TD028TTEC1 Panel +======================== + +Required properties: +- compatible: "toppoly,td028ttec1" + +Optional properties: +- label: a symbolic name for the panel + +Required nodes: +- Video port for DPI input + +Example +------- + +lcd-panel: td028ttec1 at 0 { + compatible = "toppoly,td028ttec1"; + reg = <0>; + spi-max-frequency = <100000>; + spi-cpol; + spi-cpha; + + label = "lcd"; + port { + lcd_in: endpoint { + remote-endpoint = <&dpi_out>; + }; + }; +}; + diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c index 16d33d8..66a2ee0 100644 --- a/arch/arm/mach-omap2/display.c +++ b/arch/arm/mach-omap2/display.c @@ -566,6 +566,7 @@ static const char * const dss_compat_conv_list[] __initconst = { "svideo-connector", "ti,tfp410", "ti,tpd12s015", + "toppoly,td028ttec1", }; /* prepend compatible string with "omapdss," */ diff --git a/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c b/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c index fae6adc..5b3466e 100644 --- a/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c +++ b/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c @@ -206,7 +206,8 @@ static int td028ttec1_panel_enable(struct omap_dss_device *dssdev) if (omapdss_device_is_enabled(dssdev)) return 0; - in->ops.dpi->set_data_lines(in, ddata->data_lines); + if (ddata->data_lines) + in->ops.dpi->set_data_lines(in, ddata->data_lines); in->ops.dpi->set_timings(in, &ddata->videomode); r = in->ops.dpi->enable(in); @@ -389,6 +390,23 @@ static int td028ttec1_panel_probe_pdata(struct spi_device *spi) return 0; } +static int td028ttec1_probe_of(struct spi_device *spi) +{ + struct device_node *node = spi->dev.of_node; + struct panel_drv_data *ddata = dev_get_drvdata(&spi->dev); + struct omap_dss_device *in; + + in = omapdss_of_find_source_for_first_ep(node); + if (IS_ERR(in)) { + dev_err(&spi->dev, "failed to find video source\n"); + return PTR_ERR(in); + } + + ddata->in = in; + + return 0; +} + static int td028ttec1_panel_probe(struct spi_device *spi) { struct panel_drv_data *ddata; @@ -418,6 +436,10 @@ static int td028ttec1_panel_probe(struct spi_device *spi) r = td028ttec1_panel_probe_pdata(spi); if (r) return r; + } else if (spi->dev.of_node) { + r = td028ttec1_probe_of(spi); + if (r) + return r; } else { return -ENODEV; } @@ -463,6 +485,13 @@ static int td028ttec1_panel_remove(struct spi_device *spi) return 0; } +static const struct of_device_id td028ttec1_of_match[] = { + { .compatible = "omapdss,toppoly,td028ttec1", }, + {}, +}; + +MODULE_DEVICE_TABLE(of, td028ttec1_of_match); + static struct spi_driver td028ttec1_spi_driver = { .probe = td028ttec1_panel_probe, .remove = td028ttec1_panel_remove, @@ -470,6 +499,7 @@ static struct spi_driver td028ttec1_spi_driver = { .driver = { .name = "panel-tpo-td028ttec1", .owner = THIS_MODULE, + .of_match_table = td028ttec1_of_match, }, }; -- 1.9.1 ^ permalink raw reply related [flat|nested] 26+ messages in thread
* [PATCH v3 1/3] omapdss: panel-tpo-td028ec1: Add DT support. @ 2014-05-08 20:16 ` Marek Belisko 0 siblings, 0 replies; 26+ messages in thread From: Marek Belisko @ 2014-05-08 20:16 UTC (permalink / raw) To: robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak, rdunlap, bcousson, tony, linux, plagnioj, tomi.valkeinen, grant.likely Cc: devicetree, linux-fbdev, linux-doc, hns, linux-kernel, Marek Belisko, linux-omap, linux-arm-kernel Signed-off-by: Marek Belisko <marek@goldelico.com> --- .../bindings/video/toppoly,td028ttec1.txt | 30 ++++++++++++++++++++ arch/arm/mach-omap2/display.c | 1 + .../omap2/displays-new/panel-tpo-td028ttec1.c | 32 +++++++++++++++++++++- 3 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/video/toppoly,td028ttec1.txt diff --git a/Documentation/devicetree/bindings/video/toppoly,td028ttec1.txt b/Documentation/devicetree/bindings/video/toppoly,td028ttec1.txt new file mode 100644 index 0000000..7175dc3 --- /dev/null +++ b/Documentation/devicetree/bindings/video/toppoly,td028ttec1.txt @@ -0,0 +1,30 @@ +Toppoly TD028TTEC1 Panel +======================== + +Required properties: +- compatible: "toppoly,td028ttec1" + +Optional properties: +- label: a symbolic name for the panel + +Required nodes: +- Video port for DPI input + +Example +------- + +lcd-panel: td028ttec1@0 { + compatible = "toppoly,td028ttec1"; + reg = <0>; + spi-max-frequency = <100000>; + spi-cpol; + spi-cpha; + + label = "lcd"; + port { + lcd_in: endpoint { + remote-endpoint = <&dpi_out>; + }; + }; +}; + diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c index 16d33d8..66a2ee0 100644 --- a/arch/arm/mach-omap2/display.c +++ b/arch/arm/mach-omap2/display.c @@ -566,6 +566,7 @@ static const char * const dss_compat_conv_list[] __initconst = { "svideo-connector", "ti,tfp410", "ti,tpd12s015", + "toppoly,td028ttec1", }; /* prepend compatible string with "omapdss," */ diff --git a/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c b/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c index fae6adc..5b3466e 100644 --- a/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c +++ b/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c @@ -206,7 +206,8 @@ static int td028ttec1_panel_enable(struct omap_dss_device *dssdev) if (omapdss_device_is_enabled(dssdev)) return 0; - in->ops.dpi->set_data_lines(in, ddata->data_lines); + if (ddata->data_lines) + in->ops.dpi->set_data_lines(in, ddata->data_lines); in->ops.dpi->set_timings(in, &ddata->videomode); r = in->ops.dpi->enable(in); @@ -389,6 +390,23 @@ static int td028ttec1_panel_probe_pdata(struct spi_device *spi) return 0; } +static int td028ttec1_probe_of(struct spi_device *spi) +{ + struct device_node *node = spi->dev.of_node; + struct panel_drv_data *ddata = dev_get_drvdata(&spi->dev); + struct omap_dss_device *in; + + in = omapdss_of_find_source_for_first_ep(node); + if (IS_ERR(in)) { + dev_err(&spi->dev, "failed to find video source\n"); + return PTR_ERR(in); + } + + ddata->in = in; + + return 0; +} + static int td028ttec1_panel_probe(struct spi_device *spi) { struct panel_drv_data *ddata; @@ -418,6 +436,10 @@ static int td028ttec1_panel_probe(struct spi_device *spi) r = td028ttec1_panel_probe_pdata(spi); if (r) return r; + } else if (spi->dev.of_node) { + r = td028ttec1_probe_of(spi); + if (r) + return r; } else { return -ENODEV; } @@ -463,6 +485,13 @@ static int td028ttec1_panel_remove(struct spi_device *spi) return 0; } +static const struct of_device_id td028ttec1_of_match[] = { + { .compatible = "omapdss,toppoly,td028ttec1", }, + {}, +}; + +MODULE_DEVICE_TABLE(of, td028ttec1_of_match); + static struct spi_driver td028ttec1_spi_driver = { .probe = td028ttec1_panel_probe, .remove = td028ttec1_panel_remove, @@ -470,6 +499,7 @@ static struct spi_driver td028ttec1_spi_driver = { .driver = { .name = "panel-tpo-td028ttec1", .owner = THIS_MODULE, + .of_match_table = td028ttec1_of_match, }, }; -- 1.9.1 ^ permalink raw reply related [flat|nested] 26+ messages in thread
* [PATCH v3 2/3] ARM: dts: oma3-gta04: Add display support 2014-05-08 20:16 ` Marek Belisko (?) @ 2014-05-08 20:16 ` Marek Belisko -1 siblings, 0 replies; 26+ messages in thread From: Marek Belisko @ 2014-05-08 20:16 UTC (permalink / raw) To: linux-arm-kernel This patch add support for lcd display on gta04 board. Display control is connected to spi (used spi bitbang driver). Signed-off-by: Marek Belisko <marek@goldelico.com> --- arch/arm/boot/dts/omap3-gta04.dts | 87 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts index f8ad125..eb9ab1a 100644 --- a/arch/arm/boot/dts/omap3-gta04.dts +++ b/arch/arm/boot/dts/omap3-gta04.dts @@ -44,6 +44,36 @@ ti,mcbsp = <&mcbsp2>; ti,codec = <&twl_audio>; }; + + spi_lcd { + compatible = "spi-gpio"; + #address-cells = <0x1>; + #size-cells = <0x0>; + pinctrl-names = "default"; + pinctrl-0 = <&spi_gpio_pins>; + + gpio-sck = <&gpio1 12 0>; + gpio-miso = <&gpio1 18 0>; + gpio-mosi = <&gpio1 20 0>; + cs-gpios = <&gpio1 19 0>; + num-chipselects = <1>; + + /* lcd panel */ + lcd: td028ttec1@0 { + compatible = "toppoly,td028ttec1"; + reg = <0>; + spi-max-frequency = <100000>; + spi-cpol; + spi-cpha; + + label = "lcd"; + port { + lcd_in: endpoint { + remote-endpoint = <&dpi_out>; + }; + }; + }; + }; }; &omap3_pmx_core { @@ -78,6 +108,47 @@ 0x11e (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */ >; }; + + dss_dpi_pins: pinmux_dss_dpi_pins { + pinctrl-single,pins = < + 0x0a4 (PIN_OUTPUT | MUX_MODE0) /* dss_pclk.dss_pclk */ + 0x0a6 (PIN_OUTPUT | MUX_MODE0) /* dss_hsync.dss_hsync */ + 0x0a8 (PIN_OUTPUT | MUX_MODE0) /* dss_vsync.dss_vsync */ + 0x0aa (PIN_OUTPUT | MUX_MODE0) /* dss_acbias.dss_acbias */ + 0x0ac (PIN_OUTPUT | MUX_MODE0) /* dss_data0.dss_data0 */ + 0x0ae (PIN_OUTPUT | MUX_MODE0) /* dss_data1.dss_data1 */ + 0x0b0 (PIN_OUTPUT | MUX_MODE0) /* dss_data2.dss_data2 */ + 0x0b2 (PIN_OUTPUT | MUX_MODE0) /* dss_data3.dss_data3 */ + 0x0b4 (PIN_OUTPUT | MUX_MODE0) /* dss_data4.dss_data4 */ + 0x0b6 (PIN_OUTPUT | MUX_MODE0) /* dss_data5.dss_data5 */ + 0x0b8 (PIN_OUTPUT | MUX_MODE0) /* dss_data6.dss_data6 */ + 0x0ba (PIN_OUTPUT | MUX_MODE0) /* dss_data7.dss_data7 */ + 0x0bc (PIN_OUTPUT | MUX_MODE0) /* dss_data8.dss_data8 */ + 0x0be (PIN_OUTPUT | MUX_MODE0) /* dss_data9.dss_data9 */ + 0x0c0 (PIN_OUTPUT | MUX_MODE0) /* dss_data10.dss_data10 */ + 0x0c2 (PIN_OUTPUT | MUX_MODE0) /* dss_data11.dss_data11 */ + 0x0c4 (PIN_OUTPUT | MUX_MODE0) /* dss_data12.dss_data12 */ + 0x0c6 (PIN_OUTPUT | MUX_MODE0) /* dss_data13.dss_data13 */ + 0x0c8 (PIN_OUTPUT | MUX_MODE0) /* dss_data14.dss_data14 */ + 0x0ca (PIN_OUTPUT | MUX_MODE0) /* dss_data15.dss_data15 */ + 0x0cc (PIN_OUTPUT | MUX_MODE0) /* dss_data16.dss_data16 */ + 0x0ce (PIN_OUTPUT | MUX_MODE0) /* dss_data17.dss_data17 */ + 0x0d0 (PIN_OUTPUT | MUX_MODE0) /* dss_data18.dss_data18 */ + 0x0d2 (PIN_OUTPUT | MUX_MODE0) /* dss_data19.dss_data19 */ + 0x0d4 (PIN_OUTPUT | MUX_MODE0) /* dss_data20.dss_data20 */ + 0x0d6 (PIN_OUTPUT | MUX_MODE0) /* dss_data21.dss_data21 */ + 0x0d8 (PIN_OUTPUT | MUX_MODE0) /* dss_data22.dss_data22 */ + 0x0da (PIN_OUTPUT | MUX_MODE0) /* dss_data23.dss_data23 */ + >; + }; + + spi_gpio_pins: spi_gpio_pinmux { + pinctrl-single,pins = <0x5a8 (PIN_OUTPUT | MUX_MODE4) /* clk */ + 0x5b6 (PIN_OUTPUT | MUX_MODE4) /* cs */ + 0x5b8 (PIN_OUTPUT | MUX_MODE4) /* tx */ + 0x5b4 (PIN_INPUT | MUX_MODE4) /* rx */ + >; + }; }; &i2c1 { @@ -219,3 +290,19 @@ regulator-min-microvolt = <2800000>; regulator-max-microvolt = <3150000>; }; + +&dss { + pinctrl-names = "default"; + pinctrl-0 = < &dss_dpi_pins >; + + status = "okay"; + + vdds_dsi-supply = <&vpll2>; + + port { + dpi_out: endpoint { + remote-endpoint = <&lcd_in>; + data-lines = <24>; + }; + }; +}; -- 1.9.1 ^ permalink raw reply related [flat|nested] 26+ messages in thread
* [PATCH v3 2/3] ARM: dts: oma3-gta04: Add display support @ 2014-05-08 20:16 ` Marek Belisko 0 siblings, 0 replies; 26+ messages in thread From: Marek Belisko @ 2014-05-08 20:16 UTC (permalink / raw) To: linux-arm-kernel This patch add support for lcd display on gta04 board. Display control is connected to spi (used spi bitbang driver). Signed-off-by: Marek Belisko <marek@goldelico.com> --- arch/arm/boot/dts/omap3-gta04.dts | 87 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts index f8ad125..eb9ab1a 100644 --- a/arch/arm/boot/dts/omap3-gta04.dts +++ b/arch/arm/boot/dts/omap3-gta04.dts @@ -44,6 +44,36 @@ ti,mcbsp = <&mcbsp2>; ti,codec = <&twl_audio>; }; + + spi_lcd { + compatible = "spi-gpio"; + #address-cells = <0x1>; + #size-cells = <0x0>; + pinctrl-names = "default"; + pinctrl-0 = <&spi_gpio_pins>; + + gpio-sck = <&gpio1 12 0>; + gpio-miso = <&gpio1 18 0>; + gpio-mosi = <&gpio1 20 0>; + cs-gpios = <&gpio1 19 0>; + num-chipselects = <1>; + + /* lcd panel */ + lcd: td028ttec1 at 0 { + compatible = "toppoly,td028ttec1"; + reg = <0>; + spi-max-frequency = <100000>; + spi-cpol; + spi-cpha; + + label = "lcd"; + port { + lcd_in: endpoint { + remote-endpoint = <&dpi_out>; + }; + }; + }; + }; }; &omap3_pmx_core { @@ -78,6 +108,47 @@ 0x11e (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */ >; }; + + dss_dpi_pins: pinmux_dss_dpi_pins { + pinctrl-single,pins = < + 0x0a4 (PIN_OUTPUT | MUX_MODE0) /* dss_pclk.dss_pclk */ + 0x0a6 (PIN_OUTPUT | MUX_MODE0) /* dss_hsync.dss_hsync */ + 0x0a8 (PIN_OUTPUT | MUX_MODE0) /* dss_vsync.dss_vsync */ + 0x0aa (PIN_OUTPUT | MUX_MODE0) /* dss_acbias.dss_acbias */ + 0x0ac (PIN_OUTPUT | MUX_MODE0) /* dss_data0.dss_data0 */ + 0x0ae (PIN_OUTPUT | MUX_MODE0) /* dss_data1.dss_data1 */ + 0x0b0 (PIN_OUTPUT | MUX_MODE0) /* dss_data2.dss_data2 */ + 0x0b2 (PIN_OUTPUT | MUX_MODE0) /* dss_data3.dss_data3 */ + 0x0b4 (PIN_OUTPUT | MUX_MODE0) /* dss_data4.dss_data4 */ + 0x0b6 (PIN_OUTPUT | MUX_MODE0) /* dss_data5.dss_data5 */ + 0x0b8 (PIN_OUTPUT | MUX_MODE0) /* dss_data6.dss_data6 */ + 0x0ba (PIN_OUTPUT | MUX_MODE0) /* dss_data7.dss_data7 */ + 0x0bc (PIN_OUTPUT | MUX_MODE0) /* dss_data8.dss_data8 */ + 0x0be (PIN_OUTPUT | MUX_MODE0) /* dss_data9.dss_data9 */ + 0x0c0 (PIN_OUTPUT | MUX_MODE0) /* dss_data10.dss_data10 */ + 0x0c2 (PIN_OUTPUT | MUX_MODE0) /* dss_data11.dss_data11 */ + 0x0c4 (PIN_OUTPUT | MUX_MODE0) /* dss_data12.dss_data12 */ + 0x0c6 (PIN_OUTPUT | MUX_MODE0) /* dss_data13.dss_data13 */ + 0x0c8 (PIN_OUTPUT | MUX_MODE0) /* dss_data14.dss_data14 */ + 0x0ca (PIN_OUTPUT | MUX_MODE0) /* dss_data15.dss_data15 */ + 0x0cc (PIN_OUTPUT | MUX_MODE0) /* dss_data16.dss_data16 */ + 0x0ce (PIN_OUTPUT | MUX_MODE0) /* dss_data17.dss_data17 */ + 0x0d0 (PIN_OUTPUT | MUX_MODE0) /* dss_data18.dss_data18 */ + 0x0d2 (PIN_OUTPUT | MUX_MODE0) /* dss_data19.dss_data19 */ + 0x0d4 (PIN_OUTPUT | MUX_MODE0) /* dss_data20.dss_data20 */ + 0x0d6 (PIN_OUTPUT | MUX_MODE0) /* dss_data21.dss_data21 */ + 0x0d8 (PIN_OUTPUT | MUX_MODE0) /* dss_data22.dss_data22 */ + 0x0da (PIN_OUTPUT | MUX_MODE0) /* dss_data23.dss_data23 */ + >; + }; + + spi_gpio_pins: spi_gpio_pinmux { + pinctrl-single,pins = <0x5a8 (PIN_OUTPUT | MUX_MODE4) /* clk */ + 0x5b6 (PIN_OUTPUT | MUX_MODE4) /* cs */ + 0x5b8 (PIN_OUTPUT | MUX_MODE4) /* tx */ + 0x5b4 (PIN_INPUT | MUX_MODE4) /* rx */ + >; + }; }; &i2c1 { @@ -219,3 +290,19 @@ regulator-min-microvolt = <2800000>; regulator-max-microvolt = <3150000>; }; + +&dss { + pinctrl-names = "default"; + pinctrl-0 = < &dss_dpi_pins >; + + status = "okay"; + + vdds_dsi-supply = <&vpll2>; + + port { + dpi_out: endpoint { + remote-endpoint = <&lcd_in>; + data-lines = <24>; + }; + }; +}; -- 1.9.1 ^ permalink raw reply related [flat|nested] 26+ messages in thread
* [PATCH v3 2/3] ARM: dts: oma3-gta04: Add display support @ 2014-05-08 20:16 ` Marek Belisko 0 siblings, 0 replies; 26+ messages in thread From: Marek Belisko @ 2014-05-08 20:16 UTC (permalink / raw) To: robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak, rdunlap, bcousson, tony, linux, plagnioj, tomi.valkeinen, grant.likely Cc: devicetree, linux-doc, linux-kernel, linux-omap, linux-arm-kernel, linux-fbdev, hns, Marek Belisko This patch add support for lcd display on gta04 board. Display control is connected to spi (used spi bitbang driver). Signed-off-by: Marek Belisko <marek@goldelico.com> --- arch/arm/boot/dts/omap3-gta04.dts | 87 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts index f8ad125..eb9ab1a 100644 --- a/arch/arm/boot/dts/omap3-gta04.dts +++ b/arch/arm/boot/dts/omap3-gta04.dts @@ -44,6 +44,36 @@ ti,mcbsp = <&mcbsp2>; ti,codec = <&twl_audio>; }; + + spi_lcd { + compatible = "spi-gpio"; + #address-cells = <0x1>; + #size-cells = <0x0>; + pinctrl-names = "default"; + pinctrl-0 = <&spi_gpio_pins>; + + gpio-sck = <&gpio1 12 0>; + gpio-miso = <&gpio1 18 0>; + gpio-mosi = <&gpio1 20 0>; + cs-gpios = <&gpio1 19 0>; + num-chipselects = <1>; + + /* lcd panel */ + lcd: td028ttec1@0 { + compatible = "toppoly,td028ttec1"; + reg = <0>; + spi-max-frequency = <100000>; + spi-cpol; + spi-cpha; + + label = "lcd"; + port { + lcd_in: endpoint { + remote-endpoint = <&dpi_out>; + }; + }; + }; + }; }; &omap3_pmx_core { @@ -78,6 +108,47 @@ 0x11e (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc1_dat3.sdmmc1_dat3 */ >; }; + + dss_dpi_pins: pinmux_dss_dpi_pins { + pinctrl-single,pins = < + 0x0a4 (PIN_OUTPUT | MUX_MODE0) /* dss_pclk.dss_pclk */ + 0x0a6 (PIN_OUTPUT | MUX_MODE0) /* dss_hsync.dss_hsync */ + 0x0a8 (PIN_OUTPUT | MUX_MODE0) /* dss_vsync.dss_vsync */ + 0x0aa (PIN_OUTPUT | MUX_MODE0) /* dss_acbias.dss_acbias */ + 0x0ac (PIN_OUTPUT | MUX_MODE0) /* dss_data0.dss_data0 */ + 0x0ae (PIN_OUTPUT | MUX_MODE0) /* dss_data1.dss_data1 */ + 0x0b0 (PIN_OUTPUT | MUX_MODE0) /* dss_data2.dss_data2 */ + 0x0b2 (PIN_OUTPUT | MUX_MODE0) /* dss_data3.dss_data3 */ + 0x0b4 (PIN_OUTPUT | MUX_MODE0) /* dss_data4.dss_data4 */ + 0x0b6 (PIN_OUTPUT | MUX_MODE0) /* dss_data5.dss_data5 */ + 0x0b8 (PIN_OUTPUT | MUX_MODE0) /* dss_data6.dss_data6 */ + 0x0ba (PIN_OUTPUT | MUX_MODE0) /* dss_data7.dss_data7 */ + 0x0bc (PIN_OUTPUT | MUX_MODE0) /* dss_data8.dss_data8 */ + 0x0be (PIN_OUTPUT | MUX_MODE0) /* dss_data9.dss_data9 */ + 0x0c0 (PIN_OUTPUT | MUX_MODE0) /* dss_data10.dss_data10 */ + 0x0c2 (PIN_OUTPUT | MUX_MODE0) /* dss_data11.dss_data11 */ + 0x0c4 (PIN_OUTPUT | MUX_MODE0) /* dss_data12.dss_data12 */ + 0x0c6 (PIN_OUTPUT | MUX_MODE0) /* dss_data13.dss_data13 */ + 0x0c8 (PIN_OUTPUT | MUX_MODE0) /* dss_data14.dss_data14 */ + 0x0ca (PIN_OUTPUT | MUX_MODE0) /* dss_data15.dss_data15 */ + 0x0cc (PIN_OUTPUT | MUX_MODE0) /* dss_data16.dss_data16 */ + 0x0ce (PIN_OUTPUT | MUX_MODE0) /* dss_data17.dss_data17 */ + 0x0d0 (PIN_OUTPUT | MUX_MODE0) /* dss_data18.dss_data18 */ + 0x0d2 (PIN_OUTPUT | MUX_MODE0) /* dss_data19.dss_data19 */ + 0x0d4 (PIN_OUTPUT | MUX_MODE0) /* dss_data20.dss_data20 */ + 0x0d6 (PIN_OUTPUT | MUX_MODE0) /* dss_data21.dss_data21 */ + 0x0d8 (PIN_OUTPUT | MUX_MODE0) /* dss_data22.dss_data22 */ + 0x0da (PIN_OUTPUT | MUX_MODE0) /* dss_data23.dss_data23 */ + >; + }; + + spi_gpio_pins: spi_gpio_pinmux { + pinctrl-single,pins = <0x5a8 (PIN_OUTPUT | MUX_MODE4) /* clk */ + 0x5b6 (PIN_OUTPUT | MUX_MODE4) /* cs */ + 0x5b8 (PIN_OUTPUT | MUX_MODE4) /* tx */ + 0x5b4 (PIN_INPUT | MUX_MODE4) /* rx */ + >; + }; }; &i2c1 { @@ -219,3 +290,19 @@ regulator-min-microvolt = <2800000>; regulator-max-microvolt = <3150000>; }; + +&dss { + pinctrl-names = "default"; + pinctrl-0 = < &dss_dpi_pins >; + + status = "okay"; + + vdds_dsi-supply = <&vpll2>; + + port { + dpi_out: endpoint { + remote-endpoint = <&lcd_in>; + data-lines = <24>; + }; + }; +}; -- 1.9.1 ^ permalink raw reply related [flat|nested] 26+ messages in thread
* Re: [PATCH v3 2/3] ARM: dts: oma3-gta04: Add display support 2014-05-08 20:16 ` Marek Belisko (?) (?) @ 2014-05-23 8:20 ` Tomi Valkeinen -1 siblings, 0 replies; 26+ messages in thread From: Tomi Valkeinen @ 2014-05-23 8:20 UTC (permalink / raw) To: linux-arm-kernel [-- Attachment #1: Type: text/plain, Size: 433 bytes --] On 08/05/14 23:16, Marek Belisko wrote: > This patch add support for lcd display on gta04 board. Display control > is connected to spi (used spi bitbang driver). > > Signed-off-by: Marek Belisko <marek@goldelico.com> > --- > arch/arm/boot/dts/omap3-gta04.dts | 87 +++++++++++++++++++++++++++++++++++++++ > 1 file changed, 87 insertions(+) I can take this via my tree. Tony, can I have your ack on this? Tomi [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH v3 2/3] ARM: dts: oma3-gta04: Add display support @ 2014-05-23 8:20 ` Tomi Valkeinen 0 siblings, 0 replies; 26+ messages in thread From: Tomi Valkeinen @ 2014-05-23 8:20 UTC (permalink / raw) To: Marek Belisko, tony Cc: robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak, rdunlap, bcousson, linux, plagnioj, grant.likely, devicetree, linux-doc, linux-kernel, linux-omap, linux-arm-kernel, linux-fbdev, hns [-- Attachment #1: Type: text/plain, Size: 433 bytes --] On 08/05/14 23:16, Marek Belisko wrote: > This patch add support for lcd display on gta04 board. Display control > is connected to spi (used spi bitbang driver). > > Signed-off-by: Marek Belisko <marek@goldelico.com> > --- > arch/arm/boot/dts/omap3-gta04.dts | 87 +++++++++++++++++++++++++++++++++++++++ > 1 file changed, 87 insertions(+) I can take this via my tree. Tony, can I have your ack on this? Tomi [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH v3 2/3] ARM: dts: oma3-gta04: Add display support @ 2014-05-23 8:20 ` Tomi Valkeinen 0 siblings, 0 replies; 26+ messages in thread From: Tomi Valkeinen @ 2014-05-23 8:20 UTC (permalink / raw) To: linux-arm-kernel On 08/05/14 23:16, Marek Belisko wrote: > This patch add support for lcd display on gta04 board. Display control > is connected to spi (used spi bitbang driver). > > Signed-off-by: Marek Belisko <marek@goldelico.com> > --- > arch/arm/boot/dts/omap3-gta04.dts | 87 +++++++++++++++++++++++++++++++++++++++ > 1 file changed, 87 insertions(+) I can take this via my tree. Tony, can I have your ack on this? Tomi -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140523/74a029ad/attachment.sig> ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH v3 2/3] ARM: dts: oma3-gta04: Add display support @ 2014-05-23 8:20 ` Tomi Valkeinen 0 siblings, 0 replies; 26+ messages in thread From: Tomi Valkeinen @ 2014-05-23 8:20 UTC (permalink / raw) To: Marek Belisko, tony Cc: robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak, rdunlap, bcousson, linux, plagnioj, grant.likely, devicetree, linux-doc, linux-kernel, linux-omap, linux-arm-kernel, linux-fbdev, hns [-- Attachment #1: Type: text/plain, Size: 433 bytes --] On 08/05/14 23:16, Marek Belisko wrote: > This patch add support for lcd display on gta04 board. Display control > is connected to spi (used spi bitbang driver). > > Signed-off-by: Marek Belisko <marek@goldelico.com> > --- > arch/arm/boot/dts/omap3-gta04.dts | 87 +++++++++++++++++++++++++++++++++++++++ > 1 file changed, 87 insertions(+) I can take this via my tree. Tony, can I have your ack on this? Tomi [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH v3 2/3] ARM: dts: oma3-gta04: Add display support @ 2014-05-23 14:45 ` Tony Lindgren 0 siblings, 0 replies; 26+ messages in thread From: Tony Lindgren @ 2014-05-23 14:45 UTC (permalink / raw) To: linux-arm-kernel * Tomi Valkeinen <tomi.valkeinen@ti.com> [140523 01:21]: > On 08/05/14 23:16, Marek Belisko wrote: > > This patch add support for lcd display on gta04 board. Display control > > is connected to spi (used spi bitbang driver). > > > > Signed-off-by: Marek Belisko <marek@goldelico.com> > > --- > > arch/arm/boot/dts/omap3-gta04.dts | 87 +++++++++++++++++++++++++++++++++++++++ > > 1 file changed, 87 insertions(+) > > I can take this via my tree. > > Tony, can I have your ack on this? Yes for the whole series: Acked-by: Tony Lindgren <tony@atomide.com> ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH v3 2/3] ARM: dts: oma3-gta04: Add display support @ 2014-05-23 14:45 ` Tony Lindgren 0 siblings, 0 replies; 26+ messages in thread From: Tony Lindgren @ 2014-05-23 14:45 UTC (permalink / raw) To: Tomi Valkeinen Cc: Marek Belisko, robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak, rdunlap, bcousson, linux, plagnioj, grant.likely, devicetree, linux-doc, linux-kernel, linux-omap, linux-arm-kernel, linux-fbdev, hns * Tomi Valkeinen <tomi.valkeinen@ti.com> [140523 01:21]: > On 08/05/14 23:16, Marek Belisko wrote: > > This patch add support for lcd display on gta04 board. Display control > > is connected to spi (used spi bitbang driver). > > > > Signed-off-by: Marek Belisko <marek@goldelico.com> > > --- > > arch/arm/boot/dts/omap3-gta04.dts | 87 +++++++++++++++++++++++++++++++++++++++ > > 1 file changed, 87 insertions(+) > > I can take this via my tree. > > Tony, can I have your ack on this? Yes for the whole series: Acked-by: Tony Lindgren <tony@atomide.com> ^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH v3 2/3] ARM: dts: oma3-gta04: Add display support @ 2014-05-23 14:45 ` Tony Lindgren 0 siblings, 0 replies; 26+ messages in thread From: Tony Lindgren @ 2014-05-23 14:45 UTC (permalink / raw) To: linux-arm-kernel * Tomi Valkeinen <tomi.valkeinen@ti.com> [140523 01:21]: > On 08/05/14 23:16, Marek Belisko wrote: > > This patch add support for lcd display on gta04 board. Display control > > is connected to spi (used spi bitbang driver). > > > > Signed-off-by: Marek Belisko <marek@goldelico.com> > > --- > > arch/arm/boot/dts/omap3-gta04.dts | 87 +++++++++++++++++++++++++++++++++++++++ > > 1 file changed, 87 insertions(+) > > I can take this via my tree. > > Tony, can I have your ack on this? Yes for the whole series: Acked-by: Tony Lindgren <tony@atomide.com> ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH v3 2/3] ARM: dts: oma3-gta04: Add display support @ 2014-05-23 14:45 ` Tony Lindgren 0 siblings, 0 replies; 26+ messages in thread From: Tony Lindgren @ 2014-05-23 14:45 UTC (permalink / raw) To: Tomi Valkeinen Cc: Marek Belisko, robh+dt-DgEjT+Ai2ygdnm+yROfE0A, pawel.moll-5wv7dgnIgG8, mark.rutland-5wv7dgnIgG8, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg, galak-sgV2jX0FEOL9JmXXK+q4OQ, rdunlap-wEGCiKHe2LqWVfeAwA7xHQ, bcousson-rdvid1DuHRBWk0Htik3J/w, linux-lFZ/pmaqli7XmaaqVzeoHQ, plagnioj-sclMFOaUSTBWk0Htik3J/w, grant.likely-QSEj5FYQhm4dnm+yROfE0A, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-doc-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, linux-omap-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-fbdev-u79uwXL29TY76Z2rM5mHXA, hns-xXXSsgcRVICgSpxsJD1C4w * Tomi Valkeinen <tomi.valkeinen-l0cyMroinI0@public.gmane.org> [140523 01:21]: > On 08/05/14 23:16, Marek Belisko wrote: > > This patch add support for lcd display on gta04 board. Display control > > is connected to spi (used spi bitbang driver). > > > > Signed-off-by: Marek Belisko <marek-xXXSsgcRVICgSpxsJD1C4w@public.gmane.org> > > --- > > arch/arm/boot/dts/omap3-gta04.dts | 87 +++++++++++++++++++++++++++++++++++++++ > > 1 file changed, 87 insertions(+) > > I can take this via my tree. > > Tony, can I have your ack on this? Yes for the whole series: Acked-by: Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org> -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH v3 3/3] omapdss: panel-tpo-td028ec1: Add module alias @ 2014-05-08 20:16 ` Marek Belisko 0 siblings, 0 replies; 26+ messages in thread From: Marek Belisko @ 2014-05-08 20:16 UTC (permalink / raw) To: linux-arm-kernel Add module alias string to make it working when panel is compiled as module. Without this change panel module is not probed thus display is not working. Signed-off-by: Marek Belisko <marek@goldelico.com> --- drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c b/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c index 5b3466e..728808b 100644 --- a/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c +++ b/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c @@ -505,6 +505,7 @@ static struct spi_driver td028ttec1_spi_driver = { module_spi_driver(td028ttec1_spi_driver); +MODULE_ALIAS("spi:toppoly,td028ttec1"); MODULE_AUTHOR("H. Nikolaus Schaller <hns@goldelico.com>"); MODULE_DESCRIPTION("Toppoly TD028TTEC1 panel driver"); MODULE_LICENSE("GPL"); -- 1.9.1 ^ permalink raw reply related [flat|nested] 26+ messages in thread
* [PATCH v3 3/3] omapdss: panel-tpo-td028ec1: Add module alias @ 2014-05-08 20:16 ` Marek Belisko 0 siblings, 0 replies; 26+ messages in thread From: Marek Belisko @ 2014-05-08 20:16 UTC (permalink / raw) To: robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak, rdunlap, bcousson, tony, linux, plagnioj, tomi.valkeinen, grant.likely Cc: devicetree, linux-doc, linux-kernel, linux-omap, linux-arm-kernel, linux-fbdev, hns, Marek Belisko Add module alias string to make it working when panel is compiled as module. Without this change panel module is not probed thus display is not working. Signed-off-by: Marek Belisko <marek@goldelico.com> --- drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c b/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c index 5b3466e..728808b 100644 --- a/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c +++ b/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c @@ -505,6 +505,7 @@ static struct spi_driver td028ttec1_spi_driver = { module_spi_driver(td028ttec1_spi_driver); +MODULE_ALIAS("spi:toppoly,td028ttec1"); MODULE_AUTHOR("H. Nikolaus Schaller <hns@goldelico.com>"); MODULE_DESCRIPTION("Toppoly TD028TTEC1 panel driver"); MODULE_LICENSE("GPL"); -- 1.9.1 ^ permalink raw reply related [flat|nested] 26+ messages in thread
* [PATCH v3 3/3] omapdss: panel-tpo-td028ec1: Add module alias @ 2014-05-08 20:16 ` Marek Belisko 0 siblings, 0 replies; 26+ messages in thread From: Marek Belisko @ 2014-05-08 20:16 UTC (permalink / raw) To: linux-arm-kernel Add module alias string to make it working when panel is compiled as module. Without this change panel module is not probed thus display is not working. Signed-off-by: Marek Belisko <marek@goldelico.com> --- drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c b/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c index 5b3466e..728808b 100644 --- a/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c +++ b/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c @@ -505,6 +505,7 @@ static struct spi_driver td028ttec1_spi_driver = { module_spi_driver(td028ttec1_spi_driver); +MODULE_ALIAS("spi:toppoly,td028ttec1"); MODULE_AUTHOR("H. Nikolaus Schaller <hns@goldelico.com>"); MODULE_DESCRIPTION("Toppoly TD028TTEC1 panel driver"); MODULE_LICENSE("GPL"); -- 1.9.1 ^ permalink raw reply related [flat|nested] 26+ messages in thread
* [PATCH v3 3/3] omapdss: panel-tpo-td028ec1: Add module alias @ 2014-05-08 20:16 ` Marek Belisko 0 siblings, 0 replies; 26+ messages in thread From: Marek Belisko @ 2014-05-08 20:16 UTC (permalink / raw) To: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, pawel.moll-5wv7dgnIgG8, mark.rutland-5wv7dgnIgG8, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg, galak-sgV2jX0FEOL9JmXXK+q4OQ, rdunlap-wEGCiKHe2LqWVfeAwA7xHQ, bcousson-rdvid1DuHRBWk0Htik3J/w, tony-4v6yS6AI5VpBDgjK7y7TUQ, linux-lFZ/pmaqli7XmaaqVzeoHQ, plagnioj-sclMFOaUSTBWk0Htik3J/w, tomi.valkeinen-l0cyMroinI0, grant.likely-QSEj5FYQhm4dnm+yROfE0A Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, linux-doc-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, linux-omap-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-fbdev-u79uwXL29TY76Z2rM5mHXA, hns-xXXSsgcRVICgSpxsJD1C4w, Marek Belisko Add module alias string to make it working when panel is compiled as module. Without this change panel module is not probed thus display is not working. Signed-off-by: Marek Belisko <marek-xXXSsgcRVICgSpxsJD1C4w@public.gmane.org> --- drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c b/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c index 5b3466e..728808b 100644 --- a/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c +++ b/drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c @@ -505,6 +505,7 @@ static struct spi_driver td028ttec1_spi_driver = { module_spi_driver(td028ttec1_spi_driver); +MODULE_ALIAS("spi:toppoly,td028ttec1"); MODULE_AUTHOR("H. Nikolaus Schaller <hns-xXXSsgcRVICgSpxsJD1C4w@public.gmane.org>"); MODULE_DESCRIPTION("Toppoly TD028TTEC1 panel driver"); MODULE_LICENSE("GPL"); -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 26+ messages in thread
* Re: [PATCH v3 0/3] Add display support for gta04 device 2014-05-08 20:16 ` Marek Belisko (?) (?) @ 2014-05-09 9:37 ` Tomi Valkeinen -1 siblings, 0 replies; 26+ messages in thread From: Tomi Valkeinen @ 2014-05-09 9:37 UTC (permalink / raw) To: linux-arm-kernel [-- Attachment #1: Type: text/plain, Size: 1244 bytes --] On 08/05/14 23:16, Marek Belisko wrote: > This 3 patches adding display support for openmoko gta04 device. > First patch add DT bindings for topolly td028 panel. Second add description for > dss + panel and third fix panel probing when panel is compiled as module. > > Changes from v2: > - add missing 'port' node for dpi_out endpoint (comment from Tomi Valkeinen) > > Changes from v1: > - extend panel compatible string by 'omapdss' > - add tpo-td028 panel to dss_compat_conv_list > - add MODULE_ALIAS macro to properly probe panel when is compiled as module > > Marek Belisko (3): > omapdss: panel-tpo-td028ec1: Add DT support. > ARM: dts: oma3-gta04: Add display support > omapdss: panel-tpo-td028ec1: Add module alias > > .../bindings/video/toppoly,td028ttec1.txt | 30 ++++++++ > arch/arm/boot/dts/omap3-gta04.dts | 87 ++++++++++++++++++++++ > arch/arm/mach-omap2/display.c | 1 + > .../omap2/displays-new/panel-tpo-td028ttec1.c | 33 +++++++- > 4 files changed, 150 insertions(+), 1 deletion(-) > create mode 100644 Documentation/devicetree/bindings/video/toppoly,td028ttec1.txt > I think this series looks fine. I'll pick it up. Tomi [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH v3 0/3] Add display support for gta04 device @ 2014-05-09 9:37 ` Tomi Valkeinen 0 siblings, 0 replies; 26+ messages in thread From: Tomi Valkeinen @ 2014-05-09 9:37 UTC (permalink / raw) To: Marek Belisko Cc: robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak, rdunlap, bcousson, tony, linux, plagnioj, grant.likely, devicetree, linux-doc, linux-kernel, linux-omap, linux-arm-kernel, linux-fbdev, hns [-- Attachment #1: Type: text/plain, Size: 1244 bytes --] On 08/05/14 23:16, Marek Belisko wrote: > This 3 patches adding display support for openmoko gta04 device. > First patch add DT bindings for topolly td028 panel. Second add description for > dss + panel and third fix panel probing when panel is compiled as module. > > Changes from v2: > - add missing 'port' node for dpi_out endpoint (comment from Tomi Valkeinen) > > Changes from v1: > - extend panel compatible string by 'omapdss' > - add tpo-td028 panel to dss_compat_conv_list > - add MODULE_ALIAS macro to properly probe panel when is compiled as module > > Marek Belisko (3): > omapdss: panel-tpo-td028ec1: Add DT support. > ARM: dts: oma3-gta04: Add display support > omapdss: panel-tpo-td028ec1: Add module alias > > .../bindings/video/toppoly,td028ttec1.txt | 30 ++++++++ > arch/arm/boot/dts/omap3-gta04.dts | 87 ++++++++++++++++++++++ > arch/arm/mach-omap2/display.c | 1 + > .../omap2/displays-new/panel-tpo-td028ttec1.c | 33 +++++++- > 4 files changed, 150 insertions(+), 1 deletion(-) > create mode 100644 Documentation/devicetree/bindings/video/toppoly,td028ttec1.txt > I think this series looks fine. I'll pick it up. Tomi [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 26+ messages in thread
* [PATCH v3 0/3] Add display support for gta04 device @ 2014-05-09 9:37 ` Tomi Valkeinen 0 siblings, 0 replies; 26+ messages in thread From: Tomi Valkeinen @ 2014-05-09 9:37 UTC (permalink / raw) To: linux-arm-kernel On 08/05/14 23:16, Marek Belisko wrote: > This 3 patches adding display support for openmoko gta04 device. > First patch add DT bindings for topolly td028 panel. Second add description for > dss + panel and third fix panel probing when panel is compiled as module. > > Changes from v2: > - add missing 'port' node for dpi_out endpoint (comment from Tomi Valkeinen) > > Changes from v1: > - extend panel compatible string by 'omapdss' > - add tpo-td028 panel to dss_compat_conv_list > - add MODULE_ALIAS macro to properly probe panel when is compiled as module > > Marek Belisko (3): > omapdss: panel-tpo-td028ec1: Add DT support. > ARM: dts: oma3-gta04: Add display support > omapdss: panel-tpo-td028ec1: Add module alias > > .../bindings/video/toppoly,td028ttec1.txt | 30 ++++++++ > arch/arm/boot/dts/omap3-gta04.dts | 87 ++++++++++++++++++++++ > arch/arm/mach-omap2/display.c | 1 + > .../omap2/displays-new/panel-tpo-td028ttec1.c | 33 +++++++- > 4 files changed, 150 insertions(+), 1 deletion(-) > create mode 100644 Documentation/devicetree/bindings/video/toppoly,td028ttec1.txt > I think this series looks fine. I'll pick it up. Tomi -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140509/24da857c/attachment.sig> ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: [PATCH v3 0/3] Add display support for gta04 device @ 2014-05-09 9:37 ` Tomi Valkeinen 0 siblings, 0 replies; 26+ messages in thread From: Tomi Valkeinen @ 2014-05-09 9:37 UTC (permalink / raw) To: Marek Belisko Cc: robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak, rdunlap, bcousson, tony, linux, plagnioj, grant.likely, devicetree, linux-doc, linux-kernel, linux-omap, linux-arm-kernel, linux-fbdev, hns [-- Attachment #1: Type: text/plain, Size: 1244 bytes --] On 08/05/14 23:16, Marek Belisko wrote: > This 3 patches adding display support for openmoko gta04 device. > First patch add DT bindings for topolly td028 panel. Second add description for > dss + panel and third fix panel probing when panel is compiled as module. > > Changes from v2: > - add missing 'port' node for dpi_out endpoint (comment from Tomi Valkeinen) > > Changes from v1: > - extend panel compatible string by 'omapdss' > - add tpo-td028 panel to dss_compat_conv_list > - add MODULE_ALIAS macro to properly probe panel when is compiled as module > > Marek Belisko (3): > omapdss: panel-tpo-td028ec1: Add DT support. > ARM: dts: oma3-gta04: Add display support > omapdss: panel-tpo-td028ec1: Add module alias > > .../bindings/video/toppoly,td028ttec1.txt | 30 ++++++++ > arch/arm/boot/dts/omap3-gta04.dts | 87 ++++++++++++++++++++++ > arch/arm/mach-omap2/display.c | 1 + > .../omap2/displays-new/panel-tpo-td028ttec1.c | 33 +++++++- > 4 files changed, 150 insertions(+), 1 deletion(-) > create mode 100644 Documentation/devicetree/bindings/video/toppoly,td028ttec1.txt > I think this series looks fine. I'll pick it up. Tomi [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 26+ messages in thread
end of thread, other threads:[~2014-05-23 14:45 UTC | newest] Thread overview: 26+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-05-08 20:16 [PATCH v3 0/3] Add display support for gta04 device Marek Belisko 2014-05-08 20:16 ` Marek Belisko 2014-05-08 20:16 ` Marek Belisko 2014-05-08 20:16 ` [PATCH v3 1/3] omapdss: panel-tpo-td028ec1: Add DT support Marek Belisko 2014-05-08 20:16 ` Marek Belisko 2014-05-08 20:16 ` Marek Belisko 2014-05-08 20:16 ` Marek Belisko 2014-05-08 20:16 ` [PATCH v3 2/3] ARM: dts: oma3-gta04: Add display support Marek Belisko 2014-05-08 20:16 ` Marek Belisko 2014-05-08 20:16 ` Marek Belisko 2014-05-23 8:20 ` Tomi Valkeinen 2014-05-23 8:20 ` Tomi Valkeinen 2014-05-23 8:20 ` Tomi Valkeinen 2014-05-23 8:20 ` Tomi Valkeinen 2014-05-23 14:45 ` Tony Lindgren 2014-05-23 14:45 ` Tony Lindgren 2014-05-23 14:45 ` Tony Lindgren 2014-05-23 14:45 ` Tony Lindgren 2014-05-08 20:16 ` [PATCH v3 3/3] omapdss: panel-tpo-td028ec1: Add module alias Marek Belisko 2014-05-08 20:16 ` Marek Belisko 2014-05-08 20:16 ` Marek Belisko 2014-05-08 20:16 ` Marek Belisko 2014-05-09 9:37 ` [PATCH v3 0/3] Add display support for gta04 device Tomi Valkeinen 2014-05-09 9:37 ` Tomi Valkeinen 2014-05-09 9:37 ` Tomi Valkeinen 2014-05-09 9:37 ` 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.