From patchwork Fri Dec 10 02:27:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 522865 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E9141C433FE for ; Fri, 10 Dec 2021 02:27:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236002AbhLJCa5 (ORCPT ); Thu, 9 Dec 2021 21:30:57 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]:63245 "EHLO mail-4317.proton.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235984AbhLJCa5 (ORCPT ); Thu, 9 Dec 2021 21:30:57 -0500 Date: Fri, 10 Dec 2021 02:27:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=connolly.tech; s=protonmail; t=1639103241; bh=a0+Jz0H6sQZMpPuU3UqfLhqyuZtoBJw/JSFKhEbbxIA=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:From:To:Cc; b=grdJgxmRmlu4EmTOesk+7cyeKqoAS693Hwh8iToPVZ7tC0YxZ2RAyIJw7QgISx7rH hfQrnUON/hwZ/MWNkZAVgfgYIy1Twgl3TFEirBoFHaZe32zb05bUSztz+CmuBVrfu8 j6dj55r89CIBd7fcwMl2wyZEkcE0utyqN9TTkyWY= To: caleb@connolly.tech, Andy Gross , Bjorn Andersson , Dmitry Torokhov , Rob Herring , linux-arm-msm@vger.kernel.org, linux-input@vger.kernel.org, devicetree@vger.kernel.org, phone-devel@vger.kernel.org From: Caleb Connolly Cc: Jami Kettunen , Joel Selvaraj Reply-To: Caleb Connolly Subject: [PATCH v4 4/6] arm64: dts: qcom: sdm845-oneplus-common: add haptics Message-ID: <20211210022639.2779173-5-caleb@connolly.tech> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Enable the pmi8998 SPMI haptics driver and configure the play rate for the hardware. Signed-off-by: Caleb Connolly --- arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.34.1 diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi index 3e04aeb479d1..1cba765f7a02 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi @@ -450,6 +450,12 @@ pinconf { }; }; +&pmi8998_haptics { + status = "okay"; + + qcom,wave-play-rate-us = <4255>; +}; + &qupv3_id_1 { status = "okay"; };