From patchwork Fri Dec 10 02:27:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 12668577 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 4B1F1C43217 for ; Fri, 10 Dec 2021 02:27:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236012AbhLJCbB (ORCPT ); Thu, 9 Dec 2021 21:31:01 -0500 Received: from mail-0301.mail-europe.com ([188.165.51.139]:37369 "EHLO mail-0301.mail-europe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236009AbhLJCbB (ORCPT ); Thu, 9 Dec 2021 21:31:01 -0500 Date: Fri, 10 Dec 2021 02:27:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=connolly.tech; s=protonmail; t=1639103244; bh=vRyw/Mk1pPGhOpHZt/19uH6fr0dEklnMVGC8i+6yKLU=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:From:To:Cc; b=oLGbUBbHSsSrL8Yok1F45y1DFHeQmYRoIZCxVfAjVIqOcmEiAQHbXl4O8auBTqpal iXbp8WNChbW55xepER7vqW8ZAapMShZGeWrnXtt4Km7ycWR8IlgOLhJp7299rOFSe3 wQo4Nbmhh51enb4XSC7bYJ7sLU4pusG3rx66Ozlo= 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 5/6] arm64: dts: qcom: sdm845-xiaomi-beryllium: add haptics Message-ID: <20211210022639.2779173-6-caleb@connolly.tech> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Joel Selvaraj Enable the pmi8998 SPMI haptics driver and configure the play rate for the hardware. Signed-off-by: Joel Selvaraj Signed-off-by: Caleb Connolly --- arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts | 5 +++++ 1 file changed, 5 insertions(+) -- 2.34.1 diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts index 580d4cc1296f..981711e535d2 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts @@ -312,6 +312,11 @@ resin { }; }; +&pmi8998_haptics { + status = "okay"; + qcom,wave-play-rate-us = <4878>; +}; + /* QUAT I2S Uses 1 I2S SD Line for audio on TAS2559/60 amplifiers */ &q6afedai { qi2s@22 {