• Linus Walleij's avatar
    ARM: dts: ux500: configure the accelerometers open drain · 7ba5dd53
    Linus Walleij authored
    Configure the two accelerometers sharing GPIO line 82 as:
    
    - Open drain so that they can share the same interrupt line.
    
    Configure the corresponding interrupt pin:
    
    - Trigger on the falling edge since open drain implies that we
      do not actively drive the line high, but we will actively drive
      it low to generate interrupts and then it moves from high to low
      i.e. a falling edge.
    
    - Pulled up so the line will be biased to high unless an IRQ
      is active on any device on the line, and thus it goes high
      again after the interrupt is deasserted.
    
    Cc: linux-iio@vger.kernel.org
    Cc: Jonathan Cameron <jic23@cam.ac.uk>
    Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
    7ba5dd53
ste-href-tvk1281618.dtsi 5.95 KB