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 <[email protected]> Reviewed-by: Tudor Ambarus <[email protected]> Reviewed-by: Sam Protsenko <[email protected]> Acked-by: Rob Herring (Arm) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
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)