Message ID | 20230718062639.2339589-1-quic_fenglinw@quicinc.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp1542256vqt; Mon, 17 Jul 2023 23:31:30 -0700 (PDT) X-Google-Smtp-Source: APBJJlGn9F4p99XOz6Ig+/K9sOvmdoskO6n5VcOzxyPq9L4KuD1oLTL5EcE38tcc6ZmhbmfNoTWa X-Received: by 2002:a17:90a:a011:b0:263:71f0:1569 with SMTP id q17-20020a17090aa01100b0026371f01569mr9182897pjp.3.1689661890217; Mon, 17 Jul 2023 23:31:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689661890; cv=none; d=google.com; s=arc-20160816; b=GLrPPKgOaDRUTCIY7f5wGnXf8PA4lnMSip5eyeHaSUeT07YSP5gj2nzN4+bOUCWfSG 0vPrl4gitrdrGviUquX4muQdEVX469OrP3St7xXAJ+HfE7aTALpLdGATlB7R2jQd5vU5 jFjCZ97UCNWjqRER3kB1C7F92OXSFDUQI62Cxpo6auSuLl0bZfbvLHOs47B+5e4RrHa4 QNGLGVCm4biFPDd5j2U5Fq8eLLxWUn8l+hgEP3c4wp+G7JVgKNH9jT9tqb6EA1nvEEId 8w1ppz8cSTNDlVN0OmmqAFJBamD9SHpJyYMl3mb6ilTIDlMvL74tWlz9Lo7ZL6gJN4HU hH3A== 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=E+TRH9rtQteKeTrzHkDeOuPQsxcVENc2p5eTBUgQttY=; fh=+ty+s1uXfAyLGtd55qYB9ATd+g0ZtfyR7wO6maNi3nI=; b=JB5GYi4L1jxdG0grlWAq4aaF3xOgcom33uxnuhEOcPFyOqpTqMhLVehmcBlwlFH9L/ rzfMtrmUw4VhjhOs920AJ5Px7s3BJ/jqmtHQLrCy3F3krIbehP3KXuLX5ZHOM/KSF6LJ 7+eZkZwCvST78dJVljLxxUkI/cO5YBBoQNBxmNN8s4wq+kXcxF/v/1KI5DBSSNDlqbx2 paGIwy1ERH+n3cblG+fS/s1Ln2WfuMSTdvixG27TFkE/7sue/DNgGXIpybkRSJAaojWp iL5cw6cH29KqnBxUI1GnivTMEeYI5hsbKBKpHkTpYGMFKzkDuZNNdS1Z+3dWH6vnT2UU TGHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="SNV2/ysZ"; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x2-20020a170902a38200b001b8955938ccsi1129874pla.331.2023.07.17.23.31.17; Mon, 17 Jul 2023 23:31:30 -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="SNV2/ysZ"; 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 S231202AbjGRG1E (ORCPT <rfc822;daweilics@gmail.com> + 99 others); Tue, 18 Jul 2023 02:27:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231211AbjGRG07 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 18 Jul 2023 02:26:59 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A114210FE; Mon, 17 Jul 2023 23:26:57 -0700 (PDT) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36I5DUCL007848; Tue, 18 Jul 2023 06:26:57 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=E+TRH9rtQteKeTrzHkDeOuPQsxcVENc2p5eTBUgQttY=; b=SNV2/ysZNQXoRL/8RN+3q5c/kylW7Mcf14Np6i+zhxPTEQl94/ETAtWsKKUjKyE/Ru7Q nFbjLrdhgS4jbtgxovOWuB0yoVuXBxX26cZKeVNwu4Q0m6c9bQzViAkm7oHE1fvuk+9Y uAeuQ1FqJGlQVbZuNR2YiisotuIzK8pSugEES7QtobUbdCguOKgKIJaY78RmnTBKoC9i uFds52Kxdfv+3yfyOnXnKtKBFdhXbJYITQD530j5vbBnQg80W/3nvNgchqhtylm8rbJQ adKbgYdtAlM8c3yZo+8y+W3Nm+Kb2+rc2sZzd9x5Xna0oazqn7KhyuMIkm3611SRc6g0 lQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rw3yv27vu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 18 Jul 2023 06:26:57 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36I6QuV3029640 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 18 Jul 2023 06:26:56 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.1118.30; Mon, 17 Jul 2023 23:26:54 -0700 From: Fenglin Wu <quic_fenglinw@quicinc.com> To: <linux-arm-msm@vger.kernel.org>, <linux-kernel@vger.kernel.org> CC: <quic_collinsd@quicinc.com>, <quic_subbaram@quicinc.com>, <quic_fenglinw@quicinc.com>, <quic_kamalw@quicinc.com>, <jestar@qti.qualcomm.com> Subject: [PATCH v2 0/2] Add support for vibrator in multiple PMICs Date: Tue, 18 Jul 2023 14:26:37 +0800 Message-ID: <20230718062639.2339589-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: nasanex01a.na.qualcomm.com (10.52.223.231) 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: bo8_s8qRXsJwGJojtj8tHSpwYV8sDgB3 X-Proofpoint-GUID: bo8_s8qRXsJwGJojtj8tHSpwYV8sDgB3 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-17_15,2023-07-13_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 adultscore=0 spamscore=0 impostorscore=0 mlxscore=0 lowpriorityscore=0 malwarescore=0 bulkscore=0 phishscore=0 suspectscore=0 priorityscore=1501 mlxlogscore=828 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307180058 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,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 Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771738906399264031 X-GMAIL-MSGID: 1771738906399264031 |
Series |
Add support for vibrator in multiple PMICs
|
|
Message
Fenglin Wu
July 18, 2023, 6:26 a.m. UTC
Add SW support for the vibrator module inside PMI632, PM7250B, PM7325B, PM7550BA. It is very similar to the vibrator module inside PM8916 which is supported in pm8xxx-vib driver but just the drive amplitude is controlled with 2 registers, and the register base offset in each PMIC is different. Changes in v2: Remove the "pm7550ba-vib" compatible string as it's compatible with pm7325b. Fenglin Wu (2): dt-bindings: input: qcom,pm8xxx-vib: add more PMIC support Input: pm8xxx-vib - Add support for more PMICs .../bindings/input/qcom,pm8xxx-vib.yaml | 3 ++ drivers/input/misc/pm8xxx-vibrator.c | 48 +++++++++++++++++++ 2 files changed, 51 insertions(+)