Message ID | 20231101142445.8753-4-ddrokosov@salutedevices.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:abcd:0:b0:403:3b70:6f57 with SMTP id f13csp459421vqx; Wed, 1 Nov 2023 07:25:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG5V8kaexb4oCY+mhT27EH2l2/IlzIR8qsr0RdofL4OsiKzjmEB7f1umfnnI853og1X9E8T X-Received: by 2002:a05:6a00:2e29:b0:6bd:71e3:b647 with SMTP id fc41-20020a056a002e2900b006bd71e3b647mr15379518pfb.19.1698848731696; Wed, 01 Nov 2023 07:25:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698848731; cv=none; d=google.com; s=arc-20160816; b=xdorFMIFufVgswXLJQln3PAzE4rJRhupv5GYLZ0wjZ1OY+LkFM4Sc2AMO5L6OkDDQN exmSRyyfYeoHZAOU+skOBgfIQsqA0oxpXjf3xaykTzBIbchQMdW574flF6C6+RHIL7M7 nm0OxKj8UT89yPDDE4LrbCpjksNiRByawHKFjtT+I504P44qRqbGGl/XF2R09cYF8s4A f7/pig2pfQyP5nnNHIGVWBss/AgeekmDDC2ltERm30DEPnkXYXHP0ua+Gz8wM+TxqGyY QKFlrBO1ZDJfaspgN81damGCcE291Zia5do9Xa9DbRjY1YuI5El/5+cnYrs+HbNKmZi/ xXfA== 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=Axls6j7FjYgwQZDHrBNQKTEaUgzPNHh03GeTST0E/8g=; fh=sGimd2ZdVvk8/MILn8/B31HxCT6JTOun9AZJxJGQyuE=; b=BNcMTKOwSiGsqjZFk8z4C2UNJAK18GNrpri8BLZB26I/lTfi+34wsxxfwHHbX5fe8L N+V2gNOKBoyIHzIa/Ns7BmsDEjhwD30GNugCbfRzvXhVyAZmiWTXIMtij9+rCUgr6Vv2 TeOVrNxBogyf6l2liuoXhLLrIg2uw5CSOLbQAWMriEG3ge0NUNSCGYv+qd7fuX7TD9Iy fCcgLCTmrLQ2sF9lKADCuEFWCuCWy3aK374d/rUAYKrXi9R5gjKWdPlIoY76v9ZqfNla 4rsuosbOGRM1F4MPFAqfvAQMpVIWpMh2CW9qShCHFl7R62NIC20DfvDLcb5rYvIzhrC7 R2tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=QJYUpEXl; 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 t4-20020a63f344000000b00565e7a3342dsi3156994pgj.256.2023.11.01.07.25.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 07:25:31 -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=QJYUpEXl; 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 BD3B78104525; Wed, 1 Nov 2023 07:25:15 -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 S1344424AbjKAOZK (ORCPT <rfc822;rbbytesnap@gmail.com> + 35 others); Wed, 1 Nov 2023 10:25:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233785AbjKAOZF (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 1 Nov 2023 10:25:05 -0400 Received: from mx1.sberdevices.ru (mx2.sberdevices.ru [45.89.224.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C143310C; Wed, 1 Nov 2023 07:24:58 -0700 (PDT) Received: from p-infra-ksmg-sc-msk02 (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id 799BC120034; Wed, 1 Nov 2023 17:24:57 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru 799BC120034 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salutedevices.com; s=mail; t=1698848697; bh=Axls6j7FjYgwQZDHrBNQKTEaUgzPNHh03GeTST0E/8g=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=QJYUpEXlizSl96UBdFaG8GG579PTbGYk1P32URtd8TZCWppWtGQ+/kJcpL18+LF0L GY+g9Yfl+vneMxIvrSNQiKTeqzRpsSfUpsoqCTIvzecLp08ad51Yy3E4hH3EF0Zq2m ZxugzEejo1/zzQ8l4I66DWZek2jXj+aIERWzH+sqvcUl/v6bRgUX2pDk9ElN9m7yy9 jmrisR2K2WS5ZZkefmlj5TNsSULNv4OFU38e8U5XaVunQcowC6aezYqOjcbEgYuMb2 UnW+aj1cTRPBMmCF3g1T3hs0vlxoVcR887zq1WYTnhUp2eYp/IqFPBSrA0XF+EoEqp NmsdHzbabTeTw== 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; Wed, 1 Nov 2023 17:24:57 +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.37; Wed, 1 Nov 2023 17:24: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 v3 03/11] dt-bindings: leds: aw200xx: introduce optional enable-gpios property Date: Wed, 1 Nov 2023 17:24:37 +0300 Message-ID: <20231101142445.8753-4-ddrokosov@salutedevices.com> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20231101142445.8753-1-ddrokosov@salutedevices.com> References: <20231101142445.8753-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: 181053 [Nov 01 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: 543 543 1e3516af5cdd92079dfeb0e292c8747a62cb1ee4, {Tracking_from_domain_doesnt_match_to}, 100.64.160.123:7.1.2;p-i-exch-sc-m01.sberdevices.ru:5.0.1,7.1.1;salutedevices.com:7.1.1;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;127.0.0.199:7.1.2, 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/11/01 13:00:00 #22378131 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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]); Wed, 01 Nov 2023 07:25:15 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781372008094947161 X-GMAIL-MSGID: 1781372008094947161 |
Series |
leds: aw200xx: several driver updates
|
|
Commit Message
Dmitry Rokosov
Nov. 1, 2023, 2:24 p.m. UTC
Property 'enable-gpios' is optional, it can be used by the board
developer to connect AW200XX LED controller with appropriate 'enable'
GPIO pad.
Signed-off-by: Dmitry Rokosov <ddrokosov@salutedevices.com>
---
Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml | 5 +++++
1 file changed, 5 insertions(+)
Comments
On Wed, 01 Nov 2023 17:24:37 +0300, Dmitry Rokosov wrote: > Property 'enable-gpios' is optional, it can be used by the board > developer to connect AW200XX LED controller with appropriate 'enable' > GPIO pad. > > Signed-off-by: Dmitry Rokosov <ddrokosov@salutedevices.com> > --- > Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml | 5 +++++ > 1 file changed, 5 insertions(+) > Acked-by: Rob Herring <robh@kernel.org>
diff --git a/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml b/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml index feb5febaf361..3da3633a242c 100644 --- a/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml +++ b/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml @@ -41,6 +41,9 @@ properties: description: Leds matrix size + enable-gpios: + maxItems: 1 + patternProperties: "^led@[0-9a-f]$": type: object @@ -90,6 +93,7 @@ additionalProperties: false examples: - | + #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/leds/common.h> i2c { @@ -102,6 +106,7 @@ examples: #address-cells = <1>; #size-cells = <0>; awinic,display-rows = <3>; + enable-gpios = <&gpio 3 GPIO_ACTIVE_HIGH>; led@0 { reg = <0x0>;