]>
git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - include/linux/platform_data/asoc-ti-mcbsp.h
cc81977600153e9214dbeea2bc7bfbf2e22c50e7
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Defines for Multi-Channel Buffered Serial Port
5 * Copyright (C) 2002 RidgeRun, Inc.
6 * Author: Steve Johnson
8 #ifndef __ASOC_TI_MCBSP_H
9 #define __ASOC_TI_MCBSP_H
11 #include <linux/spinlock.h>
12 #include <linux/clk.h>
14 /* Platform specific configuration */
15 struct omap_mcbsp_ops
{
16 void (*request
)(unsigned int);
17 void (*free
)(unsigned int);
20 struct omap_mcbsp_platform_data
{
21 struct omap_mcbsp_ops
*ops
;
26 /* McBSP platform and instance specific features */
27 bool has_wakeup
; /* Wakeup capability */
28 bool has_ccr
; /* Transceiver has configuration control registers */
29 int (*force_ick_on
)(struct clk
*clk
, bool force_on
);
32 void omap3_mcbsp_init_pdata_callback(struct omap_mcbsp_platform_data
*pdata
);