berlin sdhci clock clean up
v2 cover berlin sdhci clock clean up
Add or fix the optional clock property, then remove the CLK_IGNORE_UNUSED flag for sdio clk(s).
This is a partialy resend of
http://lists.infradead.org/pipermail/linux-arm-kernel/2015-October/379457.html
patch3, patch4 has been merged.
Since v1:
- remove the "mmc: sdhci-pxav3: fix optional clock name" patch to not block the clock clean up patches, will send another separate patch after talking with HW people.
Jisheng Zhang (2):
ARM: dts: berlin: correct BG2Q's sdhci2 2nd clock
ARM: dts: berlin: add 2nd clock for BG2Q sdhci0 and sdhci1
arch/arm/boot/dts/berlin2q.dtsi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
Signature · 1 line
2.6.2
PATCH v2 1/2 ARM: dts: berlin: correct BG2Q's sdhci2 2nd clock
The optional 2nd clock is CLKID_SDIO.
--- arch/arm/boot/dts/berlin2q.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/berlin2q.dtsi +1 -1
@@ -135,7 +135,7 @@ compatible = "mrvl,pxav3-mmc"; reg = <0xab1000 0x200>; interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&chip_clk CLKID_NFC_ECC>, <&chip_clk CLKID_NFC>; + clocks = <&chip_clk CLKID_NFC_ECC>, <&chip_clk CLKID_SDIO>; clock-names = "io", "core"; status = "disabled"; };
Signature · 1 line
2.6.2
PATCH v2 2/2 ARM: dts: berlin: add 2nd clock for BG2Q sdhci0 and sdhci1
In reply to Jisheng ZhangAdd the optional 2nd clock for BG2Q's sdhci0 and sdhci1. This would let the clock be disabled during runtime pm, so saves power a bit.
--- arch/arm/boot/dts/berlin2q.dtsi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
arch/arm/boot/dts/berlin2q.dtsi +4 -2
@@ -118,7 +118,8 @@ sdhci0: sdhci at ab0000 { compatible = "mrvl,pxav3-mmc"; reg = <0xab0000 0x200>; - clocks = <&chip_clk CLKID_SDIO1XIN>; + clocks = <&chip_clk CLKID_SDIO1XIN>, <&chip_clk CLKID_SDIO>; + clock-names = "io", "core"; interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; status = "disabled"; };
@@ -126,7 +127,8 @@ sdhci1: sdhci at ab0800 { compatible = "mrvl,pxav3-mmc"; reg = <0xab0800 0x200>; - clocks = <&chip_clk CLKID_SDIO1XIN>; + clocks = <&chip_clk CLKID_SDIO1XIN>, <&chip_clk CLKID_SDIO>; + clock-names = "io", "core"; interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; status = "disabled"; };
Signature · 1 line
2.6.2
Quoted 7 lines · Jisheng Zhang
Add or fix the optional clock property, then remove the
CLK_IGNORE_UNUSEDflag for sdio clk(s).This is a partialy resend of
http://lists.infradead.org/pipermail/linux-arm-kernel/2015-October/379457.htmlpatch3, patch4 has been merged.
Great! Really!
As they have been taken without my Acked-by, ignoring my request to _not_ remove the CLK_IGNORE_UNUSED flags _before_ these two, the remaining patches now become fixes.
Please resend the patches with a proper description what and why they are fixes now.
Sebastian
Quoted 9 lines · Sebastian Hesselbarth
Quoted 7 lines · Jisheng Zhang
Add or fix the optional clock property, then remove the
CLK_IGNORE_UNUSEDflag for sdio clk(s).This is a partialy resend of
http://lists.infradead.org/pipermail/linux-arm-kernel/2015-October/379457.htmlpatch3, patch4 has been merged.
Quoted 8 lines
Great! Really!
As they have been taken without my Acked-by, ignoring my request to _not_ remove the
CLK_IGNORE_UNUSEDflags _before_ these two, the remaining patches now become fixes.Please resend the patches with a proper description what and why they are fixes now.
Is this going to be resolved anytime soon?
If not, I am going to send a revert for the CLK_IGNORE_UNUSED patch and we start this from the beginning.
Sebastian
Dear Sebastian,
Quoted 16 lines · On Sun, 6 Dec 2015 11:07:41 +0100 Sebastian Hesselbarth wrote:
Quoted 15 lines · Sebastian Hesselbarth
Quoted 7 lines · Jisheng Zhang
Add or fix the optional clock property, then remove the
CLK_IGNORE_UNUSEDflag for sdio clk(s).This is a partialy resend of
http://lists.infradead.org/pipermail/linux-arm-kernel/2015-October/379457.htmlpatch3, patch4 has been merged.
Great! Really!
As they have been taken without my Acked-by, ignoring my request to _not_ remove the
CLK_IGNORE_UNUSEDflags _before_ these two, the remaining patches now become fixes.
Quoted 7 lines
Quoted 2 lines
Please resend the patches with a proper description what and why they are fixes now.
Is this going to be resolved anytime soon?
If not, I am going to send a revert for the
CLK_IGNORE_UNUSEDpatch and we start this from the beginning.
I will send patches today.
Thanks a lot,
Jisheng