Devicetree
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Neil Armstrong <narmstrong@baylibre.com>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] clocksource: oxnas: add OX820 compatible
Date: Mon, 19 Sep 2016 16:20:07 -0500	[thread overview]
Message-ID: <20160919212007.GA13791@rob-hp-laptop> (raw)
In-Reply-To: <20160909132608.12605-1-narmstrong@baylibre.com>

On Fri, Sep 09, 2016 at 03:26:08PM +0200, Neil Armstrong wrote:
> In order to support the Oxford Semiconductor OX820 SoC, add new
> compatible string to rps timer driver.
> Also add new string in the dt-bindings.
> 
> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
> ---
>  Documentation/devicetree/bindings/timer/oxsemi,rps-timer.txt | 2 +-
>  drivers/clocksource/timer-oxnas-rps.c                        | 2 ++
>  2 files changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/timer/oxsemi,rps-timer.txt b/Documentation/devicetree/bindings/timer/oxsemi,rps-timer.txt
> index 3ca89cd..d191612 100644
> --- a/Documentation/devicetree/bindings/timer/oxsemi,rps-timer.txt
> +++ b/Documentation/devicetree/bindings/timer/oxsemi,rps-timer.txt
> @@ -2,7 +2,7 @@ Oxford Semiconductor OXNAS SoCs Family RPS Timer
>  ================================================
>  
>  Required properties:
> -- compatible: Should be "oxsemi,ox810se-rps-timer"
> +- compatible: Should be "oxsemi,ox810se-rps-timer" or "oxsemi,ox820-rps-timer"

Seems like this should be ox820 followed by ox810se and no kernel 
change.

>  - reg : Specifies base physical address and size of the registers.
>  - interrupts : The interrupts of the two timers
>  - clocks : The phandle of the timer clock source
> diff --git a/drivers/clocksource/timer-oxnas-rps.c b/drivers/clocksource/timer-oxnas-rps.c
> index bd887e2..d630bf4 100644
> --- a/drivers/clocksource/timer-oxnas-rps.c
> +++ b/drivers/clocksource/timer-oxnas-rps.c
> @@ -295,3 +295,5 @@ err_alloc:
>  
>  CLOCKSOURCE_OF_DECLARE(ox810se_rps,
>  		       "oxsemi,ox810se-rps-timer", oxnas_rps_timer_init);
> +CLOCKSOURCE_OF_DECLARE(ox820_rps,
> +		       "oxsemi,ox820se-rps-timer", oxnas_rps_timer_init);
> -- 
> 2.7.0
> 
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2016-09-19 21:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-09 13:26 [PATCH] clocksource: oxnas: add OX820 compatible Neil Armstrong
2016-09-19 21:20 ` Rob Herring [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=20160919212007.GA13791@rob-hp-laptop \
    --to=robh@kernel.org \
    --cc=daniel.lezcano@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=narmstrong@baylibre.com \
    --cc=tglx@linutronix.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