0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/i2c/i2c-gate.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Common i2c gate properties
0008
0009 maintainers:
0010 - Peter Rosin <peda@axentia.se>
0011
0012 description: |
0013 An i2c gate is useful to e.g. reduce the digital noise for RF tuners connected
0014 to the i2c bus. Gates are similar to arbitrators in that you need to perform
0015 some kind of operation to access the i2c bus past the arbitrator/gate, but
0016 there are no competing masters to consider for gates and therefore there is
0017 no arbitration happening for gates.
0018
0019 allOf:
0020 - $ref: /schemas/i2c/i2c-controller.yaml
0021
0022 properties:
0023 $nodename:
0024 const: i2c-gate
0025
0026 additionalProperties: true
0027
0028 examples:
0029 - |
0030 i2c-gate {
0031 #address-cells = <1>;
0032 #size-cells = <0>;
0033 ak8975@c {
0034 compatible = "asahi-kasei,ak8975";
0035 reg = <0x0c>;
0036 };
0037 };
0038 ...