From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758860AbcAUHGA (ORCPT ); Thu, 21 Jan 2016 02:06:00 -0500 Received: from mail.karo-electronics.de ([81.173.242.67]:60470 "EHLO mail.karo-electronics.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750788AbcAUHF4 convert rfc822-to-8bit (ORCPT ); Thu, 21 Jan 2016 02:05:56 -0500 Date: Thu, 21 Jan 2016 08:05:24 +0100 From: Lothar =?UTF-8?B?V2HDn21hbm4=?= To: Mark Brown Cc: =?UTF-8?B?QmVub8OudA==?= Cousson , Ian Campbell , Kumar Gala , Liam Girdwood , Mark Rutland , Pawel Moll , Rob Herring , Russell King , Tony Lindgren , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org Subject: Re: [PATCH 1/2] regulator: ltc3589: make IRQ optional Message-ID: <20160121080524.27af489f@ipc1.ka-ro> In-Reply-To: <20160120164258.GF6588@sirena.org.uk> References: <1453292992-1788-1-git-send-email-LW@KARO-electronics.de> <1453292992-1788-2-git-send-email-LW@KARO-electronics.de> <20160120164258.GF6588@sirena.org.uk> Organization: Ka-Ro electronics GmbH MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, > On Wed, Jan 20, 2016 at 01:29:51PM +0100, Lothar Waßmann wrote: > > > This pin is used as IRQ pin for the LTC3589 PMIC on the Ka-Ro > > electronics TX48 module. Make the IRQ optional in the driver and use a > > polling routine instead if no IRQ is specified in DT. > > Otherwise the driver will continuously generate interrupts and make > > the system unusable. > > How will the driver generate interrupts if there is no interrupt > physically present in the system? > It's using timer interrupts to poll the LTC3589 state. Lothar Waßmann