diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/dt-bindings/clock/qcom,rpmcc.h | 10 | ||||
-rw-r--r-- | include/linux/clk-provider.h | 3 | ||||
-rw-r--r-- | include/linux/platform_data/x86/clk-lpss.h (renamed from include/linux/platform_data/clk-lpss.h) | 0 |
3 files changed, 13 insertions, 0 deletions
diff --git a/include/dt-bindings/clock/qcom,rpmcc.h b/include/dt-bindings/clock/qcom,rpmcc.h index 3658b0c14966..ede93a0ca156 100644 --- a/include/dt-bindings/clock/qcom,rpmcc.h +++ b/include/dt-bindings/clock/qcom,rpmcc.h | |||
@@ -127,5 +127,15 @@ | |||
127 | #define RPM_SMD_BIMC_GPU_A_CLK 77 | 127 | #define RPM_SMD_BIMC_GPU_A_CLK 77 |
128 | #define RPM_SMD_QPIC_CLK 78 | 128 | #define RPM_SMD_QPIC_CLK 78 |
129 | #define RPM_SMD_QPIC_CLK_A 79 | 129 | #define RPM_SMD_QPIC_CLK_A 79 |
130 | #define RPM_SMD_LN_BB_CLK1 80 | ||
131 | #define RPM_SMD_LN_BB_CLK1_A 81 | ||
132 | #define RPM_SMD_LN_BB_CLK2 82 | ||
133 | #define RPM_SMD_LN_BB_CLK2_A 83 | ||
134 | #define RPM_SMD_LN_BB_CLK3_PIN 84 | ||
135 | #define RPM_SMD_LN_BB_CLK3_A_PIN 85 | ||
136 | #define RPM_SMD_RF_CLK3 86 | ||
137 | #define RPM_SMD_RF_CLK3_A 87 | ||
138 | #define RPM_SMD_RF_CLK3_PIN 88 | ||
139 | #define RPM_SMD_RF_CLK3_A_PIN 89 | ||
130 | 140 | ||
131 | #endif | 141 | #endif |
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h index e443fa9fa859..b7cf80a71293 100644 --- a/include/linux/clk-provider.h +++ b/include/linux/clk-provider.h | |||
@@ -792,6 +792,9 @@ unsigned int __clk_get_enable_count(struct clk *clk); | |||
792 | unsigned long clk_hw_get_rate(const struct clk_hw *hw); | 792 | unsigned long clk_hw_get_rate(const struct clk_hw *hw); |
793 | unsigned long __clk_get_flags(struct clk *clk); | 793 | unsigned long __clk_get_flags(struct clk *clk); |
794 | unsigned long clk_hw_get_flags(const struct clk_hw *hw); | 794 | unsigned long clk_hw_get_flags(const struct clk_hw *hw); |
795 | #define clk_hw_can_set_rate_parent(hw) \ | ||
796 | (clk_hw_get_flags((hw)) & CLK_SET_RATE_PARENT) | ||
797 | |||
795 | bool clk_hw_is_prepared(const struct clk_hw *hw); | 798 | bool clk_hw_is_prepared(const struct clk_hw *hw); |
796 | bool clk_hw_rate_is_protected(const struct clk_hw *hw); | 799 | bool clk_hw_rate_is_protected(const struct clk_hw *hw); |
797 | bool clk_hw_is_enabled(const struct clk_hw *hw); | 800 | bool clk_hw_is_enabled(const struct clk_hw *hw); |
diff --git a/include/linux/platform_data/clk-lpss.h b/include/linux/platform_data/x86/clk-lpss.h index 23901992b9dd..23901992b9dd 100644 --- a/include/linux/platform_data/clk-lpss.h +++ b/include/linux/platform_data/x86/clk-lpss.h | |||