Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2286031iof; Wed, 8 Jun 2022 01:27:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3JVoaEBQ6d8ZqU410V5wXhJnZIPPQUM3h4W6wmeHVQDcQpcSDIhYigeOzAsR+1MyTMbLT X-Received: by 2002:a65:694a:0:b0:3fb:9d3b:431b with SMTP id w10-20020a65694a000000b003fb9d3b431bmr29445986pgq.276.1654676826991; Wed, 08 Jun 2022 01:27:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654676826; cv=none; d=google.com; s=arc-20160816; b=TbswqgAK0rCNqLJBtD8b3SnGLkNf3FbbPzTzRDUbwEIF94V3wOQaOhyvGg5fC3KfMi nOtUcwBCPdvV78cFAMkRPMSo5pVew6C6MIv78aQpxFVJsscNXb4YA53ljptU55d/BfqP IC5YS34YYIzoEf2cfDc5UIVL6Qft/2wAMHW3C28WnvUj5CH/FMf+2orIJR5MeTMWiBN2 BlLeXzRoo0Cz2l1wXXoLQoiKASmK17kuQj7Vp4ZEjj6dS64ovn/KrTFTdatUgpwQNmJF lENX1nau8t6y9l0gZBQ+5FgKG8LcrHydV18TZrACj2KopCx3Fu3H+g011KQ1CaT9I9pN PB3w== 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=iPY3sq2NBMGqq8JlF+L4N+P8K8KYqxnkWUVjz7ptYDyMxp9oQuOa8l5FuHFxU6zNZV LhEDOlrb08zTMyqKwNH+8ftlcrYLeVIlJVIukoTshPH0wo+kFoZ2xkyTkC74FfO5WjDv WJ10ETTML+tBoTUjkFNpEzV5GFfWYS19gWyuyIDlP9npwm4sbcM2JlQ2CkHJNqC9DLP5 m8hHHgP53nbqwsOlmoDnXub5Ctpa8091fFY/TFHh4QUQFKi1VzGPS5VDDl3DFEo4ZgBz CR791EQcQKfsi2ZmlKJHrnsFuZXr7VpkPgXNFcjo3CjPecDyFTSWKET1d8gjyE2gC5/s vukA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YLge8xIU; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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. [23.128.96.19]) by mx.google.com with ESMTPS id v37-20020a631525000000b003f9f41da8c6si27834592pgl.2.2022.06.08.01.27.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 01:27:06 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YLge8xIU; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 177C310EA51; Wed, 8 Jun 2022 00:56:52 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442013AbiFHB7P (ORCPT + 99 others); Tue, 7 Jun 2022 21:59:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1836575AbiFGX61 (ORCPT ); Tue, 7 Jun 2022 19:58:27 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2268519DE58; Tue, 7 Jun 2022 12:26:19 -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 D5E87B8220B; Tue, 7 Jun 2022 19:26:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3B786C385A2; Tue, 7 Jun 2022 19:26:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654629976; bh=dCeVzC/jF/iTDOn+inmUhCo29O8Nt84UucMF/ifylBA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YLge8xIU3ooZkVZeDb1wuBp252Au881H6zhvFdMkddZnUXSI4ZVzghIuwlbZN2ey2 zSjtLxAEWP0cafyohdcnbYnIPYn39g76ALzMBU0GycKGQYmo9Tvmh1ut3glEkR1AJZ WltDg+RvZfQk68gYEWdq/u6IWafSySQCfu+6J7TI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Dinh Nguyen Subject: [PATCH 5.18 856/879] dt-bindings: gpio: altera: correct interrupt-cells Date: Tue, 7 Jun 2022 19:06:14 +0200 Message-Id: <20220607165027.701355783@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607165002.659942637@linuxfoundation.org> References: <20220607165002.659942637@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; };