linux-samsung-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Martin Juecker <martin.juecker@gmail.com>
To: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: linux-samsung-soc@vger.kernel.org, kgene@kernel.org,
	devicetree@vger.kernel.org, Krzysztof Kozlowski <krzk@kernel.org>
Subject: Re: [PATCH 2/5] ARM: dts: add Samsung's exynos4412-based p4note boards
Date: Tue, 3 Nov 2020 11:38:56 +0100	[thread overview]
Message-ID: <20201103103856.GA7770@adroid> (raw)
In-Reply-To: <0af4946e-a573-ad5a-5558-de439d49434f@samsung.com>

On Tue, Nov 03, 2020 at 10:51:08AM +0100, Marek Szyprowski wrote:
> Hi Martin,
> 
> On 02.11.2020 22:21, Martin Juecker wrote:
> > > ...
> >>> +
> >>> +&fimd {
> >>> +	pinctrl-0 = <&lcd_clk &lcd_data24 &pwm1_out>;
> >>> +	pinctrl-names = "default";
> >>> +	status = "okay";
> >>> +
> >>> +	display-timings {
> >>> +		timing0 {
> >>> +			clock-frequency = <66666666>;
> >>> +			hactive = <1280>;
> >>> +			vactive = <800>;
> >>> +			hfront-porch = <18>;
> >>> +			hback-porch = <36>;
> >>> +			hsync-len = <16>;
> >>> +			vback-porch = <16>;
> >>> +			vfront-porch = <4>;
> >>> +			vsync-len = <3>;
> >>> +			hsync-active = <1>;
> >>> +		};
> >>> +	};
> >> What happened with Marek's comment about this?
> >>
> > Should have mentioned it in the introduction mail. I had a look at the
> > simple panel driver and it's not enough for the display in the p4note. I
> > asked Marek in IRC whether it's ok to have this in a separate patch set
> > to have a fully working display and he agreed.
> 
> Yes, I agreed that the display can be added later in a separate patch. 
> However in such case I would simply remove the whole fimd node now. 
> Without a panel it is a bit useless imho. With a proper panel driver you 
> will also get rid of the timings subnode, so there is no point adding it 
> now.
>

Removing the fimd node (or the display timings) would break the DRM and
display output though. The display is working but missing proper GPIO
handling and the possibility to adjust brightness right now. As it is
connected to the LCD power domain, it's still turning on and off as
expected as it is setup by the bootloader. I know this isn't a great
solution, but I'm already working on the LCD driver. Not sure when it
will be done though.

The display timings are read in exynos_drm_dpi.c in the exynos_dpi_probe
method. As far as I understand, you can either provide the timings in
the fimd node itself or in a connected panel.

If this is not intended, I can of course remove the configuration.

> Best regards
> 
> -- 
> Marek Szyprowski, PhD
> Samsung R&D Institute Poland
> 

Cheers
Martin

  reply	other threads:[~2020-11-03 10:39 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-31 17:58 [PATCH v2 0/5] add exynos4412-based p4note device family support Martin Jücker
2020-10-31 17:58 ` [PATCH 1/5] dt-bindings: samsung: document bindings for p4note family boards Martin Jücker
2020-11-04 20:03   ` Rob Herring
2020-11-06 20:45     ` Martin Juecker
2020-10-31 17:58 ` [PATCH 2/5] ARM: dts: add Samsung's exynos4412-based p4note boards Martin Jücker
2020-11-02 19:18   ` Krzysztof Kozlowski
2020-11-02 21:21     ` Martin Juecker
2020-11-03  7:53       ` Krzysztof Kozlowski
2020-11-03  9:51       ` Marek Szyprowski
2020-11-03 10:38         ` Martin Juecker [this message]
2020-11-05 11:50           ` Marek Szyprowski
2020-10-31 17:58 ` [PATCH 3/5] ARM: defconfig: add stmpe adc driver for p4note Martin Jücker
2020-10-31 17:58 ` [PATCH 4/5] ARM: defconfig: compile Atmel MXT touchscreeen as module Martin Jücker
2020-10-31 17:58 ` [PATCH 5/5] ARM: exynos: extend cpuidle support to p4note boards Martin Jücker
  -- strict thread matches above, loose matches on Subject: below --
2020-10-24 14:44 [PATCH 0/5] add exynos4412-based p4note device family support Martin Jücker
2020-10-24 14:44 ` [PATCH 2/5] ARM: dts: add Samsung's exynos4412-based p4note boards Martin Jücker
2020-10-26 11:55   ` Marek Szyprowski
2020-10-26 14:48   ` Krzysztof Kozlowski
2020-10-26 16:00     ` Krzysztof Kozlowski
2020-10-26 23:27     ` Martin Juecker
2020-10-27  8:17       ` Krzysztof Kozlowski
2020-10-29 21:40         ` Martin Juecker
2020-10-30  7:41           ` Marek Szyprowski

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=20201103103856.GA7770@adroid \
    --to=martin.juecker@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=kgene@kernel.org \
    --cc=krzk@kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=m.szyprowski@samsung.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).