From patchwork Thu Oct 5 04:31:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devi Priya X-Patchwork-Id: 729808 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 36BEE273C0 for ; Thu, 5 Oct 2023 14:03:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="hehHETMl" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88D734F07B; Thu, 5 Oct 2023 07:02:49 -0700 (PDT) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3953shNd003958; Thu, 5 Oct 2023 04:31:46 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=H8Wr2XjEs5oHuA9SGyGdCEHWKMZtg85Nl/LHRslFifI=; b=hehHETMlVrTZWnAyRycCJEBk1939LNg5tLlo1n7Mqf1QPzJ574dKder4EGSyQQoEDQhw gDTM6tM/HXy2EfkemKtTt4MSa6U9HLAkfKJ02HuXDzh2NwOQOy2lhX5+wJQwn3LYCQyE 1HC6MMeO+EMFRAxQghNy/vsavbwylyegGAqg4GIvp/bOcmkjKbosc+zrIdkqxzgIYGgp 6vm3KibuDn5FAtaeCysp4QfQMUW2JZ5TCle1qDNp/fqfAJ6S05GZR5qLv5+HhMwRRJ60 axI5XQ07ltDI1WpaGXl0LHaFPwvDLuSIivoMT+uaKDD1eDKTVlOowRKob7YmntUpsjGR Zw== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tgynhb4ac-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 05 Oct 2023 04:31:46 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3954VjL0031892 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 5 Oct 2023 04:31:45 GMT Received: from hu-devipriy-blr.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.36; Wed, 4 Oct 2023 21:31:39 -0700 From: Devi Priya To: , , , , , , , , , , , , , , CC: , , Subject: [PATCH V14 0/4] Add PWM support for IPQ chipsets Date: Thu, 5 Oct 2023 10:01:23 +0530 Message-ID: <20231005043127.2690639-1-quic_devipriy@quicinc.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: cD2-C3Mm6cNGDwF9ERfa-e35sLhrlgAm X-Proofpoint-ORIG-GUID: cD2-C3Mm6cNGDwF9ERfa-e35sLhrlgAm X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-05_01,2023-10-02_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 spamscore=0 priorityscore=1501 impostorscore=0 malwarescore=0 mlxscore=0 mlxlogscore=671 clxscore=1015 adultscore=0 lowpriorityscore=0 bulkscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310050037 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 Add PWM driver and binding support for IPQ chipsets. Also, add support for pwm node in ipq6018. V14: Detailed Change logs are added to the respective patches. V13 can be found at: https://lore.kernel.org/linux-arm-msm/20231004090449.256229-1-quic_devipriy@quicinc.com/ Devi Priya (4): pwm: driver for qualcomm ipq6018 pwm block dt-bindings: pwm: add IPQ6018 binding dt-bindings: mfd: qcom,tcsr: Add simple-mfd support for IPQ6018 arm64: dts: qcom: ipq6018: add pwm node .../devicetree/bindings/mfd/qcom,tcsr.yaml | 112 +++++-- .../bindings/pwm/qcom,ipq6018-pwm.yaml | 45 +++ arch/arm64/boot/dts/qcom/ipq6018.dtsi | 15 +- drivers/pwm/Kconfig | 12 + drivers/pwm/Makefile | 1 + drivers/pwm/pwm-ipq.c | 282 ++++++++++++++++++ 6 files changed, 435 insertions(+), 32 deletions(-) create mode 100644 Documentation/devicetree/bindings/pwm/qcom,ipq6018-pwm.yaml create mode 100644 drivers/pwm/pwm-ipq.c