Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp260516pxa; Fri, 14 Aug 2020 03:33:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDAXLb7qtde6AngNYHjD+JXR1dyr9Qq5kAz59va1gQKWmMNQa251/AmjTmtLKNRJG5eeLE X-Received: by 2002:a17:906:1f15:: with SMTP id w21mr1679315ejj.152.1597401184353; Fri, 14 Aug 2020 03:33:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597401184; cv=none; d=google.com; s=arc-20160816; b=JxTSnvwmJ/YNnzccmBW0RzIrXQLgkHVpqZ/iQT3YflXpBiNZAXPvKcLoWf9sCqvrTU 6B57VF8nJ5RNZEfDTyxb+iX/W4pUJDpxrNDJw0mkR0t7nFpYJDGKiBy+PbhNwd3LtRbR TwIXGC2xlkBwVmIl6gYtbU3MypANNAe0KUEn1YtjFokxR5mngDVjtlCpIQASy5TZarAY wBwOj9wxS1w8m3ePqLCGNYj8Ke/GWYRvgC8uGibmFOT2QHLRBODG7Houlm/9yo/XfHQ0 mn7STw7IskhXXBs7OR/1ZAFIi5OfcOs+4sz7vGAHq3ZWawaOJvCLrYXNomYuNL3AryVW ycvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=tJmWB+xFFXarcNnmBbxldEHfY4AnPGcdzckTNbK5ujg=; b=Q353PaEkJenbBiuEcw+Vfdu9jp/qECxGKJDB8HJUAQETNGBNpUuFWRaVUDMSqDKkrg 3W3RKQxJS6Q+DYVZsFg9SETHY9PN+10G3FKYdokY3y8PASLhWt+3/zmvVws08JWSgv8N ZIQ1z/QQY7hgyObuUWKMXpfKEVy3t5NAZwtAl9tIfOmSpUn7lF7VjTCmHWkk4pox0R0c 9Xr/wND4OGbejDJC8DRibJ8opiFR8fkZi1sYYlBZcqd+4mH4CRuPmvOy+406AQ94AN2c TjE6u9cm/zLFaq2I0oHua6t2+oIHy4vrhBwPhzjd2SeBWh/Pz2TrND3j5R3q5shHF8r9 l+0g== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 91si5197786edr.457.2020.08.14.03.32.41; Fri, 14 Aug 2020 03:33:04 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726997AbgHNKcD (ORCPT + 99 others); Fri, 14 Aug 2020 06:32:03 -0400 Received: from imap2.colo.codethink.co.uk ([78.40.148.184]:46754 "EHLO imap2.colo.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726012AbgHNKcC (ORCPT ); Fri, 14 Aug 2020 06:32:02 -0400 X-Greylist: delayed 1673 seconds by postgrey-1.27 at vger.kernel.org; Fri, 14 Aug 2020 06:32:02 EDT Received: from [188.210.212.0] (helo=localhost.localdomain) by imap2.colo.codethink.co.uk with esmtpsa (Exim 4.92 #3 (Debian)) id 1k6WZD-000572-AB; Fri, 14 Aug 2020 11:04:07 +0100 From: Thomas Preston To: linus.walleij@linaro.org, robh+dt@kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: thomas.preston@codethink.co.uk Subject: [PATCH 3/3] devicetree: mcp23s08: Remove interrupt-controller Date: Fri, 14 Aug 2020 11:03:57 +0100 Message-Id: <20200814100357.209340-4-thomas.preston@codethink.co.uk> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200814100357.209340-1-thomas.preston@codethink.co.uk> References: <20200814100357.209340-1-thomas.preston@codethink.co.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The mcp23s08 device and friends are interrupt /client/ nodes, and should not reference the interrupt controller device tree properties "interrupt-controller" and "interrupt-cells" [0]. Remove the confusing "interrupt-controller" and "interrupt-cells" properties from the pinctrl-mcp23s08 devicetree bindings documentation. [0] Documentation/devicetree/bindings/interrupt-controller/interrupts.txt Signed-off-by: Thomas Preston --- .../devicetree/bindings/pinctrl/pinctrl-mcp23s08.txt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-mcp23s08.txt b/Documentation/devicetree/bindings/pinctrl/pinctrl-mcp23s08.txt index 8b94aa8f5971..bb1b53030552 100644 --- a/Documentation/devicetree/bindings/pinctrl/pinctrl-mcp23s08.txt +++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-mcp23s08.txt @@ -43,10 +43,6 @@ Required device specific properties (only for SPI chips): - spi-max-frequency = The maximum frequency this chip is able to handle Optional properties: -- #interrupt-cells : Should be two. - - first cell is the pin number - - second cell is used to specify flags. -- interrupt-controller: Marks the device node as a interrupt controller. - drive-open-drain: Sets the ODR flag in the IOCON register. This configures the IRQ output as open drain active low. @@ -72,8 +68,6 @@ gpiom1: gpio@20 { interrupt-parent = <&gpio1>; interrupts = <17 IRQ_TYPE_LEVEL_LOW>; - interrupt-controller; - #interrupt-cells=<2>; microchip,irq-mirror; }; @@ -130,8 +124,6 @@ gpio21: gpio@21 { interrupt-parent = <&socgpio>; interrupts = <0x17 0x8>; interrupt-names = "mcp23017@21 irq"; - interrupt-controller; - #interrupt-cells = <0x2>; microchip,irq-mirror; pinctrl-names = "default"; pinctrl-0 = <&i2cgpio0irq &gpio21pullups>; -- 2.26.2