All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sylwester Nawrocki <s.nawrocki@samsung.com>
To: Vikas Sajjan <vikas.sajjan@linaro.org>
Cc: linux-samsung-soc@vger.kernel.org, kgene.kim@samsung.com,
	sachin.kamat@linaro.org, patches@linaro.org
Subject: Re: [PATCH v4 5/5] ARM: exynos: dts: Add FIMD DT binding Documentation
Date: Fri, 15 Feb 2013 11:38:00 +0100	[thread overview]
Message-ID: <511E1008.6010308@samsung.com> (raw)
In-Reply-To: <1360912200-26377-6-git-send-email-vikas.sajjan@linaro.org>

Hi,

On 02/15/2013 08:10 AM, Vikas Sajjan wrote:
> Adds FIMD DT binding documentation both SoC and Board, with an example
> 
> Signed-off-by: Vikas Sajjan <vikas.sajjan@linaro.org>
> ---
>  .../devicetree/bindings/drm/exynos/fimd.txt        |   37 ++++++++++++++++++++
>  1 file changed, 37 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/drm/exynos/fimd.txt
> 
> diff --git a/Documentation/devicetree/bindings/drm/exynos/fimd.txt b/Documentation/devicetree/bindings/drm/exynos/fimd.txt
> new file mode 100644
> index 0000000..bec9d07
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/drm/exynos/fimd.txt
> @@ -0,0 +1,37 @@
> +Device-Tree bindings for fimd driver
> +
> +FIMD stands for Fully Interactive Mobile Display, is the Display Controller for
> +the Exynos series of SoCs which transfers the image data from a video buffer
> +located in the system memory to an external LCD interface.
> +
> +Required properties:
> +- compatible := value should be "samsung,exynos5-fimd" or "samsung,exynos4-fimd"

What about older SoCs like S5Pv210 ? There is the FIMD IP block in those SoCs
as well. There are also differences in the FIMD IP block across various SoC 
version, so either you need to list the quirks in the bindings or use an
appropriate compatible properties if there are significant differences across 
FIMDs that make them not really compatible.

> +- reg := physical base address of the fimd and length of memory mapped region
> +- interrupt-parent := reference to the interrupt combiner node with phandle
> +- interrupts := interrupt number from the combiner to the cpu

These are actually 3 interrupts. Can you please document what they are
and in what order should be listed in the interrupts property ?

> +- pinctrl := property defining the pinctrl configurations with a phandle
> +- pinctrl-names := name of the pinctrl
> +
> +Optional Properties:
> +- samsung,power-domain := power domain property defined with a phandle
> +- status := property defining the status of the node

I don't think this standard property needs to be documented here.

> +
> +Example:
> +
> +SoC specific DT Entry:
> +
> +	fimd@11c00000 {
> +		compatible = "samsung,exynos4-fimd";
> +		interrupt-parent = <&combiner>;
> +		reg = <0x11c00000 0x20000>;
> +		interrupts = <11 1>, <11 0>, <11 2>;

Why this order exactly ? Because currently the driver expects VSYNC 
interrupt specifier in the first entry and it won't work when you put
any other interrupt specifier there ?

The interrupts order really needs to be specified above, otherwise
you need to look at the bindings implementation in the driver to
figure out why it didn't work when you put the interrupt in different
order... see confused and angry faces of developers ? ... :)

If I'm not mistaken we have "Video Frame" (VSYNC), "I80 Interface" 
and "FIFO Level" interrupts here.

> +	};


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

  reply	other threads:[~2013-02-15 10:38 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-15  7:09 [PATCH v4 0/5] Add DRM FIMD DT support for Exynos4 DT Machines Vikas Sajjan
2013-02-15  7:09 ` [PATCH v4 1/5] ARM: dts: Add FIMD node to exynos4 Vikas Sajjan
2013-02-15  7:09 ` [PATCH v4 2/5] ARM: dts: Add lcd pinctrl node entries for EXYNOS4412 SoC Vikas Sajjan
2013-02-15  7:09 ` [PATCH v4 3/5] ARM: dts: Add FIMD node and display timing node to exynos4412-origen.dts Vikas Sajjan
2013-02-15  7:09 ` [PATCH v4 4/5] ARM: dts: add FIMD AUXDATA node entry for exynos4 DT Vikas Sajjan
2013-02-15  7:10 ` [PATCH v4 5/5] ARM: exynos: dts: Add FIMD DT binding Documentation Vikas Sajjan
2013-02-15 10:38   ` Sylwester Nawrocki [this message]
2013-02-18 10:51     ` Vikas Sajjan
2013-02-18 21:46       ` Sylwester Nawrocki
2013-02-21  7:04         ` Vikas Sajjan
2013-02-22  7:06           ` Vikas Sajjan
2013-02-22 21:37             ` Sylwester Nawrocki
2013-02-26  4:19               ` Vikas Sajjan
2013-02-26 21:57                 ` Sylwester Nawrocki
2013-02-26 22:11                   ` Tomasz Figa
2013-02-26 22:48                     ` Sylwester Nawrocki
2013-02-22 22:10             ` Tomasz Figa

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=511E1008.6010308@samsung.com \
    --to=s.nawrocki@samsung.com \
    --cc=kgene.kim@samsung.com \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=patches@linaro.org \
    --cc=sachin.kamat@linaro.org \
    --cc=vikas.sajjan@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.