All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomasz Figa <tomasz.figa@gmail.com>
To: Thomas Abraham <thomas.abraham@linaro.org>
Cc: Tomasz Figa <t.figa@samsung.com>,
	linux-samsung-soc@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, kyungmin.park@samsung.com,
	jy0922.shim@samsung.com, kgene.kim@samsung.com
Subject: Re: [PATCH v2 5/5] ARM: Exynos: Add basic dts file for Samsung Trats board
Date: Wed, 05 Sep 2012 07:53:25 +0200	[thread overview]
Message-ID: <3039444.Ol4zGlGWJ2@flatron> (raw)
In-Reply-To: <CAJuYYwTV1giNYJ7RTz=DHqK=i6FD2GsV4rNY2p5scVAnQz0kdg@mail.gmail.com>

Hi,

Thanks for reviewing the patch.

On Wednesday 05 of September 2012 09:35:49 Thomas Abraham wrote:
> > +
> > +       memory {
> > +               reg =  <0x40000000 0x20000000
> > +                       0x60000000 0x20000000>;
> > +       };
> 
> Why does this have to be split. Why not have a single entry with the
> size as 0x40000000?

The memory node corresponds to struct meminfo and each entry (with two 
values) makes one struct membank defining a memory bank.

I've been talking with Kyungmin about this. Originally bootloaders used to 
report 4 banks of 256 MiB, but it turned out that real bank configuration 
on Trats is 2 banks of 512 MiB.

I'm not into memory management internals, so I don't know if this has any 
significance, but I defined the node to represent the real configuration 
(otherwise I would have probably used 4 banks of 256 MiB and drop the 4th 
patch).

> > +               max8997_pmic@66 {
> > +                       compatible = "maxim,max8997-pmic";
> > +
> > +                       reg = <0x66>;
> 
> Probably, the interrupts can be listed when we have pinctrl driver
> merged in Samsung tree.
> 

Right.

--
Best regards,
Tomasz Figa

WARNING: multiple messages have this Message-ID (diff)
From: tomasz.figa@gmail.com (Tomasz Figa)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 5/5] ARM: Exynos: Add basic dts file for Samsung Trats board
Date: Wed, 05 Sep 2012 07:53:25 +0200	[thread overview]
Message-ID: <3039444.Ol4zGlGWJ2@flatron> (raw)
In-Reply-To: <CAJuYYwTV1giNYJ7RTz=DHqK=i6FD2GsV4rNY2p5scVAnQz0kdg@mail.gmail.com>

Hi,

Thanks for reviewing the patch.

On Wednesday 05 of September 2012 09:35:49 Thomas Abraham wrote:
> > +
> > +       memory {
> > +               reg =  <0x40000000 0x20000000
> > +                       0x60000000 0x20000000>;
> > +       };
> 
> Why does this have to be split. Why not have a single entry with the
> size as 0x40000000?

The memory node corresponds to struct meminfo and each entry (with two 
values) makes one struct membank defining a memory bank.

I've been talking with Kyungmin about this. Originally bootloaders used to 
report 4 banks of 256 MiB, but it turned out that real bank configuration 
on Trats is 2 banks of 512 MiB.

I'm not into memory management internals, so I don't know if this has any 
significance, but I defined the node to represent the real configuration 
(otherwise I would have probably used 4 banks of 256 MiB and drop the 4th 
patch).

> > +               max8997_pmic at 66 {
> > +                       compatible = "maxim,max8997-pmic";
> > +
> > +                       reg = <0x66>;
> 
> Probably, the interrupts can be listed when we have pinctrl driver
> merged in Samsung tree.
> 

Right.

--
Best regards,
Tomasz Figa

  reply	other threads:[~2012-09-05  5:53 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-04  8:50 [PATCH v2 0/5] ARM: EXYNOS: Add support for Trats board using device tree Tomasz Figa
2012-09-04  8:50 ` Tomasz Figa
2012-09-04  8:50 ` [PATCH v2 1/5] mmc: host: sdhci-s3c: Add broken-voltage DT property for broken voltage quirk Tomasz Figa
2012-09-04  8:50   ` Tomasz Figa
2012-09-05  8:36   ` Jaehoon Chung
2012-09-05  8:36     ` Jaehoon Chung
2012-09-19  5:42   ` Chris Ball
2012-09-19  5:42     ` Chris Ball
2012-09-19 10:13     ` Tomasz Figa
2012-09-19 10:13       ` Tomasz Figa
2012-09-19 10:24       ` Chris Ball
2012-09-19 10:24         ` Chris Ball
2012-09-19 10:34         ` Tomasz Figa
2012-09-19 10:34           ` Tomasz Figa
2012-09-19 10:47           ` Chris Ball
2012-09-19 10:47             ` Chris Ball
2012-09-19 10:49             ` Tomasz Figa
2012-09-19 10:49               ` Tomasz Figa
2012-09-19 11:02             ` Jaehoon Chung
2012-09-19 11:02               ` Jaehoon Chung
2012-09-19 14:39               ` Chris Ball
2012-09-19 14:39                 ` Chris Ball
2012-09-20  5:57                 ` Jaehoon Chung
2012-09-20  5:57                   ` Jaehoon Chung
2012-09-04  8:50 ` [PATCH v2 2/5] ARM: Exynos4: dts: Specify address and size cells for i2c controllers Tomasz Figa
2012-09-04  8:50   ` Tomasz Figa
2012-09-05  3:58   ` Thomas Abraham
2012-09-05  3:58     ` Thomas Abraham
2012-09-08  2:37     ` Kukjin Kim
2012-09-08  2:37       ` Kukjin Kim
2012-09-04  8:50 ` [PATCH v2 3/5] ARM: Exynos4: Add OF compatibility lookups for Exynos4 i2c adapters Tomasz Figa
2012-09-04  8:50   ` Tomasz Figa
2012-09-05  3:59   ` Thomas Abraham
2012-09-05  3:59     ` Thomas Abraham
2012-09-08  2:38     ` Kukjin Kim
2012-09-08  2:38       ` Kukjin Kim
2012-09-04  8:50 ` [PATCH v2 4/5] ARM: EXYNOS: Increase maximum possible memory bank size to 512MiB Tomasz Figa
2012-09-04  8:50   ` Tomasz Figa
2012-09-08  2:41   ` Kukjin Kim
2012-09-08  2:41     ` Kukjin Kim
2012-09-08  8:15     ` Tomasz Figa
2012-09-08  8:15       ` Tomasz Figa
2012-09-04  8:50 ` [PATCH v2 5/5] ARM: Exynos: Add basic dts file for Samsung Trats board Tomasz Figa
2012-09-04  8:50   ` Tomasz Figa
2012-09-05  4:05   ` Thomas Abraham
2012-09-05  4:05     ` Thomas Abraham
2012-09-05  5:53     ` Tomasz Figa [this message]
2012-09-05  5:53       ` Tomasz Figa
2012-09-08  2:47       ` Kukjin Kim
2012-09-08  2:47         ` Kukjin Kim
2012-09-08  8:21         ` Tomasz Figa
2012-09-08  8:21           ` Tomasz Figa
2012-09-19 23:49           ` Kukjin Kim
2012-09-19 23:49             ` Kukjin Kim

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=3039444.Ol4zGlGWJ2@flatron \
    --to=tomasz.figa@gmail.com \
    --cc=jy0922.shim@samsung.com \
    --cc=kgene.kim@samsung.com \
    --cc=kyungmin.park@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=t.figa@samsung.com \
    --cc=thomas.abraham@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.