blob: 7cd3fc808c8ce809c03e8726b8616fc21e7e2c39 [file] [log] [blame]
Simon Glass6d823d02019-04-01 13:38:40 -07001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright 2018 Google LLC
4 * Written by Simon Glass <sjg@chromium.org>
5 */
6
7#ifndef __TEGRA_I2S_PRIV_H
8#define __TEGRA_I2S_PRIV_H
9
10enum {
11 /* Set i2s device (in buf) */
12 AHUB_MISCOP_SET_I2S,
13};
14
15/*
16 * tegra_i2s_set_cif_tx_ctrl() - Set the I2C port to send to
17 *
18 * The CIF is not really part of I2S -- it's for Audio Hub to control
19 * the interface between I2S and Audio Hub. However since it's put in
20 * the I2S registers domain instead of the Audio Hub, we need to export
21 * this as a function.
22 *
23 * @dev: I2S device
24 * @value: Value to write to CIF_TX_CTRL register
25 * @return 0
26 */
27int tegra_i2s_set_cif_tx_ctrl(struct udevice *dev, u32 value);
28
29#endif