Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751811AbdHCHmh (ORCPT ); Thu, 3 Aug 2017 03:42:37 -0400 Received: from mail-io0-f172.google.com ([209.85.223.172]:33654 "EHLO mail-io0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751220AbdHCHmd (ORCPT ); Thu, 3 Aug 2017 03:42:33 -0400 MIME-Version: 1.0 In-Reply-To: <1500635941-12930-1-git-send-email-chenjh@rock-chips.com> References: <1500635681-12477-1-git-send-email-chenjh@rock-chips.com> <1500635941-12930-1-git-send-email-chenjh@rock-chips.com> From: Linus Walleij Date: Thu, 3 Aug 2017 09:42:31 +0200 Message-ID: Subject: Re: [PATCH v7 12/12] pinctrl: dt-bindings: add bindings for Rockchip RK805 PMIC To: Joseph Chen Cc: Alexandre Courbot , Dmitry Torokhov , "open list:ARM/Rockchip SoC..." , "linux-kernel@vger.kernel.org" , Tao Huang , Tony Xie , zhangqing@rock-chips.com, David Wu , "devicetree@vger.kernel.org" , w.egorov@phytec.de, Liam Girdwood , Mark Brown , Rob Herring , Mark Rutland , "linux-gpio@vger.kernel.org" , Linux Input Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1010 Lines: 39 On Fri, Jul 21, 2017 at 1:19 PM, Joseph Chen wrote: (...) > +Following are optional properties defined as pinmux DT binding document > +. Absence of properties will leave the configuration > +on default. > + function, > + output-low, > + output-high. > + > +Valid values for function properties are: gpio. > + > +Theres is also not customised properties for any GPIO. > + > +Example: > +-------- > +rk805: rk805@18 { > + compatible = "rockchip,rk805"; > + ... > + gpio-controller; > + #gpio-cells = <2>; > + > + pinctrl-names = "default"; > + pinctrl-0 = <&pmic_int_l>, <&rk805_default>; > + > + rk805_default: pinmux { > + gpio01 { > + pins = "gpio0", "gpio1"; > + function = "gpio"; > + output-high. That should be a semicolon. With that fixed: Acked-by: Linus Walleij Yours, Linus Walleij