i2c-gate.yaml 956 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/i2c/i2c-gate.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Common i2c gate properties
  7. maintainers:
  8. - Peter Rosin <peda@axentia.se>
  9. description: |
  10. An i2c gate is useful to e.g. reduce the digital noise for RF tuners connected
  11. to the i2c bus. Gates are similar to arbitrators in that you need to perform
  12. some kind of operation to access the i2c bus past the arbitrator/gate, but
  13. there are no competing masters to consider for gates and therefore there is
  14. no arbitration happening for gates.
  15. allOf:
  16. - $ref: /schemas/i2c/i2c-controller.yaml
  17. properties:
  18. $nodename:
  19. const: i2c-gate
  20. additionalProperties: true
  21. examples:
  22. - |
  23. i2c-gate {
  24. #address-cells = <1>;
  25. #size-cells = <0>;
  26. ak8975@c {
  27. compatible = "asahi-kasei,ak8975";
  28. reg = <0x0c>;
  29. };
  30. };
  31. ...