From patchwork Mon Aug 16 22:20:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 497674 Delivered-To: patch@linaro.org Received: by 2002:a02:6f15:0:0:0:0:0 with SMTP id x21csp508011jab; Mon, 16 Aug 2021 15:20:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVRTI9Zz3uprdxOfmAlcgJlHZmRPXqsfqTzsJNCjEAilmgIqGNCgardzSejO1RKBJBeSuI X-Received: by 2002:a92:ce03:: with SMTP id b3mr129496ilo.267.1629152430105; Mon, 16 Aug 2021 15:20:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629152430; cv=none; d=google.com; s=arc-20160816; b=Cjxdtzas+uRhpzPzQfdEMq81fnR0CfeBBEl/3NqB9YtcXYf91ECUGiRatwq8mREZiE BG61vU0dtpaSwrM2KJ34lU7yEgO7k5LQyivPrBYYNaLNHzeUeJ3dUh2Ha990oug75O1r 9PFFRArEjRDizOEcARYEKh7iO9mnLVCBOMtSyQwgPQ7+7m3Cijl3wRSFeqbbD3MIuWS/ zVi85X3rzmNsUVsIGPq+yR2qqcOme8bJXsJFB2sY78PzCts0/krFf+XFSEF0ksoMshA1 5nEb1b96x2txoxDPzG3O+yi48P/VjdKur5DO7oTUGBLDZTBuvcgMt0qTC9TWPZwS0etm BdyQ== 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=ovVx5DvDjRArYtTNni2Z0A1mBcd+hxW0bRSODlpBDAo=; b=epWKOib3ZLCumWRPVNlLxhNE064xTDOZrNO86wRQqjhsYWsXP6GVYO7Og0G/DaMYWZ luf0yqTrNXWbVIkEvbw0QG9NWorGYzR+GAUhP+e14hrRquzJk9esOKjq9grDcv07Dn0U fv0xZZ8QgLu0MnUTqUsz/9CtAXnfqfhpdJJQmSggVDHaveFcsadzglcENdH9qjn8dA71 vperRRfZG7zFX5jjtDVQIAnu3sjEimYhVqRfsOZIS9fCaHgqErcWT16bbfQCr5PEJcns lW132oeW8CjjDwXcuTXob68UyvfxI7R+PA1XiCM6cRuGMuN7/c9XkhsqmB/uVmnl/wun 8K0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@connolly.tech header.s=protonmail header.b=R5TPrcnU; spf=pass (google.com: domain of linux-input-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-input-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 w13si261887jae.1.2021.08.16.15.20.29; Mon, 16 Aug 2021 15:20:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-input-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=R5TPrcnU; spf=pass (google.com: domain of linux-input-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-input-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 S234149AbhHPWVB (ORCPT + 1 other); Mon, 16 Aug 2021 18:21:01 -0400 Received: from mail2.protonmail.ch ([185.70.40.22]:45043 "EHLO mail2.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234317AbhHPWVA (ORCPT ); Mon, 16 Aug 2021 18:21:00 -0400 Date: Mon, 16 Aug 2021 22:20:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=connolly.tech; s=protonmail; t=1629152426; bh=ovVx5DvDjRArYtTNni2Z0A1mBcd+hxW0bRSODlpBDAo=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=R5TPrcnUBuNzo2VYwOXXtsp7U8Uccj83vVGOkPBIYM8isbD6bXQgparLhuuRncs8D 2QUj26R/nJJvVwdLuBLFFdV9cTDbuhTLag7RobcxlKEGFxcreVhPB4UhaEuL88XuFD MWRJcvuy1ARIUe11Cidi+eZ5MzeSp/rtFBOjgrXU= 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 6/6] arm64: dts: qcom: msm8998-oneplus-common: Enable PMI8998 haptics Message-ID: <20210816221931.1998187-7-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-input@vger.kernel.org From: Jami Kettunen The OnePlus 5 and 5T both have a haptics engine connected to PMI8998. Signed-off-by: Jami Kettunen Signed-off-by: Caleb Connolly --- arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.32.0 diff --git a/arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi index 0f5c7828a901..4494eb6794b4 100644 --- a/arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi @@ -257,6 +257,12 @@ pinconf { }; }; +&pmi8998_haptics { + status = "okay"; + + qcom,wave-play-rate-us = <4255>; +}; + &qusb2phy { status = "okay";