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

dt-bindings: crypto: rockchip: add new compatible

Since driver support new compatible, we need to update the driver bindings.

Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Corentin Labbe and committed by
Herbert Xu
d1b57496 81aaf680

+71 -8
+71 -8
Documentation/devicetree/bindings/crypto/rockchip,rk3288-crypto.yaml
··· 13 13 compatible: 14 14 enum: 15 15 - rockchip,rk3288-crypto 16 + - rockchip,rk3328-crypto 17 + - rockchip,rk3399-crypto 16 18 17 19 reg: 18 20 maxItems: 1 ··· 23 21 maxItems: 1 24 22 25 23 clocks: 24 + minItems: 3 26 25 maxItems: 4 27 26 28 27 clock-names: 29 - items: 30 - - const: aclk 31 - - const: hclk 32 - - const: sclk 33 - - const: apb_pclk 28 + minItems: 3 29 + maxItems: 4 34 30 35 31 resets: 36 - maxItems: 1 32 + minItems: 1 33 + maxItems: 3 37 34 38 35 reset-names: 39 - items: 40 - - const: crypto-rst 36 + minItems: 1 37 + maxItems: 3 38 + 39 + allOf: 40 + - if: 41 + properties: 42 + compatible: 43 + contains: 44 + const: rockchip,rk3288-crypto 45 + then: 46 + properties: 47 + clocks: 48 + minItems: 4 49 + clock-names: 50 + items: 51 + - const: aclk 52 + - const: hclk 53 + - const: sclk 54 + - const: apb_pclk 55 + resets: 56 + maxItems: 1 57 + reset-names: 58 + items: 59 + - const: crypto-rst 60 + - if: 61 + properties: 62 + compatible: 63 + contains: 64 + const: rockchip,rk3328-crypto 65 + then: 66 + properties: 67 + clocks: 68 + maxItems: 3 69 + clock-names: 70 + items: 71 + - const: hclk_master 72 + - const: hclk_slave 73 + - const: sclk 74 + resets: 75 + maxItems: 1 76 + reset-names: 77 + items: 78 + - const: crypto-rst 79 + - if: 80 + properties: 81 + compatible: 82 + contains: 83 + const: rockchip,rk3399-crypto 84 + then: 85 + properties: 86 + clocks: 87 + maxItems: 3 88 + clock-names: 89 + items: 90 + - const: hclk_master 91 + - const: hclk_slave 92 + - const: sclk 93 + resets: 94 + minItems: 3 95 + reset-names: 96 + items: 97 + - const: master 98 + - const: slave 99 + - const: crypto-rst 41 100 42 101 required: 43 102 - compatible