Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1411037 > unrolled thread
| Started by | Krzysztof Kozlowski <k.kozlowski@samsung.com> |
|---|---|
| First post | 2016-06-01 11:50 +0200 |
| Last post | 2016-06-01 17:00 +0200 |
| Articles | 7 — 3 participants |
Back to article view | Back to linux.kernel
[PATCH 1/3] dt-bindings: clock: Add watchdog and SSS clock IDs to Exynos5410 Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-06-01 11:50 +0200
[PATCH 2/3] clk: samsung: exynos5410: Add WDT, ACLK266 and SSS clocks Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-06-01 11:50 +0200
Re: [PATCH 2/3] clk: samsung: exynos5410: Add WDT, ACLK266 and SSS clocks Javier Martinez Canillas <javier@osg.samsung.com> - 2016-06-01 17:00 +0200
Re: [PATCH 2/3] clk: samsung: exynos5410: Add WDT, ACLK266 and SSS clocks Sylwester Nawrocki <s.nawrocki@samsung.com> - 2016-06-02 11:30 +0200
Re: [PATCH 2/3] clk: samsung: exynos5410: Add WDT, ACLK266 and SSS clocks Sylwester Nawrocki <s.nawrocki@samsung.com> - 2016-06-06 13:10 +0200
Re: [PATCH 2/3] clk: samsung: exynos5410: Add WDT, ACLK266 and SSS clocks Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-06-06 13:20 +0200
Re: [PATCH 1/3] dt-bindings: clock: Add watchdog and SSS clock IDs to Exynos5410 Javier Martinez Canillas <javier@osg.samsung.com> - 2016-06-01 17:00 +0200
| From | Krzysztof Kozlowski <k.kozlowski@samsung.com> |
|---|---|
| Date | 2016-06-01 11:50 +0200 |
| Subject | [PATCH 1/3] dt-bindings: clock: Add watchdog and SSS clock IDs to Exynos5410 |
| Message-ID | <rFaWJ-6IP-9@gated-at.bofh.it> |
Add IDs for watchdog and Security SubSystem to Exynos5410. Use the same number as for Exynos5420 just in case in future these drivers were merged. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> --- include/dt-bindings/clock/exynos5410.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/dt-bindings/clock/exynos5410.h b/include/dt-bindings/clock/exynos5410.h index 705b2aa84317..85b467b3a207 100644 --- a/include/dt-bindings/clock/exynos5410.h +++ b/include/dt-bindings/clock/exynos5410.h @@ -49,6 +49,7 @@ #define CLK_UART3 260 #define CLK_PWM 279 #define CLK_MCT 315 +#define CLK_WDT 316 #define CLK_RTC 317 #define CLK_TMU 318 #define CLK_MMC0 351 @@ -57,6 +58,7 @@ #define CLK_USBH20 365 #define CLK_USBD300 366 #define CLK_USBD301 367 +#define CLK_SSS 471 #define CLK_NR_CLKS 512 -- 1.9.1
[toc] | [next] | [standalone]
| From | Krzysztof Kozlowski <k.kozlowski@samsung.com> |
|---|---|
| Date | 2016-06-01 11:50 +0200 |
| Subject | [PATCH 2/3] clk: samsung: exynos5410: Add WDT, ACLK266 and SSS clocks |
| Message-ID | <rFaWJ-6IP-11@gated-at.bofh.it> |
| In reply to | #1411037 |
Add clock hierarchy for Security SubSystem clock and watchdog.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
drivers/clk/samsung/clk-exynos5410.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/clk/samsung/clk-exynos5410.c b/drivers/clk/samsung/clk-exynos5410.c
index db9978dc6e83..7e3ffa70d364 100644
--- a/drivers/clk/samsung/clk-exynos5410.c
+++ b/drivers/clk/samsung/clk-exynos5410.c
@@ -31,6 +31,7 @@
#define SRC_CPU 0x200
#define DIV_CPU0 0x500
#define SRC_CPERI1 0x4204
+#define GATE_IP_G2D 0x8800
#define DIV_TOP0 0x10510
#define DIV_TOP1 0x10514
#define DIV_FSYS0 0x10548
@@ -154,11 +155,15 @@ static struct samsung_div_clock exynos5410_div_clks[] __initdata = {
DIV(0, "dout_pwm", "mout_pwm", DIV_PERIC3, 0, 4),
DIV(0, "aclk200", "mout_aclk200", DIV_TOP0, 12, 3),
+ DIV(0, "aclk266", "mpll_user_p", DIV_TOP0, 16, 3),
DIV(0, "aclk400", "mout_aclk400", DIV_TOP0, 24, 3),
};
static struct samsung_gate_clock exynos5410_gate_clks[] __initdata = {
+ GATE(CLK_SSS, "sss", "aclk266", GATE_IP_G2D, 2, 0, 0),
+
GATE(CLK_MCT, "mct", "aclk66", GATE_IP_PERIS, 18, 0, 0),
+ GATE(CLK_WDT, "wdt", "aclk66", GATE_IP_PERIS, 19, 0, 0),
GATE(CLK_RTC, "rtc", "aclk66", GATE_IP_PERIS, 20, 0, 0),
GATE(CLK_TMU, "tmu", "aclk66", GATE_IP_PERIS, 21, 0, 0),
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Javier Martinez Canillas <javier@osg.samsung.com> |
|---|---|
| Date | 2016-06-01 17:00 +0200 |
| Subject | Re: [PATCH 2/3] clk: samsung: exynos5410: Add WDT, ACLK266 and SSS clocks |
| Message-ID | <rFfMK-1eo-31@gated-at.bofh.it> |
| In reply to | #1411038 |
Hello Krzysztof, On 06/01/2016 05:45 AM, Krzysztof Kozlowski wrote: > Add clock hierarchy for Security SubSystem clock and watchdog. > > Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> > --- Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com> Best regards, -- Javier Martinez Canillas Open Source Group Samsung Research America
[toc] | [prev] | [next] | [standalone]
| From | Sylwester Nawrocki <s.nawrocki@samsung.com> |
|---|---|
| Date | 2016-06-02 11:30 +0200 |
| Subject | Re: [PATCH 2/3] clk: samsung: exynos5410: Add WDT, ACLK266 and SSS clocks |
| Message-ID | <rFx6W-48t-23@gated-at.bofh.it> |
| In reply to | #1411298 |
On 06/01/2016 04:55 PM, Javier Martinez Canillas wrote: > On 06/01/2016 05:45 AM, Krzysztof Kozlowski wrote: >> > Add clock hierarchy for Security SubSystem clock and watchdog. >> > >> > Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> >> > --- > Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com> Patches 1/3, 2/3 applied, thanks.
[toc] | [prev] | [next] | [standalone]
| From | Sylwester Nawrocki <s.nawrocki@samsung.com> |
|---|---|
| Date | 2016-06-06 13:10 +0200 |
| Subject | Re: [PATCH 2/3] clk: samsung: exynos5410: Add WDT, ACLK266 and SSS clocks |
| Message-ID | <rH0zT-47m-1@gated-at.bofh.it> |
| In reply to | #1411038 |
On 06/01/2016 11:45 AM, Krzysztof Kozlowski wrote:
> Add clock hierarchy for Security SubSystem clock and watchdog.
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
A applied patches:
[PATCH 1/3] dt-bindings: clock: Add watchdog and SSS clock IDs to Exynos5410
[PATCH 2/3] clk: samsung: exynos5410: Add WDT, ACLK266 and SSS clocks
[PATCH 1/6] dt-bindings: clock: Add TMU clock ID to Exynos5410
[PATCH 2/6] clk: samsung: exynos5410: Add TMU clock
And here is a subsequent tag from a stable branch including all
the dependency "dt-bindings" patches:
------8<------
The following changes since commit 1a695a905c18548062509178b98bc91e67510864:
Linux 4.7-rc1 (2016-05-29 09:29:24 -0700)
are available in the git repository at:
git://linuxtv.org/snawrocki/samsung.git tags/clk-v4.8-exynos5410-dt-2
for you to fetch changes up to 4528dd8ed477bf202bd33ee48d38d656672d37f8:
dt-bindings: clock: Add watchdog and SSS clock IDs to Exynos5410 (2016-06-02 11:17:55 +0200)
----------------------------------------------------------------
Adition of missing clock index definitions for exynos5410 SoC:
PWM, USB, I2C, RTC, PMU, watchdog and the security device related
clocks.
----------------------------------------------------------------
Krzysztof Kozlowski (5):
dt-bindings: clock: Add license and reformat Exynos5410 clock IDs
dt-bindings: clock: Add PWM and USB clock IDs to Exynos5410
dt-bindings: clock: Add I2C, HSI2C and RTC clock IDs to Exynos5410
dt-bindings: clock: Add TMU clock ID to Exynos5410
dt-bindings: clock: Add watchdog and SSS clock IDs to Exynos5410
include/dt-bindings/clock/exynos5410.h | 76 +++++++++++++++++++++++++++------------
1 file changed, 54 insertions(+), 22 deletions(-)
------8<------
--
Thanks,
Sylwester
[toc] | [prev] | [next] | [standalone]
| From | Krzysztof Kozlowski <k.kozlowski@samsung.com> |
|---|---|
| Date | 2016-06-06 13:20 +0200 |
| Subject | Re: [PATCH 2/3] clk: samsung: exynos5410: Add WDT, ACLK266 and SSS clocks |
| Message-ID | <rH0Jz-4aZ-3@gated-at.bofh.it> |
| In reply to | #1414903 |
On 06/06/2016 01:02 PM, Sylwester Nawrocki wrote: > On 06/01/2016 11:45 AM, Krzysztof Kozlowski wrote: >> Add clock hierarchy for Security SubSystem clock and watchdog. >> >> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> > > A applied patches: > > [PATCH 1/3] dt-bindings: clock: Add watchdog and SSS clock IDs to Exynos5410 > [PATCH 2/3] clk: samsung: exynos5410: Add WDT, ACLK266 and SSS clocks > > [PATCH 1/6] dt-bindings: clock: Add TMU clock ID to Exynos5410 > [PATCH 2/6] clk: samsung: exynos5410: Add TMU clock > > And here is a subsequent tag from a stable branch including all > the dependency "dt-bindings" patches: > > ------8<------ > The following changes since commit 1a695a905c18548062509178b98bc91e67510864: > > Linux 4.7-rc1 (2016-05-29 09:29:24 -0700) > > are available in the git repository at: > > git://linuxtv.org/snawrocki/samsung.git tags/clk-v4.8-exynos5410-dt-2 > > for you to fetch changes up to 4528dd8ed477bf202bd33ee48d38d656672d37f8: > > dt-bindings: clock: Add watchdog and SSS clock IDs to Exynos5410 (2016-06-02 11:17:55 +0200) Thanks, pulled! BR, Krzysztof
[toc] | [prev] | [next] | [standalone]
| From | Javier Martinez Canillas <javier@osg.samsung.com> |
|---|---|
| Date | 2016-06-01 17:00 +0200 |
| Message-ID | <rFfMJ-1eo-19@gated-at.bofh.it> |
| In reply to | #1411037 |
Hello Krzysztof, On 06/01/2016 05:45 AM, Krzysztof Kozlowski wrote: > Add IDs for watchdog and Security SubSystem to Exynos5410. Use the same > number as for Exynos5420 just in case in future these drivers were > merged. > > Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> > --- Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com> Best regards, -- Javier Martinez Canillas Open Source Group Samsung Research America
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web