From patchwork Thu Oct 5 03:30:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devi Priya X-Patchwork-Id: 14961 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2016:b0:403:3b70:6f57 with SMTP id fe22csp409698vqb; Thu, 5 Oct 2023 09:15:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGqcgH0pWMPCPUVP/D6xS5RWghRBw05LaNs4R7GDwlKUauW/orLWn0kCxsly95Ej0s7IXa7 X-Received: by 2002:a05:6a20:7f83:b0:15e:b8a1:57b9 with SMTP id d3-20020a056a207f8300b0015eb8a157b9mr7293457pzj.24.1696522542298; Thu, 05 Oct 2023 09:15:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696522542; cv=none; d=google.com; s=arc-20160816; b=TM5UGRkhTD3aaHRFLuEZlBngkavzn056iH4UYSpvf8qDmI+o8nNKEhAvs6IIzfOVDC EOS79I6K3YIk0gypfhy1dt7Css5R615Lv/kkhppXYgGrBDT6i2owAs0Cqs0NVAP5WvzG yOppskWKIYuVc9+O/MNQHfjEbizylT8vxAwG0/G9DuwQMwaUQ0nqYAmNfLWNopoan703 cCz2MPAnhT905wD3qPQTbt+oMxTAbkrApeeEM/r+XNtoFAwQ/vBRqMz+jpcM5bqTP3Ww 8ovxgyJkpIZWhB43+4QAHgl0ZQ6H8fSz2JhOg62sNNkQsVAdxwvDC2pQSymzhxqMnLH5 MMvg== 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=H8Wr2XjEs5oHuA9SGyGdCEHWKMZtg85Nl/LHRslFifI=; fh=6AwcISBGklEC0U2b8ZFmhdtzZmcvKnccaXqP9iERvtc=; b=ByX7DKsobMHchZxugULeLtjlAHQuOK3oSVh2GEVq/quCtHC9k2vi3/544XonNlgVJG 6Q9EV8Sd/fb7Eh/5Qu5ElKcVhw6LWhPZH6nf0EJ/E/CFYI5X27BG2j+Y8gGp3mSaj8n/ VaqkZYvr/Zk0Y62xtmoD1s9mPWgLyh/alcAvrFq8sLHIMhP/0gSQU0dCts86yZdTLWFk 3QgLqL+cGj2FOBklDMvPE+fULOQMQMQTBu8+QyNfmH4VGsN1iJm96sz1o52NGKKWyxfG v6AYAGaKmqS6xueG8DmeT8n10EFXtlwAwiGD4D0zxMKcwE2CtOI/NBE5PXIcuZMr6Q2f G9Yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=BGqqUAZn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id h11-20020a056a00170b00b0068bf4e83dd8si1703968pfc.313.2023.10.05.09.15.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 09:15:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=BGqqUAZn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 3083382EA140; Thu, 5 Oct 2023 09:14:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240369AbjJEQM7 (ORCPT + 19 others); Thu, 5 Oct 2023 12:12:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240320AbjJEQL7 (ORCPT ); Thu, 5 Oct 2023 12:11:59 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C5E51733; Thu, 5 Oct 2023 06:49:01 -0700 (PDT) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39538AsV022257; Thu, 5 Oct 2023 03:31: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=H8Wr2XjEs5oHuA9SGyGdCEHWKMZtg85Nl/LHRslFifI=; b=BGqqUAZnsN6YaVS1lZFRM5SgKau9q+0iEL8ypghu+gol9bLf3PLhkn2Fvt3jUCPIU23B nhfUNNNC9BO8ug6Nmerssq1qIVD5vvtKcgdHbGUKQNexsU87/jY9PPVj9M5/JmbGYluq HC+diVNUuuBpi/5p40Q+kNFPM7f/a+EvBq/UsreXQ/W+fPJ5YKx5OfbkJ04BUviWS800 SPn32rIhnskptwMC55ScmIPQ/+691kkBD6TmuFk4BHhAtcwe6zaSPMo/VNiqSh/plDI7 sHc2DXBplfAMY/Hjvzzl3HSRxO5Qa8MlkOJ/GuJKhdzCoLOPMdoPnmcof6hm8my2i5lv 2A== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3thj6ggb9w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 05 Oct 2023 03:31:12 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3953VBbj006841 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 5 Oct 2023 03:31:11 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 20:31:06 -0700 From: Devi Priya To: , , , , , , , , , , , , , , CC: , , Subject: [PATCH V14 0/4] Add PWM support for IPQ chipsets Date: Thu, 5 Oct 2023 09:00:49 +0530 Message-ID: <20231005033053.2626465-1-quic_devipriy@quicinc.com> X-Mailer: git-send-email 2.34.1 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: AEFiTwcWsO7jdAFold3Tw1CKwN-VKGZ0 X-Proofpoint-ORIG-GUID: AEFiTwcWsO7jdAFold3Tw1CKwN-VKGZ0 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-04_13,2023-10-02_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 mlxscore=0 lowpriorityscore=0 suspectscore=0 spamscore=0 malwarescore=0 adultscore=0 priorityscore=1501 clxscore=1015 mlxlogscore=671 impostorscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310050028 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 05 Oct 2023 09:14:47 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778926890156234126 X-GMAIL-MSGID: 1778932821529878415 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