From patchwork Fri Jun 2 13:11:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raymond Hackley X-Patchwork-Id: 102556 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1030865vqr; Fri, 2 Jun 2023 06:32:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5wS16L0r5S4OQawvfZ1IF2HJEcXVixFKAutHqDdrwnN5wQjsIlIIXqIWa0X18gmprtq9EV X-Received: by 2002:a05:6a20:d81b:b0:10b:5ce1:beb9 with SMTP id iv27-20020a056a20d81b00b0010b5ce1beb9mr12198741pzb.33.1685712733091; Fri, 02 Jun 2023 06:32:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685712733; cv=none; d=google.com; s=arc-20160816; b=O+dy2ZhUlfi8dS5CUs12ilYOCg8u65k5e9DxPCzR4f60VKj25Xt6ZeDZLTDI07FcmX aTP5TKeAxdxdlvTZFxnAOTMc8j/S0F2bfng9fPM2TAwS/pob12CP6ilVAYKvlLwVyo6U tuGhSRdvAqCqaN99fqJe0FwqFFE74PGLr5ch7WfenMiZ/xQWDRf9uDj9MHUi/7tMdFsm b20aEnS3NLrEv1M12KvUubduWcia3U5H5BbjtefTfAWzDGV5dP9pQX91K6J/xDo0O4VV QpKIJPtAMd5FUSOv66II4n7Tmr9kRBD3entIHqlJi0+L3eLzTD4bj0JSM1Ny4/82FKcx Tn0A== 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=bsHSAN20PI+leXRVPAKhT58R/jP9fMKdBTvAX0E8FqU=; b=S4Aa6ET5LF2DR7kqpVMS1YX4YEI56NjcYY8y8FTHHAWuU2J7ZvOxqF5WiVAuYVImLP 62CBN613dKHKXm8/L/YVzHL3OqEP5cUdYGtEUjqh4qtvMXBP1gYM08NniP9nxOP1agqH lyz2udmB6/HJb7QUODhIl8fRQ1cxmFQdKEjdl8QmdviAjL3fXSBBl+wHYqGO/R6uVIu6 1RT8zOa/R0y3oaKb16gsbo9kVXWehzZvbEzZvjXsQ+QEaX8uFmD9ZAQVZ5CN2SE/zRKQ TB3Dkzsb9mo44h9Upqz9LyqXWqOgqBEa19zL2Jjgo9NfBkUqBKluhvQ1Gzxo63S7KERv Y4hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=VbTmR5GE; 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 k129-20020a636f87000000b005346af99305si714056pgc.526.2023.06.02.06.32.01; Fri, 02 Jun 2023 06:32:13 -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=VbTmR5GE; 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 S236110AbjFBNMJ (ORCPT + 99 others); Fri, 2 Jun 2023 09:12:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236108AbjFBNLm (ORCPT ); Fri, 2 Jun 2023 09:11:42 -0400 Received: from mail-0201.mail-europe.com (mail-0201.mail-europe.com [51.77.79.158]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF6581B7 for ; Fri, 2 Jun 2023 06:11:10 -0700 (PDT) Date: Fri, 02 Jun 2023 13:11:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1685711466; x=1685970666; bh=bsHSAN20PI+leXRVPAKhT58R/jP9fMKdBTvAX0E8FqU=; 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=VbTmR5GEF39gofFS3uu66gadQF6UvyOwrWj9xebfMRmxOpeEv+PcVcncLZ6P+O3YW nTivcSGNGe5+x7HNfyRYeKz2IOx86mBsQEq3btIp1jXMYkHFFjNGYbd9bV7mooUl/m OyWZteVrsMr9D5CgwMdhZuKZNyRvjK2czFT6qW1V8X46ODedK1MIkWeD8Sw4UqAKIn 0b5mGnV7ee0b7uQIir+qQYybA0MiFdop4Ug9q56msa2eZeQabzp0qLe5ecrij2uTTT HuVroeV+fygtMa+f5b8myrdLf+S4jWBk9ODoA91ufReIEm6CJBT8vprDvIF9h62RRJ hppGSN7F4vsNQ== To: linux-kernel@vger.kernel.org From: Raymond Hackley Cc: Raymond Hackley , Pavel Machek , Lee Jones , Rob Herring , Krzysztof Kozlowski , Luca Weiss , "open list:LED SUBSYSTEM" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Subject: [PATCH 1/2] dt-bindings: leds: sgm3140: Document richtek,rt5033 compatible Message-ID: <20230602131009.260239-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.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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?1767597914832974578?= X-GMAIL-MSGID: =?utf-8?q?1767597914832974578?= Add devicetree binding for Richtek RT5033 Flash LED charge pump used for camera flash LEDs. Signed-off-by: Raymond Hackley --- Documentation/devicetree/bindings/leds/leds-sgm3140.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/leds/leds-sgm3140.yaml b/Documentation/devicetree/bindings/leds/leds-sgm3140.yaml index 4d2ffe5fcfc7..37d2a93780ab 100644 --- a/Documentation/devicetree/bindings/leds/leds-sgm3140.yaml +++ b/Documentation/devicetree/bindings/leds/leds-sgm3140.yaml @@ -20,6 +20,7 @@ properties: compatible: enum: - ocs,ocp8110 + - richtek,rt5033-led - sgmicro,sgm3140 enable-gpios: 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 */ } };