Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp950997rdb; Wed, 1 Nov 2023 07:25:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEPhXWnQQ/xii+mhrDgnBzTbjoCzwb3UbNo5vSdMmOqEezz+gCsCg7XT7p/I+I20XG7fR6o X-Received: by 2002:a05:6a00:2345:b0:6be:4228:6970 with SMTP id j5-20020a056a00234500b006be42286970mr15932364pfj.21.1698848722582; Wed, 01 Nov 2023 07:25:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698848722; cv=none; d=google.com; s=arc-20160816; b=C/ujc0f0054kQU4vuksZC2ZkJdmN9Kd7PyEjBfIqFZHf53tAvVGwIzZGIpoPsX6Oun 5MxqfEm/c65Nd4LMfPh7I3v57J3ySZczWYfGHb0UmVBXTNPRuqKgd+pjlE4L6amwCNab 5vPkLN8hCJrJLRGco1ixg8rhm53l/SxnBtvWEGHsLYxx+iZtood6pt83KnAqQ5094NKD XkXYqoAiC6CF2yYs0uZ0D9uB4qy5yyIbnvPusV6uucd6qA8at9KBnlJTImx6doQ0+brh TxUGQZNUzq7q+pn4XqtadrH/fEq67dwJAePxgbkM1MBCD5Z2CttBG5oSDuTLkLFlWYeC fGfg== 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 Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id s16-20020a639250000000b005b9a4673310si3045897pgn.326.2023.11.01.07.25.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 07:25:22 -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 ED90181067B0; Wed, 1 Nov 2023 07:25:18 -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 S1344420AbjKAOZK (ORCPT + 99 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 ); 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 To: , , , , , CC: , , , , , Dmitry Rokosov 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: 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:19 -0700 (PDT) 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 --- Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml | 5 +++++ 1 file changed, 5 insertions(+) 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 #include 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>; -- 2.36.0