From mboxrd@z Thu Jan 1 00:00:00 1970 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 ACEECC433F5 for ; Fri, 10 Dec 2021 02:27:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235981AbhLJCal (ORCPT ); Thu, 9 Dec 2021 21:30:41 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]:42397 "EHLO mail-4317.proton.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235960AbhLJCal (ORCPT ); Thu, 9 Dec 2021 21:30:41 -0500 Date: Fri, 10 Dec 2021 02:27:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=connolly.tech; s=protonmail; t=1639103225; bh=HPRTLypqlL1v/oJddAQlru6l2IJfkdXX26COEmhucPs=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc; b=FquTi0+w7hGeWMhBOi0z5TdO2ARBGanGJeBTlGYTYZmsXerSlwHDLJ+W9L+erMiD1 ad63z18tpdWlhxo3AdGFd8LbqqXe7U5bNxMhkOeb++0aYNoS2oV/Wytd8GGzqfqWed M5BWmT6B2mmIt8PocbaLZhCp+f5spQKBzb82j+tA= 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 3/6] arm64: dts: qcom: pmi8998: introduce spmi haptics Message-ID: <20211210022639.2779173-4-caleb@connolly.tech> In-Reply-To: <20211210022639.2779173-1-caleb@connolly.tech> References: <20211210022639.2779173-1-caleb@connolly.tech> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Add bindings for Qualcomm SPMI haptics on platforms using pmi8998. Signed-off-by: Caleb Connolly --- arch/arm64/boot/dts/qcom/pmi8998.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pmi8998.dtsi b/arch/arm64/boot/dts/qc= om/pmi8998.dtsi index 0fef5f113f05..97d993f31ddd 100644 --- a/arch/arm64/boot/dts/qcom/pmi8998.dtsi +++ b/arch/arm64/boot/dts/qcom/pmi8998.dtsi @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 +#include #include #include @@ -53,5 +54,19 @@ pmi8998_wled: leds@d800 { =09=09=09status =3D "disabled"; =09=09}; +=09=09pmi8998_haptics: haptics@c000 { +=09=09=09compatible =3D "qcom,pmi8998-haptics"; +=09=09=09reg =3D <0xc000>; + +=09=09=09interrupts =3D <0x3 0xc0 0x0 IRQ_TYPE_EDGE_BOTH>, +=09=09=09=09 <0x3 0xc0 0x1 IRQ_TYPE_EDGE_BOTH>; +=09=09=09interrupt-names =3D "short", "play"; + +=09=09=09qcom,wave-shape =3D ; +=09=09=09qcom,play-mode =3D ; +=09=09=09qcom,brake-pattern =3D <0x3 0x3 0x2 0x1>; + +=09=09=09status =3D "disabled"; +=09=09}; =09}; }; -- 2.34.1