public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Timur Tabi <timur@tabi.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 1/3] dm: gpio: Add driver for MPC85XX GPIO controller
Date: Tue, 10 May 2016 08:26:59 -0500	[thread overview]
Message-ID: <5731E1A3.1010202@tabi.org> (raw)
In-Reply-To: <CAN1kZooiTAd+ETucr0-DxDq7B7Ge8XinC8Z_1tMitjYiYcf=zA@mail.gmail.com>

Mario Six wrote:
> On Tue, May 10, 2016 at 2:30 PM, Timur Tabi <timur@tabi.org
> <mailto:timur@tabi.org>> wrote:
>
>     Mario Six wrote:
>
>         +       addr = fdtdec_get_addr_size_auto_noparent(gd->fdt_blob,
>         dev->of_offset,
>         +                                                 "reg", 0, &size);
>
>
>     Why can't you use platform_get_resource()?
>
>
> platform_get_resource is from the kernel, not U-Boot ;-) (Unless I've missed
> something and it has been implemented without me noticing).

Ugh, sorry.  I thought this was kernel code.  I make that mistake a lot.

Now everything makes more sense.  I think 
fdtdec_get_addr_size_auto_noparent() is correct.

  reply	other threads:[~2016-05-10 13:26 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-26 14:08 [U-Boot] [PATCH 0/3] dm: gpio: Add driver for MPC85xx GPIO controller Mario Six
2016-04-26 14:08 ` [U-Boot] [PATCH 1/3] dm: gpio: Add driver for MPC85XX " Mario Six
2016-05-01 17:46   ` Simon Glass
2016-05-02 11:43     ` Mario Six
2016-05-08 13:28       ` Timur Tabi
2016-05-10  7:15         ` Mario Six
2016-05-10 12:29           ` Timur Tabi
2016-05-10  7:50     ` [U-Boot] [PATCH v2 0/3] dm: gpio: Add driver for MPC85xx " Mario Six
2016-05-10  7:51       ` [U-Boot] [PATCH v2 1/3] dm: gpio: Add driver for MPC85XX " Mario Six
2016-05-10 12:30         ` Timur Tabi
2016-05-10 13:07           ` Mario Six
2016-05-10 13:26             ` Timur Tabi [this message]
2016-05-10 13:43               ` Mario Six
2016-05-10  7:51       ` [U-Boot] [PATCH v2 2/3] dm: gpio: Add methods for open drain setting Mario Six
2016-05-19  3:59         ` Simon Glass
2016-05-10  7:51       ` [U-Boot] [PATCH v2 3/3] dm: gpio: Implement open drain for MPC85XX GPIO Mario Six
2016-05-19  3:59         ` Simon Glass
2016-05-19  6:16           ` Mario Six
2016-04-26 14:08 ` [U-Boot] [PATCH 2/3] dm: gpio: Add methods for open drain setting Mario Six
2016-05-01 18:54   ` Simon Glass
2016-04-26 14:08 ` [U-Boot] [PATCH 3/3] dm: gpio: Implement open drain for MPC85XX GPIO Mario Six
2016-05-01 18:54   ` Simon Glass

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=5731E1A3.1010202@tabi.org \
    --to=timur@tabi.org \
    --cc=u-boot@lists.denx.de \
    /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