All of lore.kernel.org
 help / color / mirror / Atom feed
From: Biju Das <biju.das.jz@bp.renesas.com>
To: Daniel Lezcano <daniel.lezcano@linaro.org>,
	Thomas Gleixner <tglx@linutronix.de>
Cc: Biju Das <biju.das.jz@bp.renesas.com>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Chris Paterson <Chris.Paterson2@renesas.com>,
	Biju Das <biju.das@bp.renesas.com>,
	Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@bp.renesas.com>,
	linux-renesas-soc@vger.kernel.org
Subject: [PATCH v3 4/4] clocksource/drivers/renesas,ostm: Make RENESAS_OSTM symbol visible
Date: Fri, 12 Nov 2021 18:44:13 +0000	[thread overview]
Message-ID: <20211112184413.4391-5-biju.das.jz@bp.renesas.com> (raw)
In-Reply-To: <20211112184413.4391-1-biju.das.jz@bp.renesas.com>

As RZ/G2L uses the ARM Architected Timer as system timer, enabling
the OSTM is not mandatory.

Make RENESAS_OSTM symbol visible, so that user can enable it
when needed.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
---
 drivers/clocksource/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 0f5e3983951a..b4e7f7be3c10 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -507,7 +507,8 @@ config SH_TIMER_MTU2
 	  This hardware comes with 16-bit timer registers.
 
 config RENESAS_OSTM
-	bool "Renesas OSTM timer driver" if COMPILE_TEST
+	bool "Renesas OSTM timer driver"
+	depends on ARCH_RENESAS || COMPILE_TEST
 	select CLKSRC_MMIO
 	select TIMER_OF
 	help
-- 
2.17.1


  parent reply	other threads:[~2021-11-12 18:44 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-12 18:44 [PATCH v3 0/4] Add RZ/G2L OSTM support Biju Das
2021-11-12 18:44 ` Biju Das
2021-11-12 18:44 ` [PATCH v3 1/4] reset: Add of_reset_control_get_optional_exclusive() Biju Das
2021-11-19 11:37   ` Philipp Zabel
2021-12-09 13:09     ` Daniel Lezcano
2022-01-10 13:00   ` [tip: timers/core] " tip-bot2 for Biju Das
2021-11-12 18:44 ` [PATCH v3 2/4] dt-bindings: timer: renesas: ostm: Document Renesas RZ/G2L OSTM Biju Das
2021-11-12 18:44   ` Biju Das
2021-11-29  0:06   ` Rob Herring
2021-11-29  0:06     ` Rob Herring
2022-01-10 12:59   ` [tip: timers/core] " tip-bot2 for Biju Das
2021-11-12 18:44 ` [PATCH v3 3/4] clocksource/drivers/renesas-ostm: Add RZ/G2L OSTM support Biju Das
2021-11-12 18:44   ` Biju Das
2021-11-18 10:44   ` Geert Uytterhoeven
2021-11-18 10:44     ` Geert Uytterhoeven
2021-11-29  9:53   ` Daniel Lezcano
2021-11-29  9:53     ` Daniel Lezcano
2021-11-29 10:05     ` Biju Das
2021-11-29 10:05       ` Biju Das
2021-11-29 10:15       ` Geert Uytterhoeven
2021-11-29 10:15         ` Geert Uytterhoeven
2021-12-07 13:32         ` Biju Das
2021-12-07 13:32           ` Biju Das
2021-12-09 13:10           ` Daniel Lezcano
2021-12-09 13:10             ` Daniel Lezcano
2022-01-10 12:59   ` [tip: timers/core] " tip-bot2 for Biju Das
2021-11-12 18:44 ` Biju Das [this message]
2021-11-18 10:40   ` [PATCH v3 4/4] clocksource/drivers/renesas,ostm: Make RENESAS_OSTM symbol visible Geert Uytterhoeven
2022-01-10 12:59   ` [tip: timers/core] " tip-bot2 for Biju Das

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=20211112184413.4391-5-biju.das.jz@bp.renesas.com \
    --to=biju.das.jz@bp.renesas.com \
    --cc=Chris.Paterson2@renesas.com \
    --cc=biju.das@bp.renesas.com \
    --cc=daniel.lezcano@linaro.org \
    --cc=geert+renesas@glider.be \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=prabhakar.mahadev-lad.rj@bp.renesas.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 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.