mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
![Mauro Carvalho Chehab](/assets/img/avatar_default.png)
Changeset6ced946a4b
("dt-bindings:iio:dac:microchip,mcp4725 yaml conversion") renamed: Documentation/devicetree/bindings/iio/dac/mcp4725.txt to: Documentation/devicetree/bindings/iio/dac/microchip,mcp4725.yaml. Update its cross-reference accordingly. Fixes:6ced946a4b
("dt-bindings:iio:dac:microchip,mcp4725 yaml conversion") Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/82fb54974e8a22be15e64343260a6de39a18edda.1617279356.git.mchehab+huawei@kernel.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
25 lines
740 B
C
25 lines
740 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* MCP4725 DAC driver
|
|
*
|
|
* Copyright (C) 2012 Peter Meerwald <pmeerw@pmeerw.net>
|
|
*/
|
|
|
|
#ifndef IIO_DAC_MCP4725_H_
|
|
#define IIO_DAC_MCP4725_H_
|
|
|
|
/**
|
|
* struct mcp4725_platform_data - MCP4725/6 DAC specific data.
|
|
* @use_vref: Whether an external reference voltage on Vref pin should be used.
|
|
* Additional vref-supply must be specified when used.
|
|
* @vref_buffered: Controls buffering of the external reference voltage.
|
|
*
|
|
* Vref related settings are available only on MCP4756. See
|
|
* Documentation/devicetree/bindings/iio/dac/microchip,mcp4725.yaml for more information.
|
|
*/
|
|
struct mcp4725_platform_data {
|
|
bool use_vref;
|
|
bool vref_buffered;
|
|
};
|
|
|
|
#endif /* IIO_DAC_MCP4725_H_ */
|