All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
To: Donghwa Lee <dh09.lee@samsung.com>
Cc: Tomasz Figa <t.figa@samsung.com>,
	Sylwester Nawrocki <sylvester.nawrocki@gmail.com>,
	Kishon Vijay Abraham I <kishon@ti.com>,
	Sachin Kamat <sachin.kamat@linaro.org>,
	Olof Johansson <olof@lixom.net>,
	"linux-fbdev@vger.kernel.org" <linux-fbdev@vger.kernel.org>,
	"linux-samsung-soc@vger.kernel.org"
	<linux-samsung-soc@vger.kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	Linux Media Mailing List <linux-media@vger.kernel.org>,
	inki.dae@samsung.com
Subject: Re: [PATCH 3/7] video: exynos_mipi_dsim: Use the generic PHY driver
Date: Wed, 30 Oct 2013 01:43:38 +0100	[thread overview]
Message-ID: <5270563A.5080605@gmail.com> (raw)
In-Reply-To: <526F7412.60004@samsung.com>

On 10/29/2013 09:38 AM, Donghwa Lee wrote:
> On Tue, OCT 28, 2013 21:24, Tomasz Figa wrote:
>> On Monday 28 of October 2013 15:12:08 Donghwa Lee wrote:
[...]
>> First of all, the exynos_mipi_dsim driver has currently no users in
>> mainline kernel, so it is essentially dead code. In addition, on
>> a platform that is the primary candidate for using it, which is Exynos,
>> there is no way to use it, due to no DT support.
>
> As I mentioned above, patches are submitted sometimes and I will update
> this driver as soon as possible to support DT.
>
>> As for the driver itself, it is not really a great example of good code.
>> It contains a hacks, like calling msleep() without any clear reason and
>> also many coding style issues. I'd prefer to replace it with the new
>> exynos-dsi driver rewritten completely in SRPOL, when CDF is finished.
>
> Yes, I know this drivers had been changed about only minor issues and
> it is not really good code style. And CDF is more good and light.
> But discussion for CDF is still remaining a kind of requests. If it is merged
> into linux kernel and many users use it, existing MIPI DSI drivers will be
> replaced with the new drivers naturally, isn't it?

Not necessarily. Our goal should be to have fairly stable DT binding at the
SoC side so all available panels can possibly be used with any SoC without
problems.

Then please refrain for a while from pushing entirely vendor specific DT
bindings upstream. Let's focus instead on an as much as possible common
framework and the DT bindings. Whether the CDF will be part of DRM or not
the DT bindings are supposed to be generic, so they work with whatever
driver architecture.

I guess you could try to come up with an unstable DT binding for the
MIPI DSIM and display panels it is used with, but at this stage it seems
just a waste of time.
If there were no SoC specific panel drivers in the kernel there would be
now much less trouble with DT support.

--
Thanks,
Sylwester

WARNING: multiple messages have this Message-ID (diff)
From: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 3/7] video: exynos_mipi_dsim: Use the generic PHY driver
Date: Wed, 30 Oct 2013 00:43:38 +0000	[thread overview]
Message-ID: <5270563A.5080605@gmail.com> (raw)
In-Reply-To: <526F7412.60004@samsung.com>

On 10/29/2013 09:38 AM, Donghwa Lee wrote:
> On Tue, OCT 28, 2013 21:24, Tomasz Figa wrote:
>> On Monday 28 of October 2013 15:12:08 Donghwa Lee wrote:
[...]
>> First of all, the exynos_mipi_dsim driver has currently no users in
>> mainline kernel, so it is essentially dead code. In addition, on
>> a platform that is the primary candidate for using it, which is Exynos,
>> there is no way to use it, due to no DT support.
>
> As I mentioned above, patches are submitted sometimes and I will update
> this driver as soon as possible to support DT.
>
>> As for the driver itself, it is not really a great example of good code.
>> It contains a hacks, like calling msleep() without any clear reason and
>> also many coding style issues. I'd prefer to replace it with the new
>> exynos-dsi driver rewritten completely in SRPOL, when CDF is finished.
>
> Yes, I know this drivers had been changed about only minor issues and
> it is not really good code style. And CDF is more good and light.
> But discussion for CDF is still remaining a kind of requests. If it is merged
> into linux kernel and many users use it, existing MIPI DSI drivers will be
> replaced with the new drivers naturally, isn't it?

Not necessarily. Our goal should be to have fairly stable DT binding at the
SoC side so all available panels can possibly be used with any SoC without
problems.

Then please refrain for a while from pushing entirely vendor specific DT
bindings upstream. Let's focus instead on an as much as possible common
framework and the DT bindings. Whether the CDF will be part of DRM or not
the DT bindings are supposed to be generic, so they work with whatever
driver architecture.

I guess you could try to come up with an unstable DT binding for the
MIPI DSIM and display panels it is used with, but at this stage it seems
just a waste of time.
If there were no SoC specific panel drivers in the kernel there would be
now much less trouble with DT support.

--
Thanks,
Sylwester

WARNING: multiple messages have this Message-ID (diff)
From: sylvester.nawrocki@gmail.com (Sylwester Nawrocki)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/7] video: exynos_mipi_dsim: Use the generic PHY driver
Date: Wed, 30 Oct 2013 01:43:38 +0100	[thread overview]
Message-ID: <5270563A.5080605@gmail.com> (raw)
In-Reply-To: <526F7412.60004@samsung.com>

On 10/29/2013 09:38 AM, Donghwa Lee wrote:
> On Tue, OCT 28, 2013 21:24, Tomasz Figa wrote:
>> On Monday 28 of October 2013 15:12:08 Donghwa Lee wrote:
[...]
>> First of all, the exynos_mipi_dsim driver has currently no users in
>> mainline kernel, so it is essentially dead code. In addition, on
>> a platform that is the primary candidate for using it, which is Exynos,
>> there is no way to use it, due to no DT support.
>
> As I mentioned above, patches are submitted sometimes and I will update
> this driver as soon as possible to support DT.
>
>> As for the driver itself, it is not really a great example of good code.
>> It contains a hacks, like calling msleep() without any clear reason and
>> also many coding style issues. I'd prefer to replace it with the new
>> exynos-dsi driver rewritten completely in SRPOL, when CDF is finished.
>
> Yes, I know this drivers had been changed about only minor issues and
> it is not really good code style. And CDF is more good and light.
> But discussion for CDF is still remaining a kind of requests. If it is merged
> into linux kernel and many users use it, existing MIPI DSI drivers will be
> replaced with the new drivers naturally, isn't it?

Not necessarily. Our goal should be to have fairly stable DT binding at the
SoC side so all available panels can possibly be used with any SoC without
problems.

Then please refrain for a while from pushing entirely vendor specific DT
bindings upstream. Let's focus instead on an as much as possible common
framework and the DT bindings. Whether the CDF will be part of DRM or not
the DT bindings are supposed to be generic, so they work with whatever
driver architecture.

I guess you could try to come up with an unstable DT binding for the
MIPI DSIM and display panels it is used with, but at this stage it seems
just a waste of time.
If there were no SoC specific panel drivers in the kernel there would be
now much less trouble with DT support.

--
Thanks,
Sylwester

  reply	other threads:[~2013-10-30  0:43 UTC|newest]

Thread overview: 80+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-16 16:28 [PATCH 0/7] video phy's adaptation to *generic phy framework* Kishon Vijay Abraham I
2013-10-16 16:40 ` Kishon Vijay Abraham I
2013-10-16 16:28 ` Kishon Vijay Abraham I
2013-10-16 16:28 ` Kishon Vijay Abraham I
2013-10-16 16:28 ` [PATCH 1/7] phy: Add driver for Exynos MIPI CSIS/DSIM DPHYs Kishon Vijay Abraham I
2013-10-16 16:40   ` Kishon Vijay Abraham I
2013-10-16 16:28   ` Kishon Vijay Abraham I
2013-10-16 16:28   ` Kishon Vijay Abraham I
2013-10-16 16:28 ` [PATCH 2/7] exynos4-is: Use the generic MIPI CSIS PHY driver Kishon Vijay Abraham I
2013-10-16 16:40   ` Kishon Vijay Abraham I
2013-10-16 16:28   ` Kishon Vijay Abraham I
2013-10-16 16:28   ` Kishon Vijay Abraham I
2013-10-16 16:28 ` [PATCH 3/7] video: exynos_mipi_dsim: Use the generic " Kishon Vijay Abraham I
2013-10-16 16:40   ` Kishon Vijay Abraham I
2013-10-16 16:28   ` Kishon Vijay Abraham I
2013-10-16 16:28   ` Kishon Vijay Abraham I
2013-10-24 14:30   ` Olof Johansson
2013-10-24 14:30     ` Olof Johansson
2013-10-24 14:30     ` Olof Johansson
2013-10-24 15:27     ` [PATCH] drivers: video: exynos: Fix compiler Warning Kishon Vijay Abraham I
2013-10-24 15:39       ` Kishon Vijay Abraham I
2013-10-24 15:27       ` Kishon Vijay Abraham I
2013-10-24 15:27       ` Kishon Vijay Abraham I
2013-10-24 15:31       ` Felipe Balbi
2013-10-24 15:31         ` Felipe Balbi
2013-10-24 15:31         ` Felipe Balbi
2013-10-24 15:31         ` Felipe Balbi
2013-10-24 15:42     ` [PATCH 3/7] video: exynos_mipi_dsim: Use the generic PHY driver Sachin Kamat
2013-10-24 15:54       ` Sachin Kamat
2013-10-24 15:42       ` Sachin Kamat
2013-10-24 15:57       ` Kishon Vijay Abraham I
2013-10-24 15:57         ` Kishon Vijay Abraham I
2013-10-24 15:57         ` Kishon Vijay Abraham I
2013-10-24 15:57         ` Kishon Vijay Abraham I
2013-10-24 21:57         ` Sylwester Nawrocki
2013-10-24 21:57           ` Sylwester Nawrocki
2013-10-24 21:57           ` Sylwester Nawrocki
2013-10-28  6:12           ` Donghwa Lee
2013-10-28  6:12             ` Donghwa Lee
2013-10-28  6:12             ` Donghwa Lee
2013-10-28 12:24             ` Tomasz Figa
2013-10-28 12:24               ` Tomasz Figa
2013-10-28 12:24               ` Tomasz Figa
2013-10-29  8:38               ` Donghwa Lee
2013-10-29  8:38                 ` Donghwa Lee
2013-10-29  8:38                 ` Donghwa Lee
2013-10-30  0:43                 ` Sylwester Nawrocki [this message]
2013-10-30  0:43                   ` Sylwester Nawrocki
2013-10-30  0:43                   ` Sylwester Nawrocki
2013-10-24 17:06       ` Olof Johansson
2013-10-24 17:06         ` Olof Johansson
2013-10-24 17:06         ` Olof Johansson
2013-10-16 16:28 ` [PATCH 4/7] ARM: Samsung: Remove the MIPI PHY setup code Kishon Vijay Abraham I
2013-10-16 16:40   ` Kishon Vijay Abraham I
2013-10-16 16:28   ` Kishon Vijay Abraham I
2013-10-16 16:28   ` Kishon Vijay Abraham I
2013-10-16 16:28 ` [PATCH 5/7] phy: Add driver for Exynos DP PHY Kishon Vijay Abraham I
2013-10-16 16:40   ` Kishon Vijay Abraham I
2013-10-16 16:28   ` Kishon Vijay Abraham I
2013-10-16 16:28   ` Kishon Vijay Abraham I
2013-10-24 15:13   ` Tomasz Stanislawski
2013-10-24 15:13     ` Tomasz Stanislawski
2013-10-24 15:13     ` Tomasz Stanislawski
2013-10-16 16:28 ` [PATCH 6/7] video: exynos_dp: remove non-DT support for Exynos Display Port Kishon Vijay Abraham I
2013-10-16 16:40   ` Kishon Vijay Abraham I
2013-10-16 16:28   ` Kishon Vijay Abraham I
2013-10-16 16:28   ` Kishon Vijay Abraham I
2013-10-16 16:28 ` [PATCH 7/7] video: exynos_dp: Use the generic PHY driver Kishon Vijay Abraham I
2013-10-16 16:40   ` Kishon Vijay Abraham I
2013-10-16 16:28   ` Kishon Vijay Abraham I
2013-10-16 16:28   ` Kishon Vijay Abraham I
2013-10-16 17:03 ` [PATCH] phy: exynos-mipi-video: Fix phy_power_off() callback Sylwester Nawrocki
2013-10-16 17:03   ` Sylwester Nawrocki
2013-10-16 23:10   ` Jingoo Han
2013-10-16 23:10     ` Jingoo Han
2013-10-18  5:31   ` Kishon Vijay Abraham I
2013-10-18  5:31     ` Kishon Vijay Abraham I
2013-10-16 20:49 ` [PATCH 0/7] video phy's adaptation to *generic phy framework* Greg KH
2013-10-16 20:49   ` Greg KH
2013-10-16 20:49   ` Greg KH

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=5270563A.5080605@gmail.com \
    --to=sylvester.nawrocki@gmail.com \
    --cc=dh09.lee@samsung.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=inki.dae@samsung.com \
    --cc=kishon@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=olof@lixom.net \
    --cc=sachin.kamat@linaro.org \
    --cc=t.figa@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 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.