# \[PATCH Resend\] Input: ads7846: Add description how to use internal reference (ADS7846)

- From: Alexander Stein \<hidden\>
- Date: 2016-02-29 07:06:35 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2016/02/8119276
- Thread: https://ratatoskr.run/linux-devicetree/2016/02/8119276/t.md

```text
By simply setting vref-mv to 0 the internal reference will be used.
Document that!

Signed-off-by: Alexander Stein <redacted>
---
 Documentation/devicetree/bindings/input/ads7846.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/input/ads7846.txt b/Documentation/devicetree/bindings/input/ads7846.txt
index 33a1638..c6cfe2e 100644
--- a/Documentation/devicetree/bindings/input/ads7846.txt
+++ b/Documentation/devicetree/bindings/input/ads7846.txt
@@ -29,6 +29,8 @@ Optional properties:
 	ti,vref-delay-usecs		vref supply delay in usecs, 0 for
 					external vref (u16).
 	ti,vref-mv			The VREF voltage, in millivolts (u16).
+					Set to 0 to use internal refernce
+					(ADS7846).
 	ti,keep-vref-on			set to keep vref on for differential
 					measurements as well
 	ti,swap-xy			swap x and y axis
-- 
2.4.10

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
```
