19c8421e2SJonathan Cameron# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 29c8421e2SJonathan Cameron%YAML 1.2 39c8421e2SJonathan Cameron--- 49c8421e2SJonathan Cameron$id: http://devicetree.org/schemas/i2c/i2c-gate.yaml# 59c8421e2SJonathan Cameron$schema: http://devicetree.org/meta-schemas/core.yaml# 69c8421e2SJonathan Cameron 79c8421e2SJonathan Camerontitle: Common i2c gate properties 89c8421e2SJonathan Cameron 99c8421e2SJonathan Cameronmaintainers: 109c8421e2SJonathan Cameron - Peter Rosin <peda@axentia.se> 119c8421e2SJonathan Cameron 129c8421e2SJonathan Camerondescription: | 139c8421e2SJonathan Cameron An i2c gate is useful to e.g. reduce the digital noise for RF tuners connected 149c8421e2SJonathan Cameron to the i2c bus. Gates are similar to arbitrators in that you need to perform 159c8421e2SJonathan Cameron some kind of operation to access the i2c bus past the arbitrator/gate, but 169c8421e2SJonathan Cameron there are no competing masters to consider for gates and therefore there is 179c8421e2SJonathan Cameron no arbitration happening for gates. 189c8421e2SJonathan Cameron 199c8421e2SJonathan CameronallOf: 209c8421e2SJonathan Cameron - $ref: /schemas/i2c/i2c-controller.yaml 219c8421e2SJonathan Cameron 229c8421e2SJonathan Cameronproperties: 239c8421e2SJonathan Cameron $nodename: 249c8421e2SJonathan Cameron const: i2c-gate 259c8421e2SJonathan Cameron 269c8421e2SJonathan CameronadditionalProperties: true 279c8421e2SJonathan Cameron 289c8421e2SJonathan Cameronexamples: 299c8421e2SJonathan Cameron - | 309c8421e2SJonathan Cameron i2c-gate { 319c8421e2SJonathan Cameron #address-cells = <1>; 329c8421e2SJonathan Cameron #size-cells = <0>; 339c8421e2SJonathan Cameron ak8975@c { 34*a3ebdcc8SThierry Reding compatible = "asahi-kasei,ak8975"; 359c8421e2SJonathan Cameron reg = <0x0c>; 369c8421e2SJonathan Cameron }; 379c8421e2SJonathan Cameron }; 389c8421e2SJonathan Cameron... 39