]> Git Repo - linux.git/commitdiff
Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux
authorLinus Torvalds <[email protected]>
Tue, 4 Jul 2023 18:07:45 +0000 (11:07 -0700)
committerLinus Torvalds <[email protected]>
Tue, 4 Jul 2023 18:07:45 +0000 (11:07 -0700)
Pull more clk updates from Stephen Boyd:
 "Another set of clk driver updates and fixes for the merge window. The
  driver updates needed more time to bake in linux-next.

  Updates:
   - Support for more clk controllers in Qualcomm SoCs such as SM8350,
     SM8450, SDX75, SC8280XP, and IPQ9574
   - Runtime PM enablement of some more Qualcomm clk controllers
   - Various fixes to Qualcomm clk driver data to use correct clk_ops
     and to check halt bits properly
   - AT91 updates to modernize with clk_parent_data structures

  Fixes:
   - Remove 'syscon' from dt binding fix for ti,j721e-system-controller
   - Fix determine rate in the Tegra driver that got wrecked by the
     refactorting of muxes this merge window"

* tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux: (69 commits)
  clk: tegra: Avoid calling an uninitialized function
  dt-bindings: mfd: ti,j721e-system-controller: Remove syscon from example
  clk: at91: sama7g5: s/ep_chg_chg_id/ep_chg_id
  clk: at91: sama7g5: switch to parent_hw and parent_data
  clk: at91: sckc: switch to parent_data/parent_hw
  clk: at91: clk-sam9x60-pll: add support for parent_hw
  clk: at91: clk-utmi: add support for parent_hw
  clk: at91: clk-system: add support for parent_hw
  clk: at91: clk-programmable: add support for parent_hw
  clk: at91: clk-peripheral: add support for parent_hw
  clk: at91: clk-master: add support for parent_hw
  clk: at91: clk-generated: add support for parent_hw
  clk: at91: clk-main: add support for parent_data/parent_hw
  clk: qcom: gcc-sc8280xp: Add runtime PM
  clk: qcom: gpucc-sc8280xp: Add runtime PM
  clk: qcom: mmcc-msm8974: fix MDSS_GDSC power flags
  clk: qcom: gpucc-sm6375: Enable runtime pm
  dt-bindings: clock: sm6375-gpucc: Add VDD_GX
  clk: qcom: gcc-sm6115: Add missing PLL config properties
  clk: qcom: clk-alpha-pll: Add a way to update some bits of test_ctl(_hi)
  ...

1  2 
drivers/clk/qcom/Kconfig

diff --combined drivers/clk/qcom/Kconfig
index 85869e7a9f1601b5442fa60ca9bab2bb744b0e0a,579749068338e70e3fa0b1a2f0d305cda2b52e8b..263e55d75e3f5c0ce67b3f207e4e57be965c104a
@@@ -48,7 -48,6 +48,7 @@@ config QCOM_CLK_APCS_MSM891
  config QCOM_CLK_APCC_MSM8996
        tristate "MSM8996 CPU Clock Controller"
        select QCOM_KRYO_L2_ACCESSORS
 +      select INTERCONNECT_CLK if INTERCONNECT
        depends on ARM64
        help
          Support for the CPU clock controller on msm8996 devices.
@@@ -58,6 -57,7 +58,7 @@@
  config QCOM_CLK_APCS_SDX55
        tristate "SDX55 and SDX65 APCS Clock Controller"
        depends on QCOM_APCS_IPC || COMPILE_TEST
+       depends on ARM || COMPILE_TEST
        help
          Support for the APCS Clock Controller on SDX55, SDX65 platforms. The
          APCS is managing the mux and divider which feeds the CPUs.
@@@ -101,6 -101,7 +102,7 @@@ config QCOM_CLK_RPM
  
  config APQ_GCC_8084
        tristate "APQ8084 Global Clock Controller"
+       depends on ARM || COMPILE_TEST
        select QCOM_GDSC
        help
          Support for the global clock controller on apq8084 devices.
  
  config APQ_MMCC_8084
        tristate "APQ8084 Multimedia Clock Controller"
+       depends on ARM || COMPILE_TEST
        select APQ_GCC_8084
        select QCOM_GDSC
        help
@@@ -160,6 -162,7 +163,7 @@@ config IPQ_GCC_601
  
  config IPQ_GCC_806X
        tristate "IPQ806x Global Clock Controller"
+       depends on ARM || COMPILE_TEST
        help
          Support for the global clock controller on ipq806x devices.
          Say Y if you want to use peripheral devices such as UART, SPI,
  
  config IPQ_LCC_806X
        tristate "IPQ806x LPASS Clock Controller"
+       depends on ARM || COMPILE_TEST
        select IPQ_GCC_806X
        help
          Support for the LPASS clock controller on ipq806x devices.
@@@ -192,6 -196,7 +197,7 @@@ config IPQ_GCC_957
  
  config MSM_GCC_8660
        tristate "MSM8660 Global Clock Controller"
+       depends on ARM || COMPILE_TEST
        help
          Support for the global clock controller on msm8660 devices.
          Say Y if you want to use peripheral devices such as UART, SPI,
  
  config MSM_GCC_8909
        tristate "MSM8909 Global Clock Controller"
+       depends on ARM || COMPILE_TEST
        select QCOM_GDSC
        help
          Support for the global clock controller on msm8909 devices.
@@@ -233,6 -239,7 +240,7 @@@ config MSM_GCC_893
  
  config MSM_GCC_8960
        tristate "APQ8064/MSM8960 Global Clock Controller"
+       depends on ARM || COMPILE_TEST
        help
          Support for the global clock controller on apq8064/msm8960 devices.
          Say Y if you want to use peripheral devices such as UART, SPI,
  
  config MSM_LCC_8960
        tristate "APQ8064/MSM8960 LPASS Clock Controller"
+       depends on ARM || COMPILE_TEST
        select MSM_GCC_8960
        help
          Support for the LPASS clock controller on apq8064/msm8960 devices.
  
  config MDM_GCC_9607
        tristate "MDM9607 Global Clock Controller"
+       depends on ARM || COMPILE_TEST
        help
          Support for the global clock controller on mdm9607 devices.
          Say Y if you want to use peripheral devices such as UART, SPI,
  
  config MDM_GCC_9615
        tristate "MDM9615 Global Clock Controller"
+       depends on ARM || COMPILE_TEST
        help
          Support for the global clock controller on mdm9615 devices.
          Say Y if you want to use peripheral devices such as UART, SPI,
  
  config MDM_LCC_9615
        tristate "MDM9615 LPASS Clock Controller"
+       depends on ARM || COMPILE_TEST
        select MDM_GCC_9615
        help
          Support for the LPASS clock controller on mdm9615 devices.
  
  config MSM_MMCC_8960
        tristate "MSM8960 Multimedia Clock Controller"
+       depends on ARM || COMPILE_TEST
        select MSM_GCC_8960
        help
          Support for the multimedia clock controller on msm8960 devices.
@@@ -286,6 -298,7 +299,7 @@@ config MSM_GCC_895
  
  config MSM_GCC_8974
        tristate "MSM8974 Global Clock Controller"
+       depends on ARM || COMPILE_TEST
        select QCOM_GDSC
        help
          Support for the global clock controller on msm8974 devices.
  
  config MSM_MMCC_8974
        tristate "MSM8974 Multimedia Clock Controller"
+       depends on ARM || COMPILE_TEST
        select MSM_GCC_8974
        select QCOM_GDSC
        help
@@@ -394,6 -408,7 +409,7 @@@ config QCS_GCC_40
  
  config SC_CAMCC_7180
        tristate "SC7180 Camera Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select SC_GCC_7180
        help
          Support for the camera clock controller on Qualcomm Technologies, Inc
  
  config SC_CAMCC_7280
        tristate "SC7280 Camera Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select SC_GCC_7280
        help
          Support for the camera clock controller on Qualcomm Technologies, Inc
  
  config SC_DISPCC_7180
        tristate "SC7180 Display Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select SC_GCC_7180
        help
          Support for the display clock controller on Qualcomm Technologies, Inc
  
  config SC_DISPCC_7280
        tristate "SC7280 Display Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select SC_GCC_7280
        help
          Support for the display clock controller on Qualcomm Technologies, Inc.
  
  config SC_DISPCC_8280XP
        tristate "SC8280XP Display Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select SC_GCC_8280XP
        help
          Support for the two display clock controllers on Qualcomm
@@@ -459,6 -478,7 +479,7 @@@ config SC_GCC_718
        tristate "SC7180 Global Clock Controller"
        select QCOM_GDSC
        depends on COMMON_CLK_QCOM
+       depends on ARM64 || COMPILE_TEST
        help
          Support for the global clock controller on SC7180 devices.
          Say Y if you want to use peripheral devices such as UART, SPI,
@@@ -468,6 -488,7 +489,7 @@@ config SC_GCC_728
        tristate "SC7280 Global Clock Controller"
        select QCOM_GDSC
        depends on COMMON_CLK_QCOM
+       depends on ARM64 || COMPILE_TEST
        help
          Support for the global clock controller on SC7280 devices.
          Say Y if you want to use peripheral devices such as UART, SPI,
@@@ -477,6 -498,7 +499,7 @@@ config SC_GCC_8180
        tristate "SC8180X Global Clock Controller"
        select QCOM_GDSC
        depends on COMMON_CLK_QCOM
+       depends on ARM64 || COMPILE_TEST
        help
          Support for the global clock controller on SC8180X devices.
          Say Y if you want to use peripheral devices such as UART, SPI,
@@@ -486,6 -508,7 +509,7 @@@ config SC_GCC_8280X
        tristate "SC8280XP Global Clock Controller"
        select QCOM_GDSC
        depends on COMMON_CLK_QCOM
+       depends on ARM64 || COMPILE_TEST
        help
          Support for the global clock controller on SC8280XP devices.
          Say Y if you want to use peripheral devices such as UART, SPI,
  
  config SC_GPUCC_7180
        tristate "SC7180 Graphics Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select SC_GCC_7180
        help
          Support for the graphics clock controller on SC7180 devices.
  
  config SC_GPUCC_7280
        tristate "SC7280 Graphics Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select SC_GCC_7280
        help
          Support for the graphics clock controller on SC7280 devices.
  
  config SC_GPUCC_8280XP
        tristate "SC8280XP Graphics Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select SC_GCC_8280XP
        help
          Support for the graphics clock controller on SC8280XP devices.
  
  config SC_LPASSCC_7280
        tristate "SC7280 Low Power Audio Subsystem (LPASS) Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select SC_GCC_7280
        help
          Support for the LPASS clock controller on SC7280 devices.
          Say Y if you want to use the LPASS branch clocks of the LPASS clock
          controller to reset the LPASS subsystem.
  
+ config SC_LPASSCC_8280XP
+       tristate "SC8280 Low Power Audio Subsystem (LPASS) Clock Controller"
+       depends on ARM64 || COMPILE_TEST
+       select SC_GCC_8280XP
+       help
+         Support for the LPASS clock controller on SC8280XP devices.
+         Say Y if you want to use the LPASS branch clocks of the LPASS clock
+         controller to reset the LPASS subsystem.
  config SC_LPASS_CORECC_7180
        tristate "SC7180 LPASS Core Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select SC_GCC_7180
        help
          Support for the LPASS(Low Power Audio Subsystem) core clock controller
  
  config SC_LPASS_CORECC_7280
        tristate "SC7280 LPASS Core & Audio Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select SC_GCC_7280
        select QCOM_GDSC
        help
  
  config SC_MSS_7180
        tristate "SC7180 Modem Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select SC_GCC_7180
        help
          Support for the Modem Subsystem clock controller on Qualcomm
  
  config SC_VIDEOCC_7180
        tristate "SC7180 Video Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select SC_GCC_7180
        help
          Support for the video clock controller on SC7180 devices.
  
  config SC_VIDEOCC_7280
        tristate "SC7280 Video Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select SC_GCC_7280
        help
          Support for the video clock controller on SC7280 devices.
  
  config SDM_CAMCC_845
        tristate "SDM845 Camera Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select SDM_GCC_845
        help
          Support for the camera clock controller on SDM845 devices.
  
  config SDM_GCC_660
        tristate "SDM660 Global Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select QCOM_GDSC
        help
          Support for the global clock controller on SDM660 devices.
  
  config SDM_MMCC_660
        tristate "SDM660 Multimedia Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select SDM_GCC_660
        select QCOM_GDSC
        help
  
  config SDM_GPUCC_660
        tristate "SDM660 Graphics Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select SDM_GCC_660
        select QCOM_GDSC
        help
@@@ -624,6 -669,7 +670,7 @@@ config QDU_GCC_100
  
  config SDM_GCC_845
        tristate "SDM845/SDM670 Global Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select QCOM_GDSC
        help
          Support for the global clock controller on SDM845 and SDM670 devices.
  
  config SDM_GPUCC_845
        tristate "SDM845 Graphics Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select SDM_GCC_845
        help
          Support for the graphics clock controller on SDM845 devices.
  
  config SDM_VIDEOCC_845
        tristate "SDM845 Video Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select SDM_GCC_845
        select QCOM_GDSC
        help
  
  config SDM_DISPCC_845
        tristate "SDM845 Display Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select SDM_GCC_845
        help
          Support for the display clock controller on Qualcomm Technologies, Inc
  
  config SDM_LPASSCC_845
        tristate "SDM845 Low Power Audio Subsystem (LPAAS) Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select SDM_GCC_845
        help
          Support for the LPASS clock controller on SDM845 devices.
  
  config SDX_GCC_55
        tristate "SDX55 Global Clock Controller"
+       depends on ARM || COMPILE_TEST
        select QCOM_GDSC
        help
          Support for the global clock controller on SDX55 devices.
  
  config SDX_GCC_65
        tristate "SDX65 Global Clock Controller"
+       depends on ARM || COMPILE_TEST
        select QCOM_GDSC
        help
          Support for the global clock controller on SDX65 devices.
          Say Y if you want to use peripheral devices such as UART,
          SPI, I2C, USB, SD/UFS, PCIe etc.
  
+ config SDX_GCC_75
+       tristate "SDX75 Global Clock Controller"
+       select QCOM_GDSC
+       help
+         Support for the global clock controller on SDX75 devices.
+         Say Y if you want to use peripheral devices such as UART,
+         SPI, I2C, USB, SD/eMMC, PCIe etc.
  config SM_CAMCC_6350
        tristate "SM6350 Camera Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select SM_GCC_6350
        help
          Support for the camera clock controller on SM6350 devices.
  
  config SM_CAMCC_8250
        tristate "SM8250 Camera Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select SM_GCC_8250
        help
          Support for the camera clock controller on SM8250 devices.
  
  config SM_CAMCC_8450
        tristate "SM8450 Camera Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select SM_GCC_8450
        help
          Support for the camera clock controller on SM8450 devices.
  
  config SM_DISPCC_6115
        tristate "SM6115 Display Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        depends on SM_GCC_6115
        help
          Support for the display clock controller on Qualcomm Technologies, Inc
  
  config SM_DISPCC_6125
        tristate "SM6125 Display Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        depends on SM_GCC_6125
        help
          Support for the display clock controller on Qualcomm Technologies, Inc
  
  config SM_DISPCC_8250
        tristate "SM8150/SM8250/SM8350 Display Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        depends on SM_GCC_8150 || SM_GCC_8250 || SM_GCC_8350
        help
          Support for the display clock controller on Qualcomm Technologies, Inc
  
  config SM_DISPCC_6350
        tristate "SM6350 Display Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        depends on SM_GCC_6350
        help
          Support for the display clock controller on Qualcomm Technologies, Inc
  
  config SM_DISPCC_6375
        tristate "SM6375 Display Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        depends on SM_GCC_6375
        help
          Support for the display clock controller on Qualcomm Technologies, Inc
  
  config SM_DISPCC_8450
        tristate "SM8450 Display Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        depends on SM_GCC_8450
        help
          Support for the display clock controller on Qualcomm Technologies, Inc
  
  config SM_DISPCC_8550
        tristate "SM8550 Display Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        depends on SM_GCC_8550
        help
          Support for the display clock controller on Qualcomm Technologies, Inc
  
  config SM_GCC_6115
        tristate "SM6115 and SM4250 Global Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select QCOM_GDSC
        help
          Support for the global clock controller on SM6115 and SM4250 devices.
  
  config SM_GCC_6125
        tristate "SM6125 Global Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        help
          Support for the global clock controller on SM6125 devices.
          Say Y if you want to use peripheral devices such as UART,
  
  config SM_GCC_6350
        tristate "SM6350 Global Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select QCOM_GDSC
        help
          Support for the global clock controller on SM6350 devices.
  
  config SM_GCC_6375
        tristate "SM6375 Global Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select QCOM_GDSC
        help
          Support for the global clock controller on SM6375 devices.
@@@ -805,6 -879,7 +880,7 @@@ config SM_GCC_715
  
  config SM_GCC_8150
        tristate "SM8150 Global Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        help
          Support for the global clock controller on SM8150 devices.
          Say Y if you want to use peripheral devices such as UART,
  
  config SM_GCC_8250
        tristate "SM8250 Global Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select QCOM_GDSC
        help
          Support for the global clock controller on SM8250 devices.
  
  config SM_GCC_8350
        tristate "SM8350 Global Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select QCOM_GDSC
        help
          Support for the global clock controller on SM8350 devices.
  
  config SM_GCC_8450
        tristate "SM8450 Global Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select QCOM_GDSC
        help
          Support for the global clock controller on SM8450 devices.
  
  config SM_GCC_8550
        tristate "SM8550 Global Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select QCOM_GDSC
        help
          Support for the global clock controller on SM8550 devices.
@@@ -871,6 -950,7 +951,7 @@@ config SM_GPUCC_637
  
  config SM_GPUCC_6350
        tristate "SM6350 Graphics Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select SM_GCC_6350
        help
          Support for the graphics clock controller on SM6350 devices.
  
  config SM_GPUCC_8150
        tristate "SM8150 Graphics Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select SM_GCC_8150
        help
          Support for the graphics clock controller on SM8150 devices.
  
  config SM_GPUCC_8250
        tristate "SM8250 Graphics Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select SM_GCC_8250
        help
          Support for the graphics clock controller on SM8250 devices.
  
  config SM_GPUCC_8350
        tristate "SM8350 Graphics Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select SM_GCC_8350
        help
          Support for the graphics clock controller on SM8350 devices.
          Say Y if you want to support graphics controller devices and
          functionality such as 3D graphics.
  
+ config SM_GPUCC_8450
+       tristate "SM8450 Graphics Clock Controller"
+       select SM_GCC_8450
+       help
+         Support for the graphics clock controller on SM8450 devices.
+         Say Y if you want to support graphics controller devices and
+         functionality such as 3D graphics.
+ config SM_GPUCC_8550
+       tristate "SM8550 Graphics Clock Controller"
+       select SM_GCC_8550
+       help
+         Support for the graphics clock controller on SM8550 devices.
+         Say Y if you want to support graphics controller devices and
+         functionality such as 3D graphics.
  config SM_TCSRCC_8550
        tristate "SM8550 TCSR Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select QCOM_GDSC
        help
          Support for the TCSR clock controller on SM8550 devices.
  
  config SM_VIDEOCC_8150
        tristate "SM8150 Video Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select SM_GCC_8150
        select QCOM_GDSC
        help
  
  config SM_VIDEOCC_8250
        tristate "SM8250 Video Clock Controller"
+       depends on ARM64 || COMPILE_TEST
        select SM_GCC_8250
        select QCOM_GDSC
        help
          Say Y if you want to support video devices and functionality such as
          video encode and decode.
  
+ config SM_VIDEOCC_8350
+       tristate "SM8350 Video Clock Controller"
+       select SM_GCC_8350
+       select QCOM_GDSC
+       help
+         Support for the video clock controller on SM8350 devices.
+         Say Y if you want to support video devices and functionality such as
+         video encode and decode.
+ config SM_VIDEOCC_8550
+       tristate "SM8550 Video Clock Controller"
+       select SM_GCC_8550
+       select QCOM_GDSC
+       help
+         Support for the video clock controller on Qualcomm Technologies, Inc.
+         SM8550 devices.
+         Say Y if you want to support video devices and functionality such as
+         video encode/decode.
  config SPMI_PMIC_CLKDIV
        tristate "SPMI PMIC clkdiv Support"
        depends on SPMI || COMPILE_TEST
@@@ -959,8 -1080,18 +1081,18 @@@ config KRAITC
  
  config CLK_GFM_LPASS_SM8250
        tristate "SM8250 GFM LPASS Clocks"
+       depends on ARM64 || COMPILE_TEST
        help
          Support for the Glitch Free Mux (GFM) Low power audio
            subsystem (LPASS) clocks found on SM8250 SoCs.
  
+ config SM_VIDEOCC_8450
+       tristate "SM8450 Video Clock Controller"
+       select SM_GCC_8450
+       select QCOM_GDSC
+       help
+         Support for the video clock controller on Qualcomm Technologies, Inc.
+         SM8450 devices.
+         Say Y if you want to support video devices and functionality such as
+         video encode/decode.
  endif
This page took 0.15619 seconds and 4 git commands to generate.