public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: laurent.pinchart@ideasonboard.com (Laurent Pinchart)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH/RFC 06/11] ARM: shmobile: r8a7790: Link CPG to RST using "renesas, modemr"
Date: Tue, 07 Jul 2015 17:23:10 +0300	[thread overview]
Message-ID: <3792169.nKlDE6xfl4@avalon> (raw)
In-Reply-To: <1436278217-20522-7-git-send-email-geert+renesas@glider.be>

Hi Geert,

Thank you for the patches.

On Tuesday 07 July 2015 16:10:12 Geert Uytterhoeven wrote:
> Add a link from the Clock Pulse Generator node to the Reset Controller
> node, so the CPG can read the Mode Monitoring Register (MODEMR) to
> obtain the MD pin values.x
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
>  arch/arm/boot/dts/r8a7790.dtsi | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
> index 08067ae177643b8f..4ee5523fc3e13e12 100644
> --- a/arch/arm/boot/dts/r8a7790.dtsi
> +++ b/arch/arm/boot/dts/r8a7790.dtsi
> @@ -1115,6 +1115,7 @@
>  					     "lb", "qspi", "sdh", "sd0", "sd1",
>  					     "z", "rcan", "adsp";
>  			#power-domain-cells = <0>;
> +			renesas,modemr = <&rst 0x60>;

I have mixed feelings about this as I don't think it really describes the 
hardware.

Wouldn't it make sense to instead add a standard kernel API to retrieve the 
boot mode value ? It seems to be a pretty common feature of SoCs across all 
vendors.

>  		};
> 
>  		/* Variable factor clocks */

-- 
Regards,

Laurent Pinchart

  reply	other threads:[~2015-07-07 14:23 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-07 14:10 [PATCH/RFC 00/11] ARM: shmobile: Let CPG use syscon for MD pin values Geert Uytterhoeven
2015-07-07 14:10 ` [PATCH/RFC 01/11] clk: shmobile: rcar-gen2: Obtain MD pin values using syscon/regmap Geert Uytterhoeven
2015-07-07 14:10 ` [PATCH/RFC 02/11] ARM: shmobile: r8a7790 dtsi: Add device node for RST module Geert Uytterhoeven
2015-07-07 14:10 ` [PATCH/RFC 03/11] ARM: shmobile: r8a7791 " Geert Uytterhoeven
2015-07-07 14:10 ` [PATCH/RFC 04/11] ARM: shmobile: r8a7793 " Geert Uytterhoeven
2015-07-07 14:10 ` [PATCH/RFC 05/11] ARM: shmobile: r8a7794 " Geert Uytterhoeven
2015-07-07 14:10 ` [PATCH/RFC 06/11] ARM: shmobile: r8a7790: Link CPG to RST using "renesas, modemr" Geert Uytterhoeven
2015-07-07 14:23   ` Laurent Pinchart [this message]
2015-07-07 14:58     ` Geert Uytterhoeven
2015-07-07 16:20       ` Laurent Pinchart
2015-07-08  8:29         ` Geert Uytterhoeven
2015-07-08 10:54           ` Laurent Pinchart
2015-07-07 14:10 ` [PATCH/RFC 07/11] ARM: shmobile: r8a7791: " Geert Uytterhoeven
2015-07-07 14:10 ` [PATCH/RFC 08/11] ARM: shmobile: r8a7793: " Geert Uytterhoeven
2015-07-07 14:10 ` [PATCH/RFC 09/11] ARM: shmobile: r8a7794: " Geert Uytterhoeven
2015-07-07 14:10 ` [PATCH/RFC 10/11] ARM: shmobile: rcar-gen2: Use syscon to configure the CPG Geert Uytterhoeven
2015-07-07 14:10 ` [PATCH/RFC 11/11] clk: shmobile: rcar-gen2: Remove obsolete rcar_gen2_clocks_init() Geert Uytterhoeven

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=3792169.nKlDE6xfl4@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox