Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp572052iog; Mon, 13 Jun 2022 08:21:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyWRwxDYXd51KfkK0Ueo1GCtyGbkcUJh1S8fDI1KYjuE7jLUFddwGyDE9mL/Te3czmn2am2 X-Received: by 2002:a17:906:1109:b0:711:d8fe:fe56 with SMTP id h9-20020a170906110900b00711d8fefe56mr323078eja.261.1655133715931; Mon, 13 Jun 2022 08:21:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655133715; cv=none; d=google.com; s=arc-20160816; b=vB67/8qAxh3m0Bu2IQVVuPeKVxWzAYyp14cJr1PQOrrYVwXah5j6eo/otKPctm+sAD Bkoc8XF97pm5bzoUoGiK3qZrqAYX6UVgbkUi/1+BjC/XygthLMqZTUtL5Agnh0afmkbW FMXAiwn577HlmEa9kDXxXGDmsFSZb+WUMRygCGJZn7Bap8IjHpppduIAaxwgR9nq1y2X 0cNLaSKDvqJ001geN+uedy99jFb/msg1k+eDa1dpOylfUuepCOuaz4f2Z18KynCbw4k7 wPqfgG7E/wkF9KyB5TMTpf8DfcuV45CHROxBTnD4hf50NorXpmGwhzeQmU/L+AMVYHBW g6OQ== 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=ga3V9acgf5QnLgyL0WC+AD17rOpPbJGuRkdjlnkaK9bDxwlgQziY08UFtiFQhTp0LV /HxsyatEgiRSfDW8arG38cVjI011hlqw0qXJhaI5ViTFGqIvjYEHPyh17x1voIF0XJJg /O1sYClQD6zllWEqidZr7wQM4QISGW8qNBgE+gJLlYY4NYmTBS6tw/9lw1Y4/C+HvZwv c5R0B0KFBEQ3XuwQV3eIAy0eu9bm0U8BcEarn4fyfVWSw4F66D4btPF/meUJ8ek/v0IU v8SMrlQoKpR9SD2HJG+sz5HAzBDz932IiJxnEyk8j4qUFPWoiR8LQDjz72Fk57JqoSsN 2pqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=zWNvIsa5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e14-20020a50e44e000000b0042f4ae66c4asi7779091edm.148.2022.06.13.08.21.30; Mon, 13 Jun 2022 08:21:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=zWNvIsa5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355316AbiFMLeu (ORCPT + 99 others); Mon, 13 Jun 2022 07:34:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354413AbiFML32 (ORCPT ); Mon, 13 Jun 2022 07:29:28 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC389A456; Mon, 13 Jun 2022 03:44:12 -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 7B528B80D3F; Mon, 13 Jun 2022 10:44:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E3A7BC3411F; Mon, 13 Jun 2022 10:44:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1655117050; bh=dCeVzC/jF/iTDOn+inmUhCo29O8Nt84UucMF/ifylBA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zWNvIsa5F1ZQsz1SeyLhBxdpmEq4hQ/AXj2d/NABVxWN1lcGzSQShAUy2ES62eIPz ldmBoIQNjL+5SVmtKhCcPa2A/rTjvs36R19E2Az4ldHHYOnQSK1ZreB7ErU9qpfja0 A8DJdPsUQLst9yCO6JK95k4nfkKHE9y4vCSb+mLI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Dinh Nguyen Subject: [PATCH 5.4 268/411] dt-bindings: gpio: altera: correct interrupt-cells Date: Mon, 13 Jun 2022 12:09:01 +0200 Message-Id: <20220613094936.795147837@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220613094928.482772422@linuxfoundation.org> References: <20220613094928.482772422@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=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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; };