From: Krzysztof Kozlowski Date: Fri, 3 Jan 2025 08:25:49 +0000 (+0100) Subject: dt-bindings: samsung: exynos-usi: Restrict possible samsung,mode values X-Git-Tag: v6.14-rc1~102^2~2^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7ece8b3ca3a6424b220e2a83bd4d625bf5bcb8c8;p=thirdparty%2Flinux.git 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 Reviewed-by: Tudor Ambarus Reviewed-by: Sam Protsenko Acked-by: Rob Herring (Arm) Link: https://lore.kernel.org/r/20250103082549.19419-1-krzysztof.kozlowski@linaro.org Signed-off-by: Krzysztof Kozlowski --- diff --git a/Documentation/devicetree/bindings/soc/samsung/exynos-usi.yaml b/Documentation/devicetree/bindings/soc/samsung/exynos-usi.yaml index f80fcbc3128bf..5b046932fbc3f 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 for valid USI mode values.