Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757279AbaGVXmN (ORCPT ); Tue, 22 Jul 2014 19:42:13 -0400 Received: from mail-la0-f52.google.com ([209.85.215.52]:57144 "EHLO mail-la0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756914AbaGVXmM (ORCPT ); Tue, 22 Jul 2014 19:42:12 -0400 MIME-Version: 1.0 In-Reply-To: <1405977438-15517-1-git-send-email-marek@goldelico.com> References: <1405977438-15517-1-git-send-email-marek@goldelico.com> From: Bryan Wu Date: Tue, 22 Jul 2014 16:41:49 -0700 Message-ID: Subject: Re: [PATCH] Documentation: dts: tcs6507: Fix wrong statement about #gpio-cells To: Marek Belisko Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , NeilBrown , "Dr. H. Nikolaus Schaller" , "devicetree@vger.kernel.org" , lkml Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 21, 2014 at 2:17 PM, Marek Belisko wrote: > Update comment about gpio-cells which says not correctly to be set to 0. > When we want to reference tca6507 gpio #gpio-cells must be set to 2 (it is > already correct in example). > Good fix. I applied it Thanks, -Bryan > Signed-off-by: Marek Belisko > --- > Documentation/devicetree/bindings/leds/tca6507.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/leds/tca6507.txt b/Documentation/devicetree/bindings/leds/tca6507.txt > index d7221b8..bad9102 100644 > --- a/Documentation/devicetree/bindings/leds/tca6507.txt > +++ b/Documentation/devicetree/bindings/leds/tca6507.txt > @@ -8,7 +8,7 @@ Required properties: > > Optional properties: > - gpio-controller: allows lines to be used as output-only GPIOs. > -- #gpio-cells: if present, must be 0. > +- #gpio-cells: if present, must not be 0. > > Each led is represented as a sub-node of the ti,tca6507 device. > > -- > 1.9.1 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/