All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomasz Figa <tomasz.figa@gmail.com>
To: Tushar Behera <tushar.behera@linaro.org>
Cc: Vikas Sajjan <vikas.sajjan@linaro.org>,
	linux-samsung-soc <linux-samsung-soc@vger.kernel.org>,
	Kukjin Kim <kgene.kim@samsung.com>,
	Patch Tracking <patches@linaro.org>,
	linaro-kernel@lists.linaro.org,
	Doug Anderson <dianders@chromium.org>
Subject: Re: [PATCH v4 2/3] ARM: dts: Update the status of RTC DT node of Exynos5250 SoC to "okay"
Date: Thu, 15 Aug 2013 10:59:02 +0200	[thread overview]
Message-ID: <2856422.z0LmRpN0Wg@flatron> (raw)
In-Reply-To: <CAHbNUh3LG4coLDfGZ5b=agaJ0PhhAR0A3Nhq-tPyL78KekhFOw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1765 bytes --]

Hi Tushar,

On Thursday 15 of August 2013 10:02:43 Tushar Behera wrote:
> On 14 August 2013 19:28, Vikas Sajjan <vikas.sajjan@linaro.org> wrote:
> > Updates the RTC DT node's status to "okay", since the bindings in
> > exynos5250.dtsi depicts the RTC h/w completely.
> > 
> > Signed-off-by: Vikas Sajjan <vikas.sajjan@linaro.org>
> > ---
> > 
> >  arch/arm/boot/dts/exynos5250.dtsi |    1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/arch/arm/boot/dts/exynos5250.dtsi
> > b/arch/arm/boot/dts/exynos5250.dtsi index f426ce6..c82137b 100644
> > --- a/arch/arm/boot/dts/exynos5250.dtsi
> > +++ b/arch/arm/boot/dts/exynos5250.dtsi
> > @@ -181,6 +181,7 @@
> > 
> >         rtc@101E0000 {
> >         
> >                 clocks = <&clock 337>;
> >                 clock-names = "rtc";
> > 
> > +               status = "okay";
> > 
> >         };
> 
> Sometime back we had a discussion on this, the decision was to enable
> it in respective boards.

This is not entirely true.

According to ePAPR, chapter 2.3.4, the status property has a well defined 
meaning and it should be set to "disabled" when "the device is not 
presently operational, but it might become operational in the future (for 
example, something is not plugged in, or switched off)".

This means that unless setup of the device is missing something (e.g. 
board-specific properties, like regulators or pin config) or there is a 
valid technical reason for disabling the device by default (e.g. it needs 
certain SoC pins to be properly connected to something), then such device 
should be "okay", because it is operational.

> Also if we are going ahead with this, we would need to remove the
> corresponding status statements from board files.

Yes, this is true.

Best regards,
Tomasz

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2013-08-15  8:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-14 13:58 [PATCH v4 0/3] Add RTC DT node to Exynos5420 SoC and Fix RTC DT node name for 5250 Soc Vikas Sajjan
2013-08-14 13:58 ` [PATCH v4 1/3] ARM: dts: Fix the RTC DT node name for Exynos5250 SoC Vikas Sajjan
2013-08-14 13:58 ` [PATCH v4 2/3] ARM: dts: Update the status of RTC DT node of Exynos5250 SoC to "okay" Vikas Sajjan
2013-08-15  4:32   ` Tushar Behera
2013-08-15  8:59     ` Tomasz Figa [this message]
2013-08-18 18:40       ` Kukjin Kim
2013-08-19  8:18         ` Vikas Sajjan
2013-08-19  8:33           ` Tushar Behera
2013-08-14 13:58 ` [PATCH v4 3/3] ARM: dts: Add RTC DT node to Exynos5420 SoC Vikas Sajjan

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=2856422.z0LmRpN0Wg@flatron \
    --to=tomasz.figa@gmail.com \
    --cc=dianders@chromium.org \
    --cc=kgene.kim@samsung.com \
    --cc=linaro-kernel@lists.linaro.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=patches@linaro.org \
    --cc=tushar.behera@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.