Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp377181rdb; Thu, 19 Oct 2023 07:09:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEVD7Zut7NKrsD6XaQpO8RiCjYuFvBStlvoGhQlM+IXhDhCokX2xXMBr/X88hMkRVxfd4Qo X-Received: by 2002:a05:6a00:a12:b0:6bb:4360:159e with SMTP id p18-20020a056a000a1200b006bb4360159emr2637567pfh.17.1697724543887; Thu, 19 Oct 2023 07:09:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697724543; cv=none; d=google.com; s=arc-20160816; b=HK8nsUEAVH6qsqEIu+vG74GRgyQ8wlvoz/fosrNiZmbM+I15SBgUdyyVisILtz1vv1 hj/2Dyi15KVA9NtVwM3+g7K+YSM+kY3nxRUWipuZwyWEth/4NqwvJAzezi3F5bsA4ZCB RyUD6pgTa1idODVzOO+afAl+XzqkVtuxqKJ1j4bn6VNSa6t16rDkV2lbbR7ABpgetSOm Wvc12pDSBh0KCN98u5/k94gcKneVeM9vK3zw61wqsBpWNkzy+X5X5Penz7lgQr1sSgAE IZo0JuisPtIXVJCULCN8Xft/tmlNP9DqcZosjcbEI3CAmTegK7TLgT9G7Nw0mrJ7Fg56 KvTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=kIjMMeUaXtdNU0+od/CBrWuwXYehl51d+XmTTcPs/WI=; fh=2usdmik8hyRAIaaqi0kKqVztHbVgrNzenazAVA48qyM=; b=yAwhTxOOUG+LE1E4z5bmP4o2HWJ03KPhY9EBdbwD3AmE5xKmv03e95lekkWyFHFZ7x ob8EFgDW/g/7Ebj9qpTZ9Ymd39rAcOT47987Dt/xU58nHYlwEwkdqjA/UUkEF+V+n5xF 2QQVhlCpzb9tdC5HNGLRTdTieC01DElCRR8DoAc5cCjrV/Jmh34dH9/4xUh6RMbWWrlD 7rR6jD25n1IToHpNxvdv1P2BI5pjSl2PQruN/8t7OuNPmQAdSuUr7sLOJlJXLOpgPvXR rJXGiDlezop6bQiQwTZbmVC4946JYySuJpe1sGkZov7QtIdWIxC5IZ1vlgHJWDxSdpQi yQ3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QhQVvKe+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id cn6-20020a056a020a8600b005891a066de8si4694536pgb.416.2023.10.19.07.08.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 07:09:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QhQVvKe+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 87999819D229; Thu, 19 Oct 2023 07:08:52 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345906AbjJSOIq (ORCPT + 99 others); Thu, 19 Oct 2023 10:08:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345723AbjJSOIo (ORCPT ); Thu, 19 Oct 2023 10:08:44 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CFF6131; Thu, 19 Oct 2023 07:08:43 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 92D62C433C7; Thu, 19 Oct 2023 14:08:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697724523; bh=lhJF9TO9qDHVZeczKmduBiUarXg9CHGv9aAPKmSdQ6c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QhQVvKe+lXrjNK7ePC/gXDPrdG3kPTYXMjuEAqKdYUOV4fiTPEQuxTfT75OKdP6OF nBDPC2sDE6D2AjjKu6FXtrSWRIGa8S/pUSFzzxvkz21Q0Uzpr+b3ZDRWp5rzqYbyLu 9lPxQrg7COBuzoyyEPfMs3X4oRXx5aeUmRC5r/oyxvlbpiTLI19gL30tE1+jof7mK5 7FSwVDXVj2TZZVelKsPa/KsJ7oQmi1lSLu5Zp1yPHxv6+yT8k8z/QjljZdEKkpHae/ jkFUaXelPQurfONpAp4IdUIMSKPS+XymSCnYa0DsA2vnIKXhC+GT4wZP13ypmsmJTV aJqqOd8zUyL4A== Date: Thu, 19 Oct 2023 15:08:38 +0100 From: Conor Dooley To: Dmitry Rokosov Cc: lee@kernel.org, pavel@ucw.cz, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, andy.shevchenko@gmail.com, kernel@sberdevices.ru, rockosov@gmail.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org Subject: Re: [PATCH v2 11/11] dt-bindings: leds: aw200xx: fix led pattern and add reg constraints Message-ID: <20231019-clarify-unstopped-71fe018b6a8b@spud> References: <20231018182943.18700-1-ddrokosov@salutedevices.com> <20231018182943.18700-12-ddrokosov@salutedevices.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="583YNsUVrmxxvyQI" Content-Disposition: inline In-Reply-To: <20231018182943.18700-12-ddrokosov@salutedevices.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 19 Oct 2023 07:08:52 -0700 (PDT) --583YNsUVrmxxvyQI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 18, 2023 at 09:29:43PM +0300, Dmitry Rokosov wrote: > AW200XX controllers have the capability to declare more than 0xf LEDs, > therefore, it is necessary to accept LED names using an appropriate > regex pattern. >=20 > The register offsets can be adjusted within the specified range, with > the maximum value corresponding to the highest number of LEDs that can > be connected to the controller. Do all of these controllers have identical max numbers of LEDs? Cheers, Conor. >=20 > Fixes: e338a05e76ca ("dt-bindings: leds: Add binding for AW200xx") > Signed-off-by: Dmitry Rokosov > --- > .../devicetree/bindings/leds/awinic,aw200xx.yaml | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) >=20 > diff --git a/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml b= /Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml > index efb18ddce383..677c73aa6232 100644 > --- a/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml > +++ b/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml > @@ -42,16 +42,18 @@ properties: > maxItems: 1 > =20 > patternProperties: > - "^led@[0-9a-f]$": > + "^led@[0-9a-f]+$": > type: object > $ref: common.yaml# > unevaluatedProperties: false > =20 > properties: > reg: > - description: > - LED number > - maxItems: 1 > + items: > + description: > + LED number > + minimum: 0 > + maximum: 108 > =20 > led-max-microamp: > default: 9780 > --=20 > 2.36.0 >=20 --583YNsUVrmxxvyQI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZTE4ZgAKCRB4tDGHoIJi 0iZpAQDHMFTIGQM98jN9qRcYxmQFMSfULTdz7fFQwWy8EkVwDQEA9IP7oOx+D2LZ DY30ZjJVn3jbDrBPalja65VIPiUAWww= =Aktz -----END PGP SIGNATURE----- --583YNsUVrmxxvyQI--