From patchwork Fri Oct 6 04:53:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devi Priya X-Patchwork-Id: 149112 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp89869vqo; Thu, 5 Oct 2023 21:54:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH/bqtNuKnmAAf0Ll1LgOLZZBFPZsTB1Al8XtNroYRYtIYWBYLZUXMlRfckKEbdLI6hu/MY X-Received: by 2002:a67:db97:0:b0:452:88c9:21cf with SMTP id f23-20020a67db97000000b0045288c921cfmr6944558vsk.33.1696568053438; Thu, 05 Oct 2023 21:54:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696568053; cv=none; d=google.com; s=arc-20160816; b=MiaXHT1A5Q+E6aeUjs5xK0eRlP3MqGlS08MOVaFLuVx5aE8oGWCXwN3V7wr8PmWrnT pZhZAZIE657Odd6n1bf7bz5REmQr/RrHp0LhmsPCR99W5oK2JAk8Lcp2zs7LXzZuI9Zy xzmSkzsNo3Rqa7t25gGPgvVMIJoAHMSG08YaDgA/LSmcQb+HG8WXRSL+SkDz0ugAW57e qAXAayt1mHY5JWOT1JkpBh3v4STr8qWlzSuoHN8asq2hpMAsZFBy0+CKlntXaPtK2WpJ zDpAr3N0FPxx/8r0DJzfHK5UX2jShJCGj7i7lu1VlsKJLyy1niP/ey4BmaMpOyRCpuEa k94A== 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 :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=ym7AeYADiKI1I2XUjRkhj44BrtRJQi/RAV/mHmnnS8w=; fh=BGg2PSAwcb00RrQ07Euwfa4ayWe/TDr8NrCDDushnUg=; b=T2MjC80J2z9DNSiZd22WAtGaMlzeCBOoka7SyxgDfXgDcO8B+Vlzgu8ob5Arua6wq+ aZX8S0idJXifhHAX8C10Cr48zvsvzz00ZHatgkOF60sx1jpFqND5C87kbnNPz5hC0G9I G8G0HqEdw1PpyrUST7FbDoftYB5TA8VDNT5qQQoyNOw2pezUE18FEQGtGR759uOpVTEg x0KuSrNW/3DRNf56v6psZh16Zp2CXfjl1dl1dKpeihkvItuTVXLly1+NTYsHz1NOvomt ETnlt9QXtH7dW930sIRM5lecSeQab3wd8t4Zl+v853V9O2hnjavRnV+s2w+/mfapRTLl jikw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=YfWwVWWy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id z11-20020a6552cb000000b00589a6e0df1asi39311pgp.285.2023.10.05.21.54.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 21:54:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=YfWwVWWy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id C153E83AC0E3; Thu, 5 Oct 2023 21:54:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230079AbjJFEyD (ORCPT + 18 others); Fri, 6 Oct 2023 00:54:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229918AbjJFEyB (ORCPT ); Fri, 6 Oct 2023 00:54:01 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70144DE; Thu, 5 Oct 2023 21:53:59 -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 3963d9U6022421; Fri, 6 Oct 2023 04:53:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=ym7AeYADiKI1I2XUjRkhj44BrtRJQi/RAV/mHmnnS8w=; b=YfWwVWWy+5XGdWi0Z1TxwcR/qxgV2LhSJOBTjHknmAxEDJ46xOR2fSayrBEot6ewgdQd PGkOS6KGvB2fIvA+K9zhVixZYXqAXuXbCTPkXB/PjXIrBnskZGVwx/oy5iTkdbq3VVyb rGwhsPpwKNd1gsmo1HrnB4cyfbtdoTkKNX7GfHW3IPIRmF2ergLh1D1FInkBwWW8wBm3 4AX+Hisygy34uOP2CgNtgRWlIoMP5ntuuTTkw3yr1aov42YgUNppA5+ab0VQWHmYVYFh GEWUA7Z7Nrxz5uajPOV9p6EmrskA8gkycNCKvaDB/jIW3ZOg6HqDDxQskeZ9WAgLHyTJ rw== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3thj6gk3dj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 06 Oct 2023 04:53:42 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3964rfEa003753 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 6 Oct 2023 04:53:41 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; Thu, 5 Oct 2023 21:53:36 -0700 From: Devi Priya To: , , , , , , , , , , , , , Subject: [PATCH 1/4] dt-bindings: pwm: Document the pwm compatible for ipq5332 & ipq9574 Date: Fri, 6 Oct 2023 10:23:14 +0530 Message-ID: <20231006045317.1056625-2-quic_devipriy@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231006045317.1056625-1-quic_devipriy@quicinc.com> References: <20231006045317.1056625-1-quic_devipriy@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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: ZRqsp0yTo9oVO1J5rFcOmC9pa9Svk0yP X-Proofpoint-ORIG-GUID: ZRqsp0yTo9oVO1J5rFcOmC9pa9Svk0yP 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-06_01,2023-10-05_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=999 impostorscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310060036 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 05 Oct 2023 21:54:12 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778980543276301816 X-GMAIL-MSGID: 1778980543276301816 Use ipq6018 as the fallback for ipq5332 & ipq9574 and document its compatibles. Signed-off-by: Devi Priya Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/pwm/qcom,ipq6018-pwm.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pwm/qcom,ipq6018-pwm.yaml b/Documentation/devicetree/bindings/pwm/qcom,ipq6018-pwm.yaml index 6d0d7ed271f7..8335c2952c2a 100644 --- a/Documentation/devicetree/bindings/pwm/qcom,ipq6018-pwm.yaml +++ b/Documentation/devicetree/bindings/pwm/qcom,ipq6018-pwm.yaml @@ -11,7 +11,14 @@ maintainers: properties: compatible: - const: qcom,ipq6018-pwm + oneOf: + - items: + - enum: + - qcom,ipq5332-pwm + - qcom,ipq9574-pwm + - const: qcom,ipq6018-pwm + - enum: + - qcom,ipq6018-pwm reg: description: Offset of PWM register in the TCSR block. From patchwork Fri Oct 6 04:53:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devi Priya X-Patchwork-Id: 149115 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp90184vqo; Thu, 5 Oct 2023 21:55:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHqgbZM7DPiErjy4VoldavTZpVNY+7tGZAQRP0dxPyc+1pUE59FmIywGEEEzwJyhrP2xCY7 X-Received: by 2002:a1f:ed41:0:b0:495:dcd0:471 with SMTP id l62-20020a1fed41000000b00495dcd00471mr7051990vkh.5.1696568111703; Thu, 05 Oct 2023 21:55:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696568111; cv=none; d=google.com; s=arc-20160816; b=YDNAg0fazel8jjIiAZitlJBqP8mr5bbgpoaqkX8lQvYPaLEDG6NX6exfTbug//s6rj WeRWCLLLyQ4FFay5KsJ+Yvo5Al8XDfcoxjHhyfiWFx7vysRaPOIEbXsEJlZrG02bnwvc 93uJ2xJ1sRcdCuRykSUIbnvABnOeA3vqMzNpOiolo3haygWPhaVRBepe5uFmWcQ3WeCd P1ALznSKOCCgRv1mXRpRV3Zl8Ep1T3GofXFkHf82erH8mSztjQln7vSBqmgPLydsJsAl tkAQsehPmdZlqiVjC09Z8vacmauobRy2PjS+asxCs8rYjHZiBDpRphfcUmKSJIZN0mbB V6TA== 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 :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=tWBLtMiBnfislLmNpklT2fvoD4Wg1XhMm9DoZei9BDo=; fh=BGg2PSAwcb00RrQ07Euwfa4ayWe/TDr8NrCDDushnUg=; b=CgN5Rb3Q2yztqknfMzflsPyMfy6tgu5bOuL0ofjIdRl49027H/A8x/zDyC+hJqJxWU lyEbRir9/hVwIsSCjdlJUMhHuO+Hit4YJnCqgyEEe5Hn+HjRCsqoRe4bz7MH1hBCbZfo t/0CB/W+bu0AMA+r72luloQw986GVZuaNFPirWTOdQqebpsx0g0zYgpadRscwxdTBMwa qlIiR83EtULWH76DHM6ddRUlUJ0mglDdjBZOSNrJ4v9KG06zRcoC10UpSgLkNMQ8fBxv Ym6Dhh9UcvqKLesu0lQyBT8cm1xtKN0kWUg7HyoGEe618hmrd/W1MZhP0oCQ7Lw/qDtG 5zDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=F7ZlqXe8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id ei25-20020a056a0080d900b0068e380c3654si661391pfb.395.2023.10.05.21.55.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 21:55:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=F7ZlqXe8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id 639178076C8D; Thu, 5 Oct 2023 21:55:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230126AbjJFEy5 (ORCPT + 18 others); Fri, 6 Oct 2023 00:54:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230111AbjJFEyj (ORCPT ); Fri, 6 Oct 2023 00:54:39 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D25CE181; Thu, 5 Oct 2023 21:54:25 -0700 (PDT) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3964iVhc008306; Fri, 6 Oct 2023 04:54:11 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=tWBLtMiBnfislLmNpklT2fvoD4Wg1XhMm9DoZei9BDo=; b=F7ZlqXe8MqN3ZpTc29p3CpwhCLriqm3ICMCQerxdpwSjzppw+1IG7AWCgd5wBEtWVijD FtjrPSGesOdafcsFxMDdSV4TFAbjLBmqN2fS/qQ0GfE0TNAaxg/rspJN4n1Oezw5xk4y +j/f4MMzo6jUAu/iHRAUf4Y/n2nk0AZwi1odhQ5ih3AExpf216izkd4xRU8MIaALN2SU 8h/jrK2Ez7LMjoG+LCdbbdY7+ZEKy27SoR03exhaXXfTnGso+IFXVMqQry7Aeb4nfvmG FDljNhknRU3ExK2iQZ/yMJw7j3E/wKdlWikMqUxuEXQsY2+BxRC4T604ey1kwVdAgYXm yQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tj9bxg6d1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 06 Oct 2023 04:54: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 3964rkCV025465 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 6 Oct 2023 04:53:46 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; Thu, 5 Oct 2023 21:53:41 -0700 From: Devi Priya To: , , , , , , , , , , , , , Subject: [PATCH 2/4] dt-bindings: mfd: qcom,tcsr: Extend simple-mfd & pwm support for IPQ targets Date: Fri, 6 Oct 2023 10:23:15 +0530 Message-ID: <20231006045317.1056625-3-quic_devipriy@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231006045317.1056625-1-quic_devipriy@quicinc.com> References: <20231006045317.1056625-1-quic_devipriy@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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: kQrUq-kBSyOQek41nm0AuSm4l88-6KSv X-Proofpoint-ORIG-GUID: kQrUq-kBSyOQek41nm0AuSm4l88-6KSv 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-06_01,2023-10-05_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxlogscore=988 lowpriorityscore=0 malwarescore=0 bulkscore=0 adultscore=0 spamscore=0 mlxscore=0 priorityscore=1501 suspectscore=0 clxscore=1015 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310060037 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Thu, 05 Oct 2023 21:55:09 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778980604659320168 X-GMAIL-MSGID: 1778980604659320168 Extend simple-mfd and pwm support for IPQ5332 & IPQ9574 SoCs. Signed-off-by: Devi Priya Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml b/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml index f836b973e382..1e1e25df4ee3 100644 --- a/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml +++ b/Documentation/devicetree/bindings/mfd/qcom,tcsr.yaml @@ -33,10 +33,8 @@ properties: - qcom,sm8450-tcsr - qcom,tcsr-apq8064 - qcom,tcsr-apq8084 - - qcom,tcsr-ipq5332 - qcom,tcsr-ipq8064 - qcom,tcsr-ipq8074 - - qcom,tcsr-ipq9574 - qcom,tcsr-mdm9615 - qcom,tcsr-msm8226 - qcom,tcsr-msm8660 @@ -47,7 +45,10 @@ properties: - qcom,tcsr-msm8996 - const: syscon - items: - - const: qcom,tcsr-ipq6018 + - enum: + - qcom,tcsr-ipq5332 + - qcom,tcsr-ipq6018 + - qcom,tcsr-ipq9574 - const: syscon - const: simple-mfd @@ -78,7 +79,9 @@ allOf: compatible: contains: enum: + - qcom,tcsr-ipq5332 - qcom,tcsr-ipq6018 + - qcom,tcsr-ipq9574 then: patternProperties: "pwm@[a-f0-9]+$": false From patchwork Fri Oct 6 04:53:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devi Priya X-Patchwork-Id: 149113 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp89867vqo; Thu, 5 Oct 2023 21:54:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFzLNP+dxG5wL4qTEFkyTqmlciqUgisphKj+PziNEQGiu525LeD5RHpM7rmi7lEEZipjLx6 X-Received: by 2002:a17:90a:74cc:b0:267:ffcf:e9e3 with SMTP id p12-20020a17090a74cc00b00267ffcfe9e3mr7214324pjl.46.1696568053103; Thu, 05 Oct 2023 21:54:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696568053; cv=none; d=google.com; s=arc-20160816; b=UOmzX0J+iP3xYwSAkoV848vz5auM5/DY/2xEFmO6cR96bliarTCVqRfZtqx0h+/EXC z909ktYBLrrbFuJe/KR77QqQ+5IWuiYnQV5kQMXeBpk68KmvK8nkS684WQxElcO9n6z1 NRjcM9/3Iw+PEHCS645ZkUqKiIdpo2c+MCMbDrOUpG0AeTPzMEmO7rwh6H0vYMBnomyU htNpgdmXHPYHRGUyo+LuHK+qYdr/3Tf0iGEwfLiQtaZKqLrU6Gs1ueQQkg8fYjtI9j+q OZJ2RX9PvVLwoi23c9ImPyAmNRmiwjj8VL73hK1WUs/gJPI1jneN2Ncl/aIdBxBqi2OU zRSQ== 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 :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=/YzFw6eLuWOFuO8DOa3u8Qh2Yhef99sBkmqbC6T9aB4=; fh=BGg2PSAwcb00RrQ07Euwfa4ayWe/TDr8NrCDDushnUg=; b=hXIHCOk/JZmp7USNLYYwdBKxQanzJNDXaY0I4fdE0H1zJk/eIy842ReXFXafjZlIA+ FtdvLO8JbKlynilO8350mbHo6J/ypTx8ReB8CfpP8Lv6yjzQHxFVdr1NsrDDbJVCrGRQ s7RIt7oTHmASWPrtTM/rcRW/B4eyzC1euKCWpbY8oY/wyRjIbDHw8Nw+kZI3JrrsIpsg hvxJEbg50nZ2lMwkh4VcL0PrASn8CFrOsGlAVqarrPaidUFUlSjwLPkClqZCXXOOVBgA nhc/t5O35tqDWhaUngYb68asohXALDvPcqsAOke0rfBCK6xI/5zD85Pz0qU1LeCVMmmv 4wwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=f2TSgLq4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id pi14-20020a17090b1e4e00b00276bf69ac44si3380906pjb.5.2023.10.05.21.54.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 21:54:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=f2TSgLq4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 3A0DA83AC0DD; Thu, 5 Oct 2023 21:54:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230077AbjJFEyI (ORCPT + 18 others); Fri, 6 Oct 2023 00:54:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230072AbjJFEyE (ORCPT ); Fri, 6 Oct 2023 00:54:04 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37C61FA; Thu, 5 Oct 2023 21:54:02 -0700 (PDT) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3964WfWP018286; Fri, 6 Oct 2023 04:53:52 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=/YzFw6eLuWOFuO8DOa3u8Qh2Yhef99sBkmqbC6T9aB4=; b=f2TSgLq4cDwV6SwCgPZdKA5FiHG1EPrVhKJQLk6TUxsELqJLI9yCTqdTaH67Ja1difqS 1ijSmQ5O7F9DJAmAnW4c0Buv1lN0FbqXtbk2xWxDyXBgt99BDZl+gvfJb3OxblFTaq16 YytTGVrCuBf9O8hAz1HuTZL2uuk61ZNVi1LSOazBzkS3rSGffA9WI6GlrR/kXQtVSHbL Z3BaykuuWy9fnD6r6t8eZyRpsfpKZbgNnWLtK4NLMBBjxRmFi836WmTSvBrwWYHtAU0l MfmekmqrqEC2NReOOI/wmNKssmR7I2hYTAy578HRNK0T0hzQV/EahHsU1zZ8zK275xL2 kA== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tj38n8rem-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 06 Oct 2023 04:53:52 +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 3964rpB6028876 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 6 Oct 2023 04:53:51 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; Thu, 5 Oct 2023 21:53:46 -0700 From: Devi Priya To: , , , , , , , , , , , , , Subject: [PATCH 3/4] arm64: dts: qcom: ipq9574: Add pwm support Date: Fri, 6 Oct 2023 10:23:16 +0530 Message-ID: <20231006045317.1056625-4-quic_devipriy@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231006045317.1056625-1-quic_devipriy@quicinc.com> References: <20231006045317.1056625-1-quic_devipriy@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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: ywQB6DyHy_-d6w311jCjYxZQKtgkmhtz X-Proofpoint-GUID: ywQB6DyHy_-d6w311jCjYxZQKtgkmhtz 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-06_01,2023-10-05_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 mlxlogscore=870 mlxscore=0 suspectscore=0 impostorscore=0 adultscore=0 spamscore=0 clxscore=1015 malwarescore=0 priorityscore=1501 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310060036 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 05 Oct 2023 21:54:12 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778980542665392014 X-GMAIL-MSGID: 1778980542665392014 The PWM is in the TCSR area. Make tcsr "simple-mfd" compatible and add pwm as a child of tcsr. Also, Enable pwm support in RDP418 of IPQ9574 SoC. Signed-off-by: Devi Priya Reviewed-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/ipq9574-rdp418.dts | 12 ++++++++++++ arch/arm64/boot/dts/qcom/ipq9574.dtsi | 15 ++++++++++++++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/ipq9574-rdp418.dts b/arch/arm64/boot/dts/qcom/ipq9574-rdp418.dts index 2b093e02637b..d275c98b4df7 100644 --- a/arch/arm64/boot/dts/qcom/ipq9574-rdp418.dts +++ b/arch/arm64/boot/dts/qcom/ipq9574-rdp418.dts @@ -43,6 +43,12 @@ &blsp1_uart2 { status = "okay"; }; +&pwm { + pinctrl-0 = <&pwm_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + &rpm_requests { regulators { compatible = "qcom,rpm-mp5496-regulators"; @@ -79,6 +85,12 @@ &sleep_clk { }; &tlmm { + pwm_pins: pwm-state { + pins = "gpio57"; + function = "pwm"; + drive-strength = <8>; + }; + sdc_default_state: sdc-default-state { clk-pins { pins = "gpio5"; diff --git a/arch/arm64/boot/dts/qcom/ipq9574.dtsi b/arch/arm64/boot/dts/qcom/ipq9574.dtsi index 8a72ad4afd03..5465254fbdde 100644 --- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi @@ -296,8 +296,21 @@ tcsr_mutex: hwlock@1905000 { }; tcsr: syscon@1937000 { - compatible = "qcom,tcsr-ipq9574", "syscon"; + compatible = "qcom,tcsr-ipq9574", "syscon", "simple-mfd"; reg = <0x01937000 0x21000>; + ranges = <0x0 0x01937000 0x21000>; + #address-cells = <1>; + #size-cells = <1>; + + pwm: pwm@a010 { + compatible = "qcom,ipq9574-pwm", "qcom,ipq6018-pwm"; + reg = <0xa010 0x20>; + clocks = <&gcc GCC_ADSS_PWM_CLK>; + assigned-clocks = <&gcc GCC_ADSS_PWM_CLK>; + assigned-clock-rates = <100000000>; + #pwm-cells = <2>; + status = "disabled"; + }; }; sdhc_1: mmc@7804000 { From patchwork Fri Oct 6 04:53:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devi Priya X-Patchwork-Id: 149114 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp89973vqo; Thu, 5 Oct 2023 21:54:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHdMHD8TiNKhEb/gs2vcWyD3RpEMQZYcdez7zgvwgRpnISguI7lr1Yng1J1elvBZnDqb/qh X-Received: by 2002:a05:6a20:2447:b0:154:3f13:1bb7 with SMTP id t7-20020a056a20244700b001543f131bb7mr7279234pzc.49.1696568076851; Thu, 05 Oct 2023 21:54:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696568076; cv=none; d=google.com; s=arc-20160816; b=up6z8vfci5H52MNGywh2cFbSAP8D7lKez+8vF0IhpGNWJ+a92L+HmLgj4Fpt0YmiQO NaPXD7K/QFJt2HHuPxeay/15sErnhsu84JtBp4r/I+ZBkzFjSk5tJwQNmWSjvq2WvV+b CF0+3WszNV/mrxd762Hnf5k8+Sg8cAav1D2jFqHxcmqCaLSznuh6MZdbZIaS6PZYr/9l 5l1SoIL6Sj5ROAHrYYl9RjscSv7eWtyTN7q/z1VS5J4ofuIkUtuL0eD0oG4dkA4Z39rU /yqJhvY6KaidD8rSKaiWOwjG4c0ftpUCOQNftjOH2XR1Pd+1JYvFk3pxm/pMRAK0bc7V z2+g== 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 :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=Y57dG8ltw7MucdbZ+M3Satn38fEJHaAh5pACALJTxQA=; fh=BGg2PSAwcb00RrQ07Euwfa4ayWe/TDr8NrCDDushnUg=; b=zczhX9Hl54nZZ+bwBcP+M7CcChGwvJxAxsU+9uy3K8GorZEnldjzpPKycRsaAjV3QA 2UQNsSg7cr6WNjgPWGJRFOO657abD//PWWU52TCLOWZuGruSYq9RoBsiq6n7V681L7bj hvTU+OQ2a/11zJkxm4hob0qHLxyAzY1XdptNlzqhnXGgYoYSOGyOBOpfYwRHHTrINRZX L4Z2a6GNEuaSoCtRc9z3EIQvKHCNUOtDpatj2h/4YuHOmhWTtsgie5wP5Q3XIuOho8wx mj6lpEE1L9xQHQ+6ka62pYPvUFIXH9J9C7awLuFcJcmf/O7Hzt7FNgnkxQHKauHelZhR FTaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=CmsrXYNN; 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 g5-20020a056a0023c500b00690bdd81cadsi752197pfc.155.2023.10.05.21.54.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 21:54:36 -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=CmsrXYNN; 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 EDC2A82295FC; Thu, 5 Oct 2023 21:54:34 -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 S230124AbjJFEy0 (ORCPT + 18 others); Fri, 6 Oct 2023 00:54:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230120AbjJFEyK (ORCPT ); Fri, 6 Oct 2023 00:54:10 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDB58100; Thu, 5 Oct 2023 21:54:08 -0700 (PDT) Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3963dqlg000939; Fri, 6 Oct 2023 04:53:57 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=Y57dG8ltw7MucdbZ+M3Satn38fEJHaAh5pACALJTxQA=; b=CmsrXYNNMKkiryQRDSG9KT9oDcJNZRqIpNgFWhXLOSV5B7Zg4j6C5XOwzYHFbhLXax/D RBn5sf1T9eYRWsM7nhRO9BNkgzvl6gWV8kAxA20Es9uPYIhqWwJKHM5LqLNzYLZLDr/M s+iwZSiDk79SoB1oVG/Ui6mFI/drozRiqzBdXq4b61EiDUXPIDomhVuePp2Y7q2rfsV4 gcq8ZHNnITpXDG04OtlU7a4ojIKXcEyintKCArf+iPm4xr+pGJosIBjVtw10Tou/OO4s lvx3isVkInEfEDkDeMmflfKORNDHrmZ/e9QoEm8fkOO56sMOwFHuFBrurLmAL1ocuI5a bA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3thnfaajjk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 06 Oct 2023 04:53:57 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3964ruLF005160 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 6 Oct 2023 04:53:56 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; Thu, 5 Oct 2023 21:53:51 -0700 From: Devi Priya To: , , , , , , , , , , , , , Subject: [PATCH 4/4] arm64: dts: qcom: ipq5332: Add pwm support Date: Fri, 6 Oct 2023 10:23:17 +0530 Message-ID: <20231006045317.1056625-5-quic_devipriy@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231006045317.1056625-1-quic_devipriy@quicinc.com> References: <20231006045317.1056625-1-quic_devipriy@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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: DgdSN-ND56AvD-Zj2k5_JEHKD7l0FYxu X-Proofpoint-ORIG-GUID: DgdSN-ND56AvD-Zj2k5_JEHKD7l0FYxu 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-06_01,2023-10-05_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 lowpriorityscore=0 mlxlogscore=783 malwarescore=0 bulkscore=0 spamscore=0 impostorscore=0 clxscore=1015 adultscore=0 phishscore=0 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310060036 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 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 21:54:35 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778980568157698785 X-GMAIL-MSGID: 1778980568157698785 Add PWM support in ipq5332. The PWM is in the TCSR area. Make tcsr "simple-mfd" compatible, and add pwm as a child of &tcsr. Signed-off-by: Devi Priya Reviewed-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/ipq5332.dtsi | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/ipq5332.dtsi b/arch/arm64/boot/dts/qcom/ipq5332.dtsi index d3fef2f80a81..7620f1ccd324 100644 --- a/arch/arm64/boot/dts/qcom/ipq5332.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq5332.dtsi @@ -210,8 +210,21 @@ tcsr_mutex: hwlock@1905000 { }; tcsr: syscon@1937000 { - compatible = "qcom,tcsr-ipq5332", "syscon"; + compatible = "qcom,tcsr-ipq5332", "syscon", "simple-mfd"; reg = <0x01937000 0x21000>; + ranges = <0x0 0x01937000 0x21000>; + #address-cells = <1>; + #size-cells = <1>; + + pwm: pwm@a010 { + compatible = "qcom,ipq5332-pwm", "qcom,ipq6018-pwm"; + reg = <0xa010 0x20>; + clocks = <&gcc GCC_ADSS_PWM_CLK>; + assigned-clocks = <&gcc GCC_ADSS_PWM_CLK>; + assigned-clock-rates = <100000000>; + #pwm-cells = <2>; + status = "disabled"; + }; }; sdhc: mmc@7804000 {