* [PATCH V2 1/2] ARM: dts: Add bindings for 32kHz clocks from s2mps11
@ 2015-03-30 14:15 Markus Reichl
2015-03-30 14:38 ` Krzysztof Kozlowski
0 siblings, 1 reply; 2+ messages in thread
From: Markus Reichl @ 2015-03-30 14:15 UTC (permalink / raw)
To: linux-samsung-soc; +Cc: Krzysztof Kozlowski, Anand Moon
This creates include/dt-bindings/clock/samsung,s2mps11.h with the three
32kHz clock outputs from the s2mps11 mfd.
Signed-off-by: Markus Reichl <m.reichl@fivetechno.de>
---
Changes since v1:
1. Dropped Documentation.
2. Split into 2 parts.
---
include/dt-bindings/clock/samsung,s2mps11.h | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 include/dt-bindings/clock/samsung,s2mps11.h
diff --git a/include/dt-bindings/clock/samsung,s2mps11.h b/include/dt-bindings/clock/samsung,s2mps11.h
new file mode 100644
index 0000000..b903d7d
--- /dev/null
+++ b/include/dt-bindings/clock/samsung,s2mps11.h
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2015 Markus Reichl
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Device Tree binding constants clocks for the Samsung S2MPS11 PMIC.
+ */
+
+#ifndef _DT_BINDINGS_CLOCK_SAMSUNG_S2MPS11_CLOCK_H
+#define _DT_BINDINGS_CLOCK_SAMSUNG_S2MPS11_CLOCK_H
+
+/* Fixed rate clocks. */
+
+#define S2MPS11_CLK_AP 0
+#define S2MPS11_CLK_CP 1
+#define S2MPS11_CLK_BT 2
+
+/* Total number of clocks. */
+#define S2MPS11_CLKS_NUM (S2MPS11_CLK_BT + 1)
+
+#endif /* _DT_BINDINGS_CLOCK_SAMSUNG_S2MPS11_CLOCK_H */
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH V2 1/2] ARM: dts: Add bindings for 32kHz clocks from s2mps11
2015-03-30 14:15 [PATCH V2 1/2] ARM: dts: Add bindings for 32kHz clocks from s2mps11 Markus Reichl
@ 2015-03-30 14:38 ` Krzysztof Kozlowski
0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2015-03-30 14:38 UTC (permalink / raw)
To: Markus Reichl; +Cc: linux-samsung-soc, Krzysztof Kozlowski, Anand Moon
2015-03-30 16:15 GMT+02:00 Markus Reichl <m.reichl@fivetechno.de>:
> This creates include/dt-bindings/clock/samsung,s2mps11.h with the three
> 32kHz clock outputs from the s2mps11 mfd.
>
> Signed-off-by: Markus Reichl <m.reichl@fivetechno.de>
> ---
> Changes since v1:
> 1. Dropped Documentation.
> 2. Split into 2 parts.
> ---
> include/dt-bindings/clock/samsung,s2mps11.h | 23 +++++++++++++++++++++++
> 1 file changed, 23 insertions(+)
> create mode 100644 include/dt-bindings/clock/samsung,s2mps11.h
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-30 14:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-30 14:15 [PATCH V2 1/2] ARM: dts: Add bindings for 32kHz clocks from s2mps11 Markus Reichl
2015-03-30 14:38 ` Krzysztof Kozlowski
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.