Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1496519pxu; Fri, 27 Nov 2020 08:30:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJzyaPIOd0jZZW6HBN03s88+JgQC6FH08Qp9PMlFxTL7GoHkzDu0ine/Jut1Jy7YG3uJLcHR X-Received: by 2002:a17:906:6947:: with SMTP id c7mr8651298ejs.512.1606494604146; Fri, 27 Nov 2020 08:30:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606494604; cv=none; d=google.com; s=arc-20160816; b=nZNF9neqEpU+pkEQT31P98NCnmId2NR7GEKSESHQ75BZkcVzgJ/Id6Osq3YwgR4xrn 8H801yLgsbcp8lkfwrO/w4QofOurBZdUqsjXH2JqH2LPE4p1CKe2CvOrBIP3t8VKj41u AZMqmC2LzBOtvc2xQAuOzoDvyvVk4XRwzKqnbqWMC8rahkYz/tK+wCzdImKboFb1dvGk O+5d057Sl8bEcaz44Npk6yZSaJCU2kXpN5G959rK0vM1upIWsRhZT5YhJIUwF7zJxw9j rKLlVZp3/NOo34/SOGIPVtYiKcBUBPbMbaJ1jP5N2AU4s48Zlp3oboMKLO9VEENTLboh /rvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=vvdnjKwK48qjJoTfp/HOqSh4LzeJtKZbtXHcLtE8giY=; b=co//2rKdz3O+GqrFUHo59nxF4aqK9JHdJutQKhH7NdlI4M7ErKyL/8QIigBhB4bIBo q5JlpVj85RxdbM0sttBhauI/vr1RVTmImlR27J2BDpwGsL29xA7xL3UmpxrTYWw3+Fi2 mx9vThO4jR6uaU0I1KF+Q0W6D7E34Qo71Dzbp+rcRn4CldsznyZhVMBb3ADVmFngSD+T RS7wvgn3ZjSy60DKb+vN3zfGmzkh6LISYYkAAP6HynAEbewWQysqinssNglcNJokltHL dP5u6e920PIybIVbvhVdoDxNg4Jk/aKFxjAhNp8BrkWN3QsLvn+x/Nd/jdLXr1MtAHkl TjYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=p+69W7Nd; 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 hs22si5072029ejc.3.2020.11.27.08.29.38; Fri, 27 Nov 2020 08:30:04 -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; dkim=pass header.i=@kernel.org header.s=default header.b=p+69W7Nd; 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 S1731381AbgK0Q1C (ORCPT + 99 others); Fri, 27 Nov 2020 11:27:02 -0500 Received: from mail.kernel.org ([198.145.29.99]:47026 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731300AbgK0Q1C (ORCPT ); Fri, 27 Nov 2020 11:27:02 -0500 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (unknown [163.114.132.4]) (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 509E521D7A; Fri, 27 Nov 2020 16:27:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606494421; bh=2RXBZ7l1i3OanimKbEWfF/F9FByKTdx4MivKfCLvYJ8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=p+69W7Ndi6d7uBkdXTFsN8h8sjZB/XaQdBbz75R3L6zqd76In1WaLvd0B4U4s0mQz ty7cqgorPAveDSz5PqJmGLI+JSk/Id53KHnY1YCtRzmFfpSJnF2tkw54ZGpu6jfZIf zmquQivOcWPsFg7MSu3HPaklzrqmJNiFWUe8/ApQ= Date: Fri, 27 Nov 2020 08:27:00 -0800 From: Jakub Kicinski To: Marc Kleine-Budde Cc: Krzysztof Kozlowski , Dan Murphy , Wolfgang Grandegger , "David S. Miller" , Rob Herring , linux-can@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring Subject: Re: [RESEND PATCH v2] dt-bindings: net: correct interrupt flags in examples Message-ID: <20201127082700.4a218688@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <3fafb016-5d9e-5e0f-9e5a-2421fbde3eb1@pengutronix.de> References: <20201026153620.89268-1-krzk@kernel.org> <3fafb016-5d9e-5e0f-9e5a-2421fbde3eb1@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 27 Nov 2020 10:13:01 +0100 Marc Kleine-Budde wrote: > On 10/26/20 4:36 PM, 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 > > ACTIVE_HIGH => IRQ_TYPE_LEVEL_HIGH > > > > Signed-off-by: Krzysztof Kozlowski > > Acked-by: Rob Herring > > Acked-by: Marc Kleine-Budde # for tcan4x5x.txt > > Jakub, can you queue this patch for net/master? Sure! Are these correct? Fixes: a1a8b4594f8d ("NFC: pn544: i2c: Add DTS Documentation") Fixes: 6be88670fc59 ("NFC: nxp-nci_i2c: Add I2C support to NXP NCI driver") Fixes: e3b329221567 ("dt-bindings: can: tcan4x5x: Update binding to use interrupt property")