Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2270622iof; Wed, 8 Jun 2022 01:02:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzxUva6gzsFlqGQOpFsvOe7xUTysQEwt+USDFAeAtj8rpThAwagQdt9oesCz6JtPIDw67d1 X-Received: by 2002:a17:90a:680d:b0:1e2:ff55:da6 with SMTP id p13-20020a17090a680d00b001e2ff550da6mr53857606pjj.133.1654675334840; Wed, 08 Jun 2022 01:02:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654675334; cv=none; d=google.com; s=arc-20160816; b=kdzWMu8TL71ULhXC1XdxX7SdfIWOuTeZxvs6j2dSBFehDsqqtSEdqMKBEe0vIV2IeX ABswjjCyMZKjOvloOGUKnVdQpMXGZFYf1+URQY+v5j49Hpg582TtVRX4fvaxA/uRipBs TidAgDXPsXpn+gD3fs9eoDsSVb4jozED97XeJagJjM0KGfoxQRqs2oKXCrZ248hHOrH+ mhwQqSRNceTVD5qlUJX62366sI3Y07TjbSMxE4ttYgmk/B2knCRSpdETotyt6awjpBBS 2Db2h/10cEhH0g6kKx5+Rq5FT5osFLBMbVRrV+AqdQet02JYsACYSr9Ts+ERJPwxA69Q SErA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=LPvMePA/kKWelxxfZdsHIjTnD6LnUnpUL0HG2gUDwtY=; b=gLUf5aNx+DYemmMXh5djgHZPecEOJ/eDJXOJ91hiq/2+zaX0wJME6X3G17Ui1MT+z+ hYii9dMtuoUEAk+ysvxluW/vStDLQMbaGr3uNEVHo1GGe2bE9+rWNtTtdOvRA1+Eh6J6 m8GzZNXI8mnr1tpOqWEEJUsq6wo0h93T1aK2GGe4tlOAQE1uiPss/Q/5aYTF72rEc+C9 qxyFsiUk3hycHjQ0DVULkvtF+JI4Kb85hqU9kMvG58O+BPMNrl/rLuWoBEP/GWGFhp6o 0LQsEfbznHyuNfdPiA8RoZQ4L15Rw9viIsDwWMRRagU5rulmpbCOIVbIji9sueYJ580E Kh7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wNPPdY9a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id j190-20020a6380c7000000b003fe24378d92si2323410pgd.156.2022.06.08.01.02.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 01:02:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wNPPdY9a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 820EE2010C3; Wed, 8 Jun 2022 00:31:35 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243768AbiFGSOg (ORCPT + 99 others); Tue, 7 Jun 2022 14:14:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347611AbiFGRwc (ORCPT ); Tue, 7 Jun 2022 13:52:32 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E900F143872; Tue, 7 Jun 2022 10:39:40 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 4B709B822C0; Tue, 7 Jun 2022 17:39:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9F223C385A5; Tue, 7 Jun 2022 17:39:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654623541; bh=dCeVzC/jF/iTDOn+inmUhCo29O8Nt84UucMF/ifylBA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wNPPdY9aLFLtBysy/grcQnD8C2qfkKfLEjJ6sZFUPcqI3vGubG+zoU/JoFjE5g8hy dmTMLFtKqBfd9xEo7XZ36f5EeVHUoJLMrLtpghxTwguNRsWKjoFDwMoReKhCkQ+t// Or1m3RkygKzOhOZ+ZrB40yNO9wKs0ZUDvH1sDY38= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Dinh Nguyen Subject: [PATCH 5.10 423/452] dt-bindings: gpio: altera: correct interrupt-cells Date: Tue, 7 Jun 2022 19:04:40 +0200 Message-Id: <20220607164921.161130361@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607164908.521895282@linuxfoundation.org> References: <20220607164908.521895282@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Dinh Nguyen commit 3a21c3ac93aff7b4522b152399df8f6a041df56d upstream. update documentation to correctly state the interrupt-cells to be 2. Cc: stable@vger.kernel.org Fixes: 4fd9bbc6e071 ("drivers/gpio: Altera soft IP GPIO driver devicetree binding") Signed-off-by: Dinh Nguyen Signed-off-by: Greg Kroah-Hartman --- Documentation/devicetree/bindings/gpio/gpio-altera.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- a/Documentation/devicetree/bindings/gpio/gpio-altera.txt +++ b/Documentation/devicetree/bindings/gpio/gpio-altera.txt @@ -9,8 +9,9 @@ Required properties: - The second cell is reserved and is currently unused. - gpio-controller : Marks the device node as a GPIO controller. - interrupt-controller: Mark the device node as an interrupt controller -- #interrupt-cells : Should be 1. The interrupt type is fixed in the hardware. +- #interrupt-cells : Should be 2. The interrupt type is fixed in the hardware. - The first cell is the GPIO offset number within the GPIO controller. + - The second cell is the interrupt trigger type and level flags. - interrupts: Specify the interrupt. - altr,interrupt-type: Specifies the interrupt trigger type the GPIO hardware is synthesized. This field is required if the Altera GPIO controller @@ -38,6 +39,6 @@ gpio_altr: gpio@ff200000 { altr,interrupt-type = ; #gpio-cells = <2>; gpio-controller; - #interrupt-cells = <1>; + #interrupt-cells = <2>; interrupt-controller; };