From: Lee Jones <hidden> Date: 2015-05-12 12:58:32
ST's Low Power Controller (LPC) controls three devices; watchdog, RTC
and a Clocksource Timer. Only one of the devices can be used at any
one time, which is enforced by the Device Driver model.
This patchset provides support for the Clocksource driver. Watchdog
and RTC are already in -next.
Lee Jones (12):
mfd: dt-bindings: Provide human readable define for Clocksource mode
clocksource: sti: Provide support for the ST LPC Clocksource IP
clocksource: sti: Provide 'use timer as sched clock' capability
clocksource: bindings: Provide bindings for ST's LPC Clocksource
device
watchdog: st_wdt: Update IP layout information to include Clocksource
watchdog: bindings: Supply knowledge of a third supported device -
clocksource
rtc: st: Update IP layout information to include Clocksource
rtc: bindings: Supply knowledge of a third supported device -
clocksource
MAINTAINERS: Add the LPC Clocksource to STi maintained driver list
ARM: STi: DT: STih407: Switch LPC mode from RTC to Clocksource
ARM: STi: Enable LPC Clocksource
ARM: STi: Update platform level menuconfig 'help'
.../devicetree/bindings/rtc/rtc-st-lpc.txt | 15 ++-
.../devicetree/bindings/timer/st,stih407-lpc | 28 +++++
.../devicetree/bindings/watchdog/st_lpc_wdt.txt | 12 +-
MAINTAINERS | 1 +
arch/arm/boot/dts/stih407-family.dtsi | 2 +-
arch/arm/mach-sti/Kconfig | 10 +-
drivers/clocksource/Kconfig | 9 ++
drivers/clocksource/Makefile | 1 +
drivers/clocksource/clksrc_st_lpc.c | 129 +++++++++++++++++++++
drivers/rtc/rtc-st-lpc.c | 2 +-
drivers/watchdog/st_lpc_wdt.c | 2 +-
include/dt-bindings/mfd/st-lpc.h | 1 +
12 files changed, 194 insertions(+), 18 deletions(-)
create mode 100644 Documentation/devicetree/bindings/timer/st,stih407-lpc
create mode 100644 drivers/clocksource/clksrc_st_lpc.c
--
1.9.1
--
--
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
From: Lee Jones <hidden> Date: 2015-05-12 12:58:38
On current ST platforms the LPC controls a number of functions including
Watchdog and Real Time Clock. This patch provides the bindings used to
configure LPC in Clocksource mode.
Signed-off-by: Lee Jones <redacted>
---
.../devicetree/bindings/timer/st,stih407-lpc | 28 ++++++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 Documentation/devicetree/bindings/timer/st,stih407-lpc
@@ -0,0 +1,28 @@+STMicroelectronics Low Power Controller (LPC) - Clocksource+===========================================================++LPC currently supports Watchdog OR Real Time Clock OR Clocksource+functionality.++[See: ../watchdog/st_lpc_wdt.txt for Watchdog options]+[See: ../rtc/rtc-st-lpc.txt for RTC options]++Required properties++- compatible : Must be: "st,stih407-lpc"+- reg : LPC registers base address + size+- interrupts : LPC interrupt line number and associated flags+- clocks : Clock used by LPC device (See: ../clock/clock-bindings.txt)+- st,lpc-mode : The LPC can run either one of three modes:+ ST_LPC_MODE_RTC [0]+ ST_LPC_MODE_WDT [1]+ ST_LPC_MODE_CLKSRC [2]+ One (and only one) mode must be selected.++Example:+ lpc@fde05000 {+ compatible = "st,stih407-lpc";+ reg = <0xfde05000 0x1000>;+ clocks = <&clk_s_d3_flexgen CLK_LPC_0>;+ st,lpc-mode = <ST_LPC_MODE_CLKSRC>;+ };
--
1.9.1
--
--
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
@@ -1,20 +1,23 @@ STMicroelectronics Low Power Controller (LPC) - RTC ===================================================-LPC currently supports Watchdog OR Real Time Clock functionality.+LPC currently supports Watchdog OR Real Time Clock OR Clocksource+functionality. [See: ../watchdog/st_lpc_wdt.txt for Watchdog options]+[See: ../timer/st,stih407-lpc for Clocksource options] Required properties-- compatible : Must be one of: "st,stih407-lpc" "st,stih416-lpc"- "st,stih415-lpc" "st,stid127-lpc"+- compatible : Must be: "st,stih407-lpc" - reg : LPC registers base address + size - interrupts : LPC interrupt line number and associated flags - clocks : Clock used by LPC device (See: ../clock/clock-bindings.txt)-- st,lpc-mode : The LPC can run either one of two modes ST_LPC_MODE_RTC [0] or- ST_LPC_MODE_WDT [1]. One (and only one) mode must be- selected.+- st,lpc-mode : The LPC can run either one of three modes:+ ST_LPC_MODE_RTC [0]+ ST_LPC_MODE_WDT [1]+ ST_LPC_MODE_CLKSRC [2]+ One (and only one) mode must be selected. Example: lpc@fde05000 {
--
1.9.1
--
--
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
From: Lee Jones <hidden> Date: 2015-05-12 12:58:54
This aligns with the internal configuration.
Signed-off-by: Lee Jones <redacted>
---
arch/arm/boot/dts/stih407-family.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
1.9.1
--
--
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
From: Lee Jones <hidden> Date: 2015-05-12 12:58:57
This timer can be used as the system (tick) timer.
Signed-off-by: Lee Jones <redacted>
---
arch/arm/mach-sti/Kconfig | 1 +
1 file changed, 1 insertion(+)
--
1.9.1
--
--
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
1.9.1
--
--
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
1.9.1
--
--
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
From: Lee Jones <hidden> Date: 2015-05-12 13:00:02
Initial submission adding support for this IP only included Watchdog and
the Real-Time Clock. Now the third (and final) device is enabled this
trivial patch is required to update the comment in the RTC driver to
encompass Clocksource.
Acked-by: Alexandre Belloni <redacted>
Signed-off-by: Lee Jones <redacted>
---
drivers/rtc/rtc-st-lpc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -208,7 +208,7 @@ static int st_rtc_probe(struct platform_device *pdev)return-EINVAL;}-/* LPC can either run in RTC or WDT mode */+/* LPC can either run as a Clocksource or in RTC or WDT mode */if(mode!=ST_LPC_MODE_RTC)return-ENODEV;
--
1.9.1
--
--
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
@@ -1,9 +1,11 @@ STMicroelectronics Low Power Controller (LPC) - Watchdog ========================================================-LPC currently supports Watchdog OR Real Time Clock functionality.+LPC currently supports Watchdog OR Real Time Clock OR Clocksource+functionality. [See: ../rtc/rtc-st-lpc.txt for RTC options]+[See: ../timer/st,stih407-lpc for Clocksource options] Required properties
@@ -12,9 +14,11 @@ Required properties - reg : LPC registers base address + size - interrupts : LPC interrupt line number and associated flags - clocks : Clock used by LPC device (See: ../clock/clock-bindings.txt)-- st,lpc-mode : The LPC can run either one of two modes ST_LPC_MODE_RTC [0] or- ST_LPC_MODE_WDT [1]. One (and only one) mode must be- selected.+- st,lpc-mode : The LPC can run either one of three modes:+ ST_LPC_MODE_RTC [0]+ ST_LPC_MODE_WDT [1]+ ST_LPC_MODE_CLKSRC [2]+ One (and only one) mode must be selected. Required properties [watchdog mode]
--
1.9.1
--
--
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
From: Lee Jones <hidden> Date: 2015-05-12 13:02:17
Initial submission adding support for this IP only included Watchdog and
the Real-Time Clock. Now the third (and final) device is enabled this
trivial patch is required to update the comment in the Watchdog driver
to encompass Clocksource.
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Lee Jones <redacted>
---
drivers/watchdog/st_lpc_wdt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -197,7 +197,7 @@ static int st_wdog_probe(struct platform_device *pdev)return-EINVAL;}-/* LPC can either run in RTC or WDT mode */+/* LPC can either run as a Clocksource or in RTC or WDT mode */if(mode!=ST_LPC_MODE_WDT)return-ENODEV;
--
1.9.1
--
--
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
@@ -47,6 +53,8 @@ static int __init st_clksrc_init(void)rate=clk_get_rate(ddata.clk);+sched_clock_register(st_clksrc_sched_clock_read,32,rate);+ret=clocksource_mmio_init(ddata.base+LPC_LPT_LSB_OFF,"clksrc-st-lpc",rate,300,32,clocksource_mmio_readl_up);
--
1.9.1
--
--
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
From: Lee Jones <hidden> Date: 2015-05-12 13:03:19
This IP is shared with Watchdog and RTC functionality. All 3 of
these devices are mutually exclusive from one another i.e. Only 1
IP can be used at any given time. We use the device-driver model
combined with a DT 'mode' property to enforce this.
The ST LPC Clocksource IP can be used as the system (tick) timer.
Signed-off-by: Lee Jones <redacted>
---
drivers/clocksource/Kconfig | 9 +++
drivers/clocksource/Makefile | 1 +
drivers/clocksource/clksrc_st_lpc.c | 121 ++++++++++++++++++++++++++++++++=
++++
3 files changed, 131 insertions(+)
create mode 100644 drivers/clocksource/clksrc_st_lpc.c
@@ -0,0 +1,121 @@+/*+*ClocksourceusingtheLowPowerTimerfoundintheLowPowerController=(LPC)+*+*Copyright(C)2015STMicroelectronics=E2=80=93AllRightsReserved+*+*Author(s):FrancescoVirlinzi<francesco.virlinzi@st.com>+*AjitPalSingh<ajitpal.singh@st.com>+*+*Thisprogramisfreesoftware;youcanredistributeitand/ormodify+*itunderthetermsoftheGNUGeneralPublicLicenseaspublishedby+*theFreeSoftwareFoundation;eitherversion2oftheLicense,or+*(atyouroption)anylaterversion.+*/++#include<linux/clk.h>+#include<linux/clocksource.h>+#include<linux/init.h>+#include<linux/of_address.h>+#include<linux/slab.h>++#include<dt-bindings/mfd/st-lpc.h>++/* Low Power Timer */+#define LPC_LPT_LSB_OFF 0x400+#define LPC_LPT_MSB_OFF 0x404+#define LPC_LPT_START_OFF 0x408++staticstructst_clksrc_ddata{+structclk*clk;+void__iomem*base;+}ddata;++staticvoidst_clksrc_reset(void)+{+writel_relaxed(0,ddata.base+LPC_LPT_START_OFF);+writel_relaxed(0,ddata.base+LPC_LPT_MSB_OFF);+writel_relaxed(0,ddata.base+LPC_LPT_LSB_OFF);+writel_relaxed(1,ddata.base+LPC_LPT_START_OFF);+}++staticint__initst_clksrc_init(void)+{+unsignedlongrate;+intret;++st_clksrc_reset();++rate=3Dclk_get_rate(ddata.clk);++ret=3Dclocksource_mmio_init(ddata.base+LPC_LPT_LSB_OFF,+"clksrc-st-lpc",rate,300,32,+clocksource_mmio_readl_up);+if(ret){+pr_err("clksrc-st-lpc: Failed to register clocksource\n");+returnret;+}++return0;+}++staticintst_clksrc_setup_clk(structdevice_node*np)+{+structclk*clk;++clk=3Dof_clk_get(np,0);+if(IS_ERR(clk)){+pr_err("clksrc-st-lpc: Failed to get LPC clock\n");+returnPTR_ERR(clk);+}++if(clk_prepare_enable(clk)){+pr_err("clksrc-st-lpc: Failed to enable LPC clock\n");+return-EINVAL;+}++if(!clk_get_rate(clk)){+pr_err("clksrc-st-lpc: Failed to get LPC clock rate\n");+clk_disable_unprepare(clk);+return-EINVAL;+}++ddata.clk=3Dclk;++return0;+}++staticvoid__initst_clksrc_of_register(structdevice_node*np)+{+intret;+uint32_tmode;++ret=3Dof_property_read_u32(np,"st,lpc-mode",&mode);+if(ret){+pr_err("clksrc-st-lpc: An LPC mode must be provided\n");+return;+}++/* LPC can either run as a Clocksource or in RTC or WDT mode */+if(mode!=3DST_LPC_MODE_CLKSRC)+return;++ddata.base=3Dof_iomap(np,0);+if(!ddata.base){+pr_err("clksrc-st-lpc: Unable to map iomem\n");+return;+}++if(st_clksrc_setup_clk(np)){+iounmap(ddata.base);+return;+}++if(st_clksrc_init()){+iounmap(ddata.base);+return;+}++pr_info("clksrc-st-lpc: clocksource initialised - running @ %luHz\n",+clk_get_rate(ddata.clk));+}+CLOCKSOURCE_OF_DECLARE(ddata,"st,stih407-lpc",st_clksrc_of_register);--=20
1.9.1
--=20
--=20
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---=20
You received this message because you are subscribed to the Google Groups "=
rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
From: Lee Jones <hidden> Date: 2015-05-26 12:50:11
clocksource: sti: Provide support for the ST LPC Clocksource IP
This IP is shared with Watchdog and RTC functionality. All 3 of
these devices are mutually exclusive from one another i.e. Only 1
IP can be used at any given time. We use the device-driver model
combined with a DT 'mode' property to enforce this.
The ST LPC Clocksource IP can be used as the system (tick) timer.
Signed-off-by: Lee Jones <redacted>
@@ -0,0 +1,123 @@+/*+*ClocksourceusingtheLowPowerTimerfoundintheLowPowerController=(LPC)+*+*Copyright(C)2015STMicroelectronics=E2=80=93AllRightsReserved+*+*Author(s):FrancescoVirlinzi<francesco.virlinzi@st.com>+*AjitPalSingh<ajitpal.singh@st.com>+*+*Thisprogramisfreesoftware;youcanredistributeitand/ormodify+*itunderthetermsoftheGNUGeneralPublicLicenseaspublishedby+*theFreeSoftwareFoundation;eitherversion2oftheLicense,or+*(atyouroption)anylaterversion.+*/++#include<linux/clk.h>+#include<linux/clocksource.h>+#include<linux/init.h>+#include<linux/of_address.h>+#include<linux/slab.h>++#include<dt-bindings/mfd/st-lpc.h>++/* Low Power Timer */+#define LPC_LPT_LSB_OFF 0x400+#define LPC_LPT_MSB_OFF 0x404+#define LPC_LPT_START_OFF 0x408++staticstructst_clksrc_ddata{+structclk*clk;+void__iomem*base;+}ddata;++staticvoid__initst_clksrc_reset(void)+{+writel_relaxed(0,ddata.base+LPC_LPT_START_OFF);+writel_relaxed(0,ddata.base+LPC_LPT_MSB_OFF);+writel_relaxed(0,ddata.base+LPC_LPT_LSB_OFF);+writel_relaxed(1,ddata.base+LPC_LPT_START_OFF);+}++staticint__initst_clksrc_init(void)+{+unsignedlongrate;+intret;++st_clksrc_reset();++rate=3Dclk_get_rate(ddata.clk);++ret=3Dclocksource_mmio_init(ddata.base+LPC_LPT_LSB_OFF,+"clksrc-st-lpc",rate,300,32,+clocksource_mmio_readl_up);+if(ret){+pr_err("clksrc-st-lpc: Failed to register clocksource\n");+returnret;+}++return0;+}++staticint__initst_clksrc_setup_clk(structdevice_node*np)+{+structclk*clk;++clk=3Dof_clk_get(np,0);+if(IS_ERR(clk)){+pr_err("clksrc-st-lpc: Failed to get LPC clock\n");+returnPTR_ERR(clk);+}++if(clk_prepare_enable(clk)){+pr_err("clksrc-st-lpc: Failed to enable LPC clock\n");+return-EINVAL;+}++if(!clk_get_rate(clk)){+pr_err("clksrc-st-lpc: Failed to get LPC clock rate\n");+clk_disable_unprepare(clk);+return-EINVAL;+}++ddata.clk=3Dclk;++return0;+}++staticvoid__initst_clksrc_of_register(structdevice_node*np)+{+intret;+uint32_tmode;++ret=3Dof_property_read_u32(np,"st,lpc-mode",&mode);+if(ret){+pr_err("clksrc-st-lpc: An LPC mode must be provided\n");+return;+}++/* LPC can either run as a Clocksource or in RTC or WDT mode */+if(mode!=3DST_LPC_MODE_CLKSRC)+return;++ddata.base=3Dof_iomap(np,0);+if(!ddata.base){+pr_err("clksrc-st-lpc: Unable to map iomem\n");+return;+}++if(st_clksrc_setup_clk(np)){+iounmap(ddata.base);+return;+}++if(st_clksrc_init()){+clk_disable_unprepare(ddata.clk);+clk_put(ddata.clk);+iounmap(ddata.base);+return;+}++pr_info("clksrc-st-lpc: clocksource initialised - running @ %luHz\n",+clk_get_rate(ddata.clk));+}+CLOCKSOURCE_OF_DECLARE(ddata,"st,stih407-lpc",st_clksrc_of_register);--=20--=20
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---=20
You received this message because you are subscribed to the Google Groups "=
rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
From: Daniel Lezcano <hidden> Date: 2015-05-27 12:39:01
On 05/26/2015 02:39 PM, Lee Jones wrote:
clocksource: sti: Provide support for the ST LPC Clocksource IP
This IP is shared with Watchdog and RTC functionality. All 3 of
these devices are mutually exclusive from one another i.e. Only 1
IP can be used at any given time. We use the device-driver model
combined with a DT 'mode' property to enforce this.
The ST LPC Clocksource IP can be used as the system (tick) timer.
Signed-off-by: Lee Jones <redacted>
From: Lee Jones <hidden> Date: 2015-05-12 13:03:43
ST's Low Power Controller can now operate in three supported modes;
Watchdog, Real Time Clock and most recently as a Clocksource. This new
define will allow the LPC IP to be configured for Clocksource from DT.
Signed-off-by: Lee Jones <redacted>
---
include/dt-bindings/mfd/st-lpc.h | 1 +
1 file changed, 1 insertion(+)
--
1.9.1
--
--
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
From: Lee Jones <hidden> Date: 2015-06-01 07:38:38
Device Tree Maintainers,
All of the functional patches in this series have been Acked by the
relevant maintainers, but the (pretty simple) DT changes are in need
of a suitable Ack.
Would someone mine glancing over them please?
ST's Low Power Controller (LPC) controls three devices; watchdog, RTC
and a Clocksource Timer. Only one of the devices can be used at any
one time, which is enforced by the Device Driver model.
=20
This patchset provides support for the Clocksource driver. Watchdog
and RTC are already in -next.
=20
Lee Jones (12):
mfd: dt-bindings: Provide human readable define for Clocksource mode
clocksource: sti: Provide support for the ST LPC Clocksource IP
clocksource: sti: Provide 'use timer as sched clock' capability
clocksource: bindings: Provide bindings for ST's LPC Clocksource
device
watchdog: st_wdt: Update IP layout information to include Clocksource
watchdog: bindings: Supply knowledge of a third supported device -
clocksource
rtc: st: Update IP layout information to include Clocksource
rtc: bindings: Supply knowledge of a third supported device -
clocksource
MAINTAINERS: Add the LPC Clocksource to STi maintained driver list
ARM: STi: DT: STih407: Switch LPC mode from RTC to Clocksource
ARM: STi: Enable LPC Clocksource
ARM: STi: Update platform level menuconfig 'help'
=20
.../devicetree/bindings/rtc/rtc-st-lpc.txt | 15 ++-
.../devicetree/bindings/timer/st,stih407-lpc | 28 +++++
.../devicetree/bindings/watchdog/st_lpc_wdt.txt | 12 +-
MAINTAINERS | 1 +
arch/arm/boot/dts/stih407-family.dtsi | 2 +-
arch/arm/mach-sti/Kconfig | 10 +-
drivers/clocksource/Kconfig | 9 ++
drivers/clocksource/Makefile | 1 +
drivers/clocksource/clksrc_st_lpc.c | 129 +++++++++++++++=
--=20
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org =E2=94=82 Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--=20
--=20
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---=20
You received this message because you are subscribed to the Google Groups "=
rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.