Message ID | 20231006160437.15627-3-ddrokosov@salutedevices.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp433251vqo; Fri, 6 Oct 2023 09:05:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGK8LkmUsFLCXN2jcJpaW/Bb3L/rR0ojecF4iIZx7WDYCREtR+t72EsjBEB+1KpdBPYroJ5 X-Received: by 2002:a05:6e02:1d94:b0:351:4bf9:5b02 with SMTP id h20-20020a056e021d9400b003514bf95b02mr10503415ila.7.1696608314305; Fri, 06 Oct 2023 09:05:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696608314; cv=none; d=google.com; s=arc-20160816; b=LvbmAQtDSmzhlJWxrPV61feMC4VbWhimS+Dfbi2DFHT7TTqoVrf88GeOof5qhi8GMY Ectx76AOMQac3e/Mu6ePnKCRrJ3H+XGdQsI5KwX35QrRCN0JH0BgWEl5nQZk1BP7qHGL YmQ8LxZ3ZWKea07vAAKsZTj2nknk+MFdqpKBst2ZGyFnuMWP65WnI12Wwp0BQQf0H3A/ eSarPiVQlHOzMfDf5q5gEria5k33FqL+doMJ3bCBE83TwSup67N9xxtPSm4CacF/zbmZ DRIPnsYWZvuXvt+YvrjB0dIhyTEahWLpzRI5gz8c/uGwtoPOwYfg9zIQTq+zq557+lQ6 X/bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=tTgk3K5xA8w9csRsVGIWe85mmfrm+XajO3H96oGzBLk=; fh=sGimd2ZdVvk8/MILn8/B31HxCT6JTOun9AZJxJGQyuE=; b=dn0HF+IQdPGscF6MOULE73+2ZIntZXP3UdRXRicH/pvHPqJ9jZxq72VKbxdKsjSTKs 2geAXTDxC3apv+eA5+Rwxqz3+kkMmWwdDZnxXEcdEC3KtRDGAT48F/FDzOi+zvKOKqlM 5l5EoWH6ocT2t0EQQjaL1PwzVhUCJaS9O+jCN9zrMBaCbDu68kF4jBH+Z5v8NTGa5xa/ OF8NEkLjBPw331gy2l/1canhs1DEEaNJKLCA4XBWVap/7Y7iL41sCImNjG7gEafOaXDc +Ij/JwJmbAyO56fuVhtf2psXRYl+2xxB1Mrpukpfq3JTI0bzNMiDC8x1O6mj0FeTp+eP kWsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=TlZXf5ip; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=salutedevices.com Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id p24-20020a637418000000b0058978136252si3241895pgc.484.2023.10.06.09.05.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 09:05:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=TlZXf5ip; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=salutedevices.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 055DC82E53F7; Fri, 6 Oct 2023 09:05:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232960AbjJFQFL (ORCPT <rfc822;ezelljr.billy@gmail.com> + 18 others); Fri, 6 Oct 2023 12:05:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232917AbjJFQFC (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 6 Oct 2023 12:05:02 -0400 Received: from mx1.sberdevices.ru (mx2.sberdevices.ru [45.89.224.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36281AD; Fri, 6 Oct 2023 09:05:00 -0700 (PDT) Received: from p-infra-ksmg-sc-msk02 (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id 62A32120009; Fri, 6 Oct 2023 19:04:58 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru 62A32120009 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salutedevices.com; s=mail; t=1696608298; bh=tTgk3K5xA8w9csRsVGIWe85mmfrm+XajO3H96oGzBLk=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=TlZXf5ip2VgKx3p5qPS9UgH3pFlbwwoMAhwEjHBti+Edm3n/jLPzoxYi2mcG3MdkD tawoyZvzp+7RZp4WskJhtm7mh7K02O3VTPsQNNzwif0MtPE9BoA0E+NTnHEn9KsyqG ENJbVdIvBHIfxcC+pJSSvLhdx0zqc9EOSrFRrvjntkCdm/pDdC9MCzxQbIs32zgfr7 W8v8XPLo/Ob0xcroXe0MqieplqkVRN5vZVvEbOdVA1TzGUYhUqaHeGrxFqiusH7GAi 6oZ8M3KjOL8aCJWPU0tfFY2eDJY+DGu1qACur9rSVJTlq0FfWyAVKfydpd2/xHe8Qd X/wYBBoQyb31w== Received: from p-i-exch-sc-m01.sberdevices.ru (p-i-exch-sc-m01.sberdevices.ru [172.16.192.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sberdevices.ru (Postfix) with ESMTPS; Fri, 6 Oct 2023 19:04:58 +0300 (MSK) Received: from localhost.localdomain (100.64.160.123) by p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Fri, 6 Oct 2023 19:04:57 +0300 From: Dmitry Rokosov <ddrokosov@salutedevices.com> To: <lee@kernel.org>, <pavel@ucw.cz>, <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <conor+dt@kernel.org>, <andy.shevchenko@gmail.com> CC: <kernel@sberdevices.ru>, <rockosov@gmail.com>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-leds@vger.kernel.org>, Dmitry Rokosov <ddrokosov@salutedevices.com> Subject: [PATCH v1 02/11] dt-bindings: leds: aw200xx: fix led dt node pattern Date: Fri, 6 Oct 2023 19:04:28 +0300 Message-ID: <20231006160437.15627-3-ddrokosov@salutedevices.com> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20231006160437.15627-1-ddrokosov@salutedevices.com> References: <20231006160437.15627-1-ddrokosov@salutedevices.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [100.64.160.123] X-ClientProxiedBy: p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) To p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) X-KSMG-Rule-ID: 10 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Lua-Profiles: 180439 [Oct 06 2023] X-KSMG-AntiSpam-Version: 6.0.0.2 X-KSMG-AntiSpam-Envelope-From: ddrokosov@salutedevices.com X-KSMG-AntiSpam-Rate: 0 X-KSMG-AntiSpam-Status: not_detected X-KSMG-AntiSpam-Method: none X-KSMG-AntiSpam-Auth: dkim=none X-KSMG-AntiSpam-Info: LuaCore: 535 535 da804c0ea8918f802fc60e7a20ba49783d957ba2, {Tracking_from_domain_doesnt_match_to}, 100.64.160.123:7.1.2;127.0.0.199:7.1.2;salutedevices.com:7.1.1;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;p-i-exch-sc-m01.sberdevices.ru:5.0.1,7.1.1, FromAlignment: s, ApMailHostAddress: 100.64.160.123 X-MS-Exchange-Organization-SCL: -1 X-KSMG-AntiSpam-Interceptor-Info: scan successful X-KSMG-AntiPhishing: Clean X-KSMG-LinksScanning: Clean X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 2.0.1.6960, bases: 2023/10/06 13:25:00 #22070343 X-KSMG-AntiVirus-Status: Clean, skipped X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 06 Oct 2023 09:05:13 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779022759528539018 X-GMAIL-MSGID: 1779022759528539018 |
Series |
leds: aw200xx: several driver updates
|
|
Commit Message
Dmitry Rokosov
Oct. 6, 2023, 4:04 p.m. UTC
AW200XX controllers have the capability to declare more than 0xf LEDs,
therefore, it is necessary to accept LED names using an appropriate
regex pattern.
Fixes: e338a05e76ca ("dt-bindings: leds: Add binding for AW200xx")
Signed-off-by: Dmitry Rokosov <ddrokosov@salutedevices.com>
---
Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Fri, Oct 06, 2023 at 07:04:28PM +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. > > Fixes: e338a05e76ca ("dt-bindings: leds: Add binding for AW200xx") > Signed-off-by: Dmitry Rokosov <ddrokosov@salutedevices.com> > --- > Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml b/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml > index feb5febaf361..73b81f7a7258 100644 > --- a/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml > +++ b/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml > @@ -42,7 +42,7 @@ properties: > Leds matrix size > > patternProperties: > - "^led@[0-9a-f]$": > + "^led@[0-9a-f]+$": There should be some updated constraints on 'reg' too. Actually, looks like they were missing altogether. Please add. > type: object > $ref: common.yaml# > unevaluatedProperties: false > -- > 2.36.0 >
diff --git a/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml b/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml index feb5febaf361..73b81f7a7258 100644 --- a/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml +++ b/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml @@ -42,7 +42,7 @@ properties: Leds matrix size patternProperties: - "^led@[0-9a-f]$": + "^led@[0-9a-f]+$": type: object $ref: common.yaml# unevaluatedProperties: false