diff mbox series

ARM: dts: r7s72100: Add SPIBSC clocks

Message ID 20200207162704.18914-1-chris.brandt@renesas.com (mailing list archive)
State Superseded
Delegated to: Geert Uytterhoeven
Headers show
Series ARM: dts: r7s72100: Add SPIBSC clocks | expand

Commit Message

Chris Brandt Feb. 7, 2020, 4:27 p.m. UTC
Add clocks for SPIBSC blocks

Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
---
 arch/arm/boot/dts/r7s72100.dtsi | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Comments

Geert Uytterhoeven Feb. 10, 2020, 8:13 a.m. UTC | #1
Hi Chris,

On Fri, Feb 7, 2020 at 5:27 PM Chris Brandt <chris.brandt@renesas.com> wrote:
> Add clocks for SPIBSC blocks
>
> Signed-off-by: Chris Brandt <chris.brandt@renesas.com>

Thanks for your patch!

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

However, I believe I cannot queue this in renesas-devel yet, as to avoid
a regression, the flash node in r7s72100-gr-peach.dts should gain
appropriate clock and power-domains properties.
And to avoid bisection issues, that should be combined with this patch,
right?

Gr{oetje,eeting}s,

                        Geert
Chris Brandt Feb. 10, 2020, 11:31 a.m. UTC | #2
Hi Geert,

On Mon, Feb 10, 2020, Geert Uytterhoeven wrote:
> However, I believe I cannot queue this in renesas-devel yet, as to avoid
> a regression, the flash node in r7s72100-gr-peach.dts should gain
> appropriate clock and power-domains properties.
> And to avoid bisection issues, that should be combined with this patch,
> right?

Are you saying a patch series? Or 1 patch that edits both files?

Thanks,
Chris
Geert Uytterhoeven Feb. 10, 2020, 12:10 p.m. UTC | #3
Hi Chris,

On Mon, Feb 10, 2020 at 12:31 PM Chris Brandt <Chris.Brandt@renesas.com> wrote:
> On Mon, Feb 10, 2020, Geert Uytterhoeven wrote:
> > However, I believe I cannot queue this in renesas-devel yet, as to avoid
> > a regression, the flash node in r7s72100-gr-peach.dts should gain
> > appropriate clock and power-domains properties.
> > And to avoid bisection issues, that should be combined with this patch,
> > right?
>
> Are you saying a patch series? Or 1 patch that edits both files?

I meant a single patch that modifies both files.

If the clocks go in first, the SPIBSC clock will be disabled.
If the FLASH update goes in first, the SPIBSC clock cannot be found.

Gr{oetje,eeting}s,

                        Geert
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/r7s72100.dtsi b/arch/arm/boot/dts/r7s72100.dtsi
index 75b2796ebfca..0a567d8ebc66 100644
--- a/arch/arm/boot/dts/r7s72100.dtsi
+++ b/arch/arm/boot/dts/r7s72100.dtsi
@@ -467,11 +467,12 @@  mstp9_clks: mstp9_clks@fcfe0438 {
 			#clock-cells = <1>;
 			compatible = "renesas,r7s72100-mstp-clocks", "renesas,cpg-mstp-clocks";
 			reg = <0xfcfe0438 4>;
-			clocks = <&p0_clk>, <&p0_clk>, <&p0_clk>, <&p0_clk>;
+			clocks = <&p0_clk>, <&p0_clk>, <&p0_clk>, <&p0_clk>, <&b_clk>, <&b_clk>;
 			clock-indices = <
 				R7S72100_CLK_I2C0 R7S72100_CLK_I2C1 R7S72100_CLK_I2C2 R7S72100_CLK_I2C3
+				R7S72100_CLK_SPIBSC0 R7S72100_CLK_SPIBSC1
 			>;
-			clock-output-names = "i2c0", "i2c1", "i2c2", "i2c3";
+			clock-output-names = "i2c0", "i2c1", "i2c2", "i2c3", "spibsc0", "spibsc1";
 		};
 
 		mstp10_clks: mstp10_clks@fcfe043c {