Message ID | 20221025073802.2662564-1-quic_fenglinw@quicinc.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp863147wru; Tue, 25 Oct 2022 00:43:24 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4v0lCKwyPGzFeB4WGZav1gV6oAj5bTq1EMETEKygINefZ5/g+zusiygfAXcABYwjLLuxsu X-Received: by 2002:a05:6402:538f:b0:444:c17b:1665 with SMTP id ew15-20020a056402538f00b00444c17b1665mr34908782edb.98.1666683804534; Tue, 25 Oct 2022 00:43:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666683804; cv=none; d=google.com; s=arc-20160816; b=l3qNkTi/DMDLqO6xb42Hg4WGf4t3MpjPXtxezG5hE6pCMTGjZ85+qBaKEFKab2azVW R5l8DgNw5OL9m4eyeSYnZocrIUvb4Hu5qvxl03TotoUSkN6PaAsdIJ56/nSoth4IZ9ku F13ntdKbhD2E4Ivr444/a04zqqtT3hSAN9ccq/6qLrun0QylcL/hpGZNNPjEOg4/GRzK kwer6RAeGuG7ySZiqxhuLEkpUjomJWQ48/aHQc0Geiba8Dfi4XsnPoEFKA0AVuLHj3Kq o9z6QzPGXbv2qMDc//ulUggIY5d6FZyp+JDueV7hH/XxEVtkjAlmvtA48vsouMUo8H5F llzQ== 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=9IHtBBoBCr1wy02xATl9irCHhrYR7PEBOH+fszoPzdE=; b=m6QnEQzuFD4ji5aVUnMyZn2/Q4JQsNJXn/lJRkNrdTjUubQbtKl8+iLHQOoPqAN6ll VVBLWKV/BxPN+VTlPPda+0cbkrDjVu0BRGV1HCDpC/GuX4+esUJVFqQsLpW9SA+5BiRQ nx4IuJZ/uUWKEgodr9R1Vq0csni3BwqQIWnT1zdot0Pkue2KIpTOuVZnY10IsUEDEQTG TpGVXt/q4GiDjwfViPT4g0D+Nh2p4gJL17CmzQswCwPI3v2Ste+5D0RQteyl2dsF8Auk Ly1Qwu0SvyvUBXuyrmVoMm9wj3tbC4b1h/q614M/wlNeX+PQUU26zhlPoZXUdr9TslHo ZvqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=pVvz7W2l; 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=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u2-20020a1709060b0200b0079b40c09982si1761537ejg.340.2022.10.25.00.43.00; Tue, 25 Oct 2022 00:43:24 -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=@quicinc.com header.s=qcppdkim1 header.b=pVvz7W2l; 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=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231814AbiJYHib (ORCPT <rfc822;lucius.rs.storz@gmail.com> + 99 others); Tue, 25 Oct 2022 03:38:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231829AbiJYHi1 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 25 Oct 2022 03:38:27 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF891108DD1; Tue, 25 Oct 2022 00:38:25 -0700 (PDT) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29P60oKf023635; Tue, 25 Oct 2022 07:38:24 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=9IHtBBoBCr1wy02xATl9irCHhrYR7PEBOH+fszoPzdE=; b=pVvz7W2lcOsTdqu4NdDByV4s34XP79TWldaA4dqbzNS5HbWGDDGN5GoqsLwFSswwMCsQ g88syQRestmIq3yF6Z7d33URKizcqn9riz2KVDy/eEhNywSM/4bbUgVwnn8c8q/hqN2B KX88tG6NK5oDy0IHbwVZpBDI09OnMMUp5nPjF1LN7cvMoEZvZ3gZ58n2LAKq7CP0ucNX YzCZQ3X9ThPe8BiEY2t+DcJZqwbukRNgwflB6k/7ihnpuqP7Rvni2b1um1hL+anXia+x 49gH6AY8Gg1wX1p6PTxLok+DFd1YvCs57IGE/Rpwyuqi3XapLMRWTfla4iKdpLF+0mOJ fw== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3kea5588dr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 25 Oct 2022 07:38:24 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 29P7cNRD008928 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 25 Oct 2022 07:38:23 GMT Received: from fenglinw2-gv.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.29; Tue, 25 Oct 2022 00:38:21 -0700 From: Fenglin Wu <quic_fenglinw@quicinc.com> To: <linux-arm-msm@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <krzysztof.kozlowski@linaro.org> CC: <quic_collinsd@quicinc.com>, <quic_subbaram@quicinc.com>, <quic_fenglinw@quicinc.com> Subject: [PATCH v4 0/2] Add LED driver for flash module in QCOM PMICs Date: Tue, 25 Oct 2022 15:38:00 +0800 Message-ID: <20221025073802.2662564-1-quic_fenglinw@quicinc.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: Ht_qJP7CVgMaA5n9cvi2scnXGrUiLf-a X-Proofpoint-GUID: Ht_qJP7CVgMaA5n9cvi2scnXGrUiLf-a X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-25_03,2022-10-21_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 clxscore=1015 lowpriorityscore=0 adultscore=0 spamscore=0 mlxscore=0 phishscore=0 malwarescore=0 bulkscore=0 suspectscore=0 mlxlogscore=680 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2210250043 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747644636889863932?= X-GMAIL-MSGID: =?utf-8?q?1747644636889863932?= |
Series |
Add LED driver for flash module in QCOM PMICs
|
|
Message
Fenglin Wu
Oct. 25, 2022, 7:38 a.m. UTC
Initial driver and binding document changes for supporting flash LED module in Qualcomm Technologies, Inc. PMICs. Changes in V4: 1. Added Tested-By tag. 2. Addressed review comments in the binding change and added Reviewed-by tag. Changes in V3: 1. Updated the driver to use regmap_field for register access. 2. Adressed the review comments in binding document change. Changes in V2: 1. Addressed review comments in binding change, thanks Krzysztof! 2. Updated driver to address the compilation issue reported by kernel test robot. Fenglin Wu (2): leds: flash: add driver to support flash LED module in QCOM PMICs dt-bindings: leds: add QCOM flash LED controller .../bindings/leds/qcom,spmi-flash-led.yaml | 116 +++ drivers/leds/flash/Kconfig | 15 + drivers/leds/flash/Makefile | 1 + drivers/leds/flash/leds-qcom-flash.c | 700 ++++++++++++++++++ 4 files changed, 832 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/qcom,spmi-flash-led.yaml create mode 100644 drivers/leds/flash/leds-qcom-flash.c