Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp945846rdh; Fri, 24 Nov 2023 01:34:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IHwP9RneP2TpiO75hQyFIXHVL5RgU/BJt9G/ssO88Imd4hexIbwMxvNvQmFAEvZq9TUNVhA X-Received: by 2002:a17:902:f543:b0:1cf:647a:9d3d with SMTP id h3-20020a170902f54300b001cf647a9d3dmr2888144plf.28.1700818441973; Fri, 24 Nov 2023 01:34:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700818441; cv=none; d=google.com; s=arc-20160816; b=eCNdMoSf32LI2OOkP95GJIVLZdH4q5jT2S3gh73lAsGbSLXAl1/J39jMQU6CNRqFvn 7uw5FZXbffkuzYTo6k4+37/lPdQrorfq2W+7LvJ9M1zzyXWZx/i0uz7UzGK9y9qmAREw D4YfYyNjWVmwu+/rbhF7AQgYEhwSOS41g9ScQvn/Qlnknz1EaAPTmYD//xNIWNonjR3n Zku8T9zvpWXcJaqQZ0IO0brvE01DFDYlEJ9b2R7a19pIOPXkzSKYxFucZly2t7XU92W+ yXYy7cFCOdxOiW9tnhf7sVwgwyTwgfeQ7uLDtEQjiqJ8Ot/LJgkiO0MBCGC64TScLE4j c/sg== 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; bh=nsvTRjQFGQh+dlqpD5h9CxmhKU5pU28P+F5FXBMlO94=; fh=zWj7gFsDgAWGjMqD/QLQZ+N3/oIKVPCGZvVSRG8Xokc=; b=Awg4zNgVeNayln8ey65c2kZzEfaq3ROib8P59W+GdAFJM571vZBrLo5XNnNkFxyQjB oD8WA8iXhBb+9XvWKxsyfAmTInwv96TbqAyzY13YBRBqL3LL8pklY5EFfdKwC72GruI2 AFFacsf8rQLbStHBOIALkCTQg8dXRz4JQk4YevDXnODzfDICciwwZe9z79p+7aERfGy4 0U+EJH1lcBm6VYkiZm/3Kku5gs0urIZNplljOAraxEETkt8Qm6ekOG2M1bXm3BU+0QGD Lc3GhIzUnxVRfCJI3sC8jyoPlDe7QCKDEgNInDiVzUeeW0DVJHaH3wxAGMo/5KXkgGb8 WhIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@monolithicpower.com header.s=pps1 header.b=oHYStvcH; 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=monolithicpower.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id c5-20020a170903234500b001cf5d07c895si3181695plh.273.2023.11.24.01.34.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 01:34:01 -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=@monolithicpower.com header.s=pps1 header.b=oHYStvcH; 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=monolithicpower.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 5461180BD248; Fri, 24 Nov 2023 01:33:41 -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 S1345155AbjKXJdX (ORCPT + 99 others); Fri, 24 Nov 2023 04:33:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229705AbjKXJdS (ORCPT ); Fri, 24 Nov 2023 04:33:18 -0500 Received: from mx0a-002bf204.pphosted.com (mx0a-002bf204.pphosted.com [205.220.160.90]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 152BFDD; Fri, 24 Nov 2023 01:33:24 -0800 (PST) Received: from pps.filterd (m0207524.ppops.net [127.0.0.1]) by mx0a-002bf204.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 3AO5Rqte003504; Fri, 24 Nov 2023 01:33:11 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= monolithicpower.com; h=from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding:content-type; s=pps1; bh=nsvTRjQFGQh+dlqpD5h9CxmhKU5pU28P+F5FXBMlO94=; b=oHYStvcHKH+D ixTbFggEFzf7XBcEgyqmmAmkrK32zHOjphqd3C6rIauLSMLp0/96AQSwNPir1Lb/ IzxP1QbdzJzcysmb6dUCiPBxGaj5oAPnF5w4/0x8Cw4zlfKVger0zNZjxkflvYNm njKUp6rTChaMUY9rPMhIlA27ylio9gSOnDwk3Fe/q6q9IJ6Ba47G0nIApTiGn479 GKIbnVGgDoYA8cXT+LAixaL4ub3ifQuj6Xwsw113pczJ07Xcdn/sC8Exk/cwneQc l8uVGFRjyTIYqUUx6XvhGUD4Q14uFTcBwJtFTeJT0skMN0cLcaAJIX4DRja6Y0Rn 0BoAWzSGMQ== Received: from webmail.monolithicpower.com (mps-vpn.monolithicpower.com [12.33.0.20] (may be forged)) by mx0a-002bf204.pphosted.com (PPS) with ESMTPS id 3uesjsb24d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Fri, 24 Nov 2023 01:33:11 -0800 (PST) Received: from CD-MSH04.monolithicpower.com (10.10.70.213) by MPS-MSH03.monolithicpower.com (10.10.10.205) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Fri, 24 Nov 2023 01:33:04 -0800 Received: from smtp.gmail.com (10.10.86.78) by CD-MSH04.monolithicpower.com (10.10.70.213) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Fri, 24 Nov 2023 17:33:02 +0800 From: Yuxi Wang To: , , , , , CC: , , , Subject: [PATCH 0/2] leds: Add a driver for MP3326 Date: Fri, 24 Nov 2023 17:30:31 +0800 Message-ID: <20231124093034.951-1-Yuxi.Wang@monolithicpower.com> X-Mailer: git-send-email 2.42.0.windows.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.10.86.78] X-ClientProxiedBy: CD-MSLBN02.monolithicpower.com (192.168.86.32) To CD-MSH04.monolithicpower.com (10.10.70.213) X-Proofpoint-ORIG-GUID: hrJb0W8-9Igr2b30eh8SQyczmyNJ3L3z X-Proofpoint-GUID: hrJb0W8-9Igr2b30eh8SQyczmyNJ3L3z X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-23_15,2023-11-22_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 adultscore=0 lowpriorityscore=0 malwarescore=0 phishscore=0 priorityscore=1501 impostorscore=0 clxscore=1011 bulkscore=0 mlxlogscore=641 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311060001 definitions=main-2311240074 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_PASS,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]); Fri, 24 Nov 2023 01:33:41 -0800 (PST) Add the binding description and the corresponding driver for the MPS MP3326. Signed-off-by: Yuxi Wang Yuxi Wang (2): dt-bindings: leds: add mps mp3326 LED leds: add mp3326 driver .../devicetree/bindings/leds/mps,mp3326.yaml | 143 ++++ drivers/leds/Kconfig | 7 + drivers/leds/Makefile | 1 + drivers/leds/leds-mp3326.c | 622 ++++++++++++++++++ 4 files changed, 773 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/mps,mp3326.yaml create mode 100644 drivers/leds/leds-mp3326.c -- 2.25.1