All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vineet Gupta <Vineet.Gupta1@synopsys.com>
To: Daniel Lezcano <daniel.lezcano@linaro.org>, <tglx@linutronix.de>
Cc: Mark Rutland <mark.rutland@arm.com>,
	"open list:RALINK MIPS ARCHITECTURE" <linux-mips@linux-mips.org>,
	Baruch Siach <baruch@tkos.co.il>,
	Heiko Stuebner <heiko@sntech.de>,
	Neil Armstrong <narmstrong@baylibre.com>,
	Linus Walleij <linus.walleij@linaro.org>,
	Santosh Shilimkar <ssantosh@kernel.org>,
	"Liviu Dudau" <liviu.dudau@arm.com>,
	"moderated list:ARM/OXNAS platform support" 
	<linux-oxnas@lists.tuxfamily.org>,
	Patrice Chotard <patrice.chotard@st.com>,
	Eric Anholt <eric@anholt.net>,
	Thierry Reding <thierry.reding@gmail.com>,
	Ingo Molnar <mingo@kernel.org>,
	"open list:ARM/STI ARCHITECTURE" <kernel@stlinux.com>,
	Alexandre Courbot <gnurou@gmail.com>,
	"moderated list:ARM/SAMSUNG EXYNOS ARM ARCHITECTURES" 
	<linux-samsung-soc@vger.kernel.org>,
	Florian Fainelli <f.fainelli@gmail.com>,
	"moderated list:H8/300 ARCHITECTURE" 
	<uclinux-h8-devel@lists.sourceforge.jp>
Subject: Re: [PATCH 2/7] clocksource: Rename CLOCKSOURCE_OF_DECLARE
Date: Tue, 30 May 2017 09:36:00 -0700	[thread overview]
Message-ID: <1cc18f5a-2181-7be9-183d-270ae093b844@synopsys.com> (raw)
In-Reply-To: <1495879129-28109-2-git-send-email-daniel.lezcano@linaro.org>

On 05/27/2017 02:58 AM, Daniel Lezcano wrote:

...

> So instead of dealing with a named clocksource macro, let's use a more generic
> one: TIMER_OF_DECLARE.
> 
> The patch has not functional changes.
> 
...

>   drivers/clocksource/arc_timer.c           |  6 +++---

...

> diff --git a/drivers/clocksource/arc_timer.c b/drivers/clocksource/arc_timer.c
> index 2164973..4927355 100644
> --- a/drivers/clocksource/arc_timer.c
> +++ b/drivers/clocksource/arc_timer.c
> @@ -99,7 +99,7 @@ static int __init arc_cs_setup_gfrc(struct device_node *node)
>   
>   	return clocksource_register_hz(&arc_counter_gfrc, arc_timer_freq);
>   }
> -CLOCKSOURCE_OF_DECLARE(arc_gfrc, "snps,archs-timer-gfrc", arc_cs_setup_gfrc);
> +TIMER_OF_DECLARE(arc_gfrc, "snps,archs-timer-gfrc", arc_cs_setup_gfrc);
>   
>   #define AUX_RTC_CTRL	0x103
>   #define AUX_RTC_LOW	0x104
> @@ -158,7 +158,7 @@ static int __init arc_cs_setup_rtc(struct device_node *node)
>   
>   	return clocksource_register_hz(&arc_counter_rtc, arc_timer_freq);
>   }
> -CLOCKSOURCE_OF_DECLARE(arc_rtc, "snps,archs-timer-rtc", arc_cs_setup_rtc);
> +TIMER_OF_DECLARE(arc_rtc, "snps,archs-timer-rtc", arc_cs_setup_rtc);
>   
>   #endif
>   
> @@ -333,4 +333,4 @@ static int __init arc_of_timer_init(struct device_node *np)
>   
>   	return ret;
>   }
> -CLOCKSOURCE_OF_DECLARE(arc_clkevt, "snps,arc-timer", arc_of_timer_init);
> +TIMER_OF_DECLARE(arc_clkevt, "snps,arc-timer", arc_of_timer_init);

Acked-by: Vineet Gupta vgupta@snyopsys.com

Thx,
-Vineet

WARNING: multiple messages have this Message-ID (diff)
From: Vineet Gupta <Vineet.Gupta1@synopsys.com>
To: Daniel Lezcano <daniel.lezcano@linaro.org>, tglx@linutronix.de
Cc: Mark Rutland <mark.rutland@arm.com>,
	"open list:RALINK MIPS ARCHITECTURE" <linux-mips@linux-mips.org>,
	Baruch Siach <baruch@tkos.co.il>,
	Heiko Stuebner <heiko@sntech.de>,
	Neil Armstrong <narmstrong@baylibre.com>,
	Linus Walleij <linus.walleij@linaro.org>,
	Santosh Shilimkar <ssantosh@kernel.org>,
	Liviu Dudau <liviu.dudau@arm.com>,
	"moderated list:ARM/OXNAS platform support"
	<linux-oxnas@lists.tuxfamily.org>,
	Patrice Chotard <patrice.chotard@st.com>,
	Eric Anholt <eric@anholt.net>,
	Thierry Reding <thierry.reding@gmail.com>,
	Ingo Molnar <mingo@kernel.org>,
	"open list:ARM/STI ARCHITECTURE" <kernel@stlinux.com>,
	Alexandre Courbot <gnurou@gmail.com>,
	"moderated list:ARM/SAMSUNG EXYNOS ARM ARCHITECTURES"
	<linux-samsung-soc@vger.kernel.org>,
	Florian Fainelli <f.fainelli@gmail.com>,
	"moderated list:H8/300 ARCHITECTURE"
	<uclinux-h8-devel@lists.sourceforge.jp>
Subject: Re: [PATCH 2/7] clocksource: Rename CLOCKSOURCE_OF_DECLARE
Date: Tue, 30 May 2017 09:36:00 -0700	[thread overview]
Message-ID: <1cc18f5a-2181-7be9-183d-270ae093b844@synopsys.com> (raw)
Message-ID: <20170530163600.7sEyumcVHCWF0xZvaFvxv0UmlYyL7dMpGAyl_Uy5UiU@z> (raw)
In-Reply-To: <1495879129-28109-2-git-send-email-daniel.lezcano@linaro.org>

On 05/27/2017 02:58 AM, Daniel Lezcano wrote:

...

> So instead of dealing with a named clocksource macro, let's use a more generic
> one: TIMER_OF_DECLARE.
> 
> The patch has not functional changes.
> 
...

>   drivers/clocksource/arc_timer.c           |  6 +++---

...

> diff --git a/drivers/clocksource/arc_timer.c b/drivers/clocksource/arc_timer.c
> index 2164973..4927355 100644
> --- a/drivers/clocksource/arc_timer.c
> +++ b/drivers/clocksource/arc_timer.c
> @@ -99,7 +99,7 @@ static int __init arc_cs_setup_gfrc(struct device_node *node)
>   
>   	return clocksource_register_hz(&arc_counter_gfrc, arc_timer_freq);
>   }
> -CLOCKSOURCE_OF_DECLARE(arc_gfrc, "snps,archs-timer-gfrc", arc_cs_setup_gfrc);
> +TIMER_OF_DECLARE(arc_gfrc, "snps,archs-timer-gfrc", arc_cs_setup_gfrc);
>   
>   #define AUX_RTC_CTRL	0x103
>   #define AUX_RTC_LOW	0x104
> @@ -158,7 +158,7 @@ static int __init arc_cs_setup_rtc(struct device_node *node)
>   
>   	return clocksource_register_hz(&arc_counter_rtc, arc_timer_freq);
>   }
> -CLOCKSOURCE_OF_DECLARE(arc_rtc, "snps,archs-timer-rtc", arc_cs_setup_rtc);
> +TIMER_OF_DECLARE(arc_rtc, "snps,archs-timer-rtc", arc_cs_setup_rtc);
>   
>   #endif
>   
> @@ -333,4 +333,4 @@ static int __init arc_of_timer_init(struct device_node *np)
>   
>   	return ret;
>   }
> -CLOCKSOURCE_OF_DECLARE(arc_clkevt, "snps,arc-timer", arc_of_timer_init);
> +TIMER_OF_DECLARE(arc_clkevt, "snps,arc-timer", arc_of_timer_init);

Acked-by: Vineet Gupta vgupta@snyopsys.com

Thx,
-Vineet

WARNING: multiple messages have this Message-ID (diff)
From: Vineet Gupta <Vineet.Gupta1@synopsys.com>
To: Daniel Lezcano <daniel.lezcano@linaro.org>, tglx@linutronix.de
Cc: Mark Rutland <mark.rutland@arm.com>,
	"open list:RALINK MIPS ARCHITECTURE" <linux-mips@linux-mips.org>,
	Baruch Siach <baruch@tkos.co.il>,
	Heiko Stuebner <heiko@sntech.de>,
	Neil Armstrong <narmstrong@baylibre.com>,
	Linus Walleij <linus.walleij@linaro.org>,
	Santosh Shilimkar <ssantosh@kernel.org>,
	Liviu Dudau <liviu.dudau@arm.com>,
	"moderated list:ARM/OXNAS platform support"
	<linux-oxnas@lists.tuxfamily.org>,
	Patrice Chotard <patrice.chotard@st.com>,
	Eric Anholt <eric@anholt.net>,
	Thierry Reding <thierry.reding@gmail.com>,
	Ingo Molnar <mingo@kernel.org>,
	"open list:ARM/STI ARCHITECTURE" <kernel@stlinux.com>,
	Alexandre Courbot <gnurou@gmail.com>,
	"moderated list:ARM/SAMSUNG EXYNOS ARM ARCHITECTURES"
	<linux-samsung-soc@vger.kernel.org>,
	Floria
Subject: Re: [PATCH 2/7] clocksource: Rename CLOCKSOURCE_OF_DECLARE
Date: Tue, 30 May 2017 09:36:00 -0700	[thread overview]
Message-ID: <1cc18f5a-2181-7be9-183d-270ae093b844@synopsys.com> (raw)
In-Reply-To: <1495879129-28109-2-git-send-email-daniel.lezcano@linaro.org>

On 05/27/2017 02:58 AM, Daniel Lezcano wrote:

...

> So instead of dealing with a named clocksource macro, let's use a more generic
> one: TIMER_OF_DECLARE.
> 
> The patch has not functional changes.
> 
...

>   drivers/clocksource/arc_timer.c           |  6 +++---

...

> diff --git a/drivers/clocksource/arc_timer.c b/drivers/clocksource/arc_timer.c
> index 2164973..4927355 100644
> --- a/drivers/clocksource/arc_timer.c
> +++ b/drivers/clocksource/arc_timer.c
> @@ -99,7 +99,7 @@ static int __init arc_cs_setup_gfrc(struct device_node *node)
>   
>   	return clocksource_register_hz(&arc_counter_gfrc, arc_timer_freq);
>   }
> -CLOCKSOURCE_OF_DECLARE(arc_gfrc, "snps,archs-timer-gfrc", arc_cs_setup_gfrc);
> +TIMER_OF_DECLARE(arc_gfrc, "snps,archs-timer-gfrc", arc_cs_setup_gfrc);
>   
>   #define AUX_RTC_CTRL	0x103
>   #define AUX_RTC_LOW	0x104
> @@ -158,7 +158,7 @@ static int __init arc_cs_setup_rtc(struct device_node *node)
>   
>   	return clocksource_register_hz(&arc_counter_rtc, arc_timer_freq);
>   }
> -CLOCKSOURCE_OF_DECLARE(arc_rtc, "snps,archs-timer-rtc", arc_cs_setup_rtc);
> +TIMER_OF_DECLARE(arc_rtc, "snps,archs-timer-rtc", arc_cs_setup_rtc);
>   
>   #endif
>   
> @@ -333,4 +333,4 @@ static int __init arc_of_timer_init(struct device_node *np)
>   
>   	return ret;
>   }
> -CLOCKSOURCE_OF_DECLARE(arc_clkevt, "snps,arc-timer", arc_of_timer_init);
> +TIMER_OF_DECLARE(arc_clkevt, "snps,arc-timer", arc_of_timer_init);

Acked-by: Vineet Gupta vgupta@snyopsys.com

Thx,
-Vineet

  parent reply	other threads:[~2017-05-30 16:36 UTC|newest]

Thread overview: 116+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-27  9:58 [PATCH 1/7] Revert "clockevents: Add a clkevt-of mechanism like clksrc-of" Daniel Lezcano
2017-05-27  9:58 ` Daniel Lezcano
2017-05-27  9:58 ` [PATCH 2/7] clocksource: Rename CLOCKSOURCE_OF_DECLARE Daniel Lezcano
2017-05-27  9:58   ` Daniel Lezcano
2017-05-27  9:58   ` Daniel Lezcano
2017-05-27  9:58   ` Daniel Lezcano
2017-05-27  9:58   ` Daniel Lezcano
2017-05-28 13:48   ` Linus Walleij
2017-05-28 13:48     ` Linus Walleij
2017-05-28 13:48     ` Linus Walleij
2017-05-28 13:48     ` Linus Walleij
2017-05-28 14:20     ` Daniel Lezcano
2017-05-28 14:20       ` Daniel Lezcano
2017-05-28 14:20       ` Daniel Lezcano
2017-05-28 14:20       ` Daniel Lezcano
2017-05-29  7:39   ` Heiko Stübner
2017-05-29  7:39     ` Heiko Stübner
2017-05-29  7:39     ` Heiko Stübner
2017-05-29  7:39     ` Heiko Stübner
2017-05-29  8:00   ` Neil Armstrong
2017-05-29  8:00     ` Neil Armstrong
2017-05-29  8:00     ` Neil Armstrong
2017-05-29  8:00     ` Neil Armstrong
2017-05-29  8:02   ` Mason
2017-05-29  8:41   ` Arnd Bergmann
2017-05-29  8:41     ` Arnd Bergmann
2017-05-29  8:41     ` Arnd Bergmann
2017-05-29  8:41     ` Arnd Bergmann
     [not found]     ` <CAK8P3a3QACHYqtCO1z_FpW0nXEtx356wCDha_=SNXU872=q1UQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-05-29  8:48       ` Daniel Lezcano
2017-05-29  8:48         ` Daniel Lezcano
2017-05-29  8:48         ` Daniel Lezcano
2017-05-29  8:48         ` Daniel Lezcano
2017-05-29  9:57         ` Arnd Bergmann
2017-05-29  9:57           ` Arnd Bergmann
2017-05-29  9:57           ` Arnd Bergmann
2017-05-29  9:57           ` Arnd Bergmann
     [not found]           ` <CAK8P3a1Kv_RhKL43ie6co_N5pDXvRHd7Uq8g70qt80WkxuhzLw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-05-29 10:55             ` Daniel Lezcano
2017-05-29 10:55               ` Daniel Lezcano
2017-05-29 10:55               ` Daniel Lezcano
2017-05-29 10:55               ` Daniel Lezcano
2017-05-29 11:21               ` Arnd Bergmann
2017-05-29 11:21                 ` Arnd Bergmann
2017-05-29 11:21                 ` Arnd Bergmann
2017-05-29 11:21                 ` Arnd Bergmann
2017-05-30 12:09           ` [PATCH] clocksource: Add an alias macro CLOCKSOURCE_OF_DECLARE Daniel Lezcano
     [not found]   ` <1495879129-28109-2-git-send-email-daniel.lezcano-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2017-05-29 13:25     ` [PATCH 2/7] clocksource: Rename CLOCKSOURCE_OF_DECLARE Matthias Brugger
2017-05-29 13:25       ` Matthias Brugger
2017-05-29 13:25       ` Matthias Brugger
2017-05-29 13:25       ` Matthias Brugger
2017-05-31  8:19     ` Krzysztof Kozlowski
2017-05-31  8:19       ` Krzysztof Kozlowski
2017-05-31  8:19       ` Krzysztof Kozlowski
2017-05-31  8:19       ` Krzysztof Kozlowski
2017-05-30 16:36   ` Vineet Gupta [this message]
2017-05-30 16:36     ` Vineet Gupta
2017-05-30 16:36     ` Vineet Gupta
2017-05-31  7:11   ` Patrice CHOTARD
2017-05-31  7:11     ` Patrice CHOTARD
2017-05-31  7:11     ` Patrice CHOTARD
2017-05-31  7:11     ` Patrice CHOTARD
2017-05-27  9:58 ` [PATCH 3/7] clocksource: Rename clocksource_probe Daniel Lezcano
2017-05-27  9:58   ` Daniel Lezcano
2017-05-27  9:58   ` Daniel Lezcano
2017-05-27  9:58   ` Daniel Lezcano
2017-05-28 13:49   ` Linus Walleij
2017-05-28 13:49     ` Linus Walleij
2017-05-28 13:49     ` Linus Walleij
2017-05-29  4:34   ` Viresh Kumar
2017-05-29  4:34     ` Viresh Kumar
2017-05-29  4:34     ` Viresh Kumar
2017-05-29  7:37   ` Heiko Stübner
2017-05-29  7:37     ` Heiko Stübner
2017-05-29  7:37     ` Heiko Stübner
2017-05-31 10:29   ` James Hartley
2017-05-31 10:29     ` James Hartley
2017-05-31 10:29     ` James Hartley
2017-05-31 10:29     ` James Hartley
2017-05-27  9:58 ` [PATCH 4/7] clocksource: Rename CLOCKSOURCE_ACPI_DECLARE Daniel Lezcano
2017-05-27  9:58   ` Daniel Lezcano
2017-05-28 13:50   ` Linus Walleij
2017-05-28 13:50     ` Linus Walleij
2017-05-27  9:58 ` [PATCH 5/7] clocksource: Rename clksrc Daniel Lezcano
2017-05-27  9:58   ` Daniel Lezcano
2017-05-27  9:58   ` Daniel Lezcano
2017-05-28 13:51   ` Linus Walleij
2017-05-28 13:51     ` Linus Walleij
2017-05-28 13:51     ` Linus Walleij
2017-05-27  9:58 ` [PATCH 6/7] clocksource: Rename CLKSRC_OF to TIMER_OF Daniel Lezcano
2017-05-27  9:58   ` Daniel Lezcano
2017-05-27  9:58   ` Daniel Lezcano
2017-05-27  9:58   ` Daniel Lezcano
2017-05-27  9:58   ` Daniel Lezcano
2017-05-28  3:00   ` Shawn Guo
2017-05-28  3:00     ` Shawn Guo
2017-05-28  3:00     ` Shawn Guo
2017-05-28  3:00     ` Shawn Guo
2017-05-28  3:00     ` Shawn Guo
2017-05-28  9:18     ` Daniel Lezcano
2017-05-28  9:18       ` Daniel Lezcano
2017-05-28  9:18       ` Daniel Lezcano
2017-05-28  9:18       ` Daniel Lezcano
2017-05-28  9:18       ` Daniel Lezcano
2017-05-28 13:52   ` Linus Walleij
2017-05-28 13:52     ` Linus Walleij
2017-05-28 13:52     ` Linus Walleij
2017-05-28 13:52     ` Linus Walleij
2017-05-28 13:52     ` Linus Walleij
2017-05-31  8:24   ` Krzysztof Kozlowski
2017-05-31  8:24     ` Krzysztof Kozlowski
2017-05-31  8:24     ` Krzysztof Kozlowski
2017-05-31  8:24     ` Krzysztof Kozlowski
2017-05-31  8:24     ` Krzysztof Kozlowski
2017-05-27  9:58 ` [PATCH 7/7] clocksource: Rename CLKSRC_ACPI Daniel Lezcano
2017-05-27  9:58   ` Daniel Lezcano
2017-05-28 13:52   ` Linus Walleij
2017-05-28 13:52     ` Linus Walleij

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=1cc18f5a-2181-7be9-183d-270ae093b844@synopsys.com \
    --to=vineet.gupta1@synopsys.com \
    --cc=baruch@tkos.co.il \
    --cc=daniel.lezcano@linaro.org \
    --cc=eric@anholt.net \
    --cc=f.fainelli@gmail.com \
    --cc=gnurou@gmail.com \
    --cc=heiko@sntech.de \
    --cc=kernel@stlinux.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-mips@linux-mips.org \
    --cc=linux-oxnas@lists.tuxfamily.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=liviu.dudau@arm.com \
    --cc=mark.rutland@arm.com \
    --cc=mingo@kernel.org \
    --cc=narmstrong@baylibre.com \
    --cc=patrice.chotard@st.com \
    --cc=ssantosh@kernel.org \
    --cc=tglx@linutronix.de \
    --cc=thierry.reding@gmail.com \
    --cc=uclinux-h8-devel@lists.sourceforge.jp \
    /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.