All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 1/2] rtc: pl031: convert the driver to driver model
Date: Wed, 4 Jul 2018 14:35:19 +0300	[thread overview]
Message-ID: <a98d3bd1-e0cb-d505-f52f-361e5ed005de@iki.fi> (raw)
In-Reply-To: <20180704073628.23596-2-takahiro.akashi@linaro.org>

Hi Akashi,

Thank you for the DM conversion.

On 07/04/2018 10:36 AM, AKASHI Takahiro wrote:
<..snip..>
> diff --git a/include/dm/platform_data/rtc_pl031.h b/include/dm/platform_data/rtc_pl031.h
> new file mode 100644
> index 0000000000..8e4ba1ce69
> --- /dev/null
> +++ b/include/dm/platform_data/rtc_pl031.h
> @@ -0,0 +1,12 @@
> +/* SPDX-License-Identifier: GPL-2.0+ */
> +
> +#ifndef __rtc_pl031_h
> +#define __rtc_pl031_h
> +
> +#include <asm/types.h>
> +
> +struct pl031_rtc_platdata {
> +	phys_addr_t base;
> +};
> +
> +#endif
> 

I think this file won't be necessary, the structure can stay private to pl031.c.
PL031 is an ARM IP block and U-Boot on ARM uses the device tree to locate devices.

  parent reply	other threads:[~2018-07-04 11:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-04  7:36 [U-Boot] [PATCH v2 0/2] arm: qemu-arm: enable PL031 (RTC) AKASHI Takahiro
2018-07-04  7:36 ` [U-Boot] [PATCH v2 1/2] rtc: pl031: convert the driver to driver model AKASHI Takahiro
2018-07-04  8:53   ` Alexander Graf
2018-07-04 11:29     ` Tuomas Tynkkynen
2018-07-05  8:30     ` AKASHI Takahiro
2018-07-04 10:50   ` Heinrich Schuchardt
2018-07-05  9:37     ` AKASHI Takahiro
2018-07-04 11:35   ` Tuomas Tynkkynen [this message]
2018-07-05  7:12     ` AKASHI Takahiro
2018-07-09  0:50       ` AKASHI Takahiro
2018-07-10 20:49         ` Simon Glass
2018-07-04  7:36 ` [U-Boot] [PATCH v2 2/2] arm: qemu-arm: enable PL031 (RTC) in defconfig AKASHI Takahiro
2018-07-04  8:56   ` Alexander Graf
2018-07-04 10:25     ` Heinrich Schuchardt
2018-07-05  6:59       ` AKASHI Takahiro

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=a98d3bd1-e0cb-d505-f52f-361e5ed005de@iki.fi \
    --to=tuomas.tynkkynen@iki.fi \
    --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 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.