Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: interconnect: Update property for icc-rpm path tag

To support path tag in icc-rpm driver, the "#interconnect-cells"
property is updated as enumerate values: 1 or 2. Setting to 1 means
it is compatible with old DT binding that interconnect path only
contains node id; if set to 2 for "#interconnect-cells" property, then
the second specifier is used as a tag (e.g. vote for which buckets).

Signed-off-by: Leo Yan <leo.yan@linaro.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220712015929.2789881-2-leo.yan@linaro.org
Signed-off-by: Georgi Djakov <djakov@kernel.org>

authored by

Leo Yan and committed by
Georgi Djakov
2c510f5b 751f4d14

+5 -1
+5 -1
Documentation/devicetree/bindings/interconnect/qcom,rpm.yaml
··· 45 45 - qcom,sdm660-snoc 46 46 47 47 '#interconnect-cells': 48 - const: 1 48 + description: | 49 + Value: <1> is one cell in an interconnect specifier for the 50 + interconnect node id, <2> requires the interconnect node id and an 51 + extra path tag. 52 + enum: [ 1, 2 ] 49 53 50 54 clocks: 51 55 minItems: 2