Received: by 10.192.165.148 with SMTP id m20csp4359644imm; Tue, 8 May 2018 07:16:34 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo4NUI/3xvS/gCOXSyyRjy+5Sw3jYwKkRLRDn2UauVcKwcvNbFQ1GnktDVeIg0TuMW5QLhX X-Received: by 10.98.139.146 with SMTP id e18mr40023333pfl.60.1525788993948; Tue, 08 May 2018 07:16:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525788993; cv=none; d=google.com; s=arc-20160816; b=bhfjDirJBwpjLk3dWBMG56x6GuNSoPIN9mRUnx1cd2+IGu3Mb4G6M4skhTho9k7qM8 7peJadfkFFLuSjx3hT9j+nonQLxoJVvxMMvPMvdR1H6Vyq7xlG6RXeQd7FvLQItLRq48 SjKBruaydPU/bUQ3x/3RV2GSov3EZg6orWzMcwj7Y4eI0YZ61NF04iYfjvOuG7EvHTo2 RFrHkyoHG9zw4niliq9HOOZbz6wrTxBcAee0m3wZhzSfxCkSPRP3MaG7/huK/NHEE4hB gWsaBbNcVi12vJMxwXG5rkl2pkeYS6dEWbBEM475StrOoSsbZwV8DOrEYvpMC68WsmJw 2tcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=3v2VPWPH5h3RsO8T5Gmn2w6T8fqnkIheS8NOEIi7Yn8=; b=U7FRjziaLA/LslXlLo1lUKLQNaLuWvUleLdOLR3Ui/IBCVjSCrXIob6nR0Mqr1ySmb 5e21eLJvUfdLvXjx+996ZZrn203sXeqXyvCf7wN7pB4+ZmAfzSi8MLEVvr/D3PJqdxN/ tbMX2/KxIBvBBl+tzGH3yIigzlGoF/OCH5IjgMfqwSmlPxcSdf0b1isZDIJYXlsEpUUr HOdQR/1iePuk3R1RI8VPrpcsuNug/13nJMmJUnwFjOQ9YOtN8wGe2h5LpE7KXpqavLvA mqSXtz/XwQseS0IwPgro6Ig3A0LpA2ddInsaLmvPVyFBPTgY12nB0oR5jZtQ764+hfYe hEgg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u198-v6si20003691pgc.203.2018.05.08.07.16.18; Tue, 08 May 2018 07:16:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755377AbeEHOQE (ORCPT + 99 others); Tue, 8 May 2018 10:16:04 -0400 Received: from muru.com ([72.249.23.125]:41008 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752252AbeEHOQD (ORCPT ); Tue, 8 May 2018 10:16:03 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id C541980A9; Tue, 8 May 2018 14:18:02 +0000 (UTC) Date: Tue, 8 May 2018 07:16:00 -0700 From: Tony Lindgren To: Peter Ujfalusi Cc: bcousson@baylibre.com, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, j-keerthy@ti.com Subject: Re: [PATCH 0/4] ARM: dts: am437x boards: Correct (again) tps65218 irq type Message-ID: <20180508141600.GT98604@atomide.com> References: <20180508132053.5471-1-peter.ujfalusi@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180508132053.5471-1-peter.ujfalusi@ti.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Peter Ujfalusi [180508 13:22]: > Hi, > > While based on the datasheet of tps65218 the INT is low active, the GIC_SPI > does not support anythin but IRQ_TYPE_LEVEL_HIGH or IRQ_TYPE_EDGE_RISING: > > [ 2.761814] genirq: Setting trigger mode 8 for irq 102 failed (irq_chip_set_type_parent+0x0/0x30) > [ 2.770913] tps65218 0-0024: Failed to request IRQ 102 for tps65218: -22 > [ 2.777854] tps65218: probe of 0-0024 failed with error -22 So does the tps65218 have some register to control the interrupt direction or is it's datasheet wrong? BTW, ADC might be a good test case for PMIC interrupt if it has one. > Use LEVEL_HIGH for the interrupt as it looks to be the correct setting: > INTn of tps65218 is connected to NMIn of the SoC. > > The offending patches are only in linux-next. OK Regards, Tony