From patchwork Fri Jun 2 13:11:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raymond Hackley X-Patchwork-Id: 102551 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1026102vqr; Fri, 2 Jun 2023 06:24:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5bQzWafFz+vdXBjn9MnNp0jQMpNU311M/OBZdcgdH9Iq3lszTmqcpFYAfQdGAVgkMyRhxz X-Received: by 2002:a17:903:1109:b0:1b0:43fb:407f with SMTP id n9-20020a170903110900b001b043fb407fmr3379221plh.10.1685712273171; Fri, 02 Jun 2023 06:24:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685712273; cv=none; d=google.com; s=arc-20160816; b=v4MR3lbuEu8v5QLzrd2y/FjzstFEWnvyRzM2k/BIxUIH6Vmz4VUE8ZMM6UJ5G3nLL4 tEOtDr+6AgdtF27W1NTbmDikprrIAvoALDpjUw/iaV6sJCe42p0JxSIYwTN65B44iAsr jr8qy2vkJIvZP+6vgmLuFgEPFdv22FIU7qMZ9+RC8R5jRNqZI3oR6DfUULnGPC0UeUku O1P81A46iXmwM1aYn32R0wr76AtVcvEZ6HodHD6Lc5YTf/m3zqAcw4QYKJCkrRMsDvN/ p+e7NSFYE91WJlDlZR8tfBwGScM/DvCRMrftsfTpJMxnkbnrfz8wVfzrld9l5Q7aDesJ ORDA== 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 :feedback-id:references:in-reply-to:message-id:subject:cc:from:to :dkim-signature:date; bh=JFatXUbuyrOmuslFYZorSsbJ/niD1OMN+SFRZ93mUp0=; b=N0ByVgKZQ7oXIcDG0L6pE4bsN2qd5a5MVFki0gZt3kGykYZSKgjkE7J+kDk0OSWAcm W+vTXuYvXazFJIKWO2Iz0RnetCcLpwNX0AtX4tOeMfLSvCPEyTQ3AMcKGCuo3jRim8L0 m+eUyyL019wXnWIM/9i++9o3ATfbFFzRWGxFMG1INd8/dAD//9VwBL+D3Sk8tmCxlvRp XcrMJdNScu/Kj7vWoab6fY7De0EquGASTpREQRzKTNn1c5jwJYj3/qFHZUFUGsswNRsf mmQs5/4laz2PYlnwYZw+tHq5qsNMiq4VLB1yGu7rFpbImDUCvNHZHjBxLZEKNnDVeLhv HTGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b="SH2BA/+A"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l13-20020a170902f68d00b001b046acc851si923338plg.358.2023.06.02.06.24.20; Fri, 02 Jun 2023 06:24:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b="SH2BA/+A"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235107AbjFBNMV (ORCPT + 99 others); Fri, 2 Jun 2023 09:12:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236079AbjFBNL7 (ORCPT ); Fri, 2 Jun 2023 09:11:59 -0400 Received: from mail-4318.protonmail.ch (mail-4318.protonmail.ch [185.70.43.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB7BBE4E; Fri, 2 Jun 2023 06:11:24 -0700 (PDT) Date: Fri, 02 Jun 2023 13:11:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1685711482; x=1685970682; bh=JFatXUbuyrOmuslFYZorSsbJ/niD1OMN+SFRZ93mUp0=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=SH2BA/+A+42W4kJQFxS4tgCCZ16HzRLDYV+Gn65qMZ5lSBJwH0ZBbzoRrI/sKWzV2 me7EimoUVqhORcCyP8Mnl3l71zUriW+b4Bj/Fkcwi8llJUuG+LGIiXW8lSJdaLVlJf 8gznqqxvky5acOLfbXQIFv2BmroRCrn8z+f113fU8b5vy93aHcwVOAZbER7lcqBio6 bmBe9b/WVdm7CTNxrjvvYWFpeUhzOog26C9fTLbK3BUcTFuWBWXwuigKulyEE3S9c8 icA8MVjujuAmkogb/w3pR7nvvRSretMbgnWleCBBFu1FVkCFmo7OK2kIZJw1OP33b8 aBCitq5OUeE1w== To: linux-kernel@vger.kernel.org From: Raymond Hackley Cc: Raymond Hackley , Pavel Machek , Lee Jones , "open list:LED SUBSYSTEM" Subject: [PATCH 2/2] leds: sgm3140: Add richtek,rt5033-led compatible Message-ID: <20230602131024.260297-1-raymondhackley@protonmail.com> In-Reply-To: <20230602130644.259933-1-raymondhackley@protonmail.com> References: <20230602130644.259933-1-raymondhackley@protonmail.com> Feedback-ID: 49437091:user:proton MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_PASS, 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767596639037530909?= X-GMAIL-MSGID: =?utf-8?q?1767597432335276896?= Richtek's rt5033-led has pin configurations similar to sgm3140. Add it to the compatible list. Signed-off-by: Raymond Hackley --- drivers/leds/flash/leds-sgm3140.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/leds/flash/leds-sgm3140.c b/drivers/leds/flash/leds-sgm3140.c index d3a30ad94ac4..d3f50dca5136 100644 --- a/drivers/leds/flash/leds-sgm3140.c +++ b/drivers/leds/flash/leds-sgm3140.c @@ -291,6 +291,7 @@ static int sgm3140_remove(struct platform_device *pdev) static const struct of_device_id sgm3140_dt_match[] = { { .compatible = "ocs,ocp8110" }, + { .compatible = "richtek,rt5033-led" }, { .compatible = "sgmicro,sgm3140" }, { /* sentinel */ } };