Skip to content

Commit 7ece8b3

Browse files
committed
dt-bindings: samsung: exynos-usi: Restrict possible samsung,mode values
"samsung,mode" property defines the desired mode of the serial engine (e.g. I2C or SPI) and only few values are allowed/used by Linux driver. Cc: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com> Reviewed-by: Tudor Ambarus <tudor.ambarus@linaro.org> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org> Acked-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/r/20250103082549.19419-1-krzysztof.kozlowski@linaro.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
1 parent 40384c8 commit 7ece8b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Documentation/devicetree/bindings/soc/samsung/exynos-usi.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ properties:
6464

6565
samsung,mode:
6666
$ref: /schemas/types.yaml#/definitions/uint32
67+
enum: [0, 1, 2, 3]
6768
description:
6869
Selects USI function (which serial protocol to use). Refer to
6970
<include/dt-bindings/soc/samsung,exynos-usi.h> for valid USI mode values.

0 commit comments

Comments
 (0)