From: Sylwester Nawrocki <s.nawrocki@samsung.com>
To: Sachin Kamat <sachin.kamat@linaro.org>
Cc: linux-samsung-soc@vger.kernel.org,
devicetree-discuss@lists.ozlabs.org, kgene.kim@samsung.com,
patches@linaro.org, Arun Kumar K <arun.kk@samsung.com>
Subject: Re: [PATCH 1/6] ARM: dts: Update MFC DT binding documentation
Date: Tue, 29 Jan 2013 14:33:17 +0100 [thread overview]
Message-ID: <5107CF9D.6000200@samsung.com> (raw)
In-Reply-To: <1359432822-23846-2-git-send-email-sachin.kamat@linaro.org>
Hi Sachin,
On 01/29/2013 05:13 AM, Sachin Kamat wrote:
> Added an example for bindings for illustration and clarity.
>
> Cc: devicetree-discuss@lists.ozlabs.org
> Cc: Arun Kumar K <arun.kk@samsung.com>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
> .../devicetree/bindings/media/s5p-mfc.txt | 13 +++++++++++++
> 1 files changed, 13 insertions(+), 0 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/media/s5p-mfc.txt b/Documentation/devicetree/bindings/media/s5p-mfc.txt
> index 67ec3d4..261c9dc 100644
> --- a/Documentation/devicetree/bindings/media/s5p-mfc.txt
> +++ b/Documentation/devicetree/bindings/media/s5p-mfc.txt
> @@ -21,3 +21,16 @@ Required properties:
>
> - samsung,mfc-l : Base address of the second memory bank used by MFC
> for DMA contiguous memory allocation and its size.
> +
> +Example:
Maybe adding a comment that this is a SoC...
> +mfc: codec@13400000 {
> + compatible = "samsung,mfc-v5";
> + reg = <0x13400000 0x10000>;
> + interrupts = <0 94 0>;
> +};
and the board specific part would make it more clear ?
> +codec@13400000 {
> + samsung,mfc-r = <0x43000000 0x800000>;
> + samsung,mfc-l = <0x51000000 0x800000>;
> +};
Also please note that in the first node above you need
status = "disabled"; line, so the MFC is disabled by default.
Then in dts files for boards that use the codec it can be
overridden to enable the device as needed.
--
Thanks,
Sylwester
next prev parent reply other threads:[~2013-01-29 13:33 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-29 4:13 [PATCH Resend 0/6] ARM: dts: Add MFC support for Exynos4 Sachin Kamat
2013-01-29 4:13 ` [PATCH 1/6] ARM: dts: Update MFC DT binding documentation Sachin Kamat
2013-01-29 13:33 ` Sylwester Nawrocki [this message]
2013-01-30 5:49 ` Sachin Kamat
2013-01-29 4:13 ` [PATCH 2/6] ARM: dts: Add MFC codec support for Exynos4 DT machines Sachin Kamat
2013-01-29 13:36 ` Sylwester Nawrocki
2013-01-30 6:00 ` Sachin Kamat
2013-01-29 4:13 ` [PATCH 3/6] ARM: dts: Add MFC codec support to SMDKV310 DT Sachin Kamat
2013-01-29 13:40 ` Sylwester Nawrocki
2013-01-30 6:12 ` Sachin Kamat
2013-01-29 4:13 ` [PATCH 4/6] ARM: dts: Add MFC codec support to Origen DT Sachin Kamat
2013-01-29 4:13 ` [PATCH 5/6] ARM: dts: Add MFC codec entry to exynos4412-origen DT file Sachin Kamat
2013-01-29 4:13 ` [PATCH 6/6] ARM: dts: Add MFC codec entry to exynos4412-smdk4412 " Sachin Kamat
-- strict thread matches above, loose matches on Subject: below --
2013-01-30 7:11 [PATCH v2 0/6] ARM: dts: Add MFC support for Exynos4 Sachin Kamat
2013-01-30 7:11 ` [PATCH 1/6] ARM: dts: Update MFC DT binding documentation Sachin Kamat
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=5107CF9D.6000200@samsung.com \
--to=s.nawrocki@samsung.com \
--cc=arun.kk@samsung.com \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=kgene.kim@samsung.com \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=patches@linaro.org \
--cc=sachin.kamat@linaro.org \
/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.