devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v8 2/3] dt-bindings: mfd: Add compatible string for UART support
       [not found] <20221130131245.v8.1.If7926fcbad397bc6990dd725690229bed403948c@changeid>
@ 2022-11-30 20:12 ` Mark Hasemeyer
  2022-12-01  5:38   ` Tzung-Bi Shih
  2022-12-01 19:42   ` Rob Herring
  0 siblings, 2 replies; 3+ messages in thread
From: Mark Hasemeyer @ 2022-11-30 20:12 UTC (permalink / raw)
  To: LKML
  Cc: Raul Rangel, Mark Hasemeyer, Bhanu Prakash Maiya,
	Krzysztof Kozlowski, Benson Leung, Guenter Roeck,
	Krzysztof Kozlowski, Lee Jones, Rob Herring, chrome-platform,
	devicetree

Add a compatible string to support the UART implementation of the cros
ec interface.

Signed-off-by: Bhanu Prakash Maiya <bhanumaiya@chromium.org>
Signed-off-by: Mark Hasemeyer <markhas@chromium.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---

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 {
+        cros-ec {
+            compatible = "google,cros-ec-uart";
+        };
+    };
 ...
-- 
2.38.1.584.g0f3c55d4c2-goog


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v8 2/3] dt-bindings: mfd: Add compatible string for UART support
  2022-11-30 20:12 ` [PATCH v8 2/3] dt-bindings: mfd: Add compatible string for UART support Mark Hasemeyer
@ 2022-12-01  5:38   ` Tzung-Bi Shih
  2022-12-01 19:42   ` Rob Herring
  1 sibling, 0 replies; 3+ messages in thread
From: Tzung-Bi Shih @ 2022-12-01  5:38 UTC (permalink / raw)
  To: Mark Hasemeyer
  Cc: LKML, Raul Rangel, Bhanu Prakash Maiya, Krzysztof Kozlowski,
	Benson Leung, Guenter Roeck, Krzysztof Kozlowski, Lee Jones,
	Rob Herring, chrome-platform, devicetree

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.

$ git am ...
...
Applying: dt-bindings: mfd: Add compatible string for UART support
error: patch failed: Documentation/devicetree/bindings/mfd/google,cros-ec.yaml:28
error: Documentation/devicetree/bindings/mfd/google,cros-ec.yaml: patch does not apply
Patch failed at 0002 dt-bindings: mfd: Add compatible string for UART support

Please use either for-next branch or linux-next as base.  There are DT binding
changes in the queue for 6.2.
- 7a2f36828c7b ("dt-bindings: cros-ec: Reorganize and enforce property
		 availability")
- e068bc0b01cf ("dt-bindings: cros-ec: Add ChromeOS fingerprint binding")

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v8 2/3] dt-bindings: mfd: Add compatible string for UART support
  2022-11-30 20:12 ` [PATCH v8 2/3] dt-bindings: mfd: Add compatible string for UART support Mark Hasemeyer
  2022-12-01  5:38   ` Tzung-Bi Shih
@ 2022-12-01 19:42   ` Rob Herring
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2022-12-01 19:42 UTC (permalink / raw)
  To: Mark Hasemeyer
  Cc: LKML, Raul Rangel, Bhanu Prakash Maiya, Krzysztof Kozlowski,
	Benson Leung, Guenter Roeck, Krzysztof Kozlowski, Lee Jones,
	chrome-platform, devicetree

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@chromium.org>
> Signed-off-by: Mark Hasemeyer <markhas@chromium.org>
> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
> 
> 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
> 
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-12-01 19:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20221130131245.v8.1.If7926fcbad397bc6990dd725690229bed403948c@changeid>
2022-11-30 20:12 ` [PATCH v8 2/3] dt-bindings: mfd: Add compatible string for UART support Mark Hasemeyer
2022-12-01  5:38   ` Tzung-Bi Shih
2022-12-01 19:42   ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).