Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3355243pxf; Sun, 28 Mar 2021 23:04:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwyHmnLdF5PZOpj1luHQkA17o3D/Kd+VVUVERbKWE0d99cujCrRXu3HRZojkz1rc+hV9nfr X-Received: by 2002:a17:906:19d9:: with SMTP id h25mr28000223ejd.453.1616997896580; Sun, 28 Mar 2021 23:04:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616997896; cv=none; d=google.com; s=arc-20160816; b=JjvMcRWOrjny+DcnMwmMEOI2EjWYFWRkpZOes8c18bgu8F0oDgC6EZ+udG8GymsCEm hTNtIOPWJSykRY4XXts401zT0OtnnKfB2xneT4lsjNFDxyVTr4fDFphn6P/pKNhfOgfB H8i7//nE/5YjA2jndXXT76FJ+rimf5Cot5ZEMvg2JJPvm6fdDsholuittkUISV7ofdCu TbT0v2GS3Zq1HvPZ89RmkLhe9c1JiDrwGHYEHtg1YdSC+WdhT4mbCyq5pHQ6ACpPi0Fz Hp4tFTvDC5WFO8k+Z2haNNRpB39DJGMHGDf7XgQTLlJmTOaODCxiQ+ziyA3H/O8yrGAN 5l/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:references:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=6TtND9PQIr5Ym9feqaAO8smz4OK2c/OlqmLq061Vq+E=; b=JImxjkmKYQPG80mpcG4p9u4RmXbLUZq8w+BVE0cHPhotBxl6fjrOTJHselQcn2/bbV aKBXt8ZJJuPxotuj7fuHt7+hnvjQGxKtePEn2dURT0AXGrwa3Nvla8aFUMUwuCt7wYaO fL+v2yWCImbfdbph+rrGGrlStExl+KSSyulxop4VY9GZUETuGdIZUvenyFn6PmKRFpOd FCKhU4gO/J8aJcbC18mmsEZI87LlVFF0cGUTBmW8RyHSFLDQAWpcsITJo4YZAFPV4rza WHbsF9ISnomIsL1Rzv8iuBovOTEiHCC6ZIldM3cJo0Wh2PshrMy36UWN+ZxJ3LQYnRWj N9RA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@axis.com header.s=axis-central1 header.b=XMW1i6Ro; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=axis.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t17si11956981ejx.576.2021.03.28.23.04.34; Sun, 28 Mar 2021 23:04:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@axis.com header.s=axis-central1 header.b=XMW1i6Ro; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=axis.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229911AbhC2GDi (ORCPT + 99 others); Mon, 29 Mar 2021 02:03:38 -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=