From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: [PATCH v2 1/6] gpio: rcar: Add optional functional clock to bindings Date: Mon, 14 Apr 2014 20:33:12 +0200 Message-ID: <1397500397-12607-2-git-send-email-geert@linux-m68k.org> References: <1397500397-12607-1-git-send-email-geert@linux-m68k.org> Return-path: In-Reply-To: <1397500397-12607-1-git-send-email-geert@linux-m68k.org> Sender: linux-sh-owner@vger.kernel.org To: Simon Horman , Magnus Damm Cc: linux-sh@vger.kernel.org, Geert Uytterhoeven , Linus Walleij , Laurent Pinchart , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org List-Id: devicetree@vger.kernel.org From: Geert Uytterhoeven Signed-off-by: Geert Uytterhoeven Cc: Linus Walleij Cc: Laurent Pinchart Cc: linux-gpio@vger.kernel.org Cc: devicetree@vger.kernel.org --- v2: - Functional clock is mandatory depending on hardware (thanks, Laurent) --- .../devicetree/bindings/gpio/renesas,gpio-rcar.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt b/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt index f61cef74a212..941a26aa4322 100644 --- a/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt +++ b/Documentation/devicetree/bindings/gpio/renesas,gpio-rcar.txt @@ -21,6 +21,12 @@ Required Properties: GPIO_ACTIVE_HIGH and GPIO_ACTIVE_LOW flags are supported. - gpio-ranges: Range of pins managed by the GPIO controller. +Optional properties: + + - clocks: Must contain a reference to the functional clock. The property is + mandatory if the hardware implements a controllable functional clock for + the GPIO instance. + Please refer to gpio.txt in this directory for details of gpio-ranges property and the common GPIO bindings used by client devices. -- 1.7.9.5