mb/google/brya: Create rull variant
[coreboot2.git] / src / drivers / i2c / tas5825m / tas5825m.h
blob33b8a4842d9c9cb9777c7fc97aab61dd057f9eaf
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef TAS5825M_H
4 #define TAS5825M_H
6 #include <device/device.h>
8 int tas5825m_write_at(struct device *dev, uint8_t addr, uint8_t value);
9 int tas5825m_write_block_at(struct device *dev, uint8_t addr,
10 const uint8_t *values, uint8_t length);
11 int tas5825m_set_page(struct device *dev, uint8_t page);
12 int tas5825m_set_book(struct device *dev, uint8_t book);
13 int tas5825m_setup(struct device *dev, int id);
15 #endif // TAS5825M_H