| From 06532aea26957e2eab0c92cb1c79033b046f0bca Mon Sep 17 00:00:00 2001 |
| From: Bhanu Prakash Maiya <bhanumaiya@chromium.org> |
| Date: Thu, 25 Jun 2020 14:34:02 -0700 |
| Subject: [PATCH] FROMLIST: dt-bindings: mfd: Add DT compatible string |
| "google,cros_ec_uart" |
| |
| Add DT compatible string in |
| Documentation/devicetree/bindings/mfd/cros_ec.txt |
| |
| Signed-off-by: Bhanu Prakash Maiya <bhanumaiya@google.com> |
| (am from https://lore.kernel.org/patchwork/patch/1263985/) |
| (also found at https://lore.kernel.org/r/20200625131432.2.Icfeab15fa04daaffc61280faf5a75cd9b23ee822@changeid) |
| |
| BUG=b:147853944 |
| TEST=None |
| |
| Change-Id: If302d81234618bc4afcdb06f39a5bbda327a153e |
| Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/2265814 |
| Reviewed-by: Sean Paul <seanpaul@chromium.org> |
| Reviewed-by: Raul E Rangel <rrangel@chromium.org> |
| Tested-by: Bhanu Prakash Maiya <bhanumaiya@chromium.org> |
| Commit-Queue: Bhanu Prakash Maiya <bhanumaiya@chromium.org> |
| Auto-Submit: Bhanu Prakash Maiya <bhanumaiya@chromium.org> |
| [rebase510(groeck): Converted to yaml format] |
| Signed-off-by: Guenter Roeck <groeck@chromium.org> |
| --- |
| .../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 3d5efa5578d1b19ca4e6b514ed77b884ca6c735f..2519c5a7dde451584061ab5f106aef6c45fd59a3 100644 |
| --- a/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml |
| +++ b/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml |
| @@ -33,6 +33,9 @@ properties: |
| - description: |
| For implementations of the EC 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: true |
| |
| @@ -299,4 +302,12 @@ examples: |
| vdd-supply = <&pp3300_fp_mcu>; |
| }; |
| }; |
| + |
| + # Example for UART |
| + - | |
| + uart0 { |
| + cros-ec { |
| + compatible = "google,cros-ec-uart"; |
| + }; |
| + }; |
| ... |
| -- |
| 2.39.0.314.g84b9a713c41-goog |
| |