mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
dt-bindings: interconnect: qcom,sm6115: Restrict children and clocks
Some interconnect devices described in the binding have children and some have clocks. The devices which do not have them, should have this restricted (disallowed). qcom,sm6115-cnoc has a clock, thus also extend the example to be complete for this device. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Acked-by: Rob Herring (Arm) <robh@kernel.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Link: https://patch.msgid.link/20260503161653.60785-6-krzysztof.kozlowski@oss.qualcomm.com Signed-off-by: Georgi Djakov <djakov@kernel.org>
This commit is contained in:
parent
59eff26d62
commit
401af0eb27
|
|
@ -62,23 +62,33 @@ allOf:
|
|||
- if:
|
||||
properties:
|
||||
compatible:
|
||||
const: qcom,sm6115-cnoc
|
||||
const: qcom,sm6115-bimc
|
||||
then:
|
||||
properties:
|
||||
clocks: false
|
||||
clock-names: false
|
||||
patternProperties:
|
||||
'^interconnect-[a-z0-9]+$': false
|
||||
|
||||
- if:
|
||||
properties:
|
||||
compatible:
|
||||
const: qcom,sm6115-cnoc
|
||||
then:
|
||||
properties:
|
||||
clocks:
|
||||
items:
|
||||
- description: USB-NoC AXI clock
|
||||
|
||||
clock-names:
|
||||
items:
|
||||
- const: usb_axi
|
||||
patternProperties:
|
||||
'^interconnect-[a-z0-9]+$': false
|
||||
|
||||
- if:
|
||||
properties:
|
||||
compatible:
|
||||
const: qcom,sm6115-snoc
|
||||
|
||||
then:
|
||||
properties:
|
||||
clocks:
|
||||
|
|
@ -87,7 +97,6 @@ allOf:
|
|||
- description: UFS-NoC AXI clock.
|
||||
- description: USB-NoC AXI clock.
|
||||
- description: IPA clock.
|
||||
|
||||
clock-names:
|
||||
items:
|
||||
- const: cpu_axi
|
||||
|
|
@ -135,4 +144,6 @@ examples:
|
|||
compatible = "qcom,sm6115-cnoc";
|
||||
reg = <0x01900000 0x8200>;
|
||||
#interconnect-cells = <1>;
|
||||
clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>;
|
||||
clock-names = "usb_axi";
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user