mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-04 18:49:41 +00:00

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>
26 lines
740 B
C
26 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_ */
|