[PATCH v5 09/20] dt-bindings: serial: samsung: Make samsung,uart-fifosize required property
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Sun Dec 3 07:10:59 PST 2023
On 01/12/2023 17:09, Peter Griffin wrote:
> Specifying samsung,uart-fifosize in both DT and driver static data is error
> prone and relies on driver probe order and dt aliases to be correct.
>
> Additionally on many Exynos platforms these are (USI) universal serial
> interfaces which can be uart, spi or i2c, so it can change per board.
>
> For google,gs101-uart and exynosautov9-uart make samsung,uart-fifosize a
> required property. For these platforms fifosize now *only* comes from DT.
I don't see ExynosAutov9 compatible in your patch.
>
> It is hoped other Exynos platforms will also switch over time.
>
> Signed-off-by: Peter Griffin <peter.griffin at linaro.org>
> ---
> .../devicetree/bindings/serial/samsung_uart.yaml | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/serial/samsung_uart.yaml b/Documentation/devicetree/bindings/serial/samsung_uart.yaml
> index ccc3626779d9..65d5d361e8f4 100644
> --- a/Documentation/devicetree/bindings/serial/samsung_uart.yaml
> +++ b/Documentation/devicetree/bindings/serial/samsung_uart.yaml
> @@ -133,6 +133,16 @@ allOf:
> - const: uart
> - const: clk_uart_baud0
>
> + - if:
> + properties:
> + compatible:
> + contains:
> + enum:
> + - google,gs101-uart
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list