From patchwork Wed Oct 4 09:04:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devi Priya X-Patchwork-Id: 14900 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2a8e:b0:403:3b70:6f57 with SMTP id in14csp2621487vqb; Wed, 4 Oct 2023 02:06:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGUuhxlJm2HuHH9KzkkQ4clywxRY4UKLolpRvvynmVDE3PBxZcDq+PvEdqNwyKPP138/84K X-Received: by 2002:a05:6870:c0cd:b0:1be:c87d:c670 with SMTP id e13-20020a056870c0cd00b001bec87dc670mr2197355oad.47.1696410404424; Wed, 04 Oct 2023 02:06:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696410404; cv=none; d=google.com; s=arc-20160816; b=VOkjLmLdq0oFvAfWtlzsBSFxQmh8FF+302FWUJM66bVWaPForNj/BjDYuw93U7y8sz 2XdFeGeghKHLgZukHjXJ2ltuWvIfSbiplESXsN1dYJQlhCyzlUqs+U7F5PUG9hyWtNL6 zBmBicFa+gGKDgw8AlblEPtd0ss0DttryLopbH+eTXywUa6sXqDrtMDREqTJcz71lrWq 1+RFL9Hl1GYEXPqk7OglIb1brVTl6nVKiS8HDm6+LOI0K3KSzePMVscP9ywDB5zkdalS 1pHVCfIa1AogAvGlgcNhCF2z34b2Be7+wn8BZak9UeapcM13m1DM41/7X5VhYKDXCTY6 an5g== 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:to:from:dkim-signature; bh=WizBBjvzfHe/M4gVG+KD2+2FRFMf6Q9R0WWoVVUYLeg=; fh=UycDYdIyRZJe4f41XbmwXS5JSJ4V+IOpEs9nPSo/jr0=; b=hVZC0u2O1M+4BcPWfdwyGAGQfTC6rt7zCnawi/p0ksEMG1pJZ/eW84W99yh8gkJ1Qz 3ZluwtwhsdR3rUUt1C3X9rRdcA3N7KcCNjpCYe3aYNO1EHtzY6dkTZ6LzEVOM5nhq6Lk YpC34W5218pSR8xOKU0kGGNnCJF0cPdfTG2tuKJ9+6OVXv6XkT5tnMDXzBtfcvAMlZeK BycgMxZBqXXr/gCkJeV0bhPbUgjsXnC2f5IAxOfv8cmGnP0yfYPn5iegZprAEOK0ACwt jCjzHv93pOzyLDia2uji11foJoUiMCoJ5r8lphNHruueS4QE9AmkqgiEo2RJDtTY8zcF OU8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=IyYRjb3q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id cd22-20020a056a00421600b0068a3c575900si3190148pfb.84.2023.10.04.02.06.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 02:06:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=IyYRjb3q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id 542F680681E3; Wed, 4 Oct 2023 02:06:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241919AbjJDJFr (ORCPT + 18 others); Wed, 4 Oct 2023 05:05:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241905AbjJDJFi (ORCPT ); Wed, 4 Oct 2023 05:05:38 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D2F4C6; Wed, 4 Oct 2023 02:05:31 -0700 (PDT) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3947JECq007431; Wed, 4 Oct 2023 09:05:12 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=WizBBjvzfHe/M4gVG+KD2+2FRFMf6Q9R0WWoVVUYLeg=; b=IyYRjb3qT5ky0eV4AfrmuRfHMyIo9cIcd2tDIPdYQ3jNdXWVwNTZKYCbOHrR69JtLwyT Wt9aueAElYp8XvjL12yXAtfLzmyIsHOTyu2omlnDyglE4sB3FkIAfuSI++TY6x1SxDM6 G2vrSvEMgv+Sg1NUhb35RHoWOMzPNmjrbp79R8eCW4fLVAA7UHps2SOObAqLRdZCAXWQ i41mrhy09fgk+febLHyqqcJy1/Nu2yohRIlek5i8B4aaHB8lHD2mHT+RGh57QkPXd5lm pFK8sUMx/RApSKTB0db4Mw54A6B4yqHnl3YjaJQdZnSyzsYFJRJi025G0x/oNYo4/YjP rg== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3th1cy0e78-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 04 Oct 2023 09:05:11 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 39495AY0013710 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 4 Oct 2023 09:05:10 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 02:05:05 -0700 From: Devi Priya To: , , , , , , , , , , , , , , Subject: [PATCH V13 0/4] Add PWM support for IPQ chipsets Date: Wed, 4 Oct 2023 14:34:45 +0530 Message-ID: <20231004090449.256229-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-ORIG-GUID: WSAaW2dMo11pPaLlfJ7V2E6qZC_Efxli X-Proofpoint-GUID: WSAaW2dMo11pPaLlfJ7V2E6qZC_Efxli 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_01,2023-10-02_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 mlxscore=0 clxscore=1011 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 lowpriorityscore=0 mlxlogscore=780 suspectscore=0 spamscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310040064 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Wed, 04 Oct 2023 02:06:36 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778815236662864583 X-GMAIL-MSGID: 1778815236662864583 Add PWM driver and binding support for IPQ chipsets. Also, add support for pwm node in ipq6018. 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: ipq6018: add pwm node .../devicetree/bindings/mfd/qcom,tcsr.yaml | 100 +++++-- .../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, 423 insertions(+), 32 deletions(-) create mode 100644 Documentation/devicetree/bindings/pwm/qcom,ipq6018-pwm.yaml create mode 100644 drivers/pwm/pwm-ipq.c