Skip to contentSkip to conversation

clk: mvebu: Add clk support for the orion5x SoC mv88f5181

PATCH In review Gregory CLEMENT 2 participants 4 messages Sep 20, 2016 – Sep 21, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: mvebu: Add clk support for the orion5x SoC mv88f5181

From: Jamie Lentin <[email protected]>

Referring to the u-boot sources for the Netgear WNR854T, add support for the mv88f5181.

[gregory.clement at free-electrons.com: fix commit title]

---

Hi Stephen and Mike,

do you agree to give your acked-by on this patch. It is part of a convertion of old orion5x Socv to the device tree. If you acked-by this one, then I will be able to take it in my tree and avoiding breaking the git bisect.

This patch is really about adding a new variant, teh logic remains the same and also it won't produce any conflict.

Sorry to not have asked this before.

Thanks,

Gregory

 .../devicetree/bindings/clock/mvebu-core-clock.txt |  1 +
 drivers/clk/mvebu/orion.c                          | 70 ++++++++++++++++++++++
 2 files changed, 71 insertions(+)
Documentation/devicetree/bindings/clock/mvebu-core-clock.txt +1 -0
index 670c2af3e931..eb985a633d59 100644
@@ -52,6 +52,7 @@ Required properties:
 	"marvell,dove-core-clock" - for Dove SoC core clocks
 	"marvell,kirkwood-core-clock" - for Kirkwood SoC (except mv88f6180)
 	"marvell,mv88f6180-core-clock" - for Kirkwood MV88f6180 SoC
+	"marvell,mv88f5181-core-clock" - for Orion MV88F5181 SoC
 	"marvell,mv88f5182-core-clock" - for Orion MV88F5182 SoC
 	"marvell,mv88f5281-core-clock" - for Orion MV88F5281 SoC
 	"marvell,mv88f6183-core-clock" - for Orion MV88F6183 SoC
drivers/clk/mvebu/orion.c +70 -0

76 lines not on this page · raw message

Signature · 1 line
2.9.3
Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · Gregory CLEMENT

From: Jamie Lentin <[email protected]>

Referring to the u-boot sources for the Netgear WNR854T, add support for the mv88f5181.

[gregory.clement at free-electrons.com: fix commit title]
Quoted 8 lines

---

Hi Stephen and Mike,

do you agree to give your acked-by on this patch. It is part of a convertion of old orion5x Socv to the device tree. If you acked-by this one, then I will be able to take it in my tree and avoiding breaking the git bisect.

Is the problem that we're changing some dts files somewhere and those platforms would stop booting if this change wasn't present? Given that we're adding a new compatible it seems like we're adding new SoC support, so having the clk patch and the dts patch come together in -next via a merge instead of basing the dts patch on top of the clk patch would be how things are normally done.

If we're really changing some dts to be backwards incompatible, then I understand the bisect problem and you can have my ack.

Signature · 2 lines
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
#2 lore raw

Hi Stephen,

Quoted 20 lines · Stephen Boyd
Quoted 10 lines · Gregory CLEMENT

From: Jamie Lentin <[email protected]>

Referring to the u-boot sources for the Netgear WNR854T, add support for the mv88f5181.

[gregory.clement at free-electrons.com: fix commit title]
Quoted 8 lines

---

Hi Stephen and Mike,

do you agree to give your acked-by on this patch. It is part of a convertion of old orion5x Socv to the device tree. If you acked-by this one, then I will be able to take it in my tree and avoiding breaking the git bisect.

Quoted 7 lines

Is the problem that we're changing some dts files somewhere and those platforms would stop booting if this change wasn't present? Given that we're adding a new compatible it seems like we're adding new SoC support, so having the clk patch and the dts patch come together in -next via a merge instead of basing the dts patch on top of the clk patch would be how things are normally done.

The problem appear if the dts for the board using the clock driver is merged in Linus tree before the support in the driver. At this point the board won't be able to boot.

It introduces a hole in the git bisect between the merge of the clock subsystem and the arm-soc subsystem.

Quoted 5 lines

If we're really changing some dts to be backwards incompatible, then I understand the bisect problem and you can have my ack.

Thanks,

Gregory

Quoted 4 lines
Signature · 3 lines
-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
Signature · 4 lines
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#3 lore raw
Quoted 32 lines · Gregory CLEMENT

Hi Stephen,

Quoted 20 lines · Stephen Boyd
Quoted 10 lines · Gregory CLEMENT

From: Jamie Lentin <[email protected]>

Referring to the u-boot sources for the Netgear WNR854T, add support for the mv88f5181.

[gregory.clement at free-electrons.com: fix commit title]
Quoted 8 lines

---

Hi Stephen and Mike,

do you agree to give your acked-by on this patch. It is part of a convertion of old orion5x Socv to the device tree. If you acked-by this one, then I will be able to take it in my tree and avoiding breaking the git bisect.

Quoted 7 lines

Is the problem that we're changing some dts files somewhere and those platforms would stop booting if this change wasn't present? Given that we're adding a new compatible it seems like we're adding new SoC support, so having the clk patch and the dts patch come together in -next via a merge instead of basing the dts patch on top of the clk patch would be how things are normally done.

Quoted 6 lines

The problem appear if the dts for the board using the clock driver is merged in Linus tree before the support in the driver. At this point the board won't be able to boot.

It introduces a hole in the git bisect between the merge of the clock subsystem and the arm-soc subsystem.

Ok so that sounds like the typical case where a new SoC/board is supported and the dts files don't do anything useful until the driver support lands. We don't usually care about bisection problems here because the board doesn't transition from 'working' to 'not working'. It only transitions from 'not working' to 'working' once the clk driver and the dts files are both present in the tree.

Signature · 2 lines
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project