From patchwork Wed Oct 18 18:29:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Rokosov X-Patchwork-Id: 155083 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp4989770vqb; Wed, 18 Oct 2023 11:31:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFHGJbDJPaj7Oi7qSXU08Vx16apHtixagodoYB783DVMgrm3azBDy4w/H3gq41MrdXqbq0z X-Received: by 2002:a17:902:e841:b0:1bd:d510:78fb with SMTP id t1-20020a170902e84100b001bdd51078fbmr9270312plg.3.1697653910537; Wed, 18 Oct 2023 11:31:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697653910; cv=none; d=google.com; s=arc-20160816; b=tkTXA5rf1Hg6irmkzKrvBSwaTJkpNvaZhqTs925wUNUeD93GwMlGF0IFkl0gP1aHTG LZktcxllDT2uCuyA0E1MelM4i3aGORE5PYcr+z4yX8jyOUusDiwZWLQNa+YfugeteKED +VAdJqeVR7kaRNHBn/7IK8jOC+mhBmLzxyBfalUN9vMnfZ8UFz7J40pe+GGQdql4FePK XmVdA4QMVHs/QPd4VEtCg9Gc30ZGZRb47+e2+ZBeKcHEx2U+cs9PapMBSknUqBq5+XJO 46H7CTKIa3x1gpmEfMnG/z6GfzcM+TsAqcGANjHAO/8vuyoGQX+AK3qBZe1YwiZmqpqC 4DBA== 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=Wv20QjlvBmCdA45mmQ3nJQkxxF8QBMnWZ6pL/sYhpt8=; fh=sGimd2ZdVvk8/MILn8/B31HxCT6JTOun9AZJxJGQyuE=; b=vI5qoUCAS1hfvhL5Rg6xSoCjqIE+c/6M1shMpXR+3ajXgELtHMlQB5rfDNWyNeveSW f3gVmmIJjtE+tSfKJ7OjWu85HRg05+o+Dq9TytFpYOzjRskJqluWjoXePFAYN02DE52w aHZwIrSikxFi55NyBzaRmtAPQUnyxZ5gykCQlID7zSM8kBREP0naWL194fcw+KIThVJV Q51qC4X6hzGGk5D+PvmxrNxTsOWzmr4Xwhy7L+gaK42HpSeRps6Qln6GdCmwGNzl3KGq GdHvsD7z9Cj+ex8gaHEAE1nb3EIdFC3PdGW3xIAx5Doj0cphRNHxKu8rzEwj+yzKIbHk oemg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=u6GaW7II; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id e4-20020a170902d38400b001b8a56b9895si395799pld.616.2023.10.18.11.31.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 11:31:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=u6GaW7II; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id C0A718132A68; Wed, 18 Oct 2023 11:31:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344853AbjJRSaH (ORCPT + 24 others); Wed, 18 Oct 2023 14:30:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344849AbjJRSaD (ORCPT ); Wed, 18 Oct 2023 14:30:03 -0400 Received: from mx1.sberdevices.ru (mx2.sberdevices.ru [45.89.224.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D7B3114; Wed, 18 Oct 2023 11:30:01 -0700 (PDT) Received: from p-infra-ksmg-sc-msk02 (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id E392112000D; Wed, 18 Oct 2023 21:29:59 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru E392112000D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salutedevices.com; s=mail; t=1697653799; bh=Wv20QjlvBmCdA45mmQ3nJQkxxF8QBMnWZ6pL/sYhpt8=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=u6GaW7II7GVAZanCuEhShtwDrE64Ls1QsEe29dgltff7tUsFPjaAEdv3Lbbrt9t1f c3rjbB8lQW/deTARbewY0oPoKQxLc/ThS9C0vX1WDKdP/ovKwNuKBMqmHSd9UWGr09 phyBr9PeASPKUhFAiOC4sQ4GB0c5uF0/aj9Pg0eBpx+XlvvytMTUplJLdqYoi8X5cx GTMB763N5TfgW8OSCQWyt3M3WJkFGAa/T1aD3/bodWpjHkCBVbSmNalSUNbsFqqWgc i3rU4t3+bO405Ce1kbAeUGDrKy9hWZFAI24OJLhi7i/+iQplmsAA3OTBs+5FKhrPPS v+h8yR7FobDDQ== 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, 18 Oct 2023 21:29:59 +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, 18 Oct 2023 21:29:54 +0300 From: Dmitry Rokosov To: , , , , , CC: , , , , , Dmitry Rokosov Subject: [PATCH v2 03/11] dt-bindings: leds: aw200xx: introduce optional hwen-gpios property Date: Wed, 18 Oct 2023 21:29:35 +0300 Message-ID: <20231018182943.18700-4-ddrokosov@salutedevices.com> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20231018182943.18700-1-ddrokosov@salutedevices.com> References: <20231018182943.18700-1-ddrokosov@salutedevices.com> MIME-Version: 1.0 X-Originating-IP: [100.64.160.123] X-ClientProxiedBy: p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) 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: 180713 [Oct 18 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: 541 541 6f62a06a82e8ec968d29b8e7c7bba6aeceb34f57, {Tracking_from_domain_doesnt_match_to}, 127.0.0.199:7.1.2;p-i-exch-sc-m01.sberdevices.ru:7.1.1,5.0.1;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;100.64.160.123:7.1.2;salutedevices.com: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/18 17:21:00 #22224798 X-KSMG-AntiVirus-Status: Clean, skipped X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,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 pete.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 (pete.vger.email [0.0.0.0]); Wed, 18 Oct 2023 11:31:41 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780119146671115675 X-GMAIL-MSGID: 1780119146671115675 Property 'hwen-gpios' is optional, it can be used by the board developer to connect AW200XX LED controller with appropriate poweron 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..255eb0563737 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 + hwen-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>; + hwen-gpios = <&gpio 3 GPIO_ACTIVE_HIGH>; led@0 { reg = <0x0>;