From: Joel Selvaraj <jo@jsfamily.in>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: devicetree@vger.kernel.org, Hao Fang <fanghao11@huawei.com>,
David Airlie <airlied@linux.ie>, Sam Ravnborg <sam@ravnborg.org>,
~postmarketos/upstreaming@lists.sr.ht,
linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
Oleksij Rempel <linux@rempel-privat.de>,
Rob Herring <robh+dt@kernel.org>,
Thierry Reding <thierry.reding@gmail.com>,
Krzysztof Kozlowski <krzk@kernel.org>,
phone-devel@vger.kernel.org, Shawn Guo <shawnguo@kernel.org>,
Stanislav Jakubek <stano.jakubek@gmail.com>,
Corentin Labbe <clabbe@baylibre.com>
Subject: Re: [PATCH 3/3] drm/panel: introduce ebbg,ft8719 panel
Date: Wed, 25 May 2022 18:33:52 +0530 [thread overview]
Message-ID: <BY5PR02MB70094BBCBE78A146A8C4CA0AD9D69@BY5PR02MB7009.namprd02.prod.outlook.com> (raw)
In-Reply-To: <CACRpkdZw+MwU42s8BWHkN2T3A-a-TGML8jJ0kQteMOE06m0UXg@mail.gmail.com>
Hi Linus Walleij
On 19/05/22 14:39, Linus Walleij wrote:
> Nope. But add the rate limited error print please!
Will do.
>>> Lots of magic numbers. You don't have a datasheet do you?
>>> So you could #define some of the magic?
>>
>> Unfortunately, I don't have a datasheet and the power on sequence is
>> taken from downstream android dts. It works pretty well though. So I
>> don't think I can #define any of these magic.
>
> If you know which display controller the display is using (usually
> Novatek nnnnn, Ilitek nnnn etc someting like that) there is often
> a datasheet for the display controller available but the display per
> se often obscures the display controller.
Well, I recently figured that the panel works perfectly without all the
magic commands. So, no need for #defines of those magics/documentation
for now.
>> > Doesn't it work to combine them into one call for each
>> > pair?
>> >> + dsi_dcs_write_seq(dsi, );
>> >> + dsi_generic_write_seq(dsi, 0xff, 0x87, 0x19);
>>
>> By using a macro? We can... but I am not sure what (0x00, 0x80), (0x00,
>> 0xa0),etc type of commands signify without the datasheet, so I am not
>> sure what to name them in the macro and make any sensible meaning out of it.
>
> I meant just sending dsi_generic_write_seq() with everything in
> it:
>
> dsi_generic_write_seq(dsi, 0x00, 0x80, 0xff, 0x87, 0x19);
>
> Instead of two writes. Doesn't this work?
I am not sure about whether it will work. Can multiple DCS commands can
be combined into single write? Don't know much about this.
Anyways since the panel works without all these magic commands, these
will be removed in the next version.
> Yours,
> Linus Walleij
Thanks and Regards
Joel Selvaraj
prev parent reply other threads:[~2022-05-25 13:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1651835715.git.jo@jsfamily.in>
2022-05-06 12:17 ` [PATCH 1/3] dt-bindings: vendor-prefixes: Add prefix for EBBG Joel Selvaraj
2022-05-07 15:26 ` Krzysztof Kozlowski
2022-05-06 12:17 ` [PATCH 2/3] dt-bindings: display: Add bindings for EBBG FT8719 Joel Selvaraj
2022-05-07 15:32 ` Krzysztof Kozlowski
2022-05-08 11:53 ` Joel Selvaraj
2022-05-09 5:08 ` Joel Selvaraj
2022-05-09 6:38 ` Krzysztof Kozlowski
2022-05-06 12:17 ` [PATCH 3/3] drm/panel: introduce ebbg,ft8719 panel Joel Selvaraj
2022-05-12 21:51 ` Linus Walleij
2022-05-16 12:56 ` Joel Selvaraj
2022-05-19 9:09 ` Linus Walleij
2022-05-25 13:03 ` Joel Selvaraj [this message]
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=BY5PR02MB70094BBCBE78A146A8C4CA0AD9D69@BY5PR02MB7009.namprd02.prod.outlook.com \
--to=jo@jsfamily.in \
--cc=airlied@linux.ie \
--cc=clabbe@baylibre.com \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=fanghao11@huawei.com \
--cc=krzk@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@rempel-privat.de \
--cc=phone-devel@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=sam@ravnborg.org \
--cc=shawnguo@kernel.org \
--cc=stano.jakubek@gmail.com \
--cc=thierry.reding@gmail.com \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/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
all inboxes | Powered by JetHome®