#include <linux/err.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_graph.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/regulator/consumer.h>
#include <linux/slab.h>
#include <linux/usb/role.h>
#include <linux/usb/tcpm.h>
#include <linux/usb/typec_mux.h>
#include <drm/bridge/aux-bridge.h>
#include "qcom_pmic_typec.h"
#include "qcom_pmic_typec_pdphy.h"
#include "qcom_pmic_typec_port.h"
struct pmic_typec_resources { … };
static int qcom_pmic_typec_init(struct tcpc_dev *tcpc)
{ … }
static int qcom_pmic_typec_probe(struct platform_device *pdev)
{ … }
static void qcom_pmic_typec_remove(struct platform_device *pdev)
{ … }
static const struct pmic_typec_resources pm8150b_typec_res = …;
static const struct pmic_typec_resources pmi632_typec_res = …;
static const struct of_device_id qcom_pmic_typec_table[] = …;
MODULE_DEVICE_TABLE(of, qcom_pmic_typec_table);
static struct platform_driver qcom_pmic_typec_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;