1
0
mirror of https://github.com/physwizz/a155-U-u1.git synced 2025-09-26 19:04:54 +00:00
Files
physwizz 99537be4e2 first
2024-03-11 06:53:12 +11:00

26 lines
797 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2021 MediaTek Inc.
* Author: Ping-Hsun Wu <ping-hsun.wu@mediatek.com>
*/
#ifndef __MTK_MML_SYS_H__
#define __MTK_MML_SYS_H__
#include <linux/platform_device.h>
#include <linux/component.h>
u16 mml_sys_get_reg_ready_sel(struct mml_comp *comp);
struct mml_sys *mml_sys_create(struct platform_device *pdev,
const struct component_ops *comp_ops);
void mml_sys_destroy(struct platform_device *pdev, struct mml_sys *sys,
const struct component_ops *comp_ops);
int mml_sys_bind(struct device *dev, struct device *master,
struct mml_sys *sys, void *data);
void mml_sys_unbind(struct device *dev, struct device *master,
struct mml_sys *sys, void *data);
extern const struct of_device_id mtk_mml_of_ids[];
#endif /* __MTK_MML_SYS_H__ */