staging: omap-thermal: update DT entry documentation
Simple update on documentation file for DT. This patch also adds an example for OMAP4430 and 0MAP4470, and also updated OMAP4460's example. Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
194a54f0bd
commit
18da6351d0
1 changed files with 24 additions and 3 deletions
|
@ -10,21 +10,42 @@ to the silicon temperature.
|
||||||
|
|
||||||
Required properties:
|
Required properties:
|
||||||
- compatible : Should be:
|
- compatible : Should be:
|
||||||
- "ti,omap4460-control-bandgap" : for OMAP4460 bandgap
|
- "ti,omap4430-bandgap" : for OMAP4430 bandgap
|
||||||
- "ti,omap5430-control-bandgap" : for OMAP5430 bandgap
|
- "ti,omap4460-bandgap" : for OMAP4460 bandgap
|
||||||
|
- "ti,omap4470-bandgap" : for OMAP4470 bandgap
|
||||||
|
- "ti,omap5430-bandgap" : for OMAP5430 bandgap
|
||||||
- interrupts : this entry should indicate which interrupt line
|
- interrupts : this entry should indicate which interrupt line
|
||||||
the talert signal is routed to;
|
the talert signal is routed to;
|
||||||
Specific:
|
Specific:
|
||||||
- ti,tshut-gpio : this entry should be used to inform which GPIO
|
- ti,tshut-gpio : this entry should be used to inform which GPIO
|
||||||
line the tshut signal is routed to;
|
line the tshut signal is routed to;
|
||||||
|
- regs : this entry must also be specified and it is specific
|
||||||
|
to each bandgap version, because the mapping may change from
|
||||||
|
soc to soc, apart of depending on available features.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
OMAP4430:
|
||||||
|
bandgap {
|
||||||
|
reg = <0x4a002260 0x4 0x4a00232C 0x4>;
|
||||||
|
compatible = "ti,omap4430-bandgap";
|
||||||
|
};
|
||||||
|
|
||||||
|
OMAP4460:
|
||||||
bandgap {
|
bandgap {
|
||||||
reg = <0x4a002260 0x4
|
reg = <0x4a002260 0x4
|
||||||
0x4a00232C 0x4
|
0x4a00232C 0x4
|
||||||
0x4a002378 0x18>;
|
0x4a002378 0x18>;
|
||||||
compatible = "ti,omap4460-control-bandgap";
|
compatible = "ti,omap4460-bandgap";
|
||||||
|
interrupts = <0 126 4>; /* talert */
|
||||||
|
ti,tshut-gpio = <86>;
|
||||||
|
};
|
||||||
|
|
||||||
|
OMAP4470:
|
||||||
|
bandgap {
|
||||||
|
reg = <0x4a002260 0x4
|
||||||
|
0x4a00232C 0x4
|
||||||
|
0x4a002378 0x18>;
|
||||||
|
compatible = "ti,omap4470-bandgap";
|
||||||
interrupts = <0 126 4>; /* talert */
|
interrupts = <0 126 4>; /* talert */
|
||||||
ti,tshut-gpio = <86>;
|
ti,tshut-gpio = <86>;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue