From patchwork Mon Aug 16 22:20:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 497673 Delivered-To: patch@linaro.org Received: by 2002:a02:6f15:0:0:0:0:0 with SMTP id x21csp507954jab; Mon, 16 Aug 2021 15:20:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwtkgJokN0zz88eGX6AfGKKYV5fPYiBnf7CZStmiKcg+EZDXyfRFKYxRUGoF9JiqtT6FQUB X-Received: by 2002:a02:c502:: with SMTP id s2mr68438jam.135.1629152425141; Mon, 16 Aug 2021 15:20:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629152425; cv=none; d=google.com; s=arc-20160816; b=G+uQtPLTfyx13GhCZRBa5FjIMU551t+bjatfDCSz4da/gYzDWRES2Exgk4VBsfCbAQ 8kL6gHG7w5jvQcHzixeyENyGPcnS1H8vVn/Rd3IC5ggTxVou/+U7GLX/Mqt3A1AEQ7uq y1NFlG4qLD0PoQAJEvHYAPuUfyGZIHsShPOFsdFdUURSOK9zToEI5uhusMYu6rrtl7tI 0eiFU5dQ8C2PycF5gfIYanXZt5TVe2pc62gCNh4wRdz8/fzohz0aBeVQ5EUXpfc8Qz/E GDUvJIgd2Hvv3IQBzu6zkgDg6WeI2YFim7wOg0DyFd0CzEkF30ZZLIs2AxCPLWHQg/ba QO5w== 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=/kJzNtX9uX5VLvPNqLVdpy1Sm9tQvwqR3FoaD4TJ8QU=; b=B5EvUP1o2FUreu9nNCn35c/8XtwLptiORRnGx9ldTY6tTErrODIhQxnG7ltKyp63zS 5vcBc4pt0/x9/QR9Ow3CT2mNqruQvz2MB+PnBzmioBUU5mmU/trbYjWtUeSrry9xdkkX opTqzNXioYWyjpQ4Vkp7p88RP7Jh/IL7zUBF9RAT6rSHDq65Lz7I7GbIqoqYme+sAiFR LLIwK7fXgSP2IDjXHzX5Im9n/TgE+XRHLMJmg0yN/C88GqMD21CvF65Rfqh4W4x5POeD nGGYBWwWw/qg0awDUaSUhW5Pkw5TTj8FO6kS1Y/gThia5oO7oCbfGZ9cDX7nUKvABAlQ TFhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@connolly.tech header.s=protonmail header.b=ZdeEBvRa; 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.24; Mon, 16 Aug 2021 15:20:25 -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=ZdeEBvRa; 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 S233906AbhHPWUw (ORCPT + 16 others); Mon, 16 Aug 2021 18:20:52 -0400 Received: from mail1.protonmail.ch ([185.70.40.18]:22943 "EHLO mail1.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234154AbhHPWUu (ORCPT ); Mon, 16 Aug 2021 18:20:50 -0400 Date: Mon, 16 Aug 2021 22:20:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=connolly.tech; s=protonmail; t=1629152417; bh=/kJzNtX9uX5VLvPNqLVdpy1Sm9tQvwqR3FoaD4TJ8QU=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=ZdeEBvRais7p0tmielk5t2PZI0oQbOTQEv/8ab2nZebCxCRQ38Q+NhuGJ1T1yOad0 +1x/yPm/o0DuFVUMOB7Lcx1EDo+3HdqCD9UtBFwGS4QC5HA1Dwbfy7ZOUbYJRccuut VT8fESeTBTdHDilhujYdLnym/XsWsbTgUD/1eV2k= 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 5/6] arm64: dts: qcom: sdm845-xiaomi-beryllium: add haptics Message-ID: <20210816221931.1998187-6-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 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.32.0 diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts index c60c8c640e17..b6ce5d0f4966 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts @@ -335,6 +335,11 @@ dai@2 { }; }; +&pmi8998_haptics { + status = "okay"; + qcom,wave-play-rate-us = <4878>; +}; + &qupv3_id_0 { status = "okay"; };