From: Rob Herring <robh@kernel.org>
To: Jyri Sarha <jsarha-l0cyMroinI0@public.gmane.org>
Cc: linux-fbdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
b.zolnierkie-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org,
tomi.valkeinen-l0cyMroinI0@public.gmane.org,
maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org,
bcousson-rdvid1DuHRBWk0Htik3J/w@public.gmane.org
Subject: Re: [PATCH v2 2/5] fbdev: ssd1307fb: Remove reset-active-low from the DT binding document
Date: Wed, 18 Jan 2017 22:28:04 +0000 [thread overview]
Message-ID: <20170118222804.ifqkkffot5n55gsk@rob-hp-laptop> (raw)
In-Reply-To: <b68e1b9b735543b9e1511cfeb8e5d9ceec6c7666.1484303628.git.jsarha-l0cyMroinI0@public.gmane.org>
On Fri, Jan 13, 2017 at 12:35:46PM +0200, Jyri Sarha wrote:
> Remove reset-active-low from the devicetree binding document. The actual
> implementation has never been there in the driver code and there is no
> reason to add it because the gpiod API supports gpio flags, including
> GPIO_ACTIVE_LOW, directly trough its own devicetree binding.
>
> Signed-off-by: Jyri Sarha <jsarha@ti.com>
> ---
> Documentation/devicetree/bindings/display/ssd1307fb.txt | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/display/ssd1307fb.txt b/Documentation/devicetree/bindings/display/ssd1307fb.txt
> index eb31ed4..4aee67f 100644
> --- a/Documentation/devicetree/bindings/display/ssd1307fb.txt
> +++ b/Documentation/devicetree/bindings/display/ssd1307fb.txt
> @@ -8,14 +8,14 @@ Required properties:
> 0x3c or 0x3d
> - pwm: Should contain the pwm to use according to the OF device tree PWM
> specification [0]. Only required for the ssd1307.
> - - reset-gpios: Should contain the GPIO used to reset the OLED display
> + - reset-gpios: Should contain the GPIO used to reset the OLED display. See
> + Documentation/devicetree/bindings/gpio/gpio.txt for details.
You need to define the active state. Does the active state actually
vary? Sounds like the compatible is not specific enough unless some
boards have an inverter.
> - solomon,height: Height in pixel of the screen driven by the controller
> - solomon,width: Width in pixel of the screen driven by the controller
> - solomon,page-offset: Offset of pages (band of 8 pixels) that the screen is
> mapped to.
>
> Optional properties:
> - - reset-active-low: Is the reset gpio is active on physical low?
> - solomon,segment-no-remap: Display needs normal (non-inverted) data column
> to segment mapping
> - solomon,com-seq: Display uses sequential COM pin configuration
> --
> 1.9.1
>
next prev parent reply other threads:[~2017-01-18 22:28 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20170113103601epcas4p38f03c4eb4147ff5a08e93af2cda635ba@epcas4p3.samsung.com>
2017-01-13 10:35 ` [PATCH v2 0/5] fbdev/ssd1307fb: Some changes and improvement Jyri Sarha
[not found] ` <cover.1484303628.git.jsarha-l0cyMroinI0@public.gmane.org>
2017-01-13 10:35 ` [PATCH v2 1/5] fbdev: ssd1307fb: Start to use gpiod API for reset gpio Jyri Sarha
2017-01-13 10:35 ` [PATCH v2 2/5] fbdev: ssd1307fb: Remove reset-active-low from the DT binding document Jyri Sarha
[not found] ` <b68e1b9b735543b9e1511cfeb8e5d9ceec6c7666.1484303628.git.jsarha-l0cyMroinI0@public.gmane.org>
2017-01-18 22:28 ` Rob Herring [this message]
2017-01-19 8:24 ` Jyri Sarha
2017-01-13 10:35 ` [PATCH v2 3/5] fbdev: ssd1307fb: Make reset gpio devicetree property optional Jyri Sarha
2017-01-13 10:35 ` [PATCH v2 4/5] fbdev/ssd1307fb: add support to enable VBAT Jyri Sarha
[not found] ` <214ae9ca86009148f233be71a3606917f3150dcd.1484303628.git.jsarha-l0cyMroinI0@public.gmane.org>
2017-01-18 22:33 ` Rob Herring
2017-01-19 13:15 ` Tomi Valkeinen
[not found] ` <754f3644-a157-bb90-1494-aba4fc1264f8-l0cyMroinI0@public.gmane.org>
2017-01-19 15:03 ` Rob Herring
[not found] ` <CAL_JsqLjTa2SWP_cNU9AV4tRZLDcjJsUV7pUvy=4UhQix7ZjQQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-01-19 15:08 ` Tomi Valkeinen
[not found] ` <c0372d48-b538-64ce-f187-0502a9a4a00e-l0cyMroinI0@public.gmane.org>
2017-01-19 16:22 ` Rob Herring
2017-01-13 10:35 ` [PATCH v2 5/5] fbdev/ssd1307fb: clear screen in probe Jyri Sarha
2017-02-08 15:15 ` [PATCH v2 0/5] fbdev/ssd1307fb: Some changes and improvement Bartlomiej Zolnierkiewicz
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=20170118222804.ifqkkffot5n55gsk@rob-hp-laptop \
--to=robh@kernel.org \
--cc=b.zolnierkie-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
--cc=bcousson-rdvid1DuHRBWk0Htik3J/w@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=jsarha-l0cyMroinI0@public.gmane.org \
--cc=linux-fbdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org \
--cc=tomi.valkeinen-l0cyMroinI0@public.gmane.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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox