~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml (Version linux-5.11.22)


  1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C      1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4                                                     4 
  5 $id: http://devicetree.org/schemas/i2c/google,      5 $id: http://devicetree.org/schemas/i2c/google,cros-ec-i2c-tunnel.yaml#
  6 $schema: http://devicetree.org/meta-schemas/co      6 $schema: http://devicetree.org/meta-schemas/core.yaml#
  7                                                     7 
  8 title: I2C bus that tunnels through the Chrome      8 title: I2C bus that tunnels through the ChromeOS EC (cros-ec)
  9                                                     9 
 10 maintainers:                                       10 maintainers:
 11   - Doug Anderson <dianders@chromium.org>           11   - Doug Anderson <dianders@chromium.org>
 12   - Benson Leung <bleung@chromium.org>              12   - Benson Leung <bleung@chromium.org>
                                                   >>  13   - Enric Balletbo i Serra <enric.balletbo@collabora.com>
 13                                                    14 
 14 description: |                                     15 description: |
 15   On some ChromeOS board designs we've got a c     16   On some ChromeOS board designs we've got a connection to the EC
 16   (embedded controller) but no direct connecti     17   (embedded controller) but no direct connection to some devices on the
 17   other side of the EC (like a battery and PMI     18   other side of the EC (like a battery and PMIC).  To get access to
 18   those devices we need to tunnel our i2c comm     19   those devices we need to tunnel our i2c commands through the EC.
 19                                                    20 
 20   The node for this device should be under a c     21   The node for this device should be under a cros-ec node like
 21   google,cros-ec-spi or google,cros-ec-i2c.        22   google,cros-ec-spi or google,cros-ec-i2c.
 22                                                    23 
 23 allOf:                                             24 allOf:
 24   - $ref: /schemas/i2c/i2c-controller.yaml#    !!  25   - $ref: i2c-controller.yaml#
 25                                                    26 
 26 properties:                                        27 properties:
 27   compatible:                                      28   compatible:
 28     const: google,cros-ec-i2c-tunnel               29     const: google,cros-ec-i2c-tunnel
 29                                                    30 
 30   google,remote-bus:                               31   google,remote-bus:
 31     description: The EC bus we'd like to talk      32     description: The EC bus we'd like to talk to.
 32     $ref: /schemas/types.yaml#/definitions/uin     33     $ref: /schemas/types.yaml#/definitions/uint32
 33                                                    34 
 34 required:                                          35 required:
 35   - compatible                                     36   - compatible
 36   - google,remote-bus                              37   - google,remote-bus
 37                                                    38 
 38 unevaluatedProperties: false                       39 unevaluatedProperties: false
 39                                                    40 
 40 examples:                                          41 examples:
 41   - |                                              42   - |
 42     spi {                                      !!  43     spi0 {
 43         #address-cells = <1>;                      44         #address-cells = <1>;
 44         #size-cells = <0>;                         45         #size-cells = <0>;
 45                                                    46 
 46         cros-ec@0 {                                47         cros-ec@0 {
 47             compatible = "google,cros-ec-spi";     48             compatible = "google,cros-ec-spi";
 48             reg = <0>;                             49             reg = <0>;
 49             spi-max-frequency = <5000000>;         50             spi-max-frequency = <5000000>;
 50             interrupts = <99 0>;               << 
 51                                                    51 
 52             i2c-tunnel {                           52             i2c-tunnel {
 53                 compatible = "google,cros-ec-i     53                 compatible = "google,cros-ec-i2c-tunnel";
 54                 #address-cells = <1>;              54                 #address-cells = <1>;
 55                 #size-cells = <0>;                 55                 #size-cells = <0>;
 56                                                    56 
 57                 google,remote-bus = <0>;           57                 google,remote-bus = <0>;
 58                                                    58 
 59                 battery: sbs-battery@b {           59                 battery: sbs-battery@b {
 60                     compatible = "sbs,sbs-batt     60                     compatible = "sbs,sbs-battery";
 61                     reg = <0xb>;                   61                     reg = <0xb>;
 62                     sbs,poll-retry-count = <1>     62                     sbs,poll-retry-count = <1>;
 63                 };                                 63                 };
 64             };                                     64             };
 65         };                                         65         };
 66     };                                             66     };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php