Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3121916pxk; Tue, 15 Sep 2020 10:33:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGF6E2bsQ5EW5KobDVn+TgO6KGr7Zoc//yRsSbl4hEE8+b3u4X1QWnM7Vbhvvf63PKCmB0 X-Received: by 2002:a17:906:c154:: with SMTP id dp20mr20865513ejc.115.1600191216714; Tue, 15 Sep 2020 10:33:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600191216; cv=none; d=google.com; s=arc-20160816; b=nyzXelDI+M6CJ7nE1d1rVILApNOSsF7UZFMxRYTbmELJCdmYdK3PAh8OIXbahuauz5 dylpoTTbRST5oE0+0eh8U6ZH6cvoTN6OwsWolWOVcvV/3x1oVtoMrtLXiVYldr0O2ndS AJYJCgMpJA10ruspbLTMXV2NzGbbvpfv8ZqAUajPnbjSWHAi6Xqlqfv/Wz18XXgIvriu nqeaR6s3EJ5w2exctiomvY+P/DqqEwszfOJ0uMH+hIa5bMjeNzJnHEHfgIb4XHguLPCD 1lP5WfT+pc+KS2/5dZYRCkb6q6eJBFVac7X7C/hZVIWocEV7WmwM/CQ6V5Yl4nNIYGdc 7yMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=TUBLEz0hsMNnjxbU82r0TebLuBdMSe/EPOZbJ7e3QlY=; b=BuQ92Dvl8HizQyq8kFyQYkpF8mq+BA4SCs/ZVAARTSDijSQPl5Yu9uhPgDWpW8FckG bHukCmRtLIj7jPykKW6XNL3o4MoP1Jkq0fuOZYyorOXNeU3hE9b76Fqj7C4VTmeWPpzT /omAGP3FhJlSWZTb6Eo/YC5IZnzT/XSfscPQMU1vSVGRp3svYZXtfc85XkUORdc+osRf LQv+5FUljPfgxR4T731FFDGZaYiFGVk510Dg0WE/O4c9l5xJeEvzVJ1dmx1aQMYcuJmy Dm34/8aRzy7TyffY92LuXYA4iCRacuiJ8H9SlSuaX2EhspFheY476+GD5U3i4CeevV7c u40w== 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 t15si10132608edr.122.2020.09.15.10.33.14; Tue, 15 Sep 2020 10:33:36 -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; 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 S1727890AbgIORbl (ORCPT + 99 others); Tue, 15 Sep 2020 13:31:41 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:45965 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727800AbgIORGp (ORCPT ); Tue, 15 Sep 2020 13:06:45 -0400 Received: by mail-pg1-f193.google.com with SMTP id 67so2280660pgd.12; Tue, 15 Sep 2020 10:06:45 -0700 (PDT) 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=TUBLEz0hsMNnjxbU82r0TebLuBdMSe/EPOZbJ7e3QlY=; b=klEICfyLYw4GIqEO5yrUxKA/LoTiKM1nieyVhMJs0btRXKMMNlq2RVjplVmFWhr23/ +LSefdzkxEFI36h4PloVi2zxTxha4qL4D0DoS1wF8HEG0FIIwhj7OaY7QyY5hqplGosx Soobt1Fd8SbbePkoF+Tl1K0jyXd9+KaJOVSodYU0WutgCtELlk+XLd6QSS7roBdc3NfI wz4HQQy9TsZnv0CEQsoTZOFOSM6g2HPm4fzN769B0sMYAzs8BUtUNtTL0uu9Yatv3w6F 4TdMDPNOc8oLT96YTnaR3zxxAHqgDI15OFZ83fwr4I/PvWw3EPCf34ecIg4X+Ouoo0ee Ngyw== X-Gm-Message-State: AOAM531N+ASEV1pwD6H2VQkLH+bgY7u3kF3XZ8D26D90Sr1HbeZ0QqMs +UY468X1KJA43uuz2DuSzp9SN9ZLlW/8K0I= X-Received: by 2002:a92:408e:: with SMTP id d14mr17628216ill.4.1600188895920; Tue, 15 Sep 2020 09:54:55 -0700 (PDT) Received: from xps15 ([64.188.179.253]) by smtp.gmail.com with ESMTPSA id v24sm7886131ioh.21.2020.09.15.09.54.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Sep 2020 09:54:55 -0700 (PDT) Received: (nullmailer pid 2114741 invoked by uid 1000); Tue, 15 Sep 2020 16:54:53 -0000 Date: Tue, 15 Sep 2020 10:54:53 -0600 From: Rob Herring To: Krzysztof Kozlowski Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , "David S. Miller" , netdev@vger.kernel.org, linux-can@vger.kernel.org, Wolfgang Grandegger , Dan Murphy , Marc Kleine-Budde , Jakub Kicinski Subject: Re: [PATCH] dt-bindings: net: Correct interrupt flags in examples Message-ID: <20200915165453.GA2114689@bogus> References: <20200908145939.4569-1-krzk@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200908145939.4569-1-krzk@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 08 Sep 2020 16:59:39 +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 some > logical behavior behind the name "ACTIVE_xxx", this is: > ACTIVE_LOW => IRQ_TYPE_LEVEL_LOW > ACTIVE_HIGH => IRQ_TYPE_LEVEL_HIGH > > Signed-off-by: Krzysztof Kozlowski > --- > Documentation/devicetree/bindings/net/can/tcan4x5x.txt | 2 +- > Documentation/devicetree/bindings/net/nfc/nxp-nci.txt | 2 +- > Documentation/devicetree/bindings/net/nfc/pn544.txt | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > Acked-by: Rob Herring