linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
To: Inki Dae <inki.dae@samsung.com>
Cc: 'Shaik Ameer Basha' <shaik.ameer@samsung.com>,
	linux-media@vger.kernel.org, linux-samsung-soc@vger.kernel.org,
	cpgs@samsung.com, s.nawrocki@samsung.com, posciak@google.com,
	arun.kk@samsung.com
Subject: Re: [PATCH v2 4/5] [media] exynos-mscl: Add DT bindings for M-Scaler driver
Date: Sun, 25 Aug 2013 00:26:02 +0200	[thread overview]
Message-ID: <521932FA.20801@gmail.com> (raw)
In-Reply-To: <033401ce9cdb$af145800$0d3d0800$%dae@samsung.com>

On 08/19/2013 02:57 PM, Inki Dae wrote:
>> -----Original Message-----
>> From: linux-media-owner@vger.kernel.org [mailto:linux-media-
>> owner@vger.kernel.org] On Behalf Of Shaik Ameer Basha
>> Sent: Monday, August 19, 2013 7:59 PM
>> To: linux-media@vger.kernel.org; linux-samsung-soc@vger.kernel.org
>> Cc: s.nawrocki@samsung.com; posciak@google.com; arun.kk@samsung.com;
>> shaik.ameer@samsung.com
>> Subject: [PATCH v2 4/5] [media] exynos-mscl: Add DT bindings for M-Scaler
>> driver
>>
>> This patch adds the DT binding documentation for the exynos5

You may want to say to which specific SoC it applies.

>> based M-Scaler device driver.
>>
>> Signed-off-by: Shaik Ameer Basha<shaik.ameer@samsung.com>
>> ---
>>   .../devicetree/bindings/media/exynos5-mscl.txt     |   34
>> ++++++++++++++++++++
>>   1 file changed, 34 insertions(+)
>>   create mode 100644 Documentation/devicetree/bindings/media/exynos5-
>> mscl.txt
>>
>> diff --git a/Documentation/devicetree/bindings/media/exynos5-mscl.txt
>> b/Documentation/devicetree/bindings/media/exynos5-mscl.txt
>> new file mode 100644
>> index 0000000..5c9d1b1
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/media/exynos5-mscl.txt
>> @@ -0,0 +1,34 @@
>> +* Samsung Exynos5 M-Scaler device
>> +
>> +M-Scaler is used for scaling, blending, color fill and color space
>> +conversion on EXYNOS5 SoCs.
>> +
>> +Required properties:
>> +- compatible: should be "samsung,exynos5-mscl"

What is an exact name of this IP in the datasheet ?

> If Exynos5410/5420 have same IP,
> "samsung,exynos5410-mscl" for M Scaler IP in Exynos5410/5420"
>
> Else,
> Compatible: should be one of the following:
> (a) "samsung,exynos5410-mscl" for M Scaler IP in Exynos5410"
> (b) "samsung,exynos5420-mscl" for M Scaler IP in Exynos5420"

Yes, except I suspect "mscl" is incorrect. It sounds like an unclear
abbreviation of real name of the IP. It likely should be "mscaler".

>> +- reg: should contain M-Scaler physical address location and length.
>> +- interrupts: should contain M-Scaler interrupt number
>> +- clocks: should contain the clock number according to CCF

Hmm, this sounds like a Linux specific term in the binding. Perhaps:

  - clocks: should contain the M-Scaler clock specifier, from the common
	   clock bindings

?
>> +- clock-names: should be "mscl"
>> +
>> +Example:
>> +
>> +	mscl_0: mscl@0x12800000 {

s/0x//

>> +		compatible = "samsung,exynos5-mscl";
>
> "samsung,exynos5410-mscl";
>
>> +		reg =<0x12800000 0x1000>;
>> +		interrupts =<0 220 0>;
>> +		clocks =<&clock 381>;
>> +		clock-names = "mscl";
>> +	};
>> +
>> +Aliases:
>> +Each M-Scaler node should have a numbered alias in the aliases node,
>> +in the form of msclN, N = 0...2. M-Scaler driver uses these aliases
>> +to retrieve the device IDs using "of_alias_get_id()" call.

So except in debug logs and for selecting variant data (which is same for
all IP instances) are the aliases used for anything else ?
I suspect you could do without these aliases. Device name includes start
address of the IP register region, so that could be used to identify the
M-Scaler instance in the logs.

--
Regards,
Sylwester

  reply	other threads:[~2013-08-24 22:26 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-19 10:58 [PATCH v2 0/5] Exynos5 M-Scaler Driver Shaik Ameer Basha
2013-08-19 10:58 ` [PATCH v2 1/5] [media] exynos-mscl: Add new driver for M-Scaler Shaik Ameer Basha
2013-08-19 12:48   ` Inki Dae
2013-08-20  8:07     ` Shaik Ameer Basha
2013-08-20  8:43       ` Inki Dae
2013-08-20  8:49         ` Shaik Ameer Basha
2013-08-26 20:45   ` Sylwester Nawrocki
2013-08-19 10:58 ` [PATCH v2 2/5] [media] exynos-mscl: Add core functionality for the M-Scaler driver Shaik Ameer Basha
2013-08-19 13:06   ` Hans Verkuil
2013-08-20  5:43     ` Shaik Ameer Basha
2013-08-20  6:27       ` Hans Verkuil
2013-08-20  7:27         ` Shaik Ameer Basha
2013-08-29 12:50   ` Sylwester Nawrocki
2013-08-19 10:58 ` [PATCH v2 3/5] [media] exynos-mscl: Add m2m " Shaik Ameer Basha
2013-08-19 12:58   ` Hans Verkuil
2013-08-19 13:07     ` Hans Verkuil
2013-08-29 13:21   ` Sylwester Nawrocki
2013-09-10 12:37     ` Shaik Ameer Basha
2013-09-11  9:36       ` Sylwester Nawrocki
2013-08-19 10:58 ` [PATCH v2 4/5] [media] exynos-mscl: Add DT bindings for " Shaik Ameer Basha
2013-08-19 12:57   ` Inki Dae
2013-08-24 22:26     ` Sylwester Nawrocki [this message]
2013-08-26 12:20       ` Shaik Ameer Basha
2013-08-26 16:21         ` Sylwester Nawrocki
2013-08-19 10:58 ` [PATCH v2 5/5] [media] exynos-mscl: Add Makefile " Shaik Ameer Basha
2013-08-29 10:12   ` Sylwester Nawrocki
2013-08-29 11:55     ` Shaik Ameer Basha
2013-08-29 16:36       ` Sylwester Nawrocki
2013-08-19 12:26 ` [PATCH v2 0/5] Exynos5 M-Scaler Driver Inki Dae
2013-08-20  5:45   ` Shaik Ameer Basha

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=521932FA.20801@gmail.com \
    --to=sylvester.nawrocki@gmail.com \
    --cc=arun.kk@samsung.com \
    --cc=cpgs@samsung.com \
    --cc=inki.dae@samsung.com \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=posciak@google.com \
    --cc=s.nawrocki@samsung.com \
    --cc=shaik.ameer@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).