Home
last modified time | relevance | path

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

/Linux-v5.10/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-v5.10/drivers/usb/typec/tcpm/
Dtcpci_mt6360.c1 // SPDX-License-Identifier: GPL-2.0-only
56 struct regmap *regmap = tdata->regmap; in mt6360_tcpc_init()
117 return tcpci_irq(mti->tcpci); in mt6360_irq()
125 mti = devm_kzalloc(&pdev->dev, sizeof(*mti), GFP_KERNEL); in mt6360_tcpc_probe()
127 return -ENOMEM; in mt6360_tcpc_probe()
129 mti->dev = &pdev->dev; in mt6360_tcpc_probe()
131 mti->tdata.regmap = dev_get_regmap(pdev->dev.parent, NULL); in mt6360_tcpc_probe()
132 if (!mti->tdata.regmap) { in mt6360_tcpc_probe()
133 dev_err(&pdev->dev, "Failed to get parent regmap\n"); in mt6360_tcpc_probe()
134 return -ENODEV; in mt6360_tcpc_probe()
[all …]