Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3756391pxk; Tue, 22 Sep 2020 01:30:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzZ+AY7Jt+yHDcymCobafpwDu+wfOwQgiol33mdhoCQporiXc45Vl67vuO7W1YgdPm8p5Pv X-Received: by 2002:a17:906:15c4:: with SMTP id l4mr3598556ejd.78.1600763422441; Tue, 22 Sep 2020 01:30:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600763422; cv=none; d=google.com; s=arc-20160816; b=PmFG8sB7UHkrWlVMA9JAI2uBSa5agRtr2ff6GSUnqt4LE0NPN2Ykma0L+H3MWlffPv rPFYhxu72OzAdNAEC3v44xgWErChqBUAY0MjHWPBJ5/Fwoc0leIQGzAw0tSeFSvVMwi4 yEzlHiI4N+yKIw31xAUeE8SjYJGOohQMboTy0J5E3Ftye1whwxYfariSQWbImaBtAc95 xhAFOkYnuIiQ+mV046NaU1rN+AgMyjNoiEoLpz44lfSR67iDNHORMytQ/If4ed6C0wbi xHZ7TsrPSpCU/vqtREvTsAw0S2xZy4fRiJaUBKfFIZ5gR9sZ+JC4TryxPC1C+kIFGqHa FYjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=e9R/8EPQ5TUWA3bcX89YMInDZ89gotSqPNwk2syI148=; b=KtOGuvy9Z3ZVETekDA1q/5uOwnpJFLYjn109VVbuEg7H+c246oboY+AU9QbHN+N5+X HJ/ezzRGGYlzsd5tv+jxo2e45irvJ6GuLfFfsdxJWQS5MFXYJJOogANIq0/kVcx9oxZb v0K7UPG2vy196bDWZUGvKVrXzodYWRSLqFz+MrKwiUGzss5b8IDIZWJ6TB0kXkh/RxAK 105qYh2Ws+G7Ruws5RELzHR1PGBm83gSfnOB/KS9PXWSPib9Ah3LMokE7CBzLbobcRoQ 5nmDqW1ii8WzEceJJqRZ1HJyyuw6bCijC6vKkDml2Fd7KCDQsUnx4ajSDmrlRg7usoDQ sAAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=YDz5fyaW; 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 g13si9773591edm.239.2020.09.22.01.29.59; Tue, 22 Sep 2020 01:30:22 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=default header.b=YDz5fyaW; 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 S1729450AbgIVGlH (ORCPT + 99 others); Tue, 22 Sep 2020 02:41:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:47220 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729222AbgIVGlG (ORCPT ); Tue, 22 Sep 2020 02:41:06 -0400 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 39915208A9; Tue, 22 Sep 2020 06:41:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600756866; bh=fpjEKO0HEwKVPJVEg6fnVWA4DnHuAPPahJEOFfNsJ+8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YDz5fyaWjfQOOxQBPCsSpHZgxRgTp3lFkibp1h73W9J+tF4HpTSnSdTl9bJZglV15 QRbPkzsPTDR7oVY+STeBfOULnE24qqLWKkzFYPylSv0R+5gJbFwPtZTI4/6GLF0lXj lzgJZbvqm0Uem9hzkyBpix4oXzvRvEw+nVGFpzAc= Date: Tue, 22 Sep 2020 14:40:59 +0800 From: Shawn Guo To: Krzysztof Kozlowski Cc: Rob Herring , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Adam Ford , Daniel Baluta , Anson Huang , Jacky Bai , Robin Gong , Peter Chen , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Tim Harvey Subject: Re: [PATCH v2 1/4] ARM: dts: imx6qdl-gw5xxx: correct interrupt flags Message-ID: <20200922064058.GE25109@dragon> References: <20200917185449.5687-1-krzk@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200917185449.5687-1-krzk@kernel.org> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 17, 2020 at 08:54:46PM +0200, Krzysztof Kozlowski wrote: > GPIO_ACTIVE_x flags are not correct in the context of interrupt flags. > These are simple defines so they could be used in DTS but they will not > have the same meaning: > 1. GPIO_ACTIVE_HIGH = 0 = IRQ_TYPE_NONE > 2. GPIO_ACTIVE_LOW = 1 = IRQ_TYPE_EDGE_RISING > > Correct the interrupt flags, assuming the author of the code wanted same > logical behavior behind the name "ACTIVE_xxx", this is: > ACTIVE_LOW => IRQ_TYPE_LEVEL_LOW > > Signed-off-by: Krzysztof Kozlowski Applied all, thanks.