Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1632319rdb; Thu, 7 Dec 2023 05:00:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IEMgyBl+lmxOlWsSQ2wwhQcxfv/IBNuYhe25dLibED1sqzkJpkYMRAcI0QDd7feKXMFGRCh X-Received: by 2002:a17:902:e807:b0:1d0:7c28:f7ed with SMTP id u7-20020a170902e80700b001d07c28f7edmr2082188plg.55.1701954030378; Thu, 07 Dec 2023 05:00:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701954030; cv=none; d=google.com; s=arc-20160816; b=hroP6ohZGKEMCAAdQZYKv8FC90BixtxdJeymdJZqO5UtwXdWBMOtg2kwufXR5RyP4A iQTE2uX61G5dosJbAmJq/6d/FeRwyAbyocRLZsuN0YBgkxhAJy34OApsEkuercDmeZ2X 6c7DiAWXE6O6ge7l43AV2QagwGBLNizz1twqrdubxw4ehO4RwXa7qK3Ah5Z+ouHG7zz2 XA0eZhLv9z7Jhxl9Ga9IAEyYe3Hb9JRvIZ2Gif/aKX9i8iLBUlZZ82vVBzaNVzdKCjlb fxxbwZ8qnhZq9Vmoui6ikjn/lWs6ntFaeqYZHXZ2fItkMaK5/K1NSMoofsyAbs2cYYF4 UdwQ== 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 :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=GY597t9bNMfE8L/JYxzrDZ2BNTho7Ti4uvnl1pJPCxw=; fh=aKvhIt8NSobxSVub0DGcKxML7bRMukc+sTlX2TV2Hds=; b=YvvlCgopp3AS+yMqkxEN2ehN4VohqfMGkiG8iAfSHEYY8j1ARGCyp+OvP8lzqQrJYr sqvA+/O5d9tSEZlzPCNeBp/O3FOqFZ29D5AaHfdDO+cIZxyBnRIWsdHL7JF4mudWFPRK xi1tzJfd7jGeTwFMA3vvA/JA7lRytP28klyyDyP+UVysn4GkAYW/8d6GGSE/tXAab/TX FL7uk9iOoU/eqBWwAibh9tcOdn3sPzUEC1Vlp5YOIjkuubsC8ao6F9DOxKqzWWOiCtn4 9ZG1QWyXsFyHwyB1YwlIb5vUsqMLiFxhCa2oEpgZC92cmARsM+KI3Zi3kpsrfbsGeMwV UXIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=hAeLIl3z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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. [23.128.96.37]) by mx.google.com with ESMTPS id u2-20020a17090282c200b001c71eb782b0si1121652plz.94.2023.12.07.05.00.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 05:00:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=hAeLIl3z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 17840804DD95; Thu, 7 Dec 2023 05:00:06 -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 S232625AbjLGM74 (ORCPT + 99 others); Thu, 7 Dec 2023 07:59:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232572AbjLGM7z (ORCPT ); Thu, 7 Dec 2023 07:59:55 -0500 Received: from mx1.sberdevices.ru (mx1.sberdevices.ru [37.18.73.165]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B65FC10B; Thu, 7 Dec 2023 05:00:00 -0800 (PST) Received: from p-infra-ksmg-sc-msk01 (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id 563E8100004; Thu, 7 Dec 2023 15:59:59 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru 563E8100004 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salutedevices.com; s=mail; t=1701953999; bh=GY597t9bNMfE8L/JYxzrDZ2BNTho7Ti4uvnl1pJPCxw=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=hAeLIl3z2B4Tpd8uu8PnB3cbBWLcoKZkSgLZNY6+sVAJZz4Que39EvpVWLwAa6BCI Tyj61ixQfHbJzidhY+JFbM2RKsIej9lcFEH0DuySFzB7grF8G+gz7kd6tCbJbnb2XS Zv71ZrHlGK0F/eAphkzY9kkboNcJaPJABup5w3s4VCLTwsF2+gOx7e9zqpEHRDcYUa oMEAY3g25ttPdB5iYkrtqKxXiFrzIzf/9gT9aOSz7skLnumQ8lKW9Q0O1IQrodO26P jHBZb/+xefr0HRHmEhZJrHjEqvt23uiV9w7HZoBcWgoTxnQ0EoElqudWuG9MtWEngI tTkEIHF+xSZeQ== 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:58 +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 0/2] leds: aw200xx: support for hw pattern controllers Date: Thu, 7 Dec 2023 15:59:36 +0300 Message-ID: <20231207125938.175119-1-mmkurbanov@salutedevices.com> X-Mailer: git-send-email 2.40.0 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}, d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;127.0.0.199:7.1.2;100.64.160.123:7.1.2;salutedevices.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/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:06 -0800 (PST) This led-controller supports 3 pattern controllers for auto breathing or group dimming control. Each pattern controller can work in auto breathing or manual control mode. All breathing parameters including rising/falling slope, on/off time, repeat times, min/max brightness and so on are configurable. Martin Kurbanov (2): leds: aw200xx: support for hw pattern controllers dt-bindings: leds: aw200xx: add 'interrupts' property .../testing/sysfs-class-led-driver-aw200xx | 108 +++ .../bindings/leds/awinic,aw200xx.yaml | 6 + Documentation/leds/leds-aw200xx.rst | 274 ++++++++ drivers/leds/leds-aw200xx.c | 649 ++++++++++++++++++ 4 files changed, 1037 insertions(+) create mode 100644 Documentation/leds/leds-aw200xx.rst -- 2.40.0