devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
To: Rahul Sharma <rahul.sharma@samsung.com>
Cc: linux-samsung-soc@vger.kernel.org,
	devicetree-discuss@lists.ozlabs.org, kgene.kim@samsung.com,
	inki.dae@samsung.com, joshi@samsung.com, r.sh.open@gmail.com
Subject: Re: [PATCH 3/4] ARM: dts: add support for hdmi-ddc to exynos4412-origen
Date: Sun, 27 Jan 2013 21:37:07 +0100	[thread overview]
Message-ID: <51058FF3.6070408@gmail.com> (raw)
In-Reply-To: <1359110384-28402-4-git-send-email-rahul.sharma@samsung.com>

Hi,

On 01/25/2013 11:39 AM, Rahul Sharma wrote:
> Signed-off-by: Rahul Sharma<rahul.sharma@samsung.com>

Please explain why this patch is needed, in more detail...

> ---
>   arch/arm/boot/dts/exynos4.dtsi          |  1 -
>   arch/arm/boot/dts/exynos4412-origen.dts | 13 +++++++++++++
>   2 files changed, 13 insertions(+), 1 deletion(-)
>   mode change 100644 =>  100755 arch/arm/boot/dts/exynos4412.dtsi
>
> diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi
> index 07cb7d4..a75e2f5 100644
> --- a/arch/arm/boot/dts/exynos4.dtsi
> +++ b/arch/arm/boot/dts/exynos4.dtsi
> @@ -219,7 +219,6 @@
>   		compatible = "samsung,s3c2440-i2c";
>   		reg =<0x138C0000 0x100>;
>   		interrupts =<0 64 0>;
> -		status = "disabled";

No, it's not how it is supposed to be done. If you want to enable
this specific I2C controller on your board, just add status = "okay";
line in its node in the board-specific dts file. Please see below.

>   	};
>
>   	i2c_7: i2c@138D0000 {
> diff --git a/arch/arm/boot/dts/exynos4412-origen.dts b/arch/arm/boot/dts/exynos4412-origen.dts
> index 4eba374..6299f1b 100644
> --- a/arch/arm/boot/dts/exynos4412-origen.dts
> +++ b/arch/arm/boot/dts/exynos4412-origen.dts
> @@ -59,4 +59,17 @@
>   	serial@13830000 {
>   		status = "okay";
>   	};
> +
> +	i2c_6: i2c@138C0000 {
> +		samsung,i2c-sda-delay =<100>;
> +		samsung,i2c-max-bus-freq =<66000>;
> +
> +		pinctrl-0 =<&i2c6_bus>;
> +		pinctrl-names = "default";

		status = "okay";

> +		hdmiddc@50 {
> +			compatible = "samsung,exynos4-hdmiddc";
> +			reg =<0x50>;
> +		};
> +	};
>   };
> diff --git a/arch/arm/boot/dts/exynos4412.dtsi b/arch/arm/boot/dts/exynos4412.dtsi
> old mode 100644
> new mode 100755

Are you sure you need to add all these execute permissions ?
Do you think these values are more sane than the previous ones ?
I'm afraid there is something going wrong with the file permissions
in your environment...

--

Thanks,
Sylwester

  reply	other threads:[~2013-01-27 20:37 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-25 10:39 [PATCH 0/4] 0/4] ARM: dts: add support for hdmi to exynos4412 Rahul Sharma
2013-01-25 10:39 ` [PATCH 1/4] ARM: dts: add support for hdmi to exynos4 Rahul Sharma
     [not found]   ` <1359110384-28402-2-git-send-email-rahul.sharma-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2013-01-25 17:40     ` Thomas Abraham
2013-01-28  6:55       ` Rahul Sharma
2013-01-28  8:44         ` Tomasz Figa
2013-01-28  9:23           ` Rahul Sharma
2013-01-28 18:48             ` Tomasz Figa
2013-01-27 20:54   ` Sylwester Nawrocki
2013-01-28  6:19     ` Rahul Sharma
2013-01-29 20:42       ` Sylwester Nawrocki
2013-01-31  8:09         ` Rahul Sharma
2013-01-31 22:25           ` Kukjin Kim
2013-02-01  4:04             ` Rahul Sharma
2013-01-25 10:39 ` [PATCH 2/4] ARM: dts: add support for mixer " Rahul Sharma
2013-01-27 21:04   ` Sylwester Nawrocki
2013-01-28  6:44     ` Rahul Sharma
2013-01-28  8:38       ` Tomasz Figa
2013-01-29 20:15         ` Sylwester Nawrocki
2013-01-29 20:24       ` Sylwester Nawrocki
2013-01-31  8:33         ` Rahul Sharma
2013-01-25 10:39 ` [PATCH 3/4] ARM: dts: add support for hdmi-ddc to exynos4412-origen Rahul Sharma
2013-01-27 20:37   ` Sylwester Nawrocki [this message]
2013-01-25 10:39 ` [PATCH 4/4] ARM: dts: add support for hdmi-phy to exynos4412 Rahul Sharma
2013-01-27 20:43 ` [PATCH 0/4] 0/4] ARM: dts: add support for hdmi " 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=51058FF3.6070408@gmail.com \
    --to=sylvester.nawrocki@gmail.com \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=inki.dae@samsung.com \
    --cc=joshi@samsung.com \
    --cc=kgene.kim@samsung.com \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=r.sh.open@gmail.com \
    --cc=rahul.sharma@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).