Message ID | 20230717062547.2086869-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 j3csp945392vqt; Sun, 16 Jul 2023 23:55:39 -0700 (PDT) X-Google-Smtp-Source: APBJJlFnbKdoOk5POp+xZiEFVCBBdHfz/dcQDdhOCfNvwlAoGSWy6ukxRFEJpj0EaI79UwaIdSxR X-Received: by 2002:a05:6a00:1692:b0:668:6445:8931 with SMTP id k18-20020a056a00169200b0066864458931mr15482809pfc.29.1689576938936; Sun, 16 Jul 2023 23:55:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689576938; cv=none; d=google.com; s=arc-20160816; b=wr17+8kUI95EfBoX2wml4UKx40ydgL4XUuZr8P/oP30biCe+o/IYVWbrURJr9NrQdK iu3uPUNuACqBF78+sV3yBQWE14diaYinFfCAen6odOUcxU46OYjCk0VgijN2QhBD7MUj kr+RJ2namMJc8Lzc4eFSr/0CJwnBTdPWDK3pOdEyDLkFiMZfrgBEdbPdQFXGmoTNQl9W FTXYAGt0B3RATsl0TLsLvyESzusCk9KeVM8slkTvDdrZVkcOV/CqragGrPJVkZk6nirB CtWn1F389irpodMnVPH4VvY85K+c7Bd1V9mTmT8tVNM8p2za4+8Xy2eBW9BgD0nCnvnz oKWA== 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=bAQKx5UD8kYYF/N1qVfbMABzoeBLk7Gfa2Gu5L5eDV8=; fh=+ty+s1uXfAyLGtd55qYB9ATd+g0ZtfyR7wO6maNi3nI=; b=xmrQatFAMpcqynXP2NNbPdg1LJGCkEOfGjXd3eEs+N/Z3Xoqug28PAOPyuns3KJN5+ VxhK5UqGJBAkZX0Hh163NQdrZyiXzl5hZyJKmQVR+ggs3jLndq3sRks+Pm5wbPJ5niZP zDBUnabqwPKfGmlSJ+iwiFaWOc/85ltB5sCsPA9FXe0CTqAmQuFy+SSSsG7vD3oQ/nck K0+Y6MVqRieZ+UYlyEyPkdj4ntzghHWAmBjNLtFEgu+02/tcgt8ZVSUx/cKHfpJR5D/v 9ROE5G/zD61Rd5mN473X9oM4YnweNuCEAwIroUzEtzK0azhhUSB66JhrBJ6apULlX4kC fFCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=IFfi2XFF; 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 j184-20020a6380c1000000b0055fc5e67d65si5177663pgd.179.2023.07.16.23.55.26; Sun, 16 Jul 2023 23:55:38 -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=IFfi2XFF; 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 S230006AbjGQG1x (ORCPT <rfc822;daweilics@gmail.com> + 99 others); Mon, 17 Jul 2023 02:27:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231161AbjGQG1r (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 17 Jul 2023 02:27:47 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58F53E58; Sun, 16 Jul 2023 23:27:26 -0700 (PDT) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36H5QpFV019349; Mon, 17 Jul 2023 06:26:28 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=bAQKx5UD8kYYF/N1qVfbMABzoeBLk7Gfa2Gu5L5eDV8=; b=IFfi2XFFlawlYrPAFzvzZCfgJvhIyIwFPeTZrvZLU5es9X3yvWSFDEdQCpjtTArg+7Th kmBQsL2zaeotphTTrjlAoJBryEVTNWXxXoVLyXiW4rHaVec1frPxKvgaLfEd8vZcLiUZ tEEbWia8hRFQvZFMp2s6YBp6QXKaE4GIZHPXhtvgk5j6nhoKd57tvykuaXZf1RVkkGVY mHvY84biPyPLvZN/BI7ixC6ycUWutEoFbcmqcIVBXM+Iv5qbuovO5xUmjbPyH05AN6J4 KRXsQB/1wdP9V3fLLqzjnfnPdhEjfq388jF/tKDIU1hHzKfATOxOh2Bybhc0wxVoakOb vg== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3run0dtkvc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 17 Jul 2023 06:26:28 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36H6QRrC026633 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 17 Jul 2023 06:26:27 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; Sun, 16 Jul 2023 23:26:25 -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 v1 0/2] Add support for vibrator in multiple PMICs Date: Mon, 17 Jul 2023 14:25:45 +0800 Message-ID: <20230717062547.2086869-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: F7TI92YLJYBFmDOedRycs-M-hPIjE0DM X-Proofpoint-GUID: F7TI92YLJYBFmDOedRycs-M-hPIjE0DM 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_05,2023-07-13_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 lowpriorityscore=0 malwarescore=0 adultscore=0 mlxscore=0 mlxlogscore=785 spamscore=0 bulkscore=0 impostorscore=0 priorityscore=1501 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307170058 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 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: 1771649827876200082 X-GMAIL-MSGID: 1771649827876200082 |
Series |
Add support for vibrator in multiple PMICs
|
|
Message
Fenglin Wu
July 17, 2023, 6:25 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. 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 | 4 ++ drivers/input/misc/pm8xxx-vibrator.c | 49 +++++++++++++++++++ 2 files changed, 53 insertions(+)