Re: [PATCH v8 2/3] dt-bindings: mfd: Add compatible string for UART support

From: Rob Herring
Date: Thu Dec 01 2022 - 14:42:08 EST


On Wed, Nov 30, 2022 at 01:12:55PM -0700, Mark Hasemeyer wrote:
> Add a compatible string to support the UART implementation of the cros
> ec interface.
>
> Signed-off-by: Bhanu Prakash Maiya <bhanumaiya@xxxxxxxxxxxx>
> Signed-off-by: Mark Hasemeyer <markhas@xxxxxxxxxxxx>
> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
> ---
>
> Changes in v8:
> - Update commit message
>
> Changes in v7:
> - No change
>
> Changes in v6:
> - No change
>
> Changes in v5:
> - No change
>
> Changes in v4:
> - Changes in commit message.
>
> Changes in v3:
> - Rebased changes on google,cros-ec.yaml
>
> Changes in v2:
> - No change
>
> ---
> .../devicetree/bindings/mfd/google,cros-ec.yaml | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml b/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml
> index 04962bb29576e..26787e4574b8d 100644
> --- a/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml
> +++ b/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml
> @@ -28,6 +28,9 @@ properties:
> - description:
> For implementations of the EC is connected through RPMSG.
> const: google,cros-ec-rpmsg
> + - description:
> + For implementations of the EC is connected through UART.
> + const: google,cros-ec-uart
>
> controller-data:
> description:
> @@ -222,4 +225,12 @@ examples:
> compatible = "google,cros-ec-rpmsg";
> };
> };
> +
> + # Example for UART
> + - |
> + uart0 {

serial {

> + cros-ec {
> + compatible = "google,cros-ec-uart";
> + };
> + };
> ...
> --
> 2.38.1.584.g0f3c55d4c2-goog
>
>