Faiz Abbas | ae1627c | 2017-11-14 16:12:31 +0530 | [diff] [blame] | 1 | * Texas Instrument dra7xx SCM bandgap bindings |
| 2 | |
| 3 | In the System Control Module, SoC supplies a voltage reference |
| 4 | and a temperature sensor feature that are gathered in the band |
| 5 | gap voltage and temperature sensor (VBGAPTS) module. The band |
| 6 | gap provides current and voltage reference for its internal |
| 7 | circuits and other analog IP blocks. The analog-to-digital |
| 8 | converter (ADC) produces an output value that is proportional |
| 9 | to the silicon temperature. |
| 10 | |
| 11 | Required properties: |
| 12 | - compatible : Should be: |
| 13 | - "ti,dra752-bandgap" |
| 14 | - interrupts : this entry should indicate which interrupt line |
| 15 | the talert signal is routed to; |
| 16 | - regs : this is specific to each bandgap version, because |
| 17 | the mapping may change from soc to soc, apart from depending |
| 18 | on available features. |
| 19 | |
| 20 | Optional: |
| 21 | - gpios : this entry should be used to inform which GPIO |
| 22 | line the tshut signal is routed to. The informed GPIO will |
| 23 | be treated as an IRQ; |
| 24 | |
| 25 | Example: |
| 26 | bandgap { |
| 27 | reg = <0x4a0021e0 0xc |
| 28 | 0x4a00232c 0xc |
| 29 | 0x4a002380 0x2c |
| 30 | 0x4a0023C0 0x3c |
| 31 | 0x4a002564 0x8 |
| 32 | 0x4a002574 0x50>; |
| 33 | compatible = "ti,dra752-bandgap"; |
| 34 | interrupts = <0 126 4>; /* talert */ |
| 35 | }; |