Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2135816pxu; Fri, 18 Dec 2020 06:25:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJwVfca2x7vJBnXzpUo5ErVGAKTxlQeHx51mRqFCAjnDP05vv7WBUAdesG96/8xhuVPxJ8Ci X-Received: by 2002:a17:907:4271:: with SMTP id nq1mr4253516ejb.358.1608301530597; Fri, 18 Dec 2020 06:25:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608301530; cv=none; d=google.com; s=arc-20160816; b=If4H+ZBKWUsqCoc4+tRJPHUic5PSOg9Kw/0kX/cnFShrJOFzml89JCIv6hj/XbsbGc tB8UFnnUriF/aVo2r/xrHXHbm3fdfjykzkVNAG2nfDchU/DS4Ee5+iSaXI6VUBwo4q64 pzeFbzMcO8VEGZ3EQYwsEpGHIb2dK0A616BdFEyu1yZC259Nh7qlQHh1BOu42WK9twqN 9puT9Jrk6BfyHBYZvRrpNEiisnb64tipTzjmaYOtC5oxcgDPSQpAlbI2NfhuCLCo3iqP cDPZmXnMEr1gl1+7xEyTU8c9ucwE/0kvjfwZ/L2U3ETbHXC1+6Y4rlZW2vu0EZ8hK/bT KYYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=uQTJTNKkDlbCLDDKXRf++qDs0VZ1SBcgKS9o1XvOdT0=; b=GRarsCiM63R+zgayWT4SnGl+mGef0Dijpk3iogfD6fdEJmlDQjmHfidsbbv9bBZStk e+eZ2X+uD/T0T17c//SVbspEiJ91L+UdcxjwHI/IM5YuyKh48S8G9QQomUwtBS87BRFz E58ge7HgruTR53Y+NlXr+yl1pMM+FWBPUJq8nbVDC8NQnu7av7yWY33+WIfKN+Q2yAqp ASNAv9ThZ7joQmmD5fR3mOZzaI5w5hlzJdiu/hvj0lWOkZfP+ae0uMcAi+cNrjmBFoPX /uHMjIBZrzNmM8+JcAdpgaYP3UpldQDnRxxpHnsuYjKpysZbI9JLV3dXKtR+giNnFGUz NCaw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jg13si1620162ejc.352.2020.12.18.06.25.07; Fri, 18 Dec 2020 06:25:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727558AbgLROXc (ORCPT + 99 others); Fri, 18 Dec 2020 09:23:32 -0500 Received: from mail-ej1-f47.google.com ([209.85.218.47]:39939 "EHLO mail-ej1-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727326AbgLROXc (ORCPT ); Fri, 18 Dec 2020 09:23:32 -0500 Received: by mail-ej1-f47.google.com with SMTP id x16so3440895ejj.7; Fri, 18 Dec 2020 06:23:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=uQTJTNKkDlbCLDDKXRf++qDs0VZ1SBcgKS9o1XvOdT0=; b=nOk2qQzBHBMnSZlYcL00WxhsKUOUSe6Kp8SX9LImV0/ehbQYlRjTKtWkzyvowof0VD y9pOK3zgw95vhpZDmIroSJ/OOitsH/dDGL7U3NsB/6KhCl/FimrGMQsxfbj0x0+dFIj+ kVXwdjkJJGK+cOXWnIR0OaDCD8oqFt0K584vuuL31hWeyn6DDAePLVB09m3WlFNkeHAf MzPnXrOGXJllIw+U+XMB46wUgTQlPpgEsg3w8JZByTKHwTSKYLu+SzLYmgXbJPJlgaeL cOlf8MNvzSBv9kcfblR16VnYxFJMgriXQedEpA5k1g5kKjXOcuO0MBbQRhOHPKDTehNY pNOw== X-Gm-Message-State: AOAM533kyPODzIsaKythUVKXl27o1UGJNhREylPhgsdpiJaIy37V6ou1 vgnaEuw//wcOwvN2j1ZsvfY= X-Received: by 2002:a17:906:7d91:: with SMTP id v17mr4281139ejo.522.1608301369788; Fri, 18 Dec 2020 06:22:49 -0800 (PST) Received: from kozik-lap (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.googlemail.com with ESMTPSA id op5sm5566452ejb.43.2020.12.18.06.22.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Dec 2020 06:22:48 -0800 (PST) Date: Fri, 18 Dec 2020 15:22:47 +0100 From: Krzysztof Kozlowski To: Marek Szyprowski Cc: Rob Herring , Bartlomiej Zolnierkiewicz , Lee Jones , Chanwoo Choi , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Sylwester Nawrocki Subject: Re: [PATCH 9/9] mfd: sec-irq: Do not enforce (incorrect) interrupt trigger type Message-ID: <20201218142247.GA2847@kozik-lap> References: <20201210212903.216728-1-krzk@kernel.org> <20201210212903.216728-9-krzk@kernel.org> <0f1509ef-9ae7-7a77-84b7-360b8f0071c7@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <0f1509ef-9ae7-7a77-84b7-360b8f0071c7@samsung.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 18, 2020 at 02:25:39PM +0100, Marek Szyprowski wrote: > On 10.12.2020 22:29, Krzysztof Kozlowski wrote: > > Interrupt line can be configured on different hardware in different way, > > even inverted. Therefore driver should not enforce specific trigger > > type - edge falling - but instead rely on Devicetree to configure it. > > > > The Samsung PMIC drivers are used only on Devicetree boards. > > > > Additionally, the PMIC datasheets describe the interrupt line as active > > low with a requirement of acknowledge from the CPU therefore the edge > > falling is not correct. > > > > Signed-off-by: Krzysztof Kozlowski > > Tested-by: Marek Szyprowski > > It looks that this together with DTS change fixes RTC alarm failure that > I've observed from time to time on TM2e board! Great! I'll add this to the commit msg. Thanks for testing. Best regards, Krzysztof > > > --- > > > > This patch should wait till DTS changes are merged, as it relies on > > proper Devicetree. > > ---