All of lore.kernel.org
 help / color / mirror / Atom feed
From: Doug Anderson <dianders@chromium.org>
To: Tomasz Figa <tomasz.figa@gmail.com>
Cc: Arun Kumar K <arun.kk@samsung.com>,
	linux-samsung-soc <linux-samsung-soc@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	Kukjin Kim <kgene.kim@samsung.com>,
	Olof Johansson <olofj@google.com>,
	Tomasz Figa <t.figa@samsung.com>,
	Sachin Kamat <sachin.kamat@linaro.org>,
	Tushar Behera <tushar.behera@linaro.org>,
	Arun Kumar <arunkk.samsung@gmail.com>, Tom Rini <trini@ti.com>
Subject: Re: [PATCH v3 2/2] ARM: dts: Add peach-pit board support
Date: Thu, 1 May 2014 10:45:31 -0700	[thread overview]
Message-ID: <CAD=FV=Wj4tZ=rJX96Z67qvyj0kRgfgo++SUQc+MxoCuS_SM1Vg@mail.gmail.com> (raw)
In-Reply-To: <536284CC.80603@gmail.com>

Tomasz,

On Thu, May 1, 2014 at 10:30 AM, Tomasz Figa <tomasz.figa@gmail.com> wrote:
> On 01.05.2014 17:40, Doug Anderson wrote:
>>
>> Arun,
>>
>> On Wed, Apr 30, 2014 at 4:08 AM, Arun Kumar K <arun.kk@samsung.com> wrote:
>>>
>>> +       memory {
>>> +               reg = <0x20000000 0x80000000>;
>>
>>
>> As mentioned in the other thread, I think this should be 0 0
>
>
> I guess it may depend on your boards, but DT might contain safe default
> configuration that would work on all variants, so if you have for example 1
> GiB and 2 GiB variants, 1 GiB configuration here should be fine to get the
> board running even without a bootloader that could inject remaining data.

That was part of the debate yesterday, I thought.  Tom Rini (U-Boot
guy) said that right now U-Boot clobbers the memory node _always_ and
fills it in with whatever it detects.  He wasn't sure this was a good
idea.  Someone said they thought that it wasn't a good idea, but
someone could request U-Boot keep clobbering things by doing <0 0>

Tom: did I summarize that correctly?


>>> +&pinctrl_0 {
>>> +       tpm_irq: tpm-irq {
>>> +               samsung,pins = "gpx1-0";
>>> +               samsung,pin-function = <0>;
>>> +               samsung,pin-pud = <0>;
>>
>>
>> Is there any way to use the #defines PIN_PULL_NONE here?
>
>
> I wonder if we already have this kind of #define defined. Keep in mind that
> this value is specific for Exynos SoCs, so we would need to define it in
> Exynos-specific header, like include/dt-bindings/pinctrl/exynos.h.

I dunno.  I'd actually love to see function 0/1 defined (input /
output) too.  ...and drive strengths (since 0, 1, 2, 3 don't map
nicely to x1, x2, x3, x4).

I requested PIN_PULL_NONE though, since I saw it being used.

...oh, but it's a #define in a .dtsi.  Hrm.

arch/arm/boot/dts/s3c64xx-pinctrl.dtsi:#define PIN_PULL_NONE    0

I guess I'd say that it would be nice to do this properly for exynos,
but we could do it in a later patch.


-Doug

      reply	other threads:[~2014-05-01 17:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-30 11:08 [PATCH v3 0/2] Add peach-pit board support Arun Kumar K
2014-04-30 11:08 ` [PATCH v3 1/2] ARM: dts: Add node references to 5420 Arun Kumar K
     [not found]   ` <1398856138-18837-2-git-send-email-arun.kk-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-05-01 15:09     ` Doug Anderson
2014-05-01 17:25   ` Tomasz Figa
2014-05-02  4:16     ` Arun Kumar K
2014-04-30 11:08 ` [PATCH v3 2/2] ARM: dts: Add peach-pit board support Arun Kumar K
2014-05-01 15:40   ` Doug Anderson
2014-05-01 17:30     ` Tomasz Figa
2014-05-01 17:45       ` Doug Anderson [this message]

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='CAD=FV=Wj4tZ=rJX96Z67qvyj0kRgfgo++SUQc+MxoCuS_SM1Vg@mail.gmail.com' \
    --to=dianders@chromium.org \
    --cc=arun.kk@samsung.com \
    --cc=arunkk.samsung@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=kgene.kim@samsung.com \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=olofj@google.com \
    --cc=sachin.kamat@linaro.org \
    --cc=t.figa@samsung.com \
    --cc=tomasz.figa@gmail.com \
    --cc=trini@ti.com \
    --cc=tushar.behera@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.