From patchwork Mon Feb 29 16:23:17 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 590032 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 68A4E140784 for ; Tue, 1 Mar 2016 03:23:23 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753374AbcB2QXW (ORCPT ); Mon, 29 Feb 2016 11:23:22 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:54982 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753249AbcB2QXV (ORCPT ); Mon, 29 Feb 2016 11:23:21 -0500 Received: from mail.nefkom.net (unknown [192.168.8.184]) by mail-out.m-online.net (Postfix) with ESMTP id 3qDRj26nv4z3hjQv; Mon, 29 Feb 2016 17:23:18 +0100 (CET) X-Auth-Info: uifkHNmHuu7UKOYzyqnf9oZrXkqUCc7m+CUHpTZCXIk= Received: from chi.lan (unknown [195.140.253.167]) by smtp-auth.mnet-online.de (Postfix) with ESMTPA id 3qDRj22M0qzvdWV; Mon, 29 Feb 2016 17:23:18 +0100 (CET) From: Marek Vasut To: linux-gpio@vger.kernel.org Cc: Marek Vasut , Tien Hock Loh , Linus Walleij Subject: [PATCH] dt-bindings: gpio: altera: Fix altr, interrupt-type property Date: Mon, 29 Feb 2016 17:23:17 +0100 Message-Id: <1456762997-7607-1-git-send-email-marex@denx.de> X-Mailer: git-send-email 2.7.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The altr,interrupt-trigger property is not used by the driver. Instead, altr,interrupt-type is used by the driver and the driver does not probe if this property is not specified. Therefore, it is expected that there are no users of the -trigger property in the wild and that this is a typo in the documentation for the altera-pio controller. This patch fixes the typo. Signed-off-by: Marek Vasut Cc: Tien Hock Loh Cc: Linus Walleij --- Documentation/devicetree/bindings/gpio/gpio-altera.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/gpio/gpio-altera.txt b/Documentation/devicetree/bindings/gpio/gpio-altera.txt index 12f5014..826a720 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-altera.txt +++ b/Documentation/devicetree/bindings/gpio/gpio-altera.txt @@ -12,7 +12,7 @@ Required properties: - #interrupt-cells : Should be 1. The interrupt type is fixed in the hardware. - The first cell is the GPIO offset number within the GPIO controller. - interrupts: Specify the interrupt. -- altr,interrupt-trigger: Specifies the interrupt trigger type the GPIO +- altr,interrupt-type: Specifies the interrupt trigger type the GPIO hardware is synthesized. This field is required if the Altera GPIO controller used has IRQ enabled as the interrupt type is not software controlled, but hardware synthesized. Required if GPIO is used as an interrupt @@ -35,7 +35,7 @@ gpio_altr: gpio@0xff200000 { reg = <0xff200000 0x10>; interrupts = <0 45 4>; altr,ngpio = <32>; - altr,interrupt-trigger = ; + altr,interrupt-type = ; #gpio-cells = <2>; gpio-controller; #interrupt-cells = <1>;