Home
last modified time | relevance | path

Searched +full:mt6360 +full:- +full:tcpc (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/usb/
Dmediatek,mt6360-tcpc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: "http://devicetree.org/schemas/usb/mediatek,mt6360-tcpc.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: Mediatek MT6360 Type-C Port Switch and Power Delivery controller DT bindings
10 - ChiYuan Huang <cy_huang@richtek.com>
13 Mediatek MT6360 is a multi-functional device. It integrates charger, ADC, flash, RGB indicators,
15 This document only describes MT6360 Type-C Port Switch and Power Delivery controller.
20 - mediatek,mt6360-tcpc
25 interrupt-names:
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/mfd/
Dmediatek,mt6360.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mfd/mediatek,mt6360.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MT6360 PMIC from MediaTek Integrated
10 - Gene Chen <gene_chen@richtek.com>
13 MT6360 is a PMIC device with the following sub modules.
20 const: mediatek,mt6360
25 wakeup-source: true
30 interrupt-names:
[all …]
/Linux-v6.1/drivers/usb/typec/tcpm/
Dtcpci_mt6360.c1 // SPDX-License-Identifier: GPL-2.0-only
60 struct regmap *regmap = tdata->regmap; in mt6360_tcpc_init()
142 return tcpci_irq(mti->tcpci); in mt6360_irq()
150 mti = devm_kzalloc(&pdev->dev, sizeof(*mti), GFP_KERNEL); in mt6360_tcpc_probe()
152 return -ENOMEM; in mt6360_tcpc_probe()
154 mti->dev = &pdev->dev; in mt6360_tcpc_probe()
156 mti->tdata.regmap = dev_get_regmap(pdev->dev.parent, NULL); in mt6360_tcpc_probe()
157 if (!mti->tdata.regmap) { in mt6360_tcpc_probe()
158 dev_err(&pdev->dev, "Failed to get parent regmap\n"); in mt6360_tcpc_probe()
159 return -ENODEV; in mt6360_tcpc_probe()
[all …]
/Linux-v6.1/drivers/mfd/
Dmt6360-core.c1 // SPDX-License-Identifier: GPL-2.0
78 /* reg 0 -> 0 ~ 7 */
83 /* REG 1 -> 8 ~ 15 */
90 /* REG 2 -> 16 ~ 23 */
91 /* REG 3 -> 24 ~ 31 */
98 /* REG 4 -> 32 ~ 39 */
106 /* REG 5 -> 40 ~ 47 */
115 /* REG 6 -> 48 ~ 55 */
123 /* REG 7 -> 56 ~ 63 */
132 /* REG 8 -> 64 ~ 71 */
[all …]