From patchwork Mon Aug 16 22:20:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 497672 Delivered-To: patch@linaro.org Received: by 2002:a02:6f15:0:0:0:0:0 with SMTP id x21csp507912jab; Mon, 16 Aug 2021 15:20:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzVH2fsmvMfJ2X0NpbsBeJ9UL+TmVVUNtZlolxdhYeKEO0NNRnKrnV3uNHXf4JrdsyzptXt X-Received: by 2002:a92:cccf:: with SMTP id u15mr162284ilq.144.1629152422350; Mon, 16 Aug 2021 15:20:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629152422; cv=none; d=google.com; s=arc-20160816; b=e/CkEUIZsWsYBZgqKV5wHtBNBFpqPA/2kAxzQpc0DyOjqpK77OswBEhe38k+yMs/oe QbxukowByKIgjCChaUoH9paRIa+N5zqhLGAd84cxpeYSpwhZTDlAgEU/gA7NDyYFzcmV u5GiEO9v7SkypW7eRwHRi+wZZltX00li/eHQUxoZ3JA3D9sOKAZ6EGC+5Rd5AVuGAyxy 9wGqWgFetrw1pL7jqIpRi3Rm0CshpTkzAECV+DUM43IXPSh/bXT+ZkRgLG1KezOZbHOm 98mQT7ukyuLuxkyCkwdrWO5vhJhSG6oLd7w3WIrGETSBaj7NGMmufzzQqI2doA2USPh0 uJsA== 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 :references:in-reply-to:message-id:subject:reply-to:cc:from:to :dkim-signature:date; bh=h0qgj0HbOeQZsB6OsW+kcp12M6YNiIgJG6sV7vtbGpY=; b=ifQmrZCh9xyd1xR8PjDU9tlGSlns94Y/af3pL7xA34Ah6G7KRlbPVAjQ3+5lgHUdfW aHtbiDTCpUJ4kzKeikHIBkC8XetIzOF7Ak/dpE+tZRtc8XFC1Iyay80VZORLPEGNmx0b yW++ZWxqP7CUjnb1XNNV3l9eabjex28nr/iBEXHtZIe4po740clD7FiJ96sI+8CB2xtA /wwM9dRFFLPCISpCyHBqcdpSETfX8k68DaUGvjWfwNb8HOJwxPIR1u7D3IpnEO2mL4Vq OzYgspQdhKIAmfMrm2tBOa0Cg2fWN4eanUit3SFOd8CdLn/7o0vnJ4oYS0tjKeGWfQC6 XUKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@connolly.tech header.s=protonmail header.b=JbhU9p6a; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=connolly.tech Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u5si277320jam.103.2021.08.16.15.20.22; Mon, 16 Aug 2021 15:20:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@connolly.tech header.s=protonmail header.b=JbhU9p6a; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=connolly.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234208AbhHPWUv (ORCPT + 16 others); Mon, 16 Aug 2021 18:20:51 -0400 Received: from mail1.protonmail.ch ([185.70.40.18]:21555 "EHLO mail1.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234087AbhHPWUs (ORCPT ); Mon, 16 Aug 2021 18:20:48 -0400 Date: Mon, 16 Aug 2021 22:20:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=connolly.tech; s=protonmail; t=1629152414; bh=h0qgj0HbOeQZsB6OsW+kcp12M6YNiIgJG6sV7vtbGpY=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=JbhU9p6aLkJaI1BDSxaECLS5gWQGelTkSm8oO3iV/W9m/np7Edf9SudPAjfSkUne4 i53WR+qqCaLSrb0tQp4q+CP33EK3FI+oGApFC4hRNll7IWQFUclb1LRl5bEr+odFAK zsUNnYJJROFqBekoZi99SRRxdsLEL3v1RRqKMYHg= To: Caleb Connolly From: Caleb Connolly Cc: Andy Gross , Bjorn Andersson , Dmitry Torokhov , Rob Herring , linux-arm-msm@vger.kernel.org, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Jami Kettunen , Joel Selvaraj Reply-To: Caleb Connolly Subject: [PATCH v3 4/6] arm64: dts: qcom: sdm845-oneplus-common: add haptics Message-ID: <20210816221931.1998187-5-caleb@connolly.tech> In-Reply-To: <20210816221931.1998187-1-caleb@connolly.tech> References: <20210816221931.1998187-1-caleb@connolly.tech> MIME-Version: 1.0 X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch 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.32.0 diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi index 4d052e39b348..05e1f90c4f02 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi @@ -441,6 +441,12 @@ pinconf { }; }; +&pmi8998_haptics { + status = "okay"; + + qcom,wave-play-rate-us = <4255>; +}; + &qupv3_id_1 { status = "okay"; };