All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sylwester Nawrocki <s.nawrocki@samsung.com>
To: Kukjin Kim <kgene.kim@samsung.com>
Cc: linux-arm-kernel@lists.infradead.org,
	linux-samsung-soc@vger.kernel.org, ben-linux@fluff.org,
	m.szyprowski@samsung.com, kyungmin.park@samsung.com
Subject: Re: [PATCH v2] ARM: S5PV210: Add GONI board setup for CIF camera support
Date: Tue, 15 Feb 2011 16:31:28 +0100	[thread overview]
Message-ID: <4D5A9C50.4080408@samsung.com> (raw)
In-Reply-To: <00a801cbccfa$df478e10$9dd6aa30$%kim@samsung.com>

Hi Kukjin,

On 02/15/2011 11:26 AM, Kukjin Kim wrote:
> Sylwester Nawrocki wrote:
>>
...
> 
> As a note, I received request about common phy control from Marek. So I will
> re-think with your mipi phy patches, then let you know about that soon.
> 

OK, thanks. It looks like treating PHYs as clocks would cause least trouble.
Some of PHYs are really not much different than clocks, they generate a carrier
of some frequency, like for example HDMI PHY. Some even have their own divider.

We thought about creating an API for PHYs, similar to clock API. There is
quite many PHYs in S5P SoCs - SATA, USB, MIPI, HDMI devices have them.
Such a PHY API would be mostly doubling the clock API functionality though.

We also cannot easily create common helpers in plat-s5p for mipi because
of the different headers issue. 

So we have 3 options if it comes to mipi:
1. create helper functions in relevant mach-s5p* directories 
2. register special clocks with own enable/disable functions
3. create separate API to manage all PHY's in the SoC series

MIPI PHY issue is a blocking point for a mipi-csi driver inclusion.
It has been ready for quite some time yet and I would appreciate
if we could take time to finally work out compromise.


Regards,
-- 
Sylwester Nawrocki
Samsung Poland R&D Center

WARNING: multiple messages have this Message-ID (diff)
From: s.nawrocki@samsung.com (Sylwester Nawrocki)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] ARM: S5PV210: Add GONI board setup for CIF camera support
Date: Tue, 15 Feb 2011 16:31:28 +0100	[thread overview]
Message-ID: <4D5A9C50.4080408@samsung.com> (raw)
In-Reply-To: <00a801cbccfa$df478e10$9dd6aa30$%kim@samsung.com>

Hi Kukjin,

On 02/15/2011 11:26 AM, Kukjin Kim wrote:
> Sylwester Nawrocki wrote:
>>
...
> 
> As a note, I received request about common phy control from Marek. So I will
> re-think with your mipi phy patches, then let you know about that soon.
> 

OK, thanks. It looks like treating PHYs as clocks would cause least trouble.
Some of PHYs are really not much different than clocks, they generate a carrier
of some frequency, like for example HDMI PHY. Some even have their own divider.

We thought about creating an API for PHYs, similar to clock API. There is
quite many PHYs in S5P SoCs - SATA, USB, MIPI, HDMI devices have them.
Such a PHY API would be mostly doubling the clock API functionality though.

We also cannot easily create common helpers in plat-s5p for mipi because
of the different headers issue. 

So we have 3 options if it comes to mipi:
1. create helper functions in relevant mach-s5p* directories 
2. register special clocks with own enable/disable functions
3. create separate API to manage all PHY's in the SoC series

MIPI PHY issue is a blocking point for a mipi-csi driver inclusion.
It has been ready for quite some time yet and I would appreciate
if we could take time to finally work out compromise.


Regards,
-- 
Sylwester Nawrocki
Samsung Poland R&D Center

  reply	other threads:[~2011-02-15 15:31 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-11 17:27 [PATCH v2] ARM: S5PV210: Add GONI board setup for CIF camera support Sylwester Nawrocki
2011-02-11 17:27 ` Sylwester Nawrocki
2011-02-11 17:27 ` [PATCH v2 1/3] ARM: S5PV210: Enable I2C0 bus on GONI board Sylwester Nawrocki
2011-02-11 17:27   ` Sylwester Nawrocki
2011-02-11 17:27 ` [PATCH v2 2/3] ARM: S5PV210: Add supplies for CIF camera " Sylwester Nawrocki
2011-02-11 17:27   ` Sylwester Nawrocki
2011-02-11 17:27 ` [PATCH v2 3/3] ARM: S5PV210: Change framebuffer window 0 size on GONI Sylwester Nawrocki
2011-02-11 17:27   ` Sylwester Nawrocki
2011-02-15  5:50 ` [PATCH v2] ARM: S5PV210: Add GONI board setup for CIF camera support Kukjin Kim
2011-02-15  5:50   ` Kukjin Kim
2011-02-15  8:54   ` Sylwester Nawrocki
2011-02-15  8:54     ` Sylwester Nawrocki
2011-02-15 10:26     ` Kukjin Kim
2011-02-15 10:26       ` Kukjin Kim
2011-02-15 15:31       ` Sylwester Nawrocki [this message]
2011-02-15 15:31         ` Sylwester Nawrocki

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=4D5A9C50.4080408@samsung.com \
    --to=s.nawrocki@samsung.com \
    --cc=ben-linux@fluff.org \
    --cc=kgene.kim@samsung.com \
    --cc=kyungmin.park@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.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 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.