linux/drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_pdphy_stub.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) 2024, Linaro Ltd. All rights reserved.
 */

#include <linux/err.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <linux/regulator/consumer.h>
#include <linux/slab.h>
#include <linux/usb/pd.h>
#include <linux/usb/tcpm.h>
#include "qcom_pmic_typec.h"
#include "qcom_pmic_typec_pdphy.h"

static int qcom_pmic_typec_pdphy_stub_pd_transmit(struct tcpc_dev *tcpc,
						  enum tcpm_transmit_type type,
						  const struct pd_message *msg,
						  unsigned int negotiated_rev)
{}

static int qcom_pmic_typec_pdphy_stub_set_pd_rx(struct tcpc_dev *tcpc, bool on)
{}

static int qcom_pmic_typec_pdphy_stub_set_roles(struct tcpc_dev *tcpc, bool attached,
						enum typec_role power_role,
						enum typec_data_role data_role)
{}

static int qcom_pmic_typec_pdphy_stub_start(struct pmic_typec *tcpm,
					    struct tcpm_port *tcpm_port)
{}

static void qcom_pmic_typec_pdphy_stub_stop(struct pmic_typec *tcpm)
{}

int qcom_pmic_typec_pdphy_stub_probe(struct platform_device *pdev,
				     struct pmic_typec *tcpm)
{}