diff options
| author | Varadarajan Narayanan <quic_varada@quicinc.com> | 2024-04-30 12:12:09 +0530 |
|---|---|---|
| committer | Bjorn Andersson <andersson@kernel.org> | 2024-07-08 11:40:57 -0500 |
| commit | f45b94ffc5f1204b35b5c695ed265b1385951616 (patch) | |
| tree | 09363d2cd012a863569e6f79b95c7d8269bdcc61 /include/linux | |
| parent | b3d57c5582671831022c65ca83dedd6ce71a125a (diff) | |
interconnect: icc-clk: Specify master/slave ids
Presently, icc-clk driver autogenerates the master and slave ids.
However, devices with multiple nodes on the interconnect could
have other constraints and may not match with the auto generated
node ids.
Hence, modify the driver to use the master/slave ids provided by
the caller instead of auto generating.
Also, update clk-cbf-8996 accordingly.
Acked-by: Georgi Djakov <djakov@kernel.org>
Signed-off-by: Varadarajan Narayanan <quic_varada@quicinc.com>
Link: https://lore.kernel.org/r/20240430064214.2030013-2-quic_varada@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/interconnect-clk.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/interconnect-clk.h b/include/linux/interconnect-clk.h index 0cd80112bea5..170898faaacb 100644 --- a/include/linux/interconnect-clk.h +++ b/include/linux/interconnect-clk.h @@ -11,6 +11,8 @@ struct device; struct icc_clk_data { struct clk *clk; const char *name; + unsigned int master_id; + unsigned int slave_id; }; struct icc_provider *icc_clk_register(struct device *dev, |
