Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1633324rdb; Thu, 7 Dec 2023 05:01:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IFfBDO/LlJfxztBymK0ovn8SOYCtsUNbv/OJraeSRc2dZa/bFaRwiT8Tn5hXvyKBoQND8i1 X-Received: by 2002:a05:6820:28e:b0:58e:1c48:1eda with SMTP id q14-20020a056820028e00b0058e1c481edamr1994353ood.12.1701954100760; Thu, 07 Dec 2023 05:01:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701954100; cv=none; d=google.com; s=arc-20160816; b=LmhKoNtu7XupaFkdTbKqFtaoKgMc7qSpItMJe+jeMLm4JWDxMVlC2vqS8Zpoo4E9B7 jzDLFxkpPzCl6E2Dg4UmxR25oD5oSNyeWj+IqGejdo8+ZSCJ3G49ejHFeRNhoQtjiimu EKeuc1MjOZFBLiROJT3Md5KX6qdJyPGsICWnX9CAT95NlcfAisjYPF0vQjGeJY66zY0Y UmGYLmw8E4Q3Xmd5LV9ukhjqYd8qWYwru6eolq+I2E8iMKa4qiWRyy627fVYf+aDE27P l0ugDU+Hs6cCUmDq+gwG2a4PEmgwy9/twmYPL78ypGTHeDb/E2pXhzrnvYP0os1pK4jx K41g== 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=gkQwxsJaDBoQZllnRj+h3QzAObadH3z2wRpjqRg+rsw=; fh=aKvhIt8NSobxSVub0DGcKxML7bRMukc+sTlX2TV2Hds=; b=mxGblZri7Mxo+zIAjrmOa3FHmbdzZp4V+RkaoOJrR8uRyb5mZl7MfCv5yK/Re4eKJ0 A1FlNqcHqFiswKAodG4CVd9JL0kD056K2B8iutnyW8d7VDl8KYXcbjTYB3sLFYmRPTip dIosnclv7+crG4UDEr9PzIj+qMcwtDfTh8Mhq4bBGAEUGz+WEZGalFNXPN+DNf3XSbOq g97nARUBs2U7koOia+twnavJi7hzW5A8nk7UILHyzPBFlbKfaqg/e/0Kx7pZ90mghMMe vZXbwrBw0tWMngWgz+qKAdvRCiyS6BGX6ctidj3yQiApdV1hKYRuXuGgTU1j8PiT2t0q PL0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=cL+zTqWq; 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 e7-20020a4a9b47000000b005900e851999si381301ook.55.2023.12.07.05.01.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 05:01:40 -0800 (PST) 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=cL+zTqWq; 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 3C5D3806CC1C; Thu, 7 Dec 2023 05:00:25 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379487AbjLGNAC (ORCPT + 99 others); Thu, 7 Dec 2023 08:00:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232572AbjLGM75 (ORCPT ); Thu, 7 Dec 2023 07:59:57 -0500 Received: from mx1.sberdevices.ru (mx2.sberdevices.ru [45.89.224.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32E1010CA; Thu, 7 Dec 2023 05:00:02 -0800 (PST) Received: from p-infra-ksmg-sc-msk02 (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id DD165120005; Thu, 7 Dec 2023 15:59:59 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru DD165120005 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salutedevices.com; s=mail; t=1701953999; bh=gkQwxsJaDBoQZllnRj+h3QzAObadH3z2wRpjqRg+rsw=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=cL+zTqWqHtkMUxz363jjuG2pQbsTUMQSz0QL6Tq+0QsRqvR3yPv+73OdNmI4gz08K rEPv8TG6SsGIKaDtjQZmEhXj9owiSTQKnP0d85jejkgYtI06Ivo9RIgheXSr3I0Sjg hhoHq6XG90eal+FxxwQRAg+GSC8O8+Ad6cHGd7Qq0Hs0JrnExymOYdOvfzIDHhVbSy RpU/09wAxuX4Al6u2CxIJpMz2r40X6M3XFpA8cV5y13LuVXDJX6IQ8gmCrnFaJXqmx IswUjxByq7zJyuGCdcQXDK87uHH+acEEA4qGAeR8yn4JbJOlabssXLHdW9ovdotZ5q 3iUZ+QA53uY9g== 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; Thu, 7 Dec 2023 15:59:59 +0300 (MSK) Received: from CAB-WSD-0004828.sigma.sbrf.ru (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.40; Thu, 7 Dec 2023 15:59:59 +0300 From: Martin Kurbanov To: Pavel Machek , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Corbet , Andy Shevchenko CC: , , , , , Martin Kurbanov Subject: [PATCH v1 2/2] dt-bindings: leds: aw200xx: add 'interrupts' property Date: Thu, 7 Dec 2023 15:59:38 +0300 Message-ID: <20231207125938.175119-3-mmkurbanov@salutedevices.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20231207125938.175119-1-mmkurbanov@salutedevices.com> References: <20231207125938.175119-1-mmkurbanov@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: 181937 [Dec 07 2023] X-KSMG-AntiSpam-Version: 6.0.0.2 X-KSMG-AntiSpam-Envelope-From: mmkurbanov@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: 5 0.3.5 98d108ddd984cca1d7e65e595eac546a62b0144b, {Tracking_from_domain_doesnt_match_to}, 100.64.160.123:7.1.2;salutedevices.com:7.1.1;p-i-exch-sc-m01.sberdevices.ru:7.1.1,5.0.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/12/07 02:56:00 #22627289 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 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]); Thu, 07 Dec 2023 05:00:25 -0800 (PST) Added support for interrupt to the LED controller driver, which indicates the finished of the auto-breath pattern. Signed-off-by: Martin Kurbanov --- Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml b/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml index 54d6d1f08e24..7ab35b7a3fe6 100644 --- a/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml +++ b/Documentation/devicetree/bindings/leds/awinic,aw200xx.yaml @@ -44,6 +44,9 @@ properties: enable-gpios: maxItems: 1 + interrupts: + maxItems: 1 + patternProperties: "^led@[0-9a-f]+$": type: object @@ -137,6 +140,7 @@ additionalProperties: false examples: - | #include + #include #include i2c { @@ -149,6 +153,8 @@ examples: #address-cells = <1>; #size-cells = <0>; enable-gpios = <&gpio 3 GPIO_ACTIVE_HIGH>; + interrupt-parent = <&gpio_intc>; + interrupts = <13 IRQ_TYPE_LEVEL_LOW>; led@0 { reg = <0x0>; -- 2.40.0