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=-4.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, PDS_BAD_THREAD_QP_64,SPF_HELO_NONE,SPF_PASS autolearn=no 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 B2087C433DB for ; Mon, 29 Mar 2021 06:04:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 87D6861964 for ; Mon, 29 Mar 2021 06:04:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229515AbhC2GDj (ORCPT ); Mon, 29 Mar 2021 02:03:39 -0400 Received: from smtp2.axis.com ([195.60.68.18]:45099 "EHLO smtp2.axis.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229502AbhC2GDH (ORCPT ); Mon, 29 Mar 2021 02:03:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1616997787; x=1648533787; h=from:to:cc:subject:date:message-id:references: content-transfer-encoding:mime-version; bh=6TtND9PQIr5Ym9feqaAO8smz4OK2c/OlqmLq061Vq+E=; b=XMW1i6Rof+UcYdL2aGtOerRDqu+wfnC7h7cGL15EWCTh5p1w+EEX6GFX P3Njg0jLZFuKc0gw+M0CDlo3kDEr03p5rVJIJTir73Pxj8n94p0ltxH4o aSvLL+aQ3Xl2tYI+8lNwE3QnlI4XvzGwrDhv2lOWTPHj44tCK6ml0wLBJ pxb5JK31mlQJiHh0VUWANr4bFYQFIP9Y39nCqlYR+FYShtgoezThSI4HT mEjoznxqx/shvxSZyebA7gudRVq0/8YCmzbfE0TwRKo6OLX4CtqFJHtR5 0zly6bPqyexo9SIwD7mlWo4SYIor7smEzbE4bjckZlO+9MQ0JHf9SOcK/ Q==; From: Hermes Zhang To: Rob Herring , Hermes Zhang CC: "pavel@ucw.cz" , "dmurphy@ti.com" , "linux-leds@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "lkml@axis.com" , kernel Subject: Re: [PATCH v2 1/2] dt-binding: leds: Document leds-multi-gpio bindings Thread-Topic: [PATCH v2 1/2] dt-binding: leds: Document leds-multi-gpio bindings Thread-Index: AQHXIgDl2ysDeRaH6UilDJnuafb3DQ== Date: Mon, 29 Mar 2021 06:03:05 +0000 Message-ID: References: <20210326052801.17666-1-chenhui.zhang@axis.com> <20210326052801.17666-2-chenhui.zhang@axis.com> <20210327181222.GA327657@robh.at.kernel.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.0.5.60] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/28/21 2:12 AM, Rob Herring wrote:=0A= >> +=0A= >> + led-gpios:=0A= >> + description: Array of one or more GPIOs pins used to control the LE= D.=0A= >> + minItems: 1=0A= >> + maxItems: 8 # Should be enough=0A= >> +=0A= >> + led-states:=0A= >> + description: |=0A= >> + The array list the supported states here which will map to bright= ness=0A= >> + from 0 to maximum. Each item in the array will present all the GP= IOs=0A= >> + value by bit.=0A= >> + $ref: /schemas/types.yaml#/definitions/uint8-array=0A= >> + minItems: 1=0A= >> + maxItems: 256 # Should be enough=0A= > Isn't this the same as the standard 'brightness-levels' from backlight = =0A= > binding? The index is the level and the value is the h/w specific =0A= > setting.=0A= =0A= Yes, it seems same.=0A= =0A= =0A= Best Regards,=0A= =0A= Hermes=0A= =0A=