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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/i2c/i2c-mt65xx.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/i2c-mt65xx.yaml (Architecture sparc64) and /Documentation/devicetree/bindings/i2c/i2c-mt65xx.yaml (Architecture i386)


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS      1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/i2c/i2c-mt6      4 $id: http://devicetree.org/schemas/i2c/i2c-mt65xx.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: MediaTek I2C controller                      7 title: MediaTek I2C controller
  8                                                     8 
  9 description:                                        9 description:
 10   This driver interfaces with the native I2C c     10   This driver interfaces with the native I2C controller present in
 11   various MediaTek SoCs.                           11   various MediaTek SoCs.
 12                                                    12 
 13 allOf:                                             13 allOf:
 14   - $ref: /schemas/i2c/i2c-controller.yaml#        14   - $ref: /schemas/i2c/i2c-controller.yaml#
 15                                                    15 
 16 maintainers:                                       16 maintainers:
 17   - Qii Wang <qii.wang@mediatek.com>                17   - Qii Wang <qii.wang@mediatek.com>
 18                                                    18 
 19 properties:                                        19 properties:
 20   compatible:                                      20   compatible:
 21     oneOf:                                         21     oneOf:
 22       - const: mediatek,mt2712-i2c                 22       - const: mediatek,mt2712-i2c
 23       - const: mediatek,mt6577-i2c                 23       - const: mediatek,mt6577-i2c
 24       - const: mediatek,mt6589-i2c                 24       - const: mediatek,mt6589-i2c
 25       - const: mediatek,mt7622-i2c                 25       - const: mediatek,mt7622-i2c
 26       - const: mediatek,mt7981-i2c                 26       - const: mediatek,mt7981-i2c
 27       - const: mediatek,mt7986-i2c                 27       - const: mediatek,mt7986-i2c
 28       - const: mediatek,mt8168-i2c                 28       - const: mediatek,mt8168-i2c
 29       - const: mediatek,mt8173-i2c                 29       - const: mediatek,mt8173-i2c
 30       - const: mediatek,mt8183-i2c                 30       - const: mediatek,mt8183-i2c
 31       - const: mediatek,mt8186-i2c                 31       - const: mediatek,mt8186-i2c
 32       - const: mediatek,mt8188-i2c                 32       - const: mediatek,mt8188-i2c
 33       - const: mediatek,mt8192-i2c                 33       - const: mediatek,mt8192-i2c
 34       - items:                                     34       - items:
 35           - enum:                                  35           - enum:
 36               - mediatek,mt7629-i2c                36               - mediatek,mt7629-i2c
 37               - mediatek,mt8516-i2c                37               - mediatek,mt8516-i2c
 38           - const: mediatek,mt2712-i2c             38           - const: mediatek,mt2712-i2c
 39       - items:                                     39       - items:
 40           - enum:                                  40           - enum:
 41               - mediatek,mt2701-i2c                41               - mediatek,mt2701-i2c
 42               - mediatek,mt6797-i2c                42               - mediatek,mt6797-i2c
 43               - mediatek,mt7623-i2c                43               - mediatek,mt7623-i2c
 44           - const: mediatek,mt6577-i2c             44           - const: mediatek,mt6577-i2c
 45       - items:                                     45       - items:
 46           - enum:                                  46           - enum:
 47               - mediatek,mt8365-i2c                47               - mediatek,mt8365-i2c
 48           - const: mediatek,mt8168-i2c             48           - const: mediatek,mt8168-i2c
 49       - items:                                     49       - items:
 50           - enum:                                  50           - enum:
 51               - mediatek,mt6795-i2c                51               - mediatek,mt6795-i2c
 52           - const: mediatek,mt8173-i2c             52           - const: mediatek,mt8173-i2c
 53       - items:                                     53       - items:
 54           - enum:                                  54           - enum:
 55               - mediatek,mt8195-i2c                55               - mediatek,mt8195-i2c
 56           - const: mediatek,mt8192-i2c             56           - const: mediatek,mt8192-i2c
 57                                                    57 
 58   reg:                                             58   reg:
 59     items:                                         59     items:
 60       - description: Physical base address         60       - description: Physical base address
 61       - description: DMA base address              61       - description: DMA base address
 62                                                    62 
 63   interrupts:                                      63   interrupts:
 64     maxItems: 1                                    64     maxItems: 1
 65                                                    65 
 66   clocks:                                          66   clocks:
 67     minItems: 2                                    67     minItems: 2
 68     items:                                         68     items:
 69       - description: Main clock for I2C bus        69       - description: Main clock for I2C bus
 70       - description: Clock for I2C via DMA         70       - description: Clock for I2C via DMA
 71       - description: Bus arbitrator clock          71       - description: Bus arbitrator clock
 72       - description: Clock for I2C from PMIC       72       - description: Clock for I2C from PMIC
 73                                                    73 
 74   clock-names:                                     74   clock-names:
 75     minItems: 2                                    75     minItems: 2
 76     items:                                         76     items:
 77       - const: main                                77       - const: main
 78       - const: dma                                 78       - const: dma
 79       - const: arb                                 79       - const: arb
 80       - const: pmic                                80       - const: pmic
 81                                                    81 
 82   clock-div:                                       82   clock-div:
 83     $ref: /schemas/types.yaml#/definitions/uin     83     $ref: /schemas/types.yaml#/definitions/uint32
 84     description: Frequency divider of clock so     84     description: Frequency divider of clock source in I2C module
 85                                                    85 
 86   clock-frequency:                                 86   clock-frequency:
 87     default: 100000                                87     default: 100000
 88     description:                                   88     description:
 89       SCL frequency to use (in Hz). If omitted     89       SCL frequency to use (in Hz). If omitted, 100kHz is used.
 90                                                    90 
 91   mediatek,have-pmic:                              91   mediatek,have-pmic:
 92     description: Platform controls I2C from PM     92     description: Platform controls I2C from PMIC side
 93     type: boolean                                  93     type: boolean
 94                                                    94 
 95   mediatek,use-push-pull:                          95   mediatek,use-push-pull:
 96     description: Use push-pull mode I/O config     96     description: Use push-pull mode I/O config
 97     type: boolean                                  97     type: boolean
 98                                                    98 
 99   vbus-supply:                                     99   vbus-supply:
100     description: Phandle to the regulator prov    100     description: Phandle to the regulator providing power to SCL/SDA
101                                                   101 
102 required:                                         102 required:
103   - compatible                                    103   - compatible
104   - reg                                           104   - reg
105   - clocks                                        105   - clocks
106   - clock-names                                   106   - clock-names
107   - clock-div                                     107   - clock-div
108   - interrupts                                    108   - interrupts
109                                                   109 
110 unevaluatedProperties: false                      110 unevaluatedProperties: false
111                                                   111 
112 examples:                                         112 examples:
113   - |                                             113   - |
114     #include <dt-bindings/interrupt-controller    114     #include <dt-bindings/interrupt-controller/arm-gic.h>
115     #include <dt-bindings/interrupt-controller    115     #include <dt-bindings/interrupt-controller/irq.h>
116                                                   116 
117     i2c0: i2c@1100d000 {                          117     i2c0: i2c@1100d000 {
118       compatible = "mediatek,mt6577-i2c";         118       compatible = "mediatek,mt6577-i2c";
119       reg = <0x1100d000 0x70>, <0x11000300 0x8    119       reg = <0x1100d000 0x70>, <0x11000300 0x80>;
120       interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_    120       interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_LOW>;
121       clocks = <&i2c0_ck>, <&ap_dma_ck>;          121       clocks = <&i2c0_ck>, <&ap_dma_ck>;
122       clock-names = "main", "dma";                122       clock-names = "main", "dma";
123       clock-div = <16>;                           123       clock-div = <16>;
124       clock-frequency = <400000>;                 124       clock-frequency = <400000>;
125       mediatek,have-pmic;                         125       mediatek,have-pmic;
126                                                   126 
127       #address-cells = <1>;                       127       #address-cells = <1>;
128       #size-cells = <0>;                          128       #size-cells = <0>;
129     };                                            129     };
                                                      

~ [ 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