Merge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux

Pull clk fixes from Stephen Boyd:
"A few Allwinner clk driver fixes:

- Mark Allwinner A523 MBUS clock as critical to avoid
system stalls

- Fix names of CSI related clocks on Allwinner V3s. This
includes changes to the driver, DT bindings and DT files.

- Fix parents of TCON clock on Allwinner V3s"

* tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux:
clk: sunxi-ng: v3s: Fix TCON clock parents
clk: sunxi-ng: v3s: Fix CSI1 MCLK clock name
clk: sunxi-ng: v3s: Fix CSI SCLK clock name
clk: sunxi-ng: a523: Mark MBUS clock as critical

Changed files
+14 -13
Documentation
arch
arm
boot
dts
allwinner
drivers
include
dt-bindings
+1 -1
Documentation/devicetree/bindings/media/allwinner,sun6i-a31-csi.yaml
··· 110 110 reg = <0x01cb4000 0x1000>; 111 111 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; 112 112 clocks = <&ccu CLK_BUS_CSI>, 113 - <&ccu CLK_CSI1_SCLK>, 113 + <&ccu CLK_CSI_SCLK>, 114 114 <&ccu CLK_DRAM_CSI>; 115 115 clock-names = "bus", 116 116 "mod",
+1 -1
Documentation/devicetree/bindings/media/allwinner,sun6i-a31-isp.yaml
··· 79 79 reg = <0x01cb8000 0x1000>; 80 80 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; 81 81 clocks = <&ccu CLK_BUS_CSI>, 82 - <&ccu CLK_CSI1_SCLK>, 82 + <&ccu CLK_CSI_SCLK>, 83 83 <&ccu CLK_DRAM_CSI>; 84 84 clock-names = "bus", "mod", "ram"; 85 85 resets = <&ccu RST_BUS_CSI>;
+1 -1
Documentation/devicetree/bindings/media/allwinner,sun6i-a31-mipi-csi2.yaml
··· 103 103 reg = <0x01cb1000 0x1000>; 104 104 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>; 105 105 clocks = <&ccu CLK_BUS_CSI>, 106 - <&ccu CLK_CSI1_SCLK>; 106 + <&ccu CLK_CSI_SCLK>; 107 107 clock-names = "bus", "mod"; 108 108 resets = <&ccu RST_BUS_CSI>; 109 109
+1 -1
arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi
··· 652 652 reg = <0x01cb4000 0x3000>; 653 653 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>; 654 654 clocks = <&ccu CLK_BUS_CSI>, 655 - <&ccu CLK_CSI1_SCLK>, 655 + <&ccu CLK_CSI_SCLK>, 656 656 <&ccu CLK_DRAM_CSI>; 657 657 clock-names = "bus", "mod", "ram"; 658 658 resets = <&ccu RST_BUS_CSI>;
+2 -1
drivers/clk/sunxi-ng/ccu-sun55i-a523.c
··· 385 385 0, 0, /* no P */ 386 386 24, 3, /* mux */ 387 387 BIT(31), /* gate */ 388 - 0, CCU_FEATURE_UPDATE_BIT); 388 + CLK_IS_CRITICAL, 389 + CCU_FEATURE_UPDATE_BIT); 389 390 390 391 static const struct clk_hw *mbus_hws[] = { &mbus_clk.common.hw }; 391 392
+7 -7
drivers/clk/sunxi-ng/ccu-sun8i-v3s.c
··· 350 350 0x104, 0, 4, 24, 2, BIT(31), 351 351 CLK_SET_RATE_PARENT); 352 352 353 - static const char * const tcon_parents[] = { "pll-video" }; 353 + static const char * const tcon_parents[] = { "pll-video", "pll-periph0" }; 354 354 static SUNXI_CCU_M_WITH_MUX_GATE(tcon_clk, "tcon", tcon_parents, 355 355 0x118, 0, 4, 24, 3, BIT(31), 0); 356 356 ··· 362 362 static SUNXI_CCU_M_WITH_MUX_GATE(csi0_mclk_clk, "csi0-mclk", csi_mclk_parents, 363 363 0x130, 0, 5, 8, 3, BIT(15), 0); 364 364 365 - static const char * const csi1_sclk_parents[] = { "pll-video", "pll-isp" }; 366 - static SUNXI_CCU_M_WITH_MUX_GATE(csi1_sclk_clk, "csi-sclk", csi1_sclk_parents, 365 + static const char * const csi_sclk_parents[] = { "pll-video", "pll-isp" }; 366 + static SUNXI_CCU_M_WITH_MUX_GATE(csi_sclk_clk, "csi-sclk", csi_sclk_parents, 367 367 0x134, 16, 4, 24, 3, BIT(31), 0); 368 368 369 - static SUNXI_CCU_M_WITH_MUX_GATE(csi1_mclk_clk, "csi-mclk", csi_mclk_parents, 369 + static SUNXI_CCU_M_WITH_MUX_GATE(csi1_mclk_clk, "csi1-mclk", csi_mclk_parents, 370 370 0x134, 0, 5, 8, 3, BIT(15), 0); 371 371 372 372 static SUNXI_CCU_M_WITH_GATE(ve_clk, "ve", "pll-ve", ··· 452 452 &tcon_clk.common, 453 453 &csi_misc_clk.common, 454 454 &csi0_mclk_clk.common, 455 - &csi1_sclk_clk.common, 455 + &csi_sclk_clk.common, 456 456 &csi1_mclk_clk.common, 457 457 &ve_clk.common, 458 458 &ac_dig_clk.common, ··· 551 551 [CLK_TCON0] = &tcon_clk.common.hw, 552 552 [CLK_CSI_MISC] = &csi_misc_clk.common.hw, 553 553 [CLK_CSI0_MCLK] = &csi0_mclk_clk.common.hw, 554 - [CLK_CSI1_SCLK] = &csi1_sclk_clk.common.hw, 554 + [CLK_CSI_SCLK] = &csi_sclk_clk.common.hw, 555 555 [CLK_CSI1_MCLK] = &csi1_mclk_clk.common.hw, 556 556 [CLK_VE] = &ve_clk.common.hw, 557 557 [CLK_AC_DIG] = &ac_dig_clk.common.hw, ··· 633 633 [CLK_TCON0] = &tcon_clk.common.hw, 634 634 [CLK_CSI_MISC] = &csi_misc_clk.common.hw, 635 635 [CLK_CSI0_MCLK] = &csi0_mclk_clk.common.hw, 636 - [CLK_CSI1_SCLK] = &csi1_sclk_clk.common.hw, 636 + [CLK_CSI_SCLK] = &csi_sclk_clk.common.hw, 637 637 [CLK_CSI1_MCLK] = &csi1_mclk_clk.common.hw, 638 638 [CLK_VE] = &ve_clk.common.hw, 639 639 [CLK_AC_DIG] = &ac_dig_clk.common.hw,
+1 -1
include/dt-bindings/clock/sun8i-v3s-ccu.h
··· 96 96 #define CLK_TCON0 64 97 97 #define CLK_CSI_MISC 65 98 98 #define CLK_CSI0_MCLK 66 99 - #define CLK_CSI1_SCLK 67 99 + #define CLK_CSI_SCLK 67 100 100 #define CLK_CSI1_MCLK 68 101 101 #define CLK_VE 69 102 102 #define CLK_AC_DIG 70