Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6437487rwp; Mon, 17 Jul 2023 23:38:17 -0700 (PDT) X-Google-Smtp-Source: APBJJlF7uy5NCC+7/QCe25ce4GmZzxq10V3ohuHlEg4LbLFTpaS6eXSxvk4rUSoNRsMf/eSVi+fG X-Received: by 2002:a17:90a:cc03:b0:263:ba18:3bcc with SMTP id b3-20020a17090acc0300b00263ba183bccmr10083773pju.46.1689662297263; Mon, 17 Jul 2023 23:38:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689662297; cv=none; d=google.com; s=arc-20160816; b=IiyklPZf0ZAjZ886f8Uvb5usu9vMbVWUTHiz2tSdlZPVTAGYlffK82Jo33PFkfBxPi POQCa2PADw+i09I63WUKu5Xybf5Cz0bmqYYfuHjcecJCB6E3uopV8BEK8oMGiah173/p R2tEYBYrEaqvKfUA33DC4cPzDZhBR3j/EbIYdqaYjq/FQwEFAmqT9mW2tL7LDNXUOtug 8KhdjCOkfWkvMEJRh+BFaOvzOCeutjLuF5edFqE2n1e7Ka0iAsW4azRkKVsYcrcpGhPQ rJ/fSm8bGEJ3hTIe1r9LszI1wzIDHMuzkcM/OOM1diEauJqwuK+PPjbnl9Jv5bOYcrW3 zzTw== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id on1-20020a17090b1d0100b00263dee6d04dsi1122619pjb.126.2023.07.17.23.38.05; Mon, 17 Jul 2023 23:38:17 -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 S229793AbjGRG1E (ORCPT + 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 ); 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 To: , CC: , , , , 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: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.25.1