Re: [PATCH v3 4/4] iio: accel: mma8452: Allow open drain interrupt pin configuration

Andy Shevchenko <[email protected]>
Newsgroups org.kernel.vger.linux-iio,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel
Organization Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo
Message-ID <[email protected]>
On Wed, Aug 05, 2026 at 09:21:38AM +0200, Esben Haabendal wrote:
> When sharing interrupt line with other chips, the interrupt pin most
> likely needs to be configured in open-drain mode instead of push-pull.
> 
> The PP_OD bit in CTRL_REG3 is set when open-drain mode is configured,
> allowing sharing the interrupt line with other devices (with same interrupt
> polarity).
> The IRQF_SHARED flag is added to request_threaded_irq() flags, indicating
> that the interrupt line can be shared with other devices.

OK!
Reviewed-by: Andy Shevchenko <[email protected]>

-- 
With Best Regards,
Andy Shevchenko
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.