aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2025-01-03 09:25:49 +0100
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2025-01-05 10:20:01 +0100
commit7ece8b3ca3a6424b220e2a83bd4d625bf5bcb8c8 (patch)
treebe511f7f1f7a57b6258e75f7989f3ad0c9dcc477
parentLinux 6.13-rc1 (diff)
downloadwireguard-linux-7ece8b3ca3a6424b220e2a83bd4d625bf5bcb8c8.tar.xz
wireguard-linux-7ece8b3ca3a6424b220e2a83bd4d625bf5bcb8c8.zip
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>
Diffstat (limited to '')
-rw-r--r--Documentation/devicetree/bindings/soc/samsung/exynos-usi.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/soc/samsung/exynos-usi.yaml b/Documentation/devicetree/bindings/soc/samsung/exynos-usi.yaml
index f80fcbc3128b..5b046932fbc3 100644
--- a/Documentation/devicetree/bindings/soc/samsung/exynos-usi.yaml
+++ b/Documentation/devicetree/bindings/soc/samsung/exynos-usi.yaml
@@ -64,6 +64,7 @@ properties:
samsung,mode:
$ref: /schemas/types.yaml#/definitions/uint32
+ enum: [0, 1, 2, 3]
description:
Selects USI function (which serial protocol to use). Refer to
<include/dt-bindings/soc/samsung,exynos-usi.h> for valid USI mode values.