提交 2d178a4a 编写于 作者: S Steffen Trumtrar 提交者: Dave Airlie

video: of: display_timing: add doubleclk flag

Signed-off-by: NSteffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 267fdd92
...@@ -34,6 +34,7 @@ optional properties: ...@@ -34,6 +34,7 @@ optional properties:
- ignored = ignored - ignored = ignored
- interlaced (bool): boolean to enable interlaced mode - interlaced (bool): boolean to enable interlaced mode
- doublescan (bool): boolean to enable doublescan mode - doublescan (bool): boolean to enable doublescan mode
- doubleclk (bool): boolean to enable doubleclock mode
All the optional properties that are not bool follow the following logic: All the optional properties that are not bool follow the following logic:
<1>: high active <1>: high active
......
...@@ -98,6 +98,8 @@ static struct display_timing *of_get_display_timing(const struct device_node ...@@ -98,6 +98,8 @@ static struct display_timing *of_get_display_timing(const struct device_node
dt->flags |= DISPLAY_FLAGS_INTERLACED; dt->flags |= DISPLAY_FLAGS_INTERLACED;
if (of_property_read_bool(np, "doublescan")) if (of_property_read_bool(np, "doublescan"))
dt->flags |= DISPLAY_FLAGS_DOUBLESCAN; dt->flags |= DISPLAY_FLAGS_DOUBLESCAN;
if (of_property_read_bool(np, "doubleclk"))
dt->flags |= DISPLAY_FLAGS_DOUBLECLK;
if (ret) { if (ret) {
pr_err("%s: error reading timing properties\n", pr_err("%s: error reading timing properties\n",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册