Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp934669imm; Tue, 15 May 2018 11:16:56 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqJQkjQ8vCzjccPHyD2rL1anL8hulDdFGeCqn+2YfhxOMCOlW/i2piRQSo2oIDzA0D0fgbP X-Received: by 2002:a62:32c6:: with SMTP id y189-v6mr16153847pfy.241.1526408216321; Tue, 15 May 2018 11:16:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526408216; cv=none; d=google.com; s=arc-20160816; b=mwbnGgp1BGYs9whdEck88tq+QD+JzHpQm7pbo2aDVqqfZZfhkSF8BZJbU/zEjMZjIY 5Cc1AMFbtlQbnYuSvea/RrNTFo5AnKQ7XNj0eqNmVLrRXNMbrTWipZ+v6FMER4K63DcT AFg4OzPgU0dynIBg1g2Y/zOj8Wpg4XPtqmFtc147C6aA35+Hwf6kjrZ8uTPi0XjJpLP6 WjuET2LlXT6dTd5cRPHGrzp1cIeKFwMtmT/es+C9P96ZXryp+Opa72JI2O40mhhIme6j HM50dspFCENF1dSIIk1s3dcs4byr0URUBCZpMCSayrU2YqM7EWjwXblD9ljiOntmH71a BRAg== 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=FBZ+5Btchl9jwPr05tR8yRhMgT96MgBJz/3NlP5dYCY=; b=KZGOvzEXQFsdcoUwxSDM9TUVEZjkCZKeqzl7JvdsK6Bdwwk4ZdOM/z0dACGatH9Ydd d8GEZr+pOMQmkeLny5+7lRg228snNvTCHXykS1uyVpsgCti4mdaPbstF6ILYRf/DCYeJ V7xtNfcFEArxg7HiElPnIar1Tc1IXA4aseSXeZcQaY0oYq4VjGDyWUHm1Z2zUSmXDiHq 1ix4ixPlDeobtLmKO+xLaEsliBzQUQCKz0JJ3EY6ZTh3WVA4DMQ+NCg6yx9opx1fA7Zl S6LLVFdbDs7/OKBenkr/l4vuHKGhn+668n+vLumxKMDO2T6MuHuiixBlGP7C6cAHIx12 RSXg== 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 d4-v6si530026plr.373.2018.05.15.11.16.42; Tue, 15 May 2018 11:16:56 -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 S1753022AbeEOSPr (ORCPT + 99 others); Tue, 15 May 2018 14:15:47 -0400 Received: from muru.com ([72.249.23.125]:42258 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752458AbeEOSPq (ORCPT ); Tue, 15 May 2018 14:15:46 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id E399D80BD; Tue, 15 May 2018 18:17:52 +0000 (UTC) Date: Tue, 15 May 2018 11:15:43 -0700 From: Tony Lindgren To: Keerthy Cc: Peter Ujfalusi , bcousson@baylibre.com, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/4] ARM: dts: am437x boards: Correct (again) tps65218 irq type Message-ID: <20180515181543.GW98604@atomide.com> References: <20180508132053.5471-1-peter.ujfalusi@ti.com> <20180508141600.GT98604@atomide.com> <4b4100d0-85e1-659b-8f7e-b3d4b3925e82@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4b4100d0-85e1-659b-8f7e-b3d4b3925e82@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 * Keerthy [180509 04:03]: > > > On Tuesday 08 May 2018 07:46 PM, Tony Lindgren wrote: > > * 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. > > There is no ADC on this PMIC. > > > > >> 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 Applying these all into omap-for-v4.18/dt. Regards, Tony