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

dt-bindings: sram: qcom,ocmem: Add msm8226 support

Add the compatible for the OCMEM found on msm8226 which compared to
msm8974 only has a core clock and no iface clock.

Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Link: https://lore.kernel.org/r/20230506-msm8226-ocmem-v3-4-79da95a2581f@z3ntu.xyz
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Luca Weiss and committed by
Bjorn Andersson
f77b2d76 a7e12e7b

+25 -1
+25 -1
Documentation/devicetree/bindings/sram/qcom,ocmem.yaml
··· 15 15 16 16 properties: 17 17 compatible: 18 - const: qcom,msm8974-ocmem 18 + enum: 19 + - qcom,msm8226-ocmem # v1.1.0 20 + - qcom,msm8974-ocmem # v1.4.0 19 21 20 22 reg: 21 23 items: ··· 30 28 - const: mem 31 29 32 30 clocks: 31 + minItems: 1 33 32 items: 34 33 - description: Core clock 35 34 - description: Interface clock 36 35 37 36 clock-names: 37 + minItems: 1 38 38 items: 39 39 - const: core 40 40 - const: iface ··· 61 57 - ranges 62 58 63 59 additionalProperties: false 60 + 61 + allOf: 62 + - if: 63 + properties: 64 + compatible: 65 + contains: 66 + enum: 67 + - qcom,msm8974-ocmem 68 + then: 69 + properties: 70 + clocks: 71 + minItems: 2 72 + clock-names: 73 + minItems: 2 74 + else: 75 + properties: 76 + clocks: 77 + minItems: 1 78 + clock-names: 79 + minItems: 1 64 80 65 81 patternProperties: 66 82 "-sram@[0-9a-f]+$":