Samsung SoC drivers changes for v5.19

Make MCT and USI bindings stricter by describing expected interrupts
 per variant and expected child node.
 -----BEGIN PGP SIGNATURE-----
 
 iQJEBAABCgAuFiEE3dJiKD0RGyM7briowTdm5oaLg9cFAmJ01WUQHGtyemtAa2Vy
 bmVsLm9yZwAKCRDBN2bmhouD15eAD/sERV5waNgOo98G4iajV+VQgmX1PqQTMC4x
 V8sePgSwaheVN21jF+p63ClbKKKLAVZF0xtGNZYWKYwgENwR+X9bR27y0rAQBmjp
 5GLeW6p9UUke9oP++fZa+ZwUJ+1CGvgxPfCuEtSYmPw/oFyt33IQytMIJkvl9RwN
 KXkGP1uI3SO6AAT1YLqWnFS6+OPnXC3Gk0KgjOA+O7EdhUGiPcxnDBE3KVAC9POt
 i/5kOJuR21fYyWfaKQb7F2bgoTOHML/ko96mxvx3HHis+VOLv0sGzUMdOT5N/QcW
 0wkhHCu4LTSaOQ5FN9AvgKncCEoAJ33NERZhe3hWcyxwewCHRnqAijLTbPgulQEB
 6Nw7S6yTFQ3HfZL1ueSSzMXpm7PK/0RO110ZUmQisDaMmsLDFn5uvOdBwxbQkLak
 s1oIES1h/PtW7murG2bz4JTSt3MFUsGmunHfV6aEwMIWhRj7WlaAouIyjBhjW6tv
 Gn1E30DR/bfkbBoCe1Rki6Kk67paXJE8OxnGRzVuZFe2NBcPLqd6CL8u0kLzRF8g
 HZwqSS42OaTk1HE/u78jouiqip1d47F2kTpGsUxW7GAKm9iiR95jg7MoxHcANIx9
 pxWumfGXlAcTj09nO4chUI5HpqDvZ4NeA/euvhoFGfvjvfJOJB0rvaPRzcwwxvWe
 IwcqLhtNCQ==
 =V5Jq
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmJ1fw8ACgkQmmx57+YA
 GNlE/hAAw18ki3ffM48HU7FIVbZpijnBpISbItS+AzlO3J3+pLBcQSLVJtWjFhdi
 jTGuAeCh7RlnJTTTC9+q8qstcKrgtY2oxAEFfEl10dpRcHYBo/xbKKgQRV82RERS
 SeqSWNca2cQwngq7BHYLYZXz4cutlz7VIFCHj5nzP+FVdcU0+7m5JQ5dqhHPdKYd
 hd+QL3C27ltPd10SMBKDXAxD0Z9AyilRpszRayhBOsTsw1KBYd5/tjqP805Q1GG3
 wn5CcmFoGCs2CuY6/5aZIIG5czYgG/M9utiTJg5P6n5svm3ymlx0UPih+Jvou/Ep
 e3x7HswNWqaO0szncOEckyKfxb9rAZEENdyUOxgaam+ux3AbOFl4NnGijC8oqIew
 ZQvV2ySTrpPip3svhstQI6Gyl0qNVBf/b1uV+jf58Tu0oOp53q4PU9GyrnPLHgQd
 MOYv4fuamGLqgbDkn12P0hhWWQAGGkFNcVm7J6WIxdMN3oVHdAYQ6Cq20wXPfi2r
 2TCjtTQ2gkTdu6oike0EngtJtesS5B+1jHFAHRpX0nES9aMMoJi7uCatj+w/sdhr
 zukhBGFNgI1Wzov+lwgQEx1Xse0W4PJJH3oQbgBHR8PNH4WKB43b4Q5X+RPcyoAW
 Uy0tvtbX9yJpz1q9n9B6QkeyQhhduVEG274eM3S/WzE6hVFJm0o=
 =B5RZ
 -----END PGP SIGNATURE-----

Merge tag 'samsung-drivers-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into arm/drivers

Samsung SoC drivers changes for v5.19

Make MCT and USI bindings stricter by describing expected interrupts
per variant and expected child node.

* tag 'samsung-drivers-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  dt-bindings: timer: exynos4210-mct: describe known hardware and its interrupts
  dt-bindings: soc: samsung: usi: refer to dtschema for SPI

Link: https://lore.kernel.org/r/20220506081438.149192-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Arnd Bergmann 2022-05-06 22:03:26 +02:00
commit 7a3c3a650b
2 changed files with 65 additions and 4 deletions

View File

@ -77,7 +77,7 @@ patternProperties:
description: Child node describing underlying UART/serial
"^spi@[0-9a-f]+$":
type: object
$ref: /schemas/spi/samsung,spi.yaml
description: Child node describing underlying SPI
required:

View File

@ -19,9 +19,20 @@ description: |+
properties:
compatible:
enum:
- samsung,exynos4210-mct
- samsung,exynos4412-mct
oneOf:
- enum:
- samsung,exynos4210-mct
- samsung,exynos4412-mct
- items:
- enum:
- samsung,exynos3250-mct
- samsung,exynos5250-mct
- samsung,exynos5260-mct
- samsung,exynos5420-mct
- samsung,exynos5433-mct
- samsung,exynos850-mct
- tesla,fsd-mct
- const: samsung,exynos4210-mct
clocks:
minItems: 2
@ -63,6 +74,56 @@ required:
- interrupts
- reg
allOf:
- if:
properties:
compatible:
contains:
const: samsung,exynos3250-mct
then:
properties:
interrupts:
minItems: 8
maxItems: 8
- if:
properties:
compatible:
contains:
const: samsung,exynos5250-mct
then:
properties:
interrupts:
minItems: 6
maxItems: 6
- if:
properties:
compatible:
contains:
enum:
- samsung,exynos5260-mct
- samsung,exynos5420-mct
- samsung,exynos5433-mct
- samsung,exynos850-mct
then:
properties:
interrupts:
minItems: 12
maxItems: 12
- if:
properties:
compatible:
contains:
enum:
- tesla,fsd-mct
then:
properties:
interrupts:
minItems: 16
maxItems: 16
additionalProperties: false
examples: