tegra_i2s_priv.h 705 B

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