Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2552548pxa; Mon, 17 Aug 2020 12:32:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxghmBPII99Tm0YDV0yQLdRYl3JCckeLEuj5OXh8OIh5ASpxlbjjekt2LEecEoZLgbeWpOD X-Received: by 2002:a17:906:e2c5:: with SMTP id gr5mr17495421ejb.89.1597692771202; Mon, 17 Aug 2020 12:32:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597692771; cv=none; d=google.com; s=arc-20160816; b=gwl4BclRLabqnxazcC8ewy7J+pjPnp4dpdKu6zWTNbUaH/vIL/gClZj4KeshBzj5pc goxaNKXmgAMGg7gktRpcKFo8OkNhulPHxndFhSpCgHw9MvvoKT+jjc2w5tH68rGNb6zw tze0A++oWP8bF2aRejsFnklKetpO/TLNhfXrQi9aCpLAny9X6fkxvQ+UbJxU8T43QGH2 iW+RbgBM3qD+/qg67NXF7Kr8og9v51SJk0mXrH7DO+NqX0phK+Xn7siU+ZmS3MENvly6 rKFS2V+MOF3DxWq8QxBKwYuM+cqEncgkrMQPRulkvStqxizgxj05F3G2G0bEk+fnPzQN BOAA== 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=FpFm0NgNiDqAexVigqjuzKZAAaZLotZJRuJ9L95Do60=; b=BDnrySMAk0BHNrgtrSAeZB6DqKRMl5PUZyiFb9JC01+J1WSEf1/U5Gpzihn6Jo3Ig+ HhRY15HWWfKwlw7guSa0LD1fwvm3ajPs5VB7/JxrZESc8T0Sls5lRpnJs4KH9s8loNra w90R1+JpG1+ImSbAF1RV99dOBxLGgnRd9VKgFhozkcRVwA0RAf7+qwLtb4ksILnMyyJ/ ejC8ZqgtlcjZ9MweJAXAhMHN9KDz2vhvZ/K5BMVJnM9xbacezawy7Cy8lWbDYmfeGuAo PC1VQZRPmmv4HOFYa+38Yyk6BgxZ3RiSUO2bZVLQqHBYuMpfez7EBLdi8n/TiH9CK87I rBvw== 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 n19si11857802ejc.243.2020.08.17.12.32.27; Mon, 17 Aug 2020 12:32:51 -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 S1732082AbgHQTav (ORCPT + 99 others); Mon, 17 Aug 2020 15:30:51 -0400 Received: from mail-il1-f194.google.com ([209.85.166.194]:33962 "EHLO mail-il1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390230AbgHQT37 (ORCPT ); Mon, 17 Aug 2020 15:29:59 -0400 Received: by mail-il1-f194.google.com with SMTP id t4so15561006iln.1; Mon, 17 Aug 2020 12:29:59 -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=FpFm0NgNiDqAexVigqjuzKZAAaZLotZJRuJ9L95Do60=; b=Mq8aUrmmKaxT4+Dp9BmArVFRl3sTisvL4Lglivp4UB9VEtQhG6lzna62bH5eGfLR/N 3T0m5bt0J+6ftk7mdpjx8zXAFsr3vqv9V1iYXjTCasRg4tZvh9dGQAd3kqNZ90D2Ab06 e+0JFuM5SGVtOoFvuD7JBnFLdeTKEzN8J80qJP2Vh17PYRwzc5uVvPxwnXadXokbqj+k tDrfqQqip+1p9CWjjBRIDbssjJ8ZKTl5eIaWA3H/cxOPxohyaNZOyzFn4amYOTj76iFO lc2O8ka01Y4fqjNIGkg0FdJwN9BOyQuJgqQU9HKBRkY/Xd6m9BwR5KUgMqH2tA5Bp9LE DK3w== X-Gm-Message-State: AOAM5321Ll5DnKvajP50b9rVInjhTnVuMVPdUW1NlMMtzdVlkaCR2p6q Okp0Q7JX7qfbBA0oSWqyS5gvqbtNcg== X-Received: by 2002:a92:d4cf:: with SMTP id o15mr15611895ilm.25.1597692598797; Mon, 17 Aug 2020 12:29:58 -0700 (PDT) Received: from xps15 ([64.188.179.249]) by smtp.gmail.com with ESMTPSA id n9sm9556901iox.43.2020.08.17.12.29.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Aug 2020 12:29:58 -0700 (PDT) Received: (nullmailer pid 1405345 invoked by uid 1000); Mon, 17 Aug 2020 19:29:57 -0000 Date: Mon, 17 Aug 2020 13:29:57 -0600 From: Rob Herring To: Thomas Preston Cc: linus.walleij@linaro.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/3] pinctrl: mcp23s08: Fixups for mcp23x17 Message-ID: <20200817192957.GA1401599@bogus> References: <20200814100357.209340-1-thomas.preston@codethink.co.uk> <26d33248-c07b-db2c-2989-3ca14aea7896@codethink.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <26d33248-c07b-db2c-2989-3ca14aea7896@codethink.co.uk> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 14, 2020 at 02:56:54PM +0100, Thomas Preston wrote: > On 14/08/2020 11:03, Thomas Preston wrote: > > I'm in the process of adding a device tree overlay for the PiFace > > Digital Raspberry Pi daughter board [0]. It's an mcp23s17 SPI GPIO port > > expander. In doing so, I noticed some errors with the mcp23s08 driver. > [snip] > > They're quite trivial and backwards compatible, although I might be > > wrong about "interrupt-controller". Can someone please confirm? > [snip] > > [0] https://github.com/raspberrypi/linux/pull/3794 > > Actually I think I'm wrong about the interrupt-controller changes in patches > 0002 and 0003. You are. Looking at the datasheet, the GPIOs have interrupt capability. GPIO controllers are typically both an interrupt client and provider. Rob