From: Lucas Stach <l.stach@pengutronix.de> To: dri-devel@lists.freedesktop.org Cc: Dave Airlie <airlied@redhat.com>, linux-fbdev@vger.kernel.org, kernel@pengutronix.de, Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Subject: [PATCH 2/3] video: of: display_timing: add doubleclk flag Date: Mon, 27 May 2013 12:33:34 +0000 [thread overview] Message-ID: <1369658015-11743-2-git-send-email-l.stach@pengutronix.de> (raw) In-Reply-To: <1369658015-11743-1-git-send-email-l.stach@pengutronix.de> From: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> --- Documentation/devicetree/bindings/video/display-timing.txt | 1 + drivers/video/of_display_timing.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/video/display-timing.txt b/Documentation/devicetree/bindings/video/display-timing.txt index 1500385..e1d4a0b 100644 --- a/Documentation/devicetree/bindings/video/display-timing.txt +++ b/Documentation/devicetree/bindings/video/display-timing.txt @@ -34,6 +34,7 @@ optional properties: - ignored = ignored - interlaced (bool): boolean to enable interlaced 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: <1>: high active diff --git a/drivers/video/of_display_timing.c b/drivers/video/of_display_timing.c index 85c1a41..2894e03 100644 --- a/drivers/video/of_display_timing.c +++ b/drivers/video/of_display_timing.c @@ -98,6 +98,8 @@ static struct display_timing *of_get_display_timing(const struct device_node dt->flags |= DISPLAY_FLAGS_INTERLACED; if (of_property_read_bool(np, "doublescan")) dt->flags |= DISPLAY_FLAGS_DOUBLESCAN; + if (of_property_read_bool(np, "doubleclk")) + dt->flags |= DISPLAY_FLAGS_DOUBLECLK; if (ret) { pr_err("%s: error reading timing properties\n", -- 1.7.10.4
WARNING: multiple messages have this Message-ID (diff)
From: Lucas Stach <l.stach@pengutronix.de> To: dri-devel@lists.freedesktop.org Cc: Dave Airlie <airlied@redhat.com>, linux-fbdev@vger.kernel.org, kernel@pengutronix.de, Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Subject: [PATCH 2/3] video: of: display_timing: add doubleclk flag Date: Mon, 27 May 2013 14:33:34 +0200 [thread overview] Message-ID: <1369658015-11743-2-git-send-email-l.stach@pengutronix.de> (raw) In-Reply-To: <1369658015-11743-1-git-send-email-l.stach@pengutronix.de> From: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> --- Documentation/devicetree/bindings/video/display-timing.txt | 1 + drivers/video/of_display_timing.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/video/display-timing.txt b/Documentation/devicetree/bindings/video/display-timing.txt index 1500385..e1d4a0b 100644 --- a/Documentation/devicetree/bindings/video/display-timing.txt +++ b/Documentation/devicetree/bindings/video/display-timing.txt @@ -34,6 +34,7 @@ optional properties: - ignored = ignored - interlaced (bool): boolean to enable interlaced 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: <1>: high active diff --git a/drivers/video/of_display_timing.c b/drivers/video/of_display_timing.c index 85c1a41..2894e03 100644 --- a/drivers/video/of_display_timing.c +++ b/drivers/video/of_display_timing.c @@ -98,6 +98,8 @@ static struct display_timing *of_get_display_timing(const struct device_node dt->flags |= DISPLAY_FLAGS_INTERLACED; if (of_property_read_bool(np, "doublescan")) dt->flags |= DISPLAY_FLAGS_DOUBLESCAN; + if (of_property_read_bool(np, "doubleclk")) + dt->flags |= DISPLAY_FLAGS_DOUBLECLK; if (ret) { pr_err("%s: error reading timing properties\n", -- 1.7.10.4
next prev parent reply other threads:[~2013-05-27 12:33 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-05-27 12:33 [PATCH 1/3] video: display_timing: add doubleclk flag Lucas Stach 2013-05-27 12:33 ` Lucas Stach 2013-05-27 12:33 ` Lucas Stach [this message] 2013-05-27 12:33 ` [PATCH 2/3] video: of: " Lucas Stach 2013-05-27 12:33 ` [PATCH 3/3] drm_modes: videomode: " Lucas Stach 2013-05-27 12:33 ` Lucas Stach 2013-05-27 14:43 ` [PATCH 1/3] video: display_timing: " Jean-Christophe PLAGNIOL-VILLARD 2013-05-27 14:43 ` Jean-Christophe PLAGNIOL-VILLARD
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1369658015-11743-2-git-send-email-l.stach@pengutronix.de \ --to=l.stach@pengutronix.de \ --cc=FlorianSchandinat@gmx.de \ --cc=airlied@redhat.com \ --cc=dri-devel@lists.freedesktop.org \ --cc=kernel@pengutronix.de \ --cc=linux-fbdev@vger.kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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.