From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 645D2C433DF for ; Mon, 22 Jun 2020 19:53:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4755F2076E for ; Mon, 22 Jun 2020 19:53:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728388AbgFVTxo (ORCPT ); Mon, 22 Jun 2020 15:53:44 -0400 Received: from v6.sk ([167.172.42.174]:33338 "EHLO v6.sk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728386AbgFVTxn (ORCPT ); Mon, 22 Jun 2020 15:53:43 -0400 Received: from localhost (v6.sk [IPv6:::1]) by v6.sk (Postfix) with ESMTP id D859561628; Mon, 22 Jun 2020 19:53:11 +0000 (UTC) Date: Mon, 22 Jun 2020 21:53:07 +0200 From: Lubomir Rintel To: Lee Jones Cc: Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring Subject: Re: [PATCH v5 1/2] dt-bindings: mfd: Add ENE KB3930 Embedded Controller binding Message-ID: <20200622195307.GA1245768@furthur.local> References: <20200617110829.1036898-1-lkundrak@v3.sk> <20200617110829.1036898-2-lkundrak@v3.sk> <20200622065350.GN954398@dell> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200622065350.GN954398@dell> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Mon, Jun 22, 2020 at 07:53:50AM +0100, Lee Jones wrote: > On Wed, 17 Jun 2020, Lubomir Rintel wrote: > > > Add binding document for the ENE KB3930 Embedded Controller. > > > > Signed-off-by: Lubomir Rintel > > Reviewed-by: Rob Herring > > > > --- > > Changes since v4: > > - Collected Rob's Reviewed-by > > > > Changes since v1: > > - Addressed binding validation failure > > > > .../devicetree/bindings/mfd/ene-kb3930.yaml | 55 +++++++++++++++++++ > > 1 file changed, 55 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/mfd/ene-kb3930.yaml > > > > diff --git a/Documentation/devicetree/bindings/mfd/ene-kb3930.yaml b/Documentation/devicetree/bindings/mfd/ene-kb3930.yaml > > new file mode 100644 > > index 0000000000000..005f5cb59ab12 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/mfd/ene-kb3930.yaml > > @@ -0,0 +1,55 @@ > > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/mfd/ene-kb3930.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: ENE KB3930 Embedded Controller bindings > > Please expand ENE. I don't think it's an acronym; seems like the company is just called "ENE". > > > +description: | > > + This binding describes the ENE KB3930 Embedded Controller attached to a > > + I2C bus. > > Nit: "an I2C bus" > > > +maintainers: > > + - Lubomir Rintel > > + > > +properties: > > + compatible: > > + items: > > + - enum: > > + - dell,wyse-ariel-ec # Dell Wyse Ariel board (3020) > > + - const: ene,kb3930 > > + reg: > > + maxItems: 1 > > + > > + off-gpios: > > + description: GPIO used with the shutdown protocol on Ariel > > + maxItems: 2 > > + > > + system-power-controller: true > > + > > +required: > > + - compatible > > + - reg > > + > > +additionalProperties: false > > + > > +examples: > > + - | > > + #include > > + > > + i2c { > > + #address-cells = <1>; > > + #size-cells = <0>; > > + > > + embedded-controller@58 { > > + compatible = "dell,wyse-ariel-ec", "ene,kb3930"; > > + reg = <0x58>; > > + system-power-controller; > > + > > + off-gpios = <&gpio 126 GPIO_ACTIVE_HIGH>, > > + <&gpio 127 GPIO_ACTIVE_HIGH>; > > + }; > > + }; > > + > > +... > > -- > Lee Jones [李琼斯] > Senior Technical Lead - Developer Services > Linaro.org │ Open source software for Arm SoCs > Follow Linaro: Facebook | Twitter | Blog