Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2049502rwb; Thu, 29 Sep 2022 05:44:19 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6BY1huVqQaAlZEeZw6J+LCuAU5180/v98g2KE7DvD/WMwliaq4mh7xG7Sv7B4BBqjqHaEz X-Received: by 2002:a17:902:e884:b0:178:2065:5c29 with SMTP id w4-20020a170902e88400b0017820655c29mr3397007plg.114.1664455459368; Thu, 29 Sep 2022 05:44:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664455459; cv=none; d=google.com; s=arc-20160816; b=NXSRUQMF4l1fP8QXnlYAJtfK3OP37txekBYvLL652n1ZIQRW08bDt6ogqh88gYVx38 G5ZHbfsP+LjIp/RYOfTOX2uwufqSvLzN0XDpL/OdICbwkl7sHO043pJUU4C4thMmfBVz tReDsb4XqLNmhojDnWjJqJb3aEgnNvMFC+E8APbyeqtKmdW6EkJXGyC8v16OKB/6C1E0 YormihexdhK1o8LZ2t3fRusaAuleJbj9ReOXKVevRewgL/O+KLZGS0gnZu8VMeLQW6Ka m2pczhMCYslnpYJkOwbIPQWiPqCqxCwzUHfMLL0/PKhwLi48L71u571UV0SGcKV1XOi0 dvpA== 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=ZBKaiJ3MVVSlu/1BtN2hcSn0J8fM3bOG4qrSF37z6bI=; b=O1LpHiZLv+zsq01Fx059wRHM6MvSEN8W8Toeu/iC39nS7ZRuYjpmQvUbm54nKeplSt ym7NLSwyAlAdYv318rCj4YaM1JcK6PV8LZTOdNfBc/xH3BZv0rZYucY0DOzWjV8wSOEb fs5Ff2hijr0F2GWf/hxzmCJ8SwY8E+HNPnRlnz0dz8sLN12C6YpdJkuzv374t7YHeScX Yjol2xjyug/l+nfGnaoCdA26otMN9KBq6fNtw7Awr/60LxHN3K5NAPpSDXFgauqFTXyc HHUI6cKqVg9aK/zMAoQ1fNBb1EZ6S62VcMCa7v9YpasK4fmXZ6r0RYTWeEFsAoGdDI5J qD+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=VbfcCBoQ; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g38-20020a632026000000b0043d289dd6a6si8864445pgg.30.2022.09.29.05.43.45; Thu, 29 Sep 2022 05:44:19 -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=VbfcCBoQ; 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 S234594AbiI2MQp (ORCPT + 99 others); Thu, 29 Sep 2022 08:16:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233332AbiI2MQm (ORCPT ); Thu, 29 Sep 2022 08:16:42 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8FE8128A10; Thu, 29 Sep 2022 05:16:41 -0700 (PDT) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28TAbVhm030479; Thu, 29 Sep 2022 12:16:12 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=ZBKaiJ3MVVSlu/1BtN2hcSn0J8fM3bOG4qrSF37z6bI=; b=VbfcCBoQufFIF26fUSw7JX7LonolAHNhNYxUaMtPAk4elCFFAVhEfgOtdhMaC9jMHYPU SrEfcBTKsw02NdjFBP+OasNs4kSXyAwhcP297miuT3FvEHD/a9wg3kvGMzSuVRN12wI+ J7bquHqlGhb8YxOQtEiPbiU5GhM+Ho1iOKBOe1xg8Axfk1AxOS/9sFrWv9UsxSJSLQ8H cnK/LFt6nCnsaj+PTpU8vk+db5IK14vxjYDKgDx2ng/nRBnUX+mb9mmYYRf2Y9V4EwU1 9a1BGGLjisVSucIzpgPJK7fmHIsM+1HUHQ8yFwddSHI2YZiCYNdCINh9Xbh45gcP6OQ5 jA== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3jvm75b7qj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 29 Sep 2022 12:16:12 +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 28TCGAdB008235 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 29 Sep 2022 12:16:10 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; Thu, 29 Sep 2022 05:16:09 -0700 From: Fenglin Wu To: , , CC: , , Subject: [PATCH v2 0/2] Add LED driver for flash module in QCOM PMICs Date: Thu, 29 Sep 2022 20:15:42 +0800 Message-ID: <20220929121544.1064279-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: F-ZZsmAMDvUhYd0XKW2sKl1kElZ6_zF2 X-Proofpoint-GUID: F-ZZsmAMDvUhYd0XKW2sKl1kElZ6_zF2 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-29_06,2022-09-29_03,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 bulkscore=0 phishscore=0 clxscore=1011 lowpriorityscore=0 suspectscore=0 mlxlogscore=509 adultscore=0 priorityscore=1501 mlxscore=0 impostorscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2209290076 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 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 Initial driver and binding document changes for supporting flash LED module in Qualcomm Technologies, Inc. PMICs. 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: add bindings for QCOM flash LED .../bindings/leds/qcom,spmi-flash-led.yaml | 120 +++ drivers/leds/flash/Kconfig | 14 + drivers/leds/flash/Makefile | 1 + drivers/leds/flash/leds-qcom-flash.c | 707 ++++++++++++++++++ 4 files changed, 842 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/qcom,spmi-flash-led.yaml create mode 100644 drivers/leds/flash/leds-qcom-flash.c -- 2.25.1