Thread (51 messages) 51 messages, 6 authors, 2024-02-15

Re: [PATCH 01/22] dt-bindings: gpio: Add binding for ChromeOS EC GPIO controller

From: Stephen Boyd <hidden>
Date: 2024-02-15 00:44:55
Also in: chrome-platform, linux-arm-msm, linux-devicetree, linux-gpio, linux-patches, lkml

Quoting Krzysztof Kozlowski (2024-02-11 05:26:33)
On 10/02/2024 08:09, Stephen Boyd wrote:
quoted
The ChromeOS embedded controller (EC) supports setting the state of
GPIOs when the system is unlocked, and getting the state of GPIOs in all
cases. The GPIOs are on the EC itself, so the EC acts similar to a GPIO
expander. Add a binding to describe these GPIOs in DT so that other
devices described in DT can read the GPIOs on the EC.
...
quoted
+
+additionalProperties: false
+
+examples:
+  - |
+    spi {
+      #address-cells = <1>;
+      #size-cells = <0>;
+
+      cros-ec@0 {
+        compatible = "google,cros-ec-spi";
+        reg = <0>;
+        interrupts = <101 0>;
This is should be proper define but then are you sure interrupt is type
NONE? Does not look right.
I copied this from cros-ec-typec.yaml so I'll have to fix them all!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help