Loading Documentation/devicetree/bindings/leds/leds-mt6360.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ maintainers: description: | This module is part of the MT6360 MFD device. see Documentation/devicetree/bindings/mfd/mt6360.yaml see Documentation/devicetree/bindings/mfd/mediatek,mt6360.yaml Add MT6360 LED driver include 2-channel Flash LED with torch/strobe mode, and 4-channel RGB LED support Register/Flash/Breath Mode Loading Documentation/devicetree/bindings/mfd/mediatek,mt6360.yaml 0 → 100644 +67 −0 Original line number Diff line number Diff line # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) %YAML 1.2 --- $id: http://devicetree.org/schemas/mfd/mediatek,mt6360.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: MT6360 PMIC from MediaTek Integrated maintainers: - Gene Chen <gene_chen@richtek.com> description: | MT6360 is a PMIC device with the following sub modules. It is interfaced to host controller using I2C interface. This document describes the binding for PMIC device and its sub module. properties: compatible: const: mediatek,mt6360 reg: maxItems: 1 wakeup-source: true interrupts: maxItems: 1 interrupt-names: const: IRQB interrupt-controller: true "#interrupt-cells": const: 1 description: The first cell is the IRQ number. required: - compatible - reg - interrupts - interrupt-controller - "#interrupt-cells" additionalProperties: type: object examples: - | #include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/regulator/mediatek,mt6360-regulator.h> i2c { #address-cells = <1>; #size-cells = <0>; pmic@34 { compatible = "mediatek,mt6360"; reg = <0x34>; wakeup-source; interrupts-extended = <&gpio26 0 IRQ_TYPE_LEVEL_LOW>; interrupt-names = "IRQB"; interrupt-controller; #interrupt-cells = <1>; }; }; Documentation/devicetree/bindings/usb/mediatek,mt6360-tcpc.yaml +5 −0 Original line number Diff line number Diff line Loading @@ -50,6 +50,11 @@ examples: mt6360@34 { compatible = "mediatek,mt6360"; reg = <0x34>; interrupts-extended = <&gpio26 0 IRQ_TYPE_LEVEL_LOW>; interrupt-names = "IRQB"; interrupt-controller; #interrupt-cells = <1>; tcpc { compatible = "mediatek,mt6360-tcpc"; interrupts-extended = <&gpio26 3 IRQ_TYPE_LEVEL_LOW>; Loading Loading
Documentation/devicetree/bindings/leds/leds-mt6360.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ maintainers: description: | This module is part of the MT6360 MFD device. see Documentation/devicetree/bindings/mfd/mt6360.yaml see Documentation/devicetree/bindings/mfd/mediatek,mt6360.yaml Add MT6360 LED driver include 2-channel Flash LED with torch/strobe mode, and 4-channel RGB LED support Register/Flash/Breath Mode Loading
Documentation/devicetree/bindings/mfd/mediatek,mt6360.yaml 0 → 100644 +67 −0 Original line number Diff line number Diff line # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) %YAML 1.2 --- $id: http://devicetree.org/schemas/mfd/mediatek,mt6360.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: MT6360 PMIC from MediaTek Integrated maintainers: - Gene Chen <gene_chen@richtek.com> description: | MT6360 is a PMIC device with the following sub modules. It is interfaced to host controller using I2C interface. This document describes the binding for PMIC device and its sub module. properties: compatible: const: mediatek,mt6360 reg: maxItems: 1 wakeup-source: true interrupts: maxItems: 1 interrupt-names: const: IRQB interrupt-controller: true "#interrupt-cells": const: 1 description: The first cell is the IRQ number. required: - compatible - reg - interrupts - interrupt-controller - "#interrupt-cells" additionalProperties: type: object examples: - | #include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/regulator/mediatek,mt6360-regulator.h> i2c { #address-cells = <1>; #size-cells = <0>; pmic@34 { compatible = "mediatek,mt6360"; reg = <0x34>; wakeup-source; interrupts-extended = <&gpio26 0 IRQ_TYPE_LEVEL_LOW>; interrupt-names = "IRQB"; interrupt-controller; #interrupt-cells = <1>; }; };
Documentation/devicetree/bindings/usb/mediatek,mt6360-tcpc.yaml +5 −0 Original line number Diff line number Diff line Loading @@ -50,6 +50,11 @@ examples: mt6360@34 { compatible = "mediatek,mt6360"; reg = <0x34>; interrupts-extended = <&gpio26 0 IRQ_TYPE_LEVEL_LOW>; interrupt-names = "IRQB"; interrupt-controller; #interrupt-cells = <1>; tcpc { compatible = "mediatek,mt6360-tcpc"; interrupts-extended = <&gpio26 3 IRQ_TYPE_LEVEL_LOW>; Loading