All of lore.kernel.org
 help / color / mirror / Atom feed
From: Linus Walleij <linus.walleij@linaro.org>
To: Jagan Teki <jagan@amarulasolutions.com>
Cc: "Thierry Reding" <thierry.reding@gmail.com>,
	"Sam Ravnborg" <sam@ravnborg.org>,
	dri-devel <dri-devel@lists.freedesktop.org>,
	phone-devel@vger.kernel.org,
	"Douglas Anderson" <dianders@chromium.org>,
	"Noralf Trønnes" <noralf@tronnes.org>
Subject: Re: [PATCH 2/2 v3] drm/panel: ws2401: Add driver for WideChips WS2401
Date: Fri, 9 Jul 2021 17:03:12 +0200	[thread overview]
Message-ID: <CACRpkdaSo_+z3tJzR8A5B9HhDVUHeutW9AHash9YgVo9SC+ARA@mail.gmail.com> (raw)
In-Reply-To: <CAMty3ZCjciURnUJnTOPDQOSaiDVRneJoe=w9U==73Jt=Wd895w@mail.gmail.com>

On Fri, Jul 9, 2021 at 11:25 AM Jagan Teki <jagan@amarulasolutions.com> wrote:

> > +       /* Assert reset >=1 ms */
> > +       gpiod_set_value_cansleep(ws->reset, 1);
> > +       usleep_range(1000, 5000);
> > +       /* De-assert reset */
> > +       gpiod_set_value_cansleep(ws->reset, 0);
> > +       /* Wait >= 10 ms */
> > +       msleep(10);
> > +       dev_dbg(ws->dev, "de-asserted RESET\n");
>
> Just a small comment, are these delays are as per init sequence
> mentioned in datasheet?

As so often with Samsung mobile displays there is no datasheet.

These delays are in the product source code tree for the
GT-I8160 (Codina) mobile phone, actually in the glue integration
code. WideChips were acquired by some other firm and do not
exist anymore so I can't ask them, and asking Samsung for anything
else than source code doesn't work either. (I have tried.)

Yours,
Linus Walleij

WARNING: multiple messages have this Message-ID (diff)
From: Linus Walleij <linus.walleij@linaro.org>
To: Jagan Teki <jagan@amarulasolutions.com>
Cc: "Douglas Anderson" <dianders@chromium.org>,
	dri-devel <dri-devel@lists.freedesktop.org>,
	"Noralf Trønnes" <noralf@tronnes.org>,
	"Thierry Reding" <thierry.reding@gmail.com>,
	phone-devel@vger.kernel.org, "Sam Ravnborg" <sam@ravnborg.org>
Subject: Re: [PATCH 2/2 v3] drm/panel: ws2401: Add driver for WideChips WS2401
Date: Fri, 9 Jul 2021 17:03:12 +0200	[thread overview]
Message-ID: <CACRpkdaSo_+z3tJzR8A5B9HhDVUHeutW9AHash9YgVo9SC+ARA@mail.gmail.com> (raw)
In-Reply-To: <CAMty3ZCjciURnUJnTOPDQOSaiDVRneJoe=w9U==73Jt=Wd895w@mail.gmail.com>

On Fri, Jul 9, 2021 at 11:25 AM Jagan Teki <jagan@amarulasolutions.com> wrote:

> > +       /* Assert reset >=1 ms */
> > +       gpiod_set_value_cansleep(ws->reset, 1);
> > +       usleep_range(1000, 5000);
> > +       /* De-assert reset */
> > +       gpiod_set_value_cansleep(ws->reset, 0);
> > +       /* Wait >= 10 ms */
> > +       msleep(10);
> > +       dev_dbg(ws->dev, "de-asserted RESET\n");
>
> Just a small comment, are these delays are as per init sequence
> mentioned in datasheet?

As so often with Samsung mobile displays there is no datasheet.

These delays are in the product source code tree for the
GT-I8160 (Codina) mobile phone, actually in the glue integration
code. WideChips were acquired by some other firm and do not
exist anymore so I can't ask them, and asking Samsung for anything
else than source code doesn't work either. (I have tried.)

Yours,
Linus Walleij

  reply	other threads:[~2021-07-09 15:03 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-07 23:43 [PATCH 1/2 v3] drm/panel: Add DT bindings for Samsung LMS380KF01 Linus Walleij
2021-07-07 23:43 ` Linus Walleij
2021-07-07 23:43 ` [PATCH 2/2 v3] drm/panel: ws2401: Add driver for WideChips WS2401 Linus Walleij
2021-07-07 23:43   ` Linus Walleij
2021-07-08 14:48   ` Noralf Trønnes
2021-07-08 20:04   ` Doug Anderson
2021-07-08 20:04     ` Doug Anderson
2021-07-09  9:25   ` Jagan Teki
2021-07-09  9:25     ` Jagan Teki
2021-07-09 15:03     ` Linus Walleij [this message]
2021-07-09 15:03       ` Linus Walleij
2021-07-09 18:01   ` Sam Ravnborg
2021-07-08 20:04 ` [PATCH 1/2 v3] drm/panel: Add DT bindings for Samsung LMS380KF01 Doug Anderson
2021-07-08 20:04   ` Doug Anderson
2021-07-09 17:33 ` Sam Ravnborg
2021-07-12 17:18 ` Rob Herring
2021-07-12 17:18   ` Rob Herring

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=CACRpkdaSo_+z3tJzR8A5B9HhDVUHeutW9AHash9YgVo9SC+ARA@mail.gmail.com \
    --to=linus.walleij@linaro.org \
    --cc=dianders@chromium.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jagan@amarulasolutions.com \
    --cc=noralf@tronnes.org \
    --cc=phone-devel@vger.kernel.org \
    --cc=sam@ravnborg.org \
    --cc=thierry.reding@gmail.com \
    /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 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.