Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b0abd6ee authored by Marek Belisko's avatar Marek Belisko Committed by Greg Kroah-Hartman
Browse files

misc: bmp085: devicetree irq update.



Document irq handling for bmp085.

Signed-off-by: default avatarMarek Belisko <marek@goldelico.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c07f85c5
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -8,6 +8,8 @@ Optional properties:
- temp-measurement-period: temperature measurement period (milliseconds)
- default-oversampling: default oversampling value to be used at startup,
  value range is 0-3 with rising sensitivity.
- interrupt-parent: should be the phandle for the interrupt controller
- interrupts: interrupt mapping for IRQ

Example:

@@ -17,4 +19,6 @@ pressure@77 {
	chip-id = <10>;
	temp-measurement-period = <100>;
	default-oversampling = <2>;
	interrupt-parent = <&gpio0>;
	interrupts = <25 IRQ_TYPE_EDGE_RISING>;
};