* [PATCH v2 1/2] dt-bindings: clock: vc5: Add 5P49V6975
@ 2022-05-11 5:34 Matthias Fend
2022-05-11 5:34 ` [PATCH v2 2/2] clk: vc5: Add support for IDT/Renesas VersaClock 5P49V6975 Matthias Fend
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Matthias Fend @ 2022-05-11 5:34 UTC (permalink / raw)
To: Luca Ceresoli, Michael Turquette, Stephen Boyd, Rob Herring,
Krzysztof Kozlowski, linux-clk, devicetree, matthias.fend
The 5P49V6975 is a member of the VersaClock 6E family and supports four
fractional dividers (FODs), five clock outputs and an internal oscillator.
Signed-off-by: Matthias Fend <matthias.fend@emfend.at>
---
Documentation/devicetree/bindings/clock/idt,versaclock5.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml b/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml
index be66f1e8b547..2476ce265f84 100644
--- a/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml
+++ b/Documentation/devicetree/bindings/clock/idt,versaclock5.yaml
@@ -56,6 +56,7 @@ properties:
- idt,5p49v5935
- idt,5p49v6901
- idt,5p49v6965
+ - idt,5p49v6975
reg:
description: I2C device address
@@ -134,6 +135,7 @@ allOf:
enum:
- idt,5p49v5933
- idt,5p49v5935
+ - idt,5p49v6975
then:
# Devices with builtin crystal + optional external input
properties:
--
2.25.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH v2 2/2] clk: vc5: Add support for IDT/Renesas VersaClock 5P49V6975
2022-05-11 5:34 [PATCH v2 1/2] dt-bindings: clock: vc5: Add 5P49V6975 Matthias Fend
@ 2022-05-11 5:34 ` Matthias Fend
2022-05-12 14:17 ` Luca Ceresoli
2022-10-03 19:04 ` Stephen Boyd
2022-05-11 16:07 ` [PATCH v2 1/2] dt-bindings: clock: vc5: Add 5P49V6975 Krzysztof Kozlowski
` (2 subsequent siblings)
3 siblings, 2 replies; 7+ messages in thread
From: Matthias Fend @ 2022-05-11 5:34 UTC (permalink / raw)
To: Luca Ceresoli, Michael Turquette, Stephen Boyd, Rob Herring,
Krzysztof Kozlowski, linux-clk, devicetree, matthias.fend
Update IDT VersaClock 5 driver to support 5P49V6975. The 5P49V6975 is a
member of the VersaClock 6E family and supports four fractional dividers
(FODs), five clock outputs and an internal oscillator.
Signed-off-by: Matthias Fend <matthias.fend@emfend.at>
---
drivers/clk/clk-versaclock5.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/drivers/clk/clk-versaclock5.c b/drivers/clk/clk-versaclock5.c
index e7be3e54b9be..04fe64d0bd10 100644
--- a/drivers/clk/clk-versaclock5.c
+++ b/drivers/clk/clk-versaclock5.c
@@ -153,6 +153,7 @@ enum vc5_model {
IDT_VC5_5P49V5935,
IDT_VC6_5P49V6901,
IDT_VC6_5P49V6965,
+ IDT_VC6_5P49V6975,
};
/* Structure to describe features of a particular VC5 model */
@@ -725,6 +726,7 @@ static int vc5_map_index_to_output(const enum vc5_model model,
case IDT_VC5_5P49V5935:
case IDT_VC6_5P49V6901:
case IDT_VC6_5P49V6965:
+ case IDT_VC6_5P49V6975:
default:
return n;
}
@@ -1214,6 +1216,13 @@ static const struct vc5_chip_info idt_5p49v6965_info = {
.flags = VC5_HAS_BYPASS_SYNC_BIT,
};
+static const struct vc5_chip_info idt_5p49v6975_info = {
+ .model = IDT_VC6_5P49V6975,
+ .clk_fod_cnt = 4,
+ .clk_out_cnt = 5,
+ .flags = VC5_HAS_BYPASS_SYNC_BIT | VC5_HAS_INTERNAL_XTAL,
+};
+
static const struct i2c_device_id vc5_id[] = {
{ "5p49v5923", .driver_data = IDT_VC5_5P49V5923 },
{ "5p49v5925", .driver_data = IDT_VC5_5P49V5925 },
@@ -1221,6 +1230,7 @@ static const struct i2c_device_id vc5_id[] = {
{ "5p49v5935", .driver_data = IDT_VC5_5P49V5935 },
{ "5p49v6901", .driver_data = IDT_VC6_5P49V6901 },
{ "5p49v6965", .driver_data = IDT_VC6_5P49V6965 },
+ { "5p49v6975", .driver_data = IDT_VC6_5P49V6975 },
{ }
};
MODULE_DEVICE_TABLE(i2c, vc5_id);
@@ -1232,6 +1242,7 @@ static const struct of_device_id clk_vc5_of_match[] = {
{ .compatible = "idt,5p49v5935", .data = &idt_5p49v5935_info },
{ .compatible = "idt,5p49v6901", .data = &idt_5p49v6901_info },
{ .compatible = "idt,5p49v6965", .data = &idt_5p49v6965_info },
+ { .compatible = "idt,5p49v6975", .data = &idt_5p49v6975_info },
{ },
};
MODULE_DEVICE_TABLE(of, clk_vc5_of_match);
--
2.25.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: clock: vc5: Add 5P49V6975
2022-05-11 5:34 [PATCH v2 1/2] dt-bindings: clock: vc5: Add 5P49V6975 Matthias Fend
2022-05-11 5:34 ` [PATCH v2 2/2] clk: vc5: Add support for IDT/Renesas VersaClock 5P49V6975 Matthias Fend
@ 2022-05-11 16:07 ` Krzysztof Kozlowski
2022-05-12 14:15 ` Luca Ceresoli
2022-10-03 19:04 ` Stephen Boyd
3 siblings, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2022-05-11 16:07 UTC (permalink / raw)
To: Matthias Fend, Luca Ceresoli, Michael Turquette, Stephen Boyd,
Rob Herring, Krzysztof Kozlowski, linux-clk, devicetree
On 11/05/2022 07:34, Matthias Fend wrote:
> The 5P49V6975 is a member of the VersaClock 6E family and supports four
> fractional dividers (FODs), five clock outputs and an internal oscillator.
>
> Signed-off-by: Matthias Fend <matthias.fend@emfend.at>
> ---
> Documentation/devicetree/bindings/clock/idt,versaclock5.yaml | 2 ++
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: clock: vc5: Add 5P49V6975
2022-05-11 5:34 [PATCH v2 1/2] dt-bindings: clock: vc5: Add 5P49V6975 Matthias Fend
2022-05-11 5:34 ` [PATCH v2 2/2] clk: vc5: Add support for IDT/Renesas VersaClock 5P49V6975 Matthias Fend
2022-05-11 16:07 ` [PATCH v2 1/2] dt-bindings: clock: vc5: Add 5P49V6975 Krzysztof Kozlowski
@ 2022-05-12 14:15 ` Luca Ceresoli
2022-10-03 19:04 ` Stephen Boyd
3 siblings, 0 replies; 7+ messages in thread
From: Luca Ceresoli @ 2022-05-12 14:15 UTC (permalink / raw)
To: Matthias Fend, Michael Turquette, Stephen Boyd, Rob Herring,
Krzysztof Kozlowski, linux-clk, devicetree
Hi Matthias,
On 11/05/22 07:34, Matthias Fend wrote:
> The 5P49V6975 is a member of the VersaClock 6E family and supports four
> fractional dividers (FODs), five clock outputs and an internal oscillator.
>
> Signed-off-by: Matthias Fend <matthias.fend@emfend.at>
Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
--
Luca
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2 2/2] clk: vc5: Add support for IDT/Renesas VersaClock 5P49V6975
2022-05-11 5:34 ` [PATCH v2 2/2] clk: vc5: Add support for IDT/Renesas VersaClock 5P49V6975 Matthias Fend
@ 2022-05-12 14:17 ` Luca Ceresoli
2022-10-03 19:04 ` Stephen Boyd
1 sibling, 0 replies; 7+ messages in thread
From: Luca Ceresoli @ 2022-05-12 14:17 UTC (permalink / raw)
To: Matthias Fend, Michael Turquette, Stephen Boyd, Rob Herring,
Krzysztof Kozlowski, linux-clk, devicetree
Hi Matthias,
thank you for your patch!
On 11/05/22 07:34, Matthias Fend wrote:
> Update IDT VersaClock 5 driver to support 5P49V6975. The 5P49V6975 is a
> member of the VersaClock 6E family and supports four fractional dividers
> (FODs), five clock outputs and an internal oscillator.
>
> Signed-off-by: Matthias Fend <matthias.fend@emfend.at>
Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
--
Luca
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: clock: vc5: Add 5P49V6975
2022-05-11 5:34 [PATCH v2 1/2] dt-bindings: clock: vc5: Add 5P49V6975 Matthias Fend
` (2 preceding siblings ...)
2022-05-12 14:15 ` Luca Ceresoli
@ 2022-10-03 19:04 ` Stephen Boyd
3 siblings, 0 replies; 7+ messages in thread
From: Stephen Boyd @ 2022-10-03 19:04 UTC (permalink / raw)
To: Krzysztof Kozlowski, Luca Ceresoli, Michael Turquette,
Rob Herring, devicetree, linux-clk, matthias.fend
Quoting Matthias Fend (2022-05-10 22:34:54)
> The 5P49V6975 is a member of the VersaClock 6E family and supports four
> fractional dividers (FODs), five clock outputs and an internal oscillator.
>
> Signed-off-by: Matthias Fend <matthias.fend@emfend.at>
> ---
Applied to clk-next
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2 2/2] clk: vc5: Add support for IDT/Renesas VersaClock 5P49V6975
2022-05-11 5:34 ` [PATCH v2 2/2] clk: vc5: Add support for IDT/Renesas VersaClock 5P49V6975 Matthias Fend
2022-05-12 14:17 ` Luca Ceresoli
@ 2022-10-03 19:04 ` Stephen Boyd
1 sibling, 0 replies; 7+ messages in thread
From: Stephen Boyd @ 2022-10-03 19:04 UTC (permalink / raw)
To: Krzysztof Kozlowski, Luca Ceresoli, Michael Turquette,
Rob Herring, devicetree, linux-clk, matthias.fend
Quoting Matthias Fend (2022-05-10 22:34:55)
> Update IDT VersaClock 5 driver to support 5P49V6975. The 5P49V6975 is a
> member of the VersaClock 6E family and supports four fractional dividers
> (FODs), five clock outputs and an internal oscillator.
>
> Signed-off-by: Matthias Fend <matthias.fend@emfend.at>
> ---
Applied to clk-next
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-10-03 19:04 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-11 5:34 [PATCH v2 1/2] dt-bindings: clock: vc5: Add 5P49V6975 Matthias Fend
2022-05-11 5:34 ` [PATCH v2 2/2] clk: vc5: Add support for IDT/Renesas VersaClock 5P49V6975 Matthias Fend
2022-05-12 14:17 ` Luca Ceresoli
2022-10-03 19:04 ` Stephen Boyd
2022-05-11 16:07 ` [PATCH v2 1/2] dt-bindings: clock: vc5: Add 5P49V6975 Krzysztof Kozlowski
2022-05-12 14:15 ` Luca Ceresoli
2022-10-03 19:04 ` Stephen Boyd
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.