linux-rtc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/4] Set name of regmap_config
@ 2018-03-12  9:51 Jeffy Chen
  2018-03-12  9:51 ` [PATCH v5 2/4] rtc: at91sam9: " Jeffy Chen
  0 siblings, 1 reply; 3+ messages in thread
From: Jeffy Chen @ 2018-03-12  9:51 UTC (permalink / raw)
  To: linux-kernel, broonie, alexandre.belloni
  Cc: Guenter Roeck, Arnd Bergmann, Joseph Lo, Rob Herring,
	Catalin Marinas, lee.jones, Emil Renner Berthing, Heiko Stuebner,
	Brian Norris, Thomas Gleixner, Philippe Ombredanne,
	linux-rockchip, Kate Stewart, linux-input, Will Deacon,
	Jeffy Chen, Matthias Kaehlcke, devicetree, stephen lu,
	Greg Kroah-Hartman, Arvind Yadav, linux-arm-kernel,
	Dmitry Torokhov, Mark Rutland, linux-rtc, Sylvain Lemieux,
	Michael Turquette, Alessandro Zummo, Stephen Boyd,
	Gabriel Fernandez, linux-clk, Alexandre Belloni, Russell King,
	Nicolas Ferre, Jerome Brunet, Vladimir Zapolskiy


After 9b947a13e7f6 ("regmap: use debugfs even when no device"), we are
allowing regmap to create debugfs without a valid device. Some of them
would end up using "dummy*" as debugfs name.

This series try to set names in some regmap_config to avoid that.


Changes in v5:
CC lee.jones@linaro.org

Changes in v4:
Not to use rtc dev to init regmap, the gpbr is not directly related to
the rtc.

Changes in v3:
Modify commit message.

Jeffy Chen (4):
  mfd: syscon: Set name of regmap_config
  rtc: at91sam9: Set name of regmap_config
  clk: lpc32xx: Set name of regmap_config
  ARM: rockchip: Set name of regmap_config

 arch/arm/mach-rockchip/platsmp.c | 1 +
 drivers/clk/nxp/clk-lpc32xx.c    | 1 +
 drivers/mfd/syscon.c             | 1 +
 drivers/rtc/rtc-at91sam9.c       | 1 +
 4 files changed, 4 insertions(+)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH v5 2/4] rtc: at91sam9: Set name of regmap_config
  2018-03-12  9:51 [PATCH v5 0/4] Set name of regmap_config Jeffy Chen
@ 2018-03-12  9:51 ` Jeffy Chen
  2018-03-13  0:37   ` Alexandre Belloni
  0 siblings, 1 reply; 3+ messages in thread
From: Jeffy Chen @ 2018-03-12  9:51 UTC (permalink / raw)
  To: linux-kernel, broonie, alexandre.belloni
  Cc: Guenter Roeck, Arnd Bergmann, Joseph Lo, Rob Herring,
	Catalin Marinas, lee.jones, Emil Renner Berthing, Heiko Stuebner,
	Brian Norris, Thomas Gleixner, Philippe Ombredanne,
	linux-rockchip, Kate Stewart, linux-input, Will Deacon,
	Jeffy Chen, Matthias Kaehlcke, devicetree, stephen lu,
	Greg Kroah-Hartman, Arvind Yadav, linux-arm-kernel,
	Dmitry Torokhov, Mark Rutland, linux-rtc, Alessandro Zummo,
	Nicolas Ferre

We are now allowing to register debugfs without a valid device, and not
having a valid name will end up using "dummy*" to create debugfs dir.

Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
---

Changes in v5: None
Changes in v4:
Not to use rtc dev to init regmap, the gpbr is not directly related to
the rtc.

Changes in v3: None

 drivers/rtc/rtc-at91sam9.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/rtc/rtc-at91sam9.c b/drivers/rtc/rtc-at91sam9.c
index 7418a763ce52..ee71e647fd43 100644
--- a/drivers/rtc/rtc-at91sam9.c
+++ b/drivers/rtc/rtc-at91sam9.c
@@ -349,6 +349,7 @@ static const struct rtc_class_ops at91_rtc_ops = {
 };
 
 static const struct regmap_config gpbr_regmap_config = {
+	.name = "gpbr",
 	.reg_bits = 32,
 	.val_bits = 32,
 	.reg_stride = 4,
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v5 2/4] rtc: at91sam9: Set name of regmap_config
  2018-03-12  9:51 ` [PATCH v5 2/4] rtc: at91sam9: " Jeffy Chen
@ 2018-03-13  0:37   ` Alexandre Belloni
  0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Belloni @ 2018-03-13  0:37 UTC (permalink / raw)
  To: Jeffy Chen
  Cc: linux-kernel, broonie, Guenter Roeck, Arnd Bergmann, Joseph Lo,
	Rob Herring, Catalin Marinas, lee.jones, Emil Renner Berthing,
	Heiko Stuebner, Brian Norris, Thomas Gleixner,
	Philippe Ombredanne, linux-rockchip, Kate Stewart, linux-input,
	Will Deacon, Matthias Kaehlcke, devicetree, stephen lu,
	Greg Kroah-Hartman, Arvind Yadav, linux-arm-kernel,
	Dmitry Torokhov, Mark Rutland, linux-rtc, Alessandro Zummo,
	Nicolas Ferre

On 12/03/2018 at 17:51:40 +0800, Jeffy Chen wrote:
> We are now allowing to register debugfs without a valid device, and not
> having a valid name will end up using "dummy*" to create debugfs dir.
> 
> Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
> ---
> 
> Changes in v5: None
> Changes in v4:
> Not to use rtc dev to init regmap, the gpbr is not directly related to
> the rtc.
> 
> Changes in v3: None
> 
>  drivers/rtc/rtc-at91sam9.c | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks.

-- 
Alexandre Belloni, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-13  0:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-12  9:51 [PATCH v5 0/4] Set name of regmap_config Jeffy Chen
2018-03-12  9:51 ` [PATCH v5 2/4] rtc: at91sam9: " Jeffy Chen
2018-03-13  0:37   ` Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).