From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=31.31.198.150 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796035108; b=3o6vAVIymxhdAZgaxsQQAvDkimjloPaakk0zAbkhx+sISV4xyWiXn7TcK9JRvIAK45pV 8Q1fF2fvCVIxFBVt2jKQt0ckojRUpQcXhwuWeTOXCKDFQmRrIHSDOe1A8PZJxdCWiuPyi o9n8IT8NUaeseg3nL2OmHfPONPlZSwMRoIOLqF04YLVwbitV/8QhVZWC43zdakGALa4SM wrPlmZ9I+9voyPdc7aKrfzvPENgGG3kV22u3cejJGA3Spr/UdrEkxdZgBdeAMelolK9qk m3i+ijpaytmVav0Lp6O7PqGNVSJULB0ZjSIBrp2F6DK1vRuFOo5addBKm3wqi/NWsSA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796035108; h=DMARC-Filter:DKIM-Signature:Received:Message-ID:Date:MIME-Version: User-Agent:Subject:To:Cc:References:Content-Language:From:In-Reply-To: Content-Type:Content-Transfer-Encoding; bh=URdWf9lMux4nHBAr+YjhfDEeRmLRy7IUPGcUCfynUYM=; b=vE77LWVTyuEyw64p/Yjg2jrLa23ZW3CcJ6ujZh5BuPInIXtXIAV4Hurwdus2zsk2wFNl /NVqTIIXc2FpWTGeBZkKuSB0iZztZKxlBTFxSh6UqWE0sxSfznhaAfGa6tTfUcN1eDmY8 HmO2KoLzworuQYlIiXeMUwLxaak8haKE+1561xMrzM4ZmpJtPGPsRA6GGeouQ4j1PlarI I7zHUIqVelPM00+aSkUru5y0YpWkcKfxDhCzZgCkE6K+UdOoIIJ1LwnWUOlchtqM1Kswi 28vCwMu/2BCI3Sz4n7D89kfNMlLv1NBLIecPDxU0F8KjF0YKs9EdOelJBNWJW5RuurQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=minlexx.ru; spf=none smtp.mailfrom=minlexx.ru; dkim=pass header.d=minlexx.ru header.i=@minlexx.ru header.a=rsa-sha256 header.s=dkim header.b="bRhq/dg7"; arc=none smtp.remote-ip=31.31.198.150 Received: from sm24.hosting.reg.ru (sm24.hosting.reg.ru [31.31.198.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5D71D606A31C; Mon, 30 Nov 2026 10:38:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 5D71D606A31C Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=minlexx.ru Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=minlexx.ru Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=minlexx.ru header.i=@minlexx.ru header.a=rsa-sha256 header.s=dkim header.b=bRhq/dg7 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=minlexx.ru; s=dkim; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From:References: Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Unsubscribe-Post: List-Subscribe:List-Post:List-Owner:List-Archive; bh=URdWf9lMux4nHBAr+YjhfDEeRmLRy7IUPGcUCfynUYM=; b=bRhq/dg79h7yAGElJaBEVyAKyd lm9DlnBHXcHN6LheOO8SSRMSXG6Y3Ewj4PhVc8nTOu34RW/lViofUa1VaICjBgPRO5nWf20gM6QuI AhzeVkBoLhbaPR9PYMlNj04l+9q4/ADKMr9pNlPnuikyOo2hPsIyOWUS8ynEEEul0Tw4=; Received: by sm24.hosting.reg.ru with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (envelope-from ) id 1xXym9-00000008aJe-0E4f; Mon, 30 Nov 2026 13:38:26 +0300 Message-ID: <3cabda58-7fdc-49c8-9d5a-cdbb43663f44@minlexx.ru> Date: Mon, 30 Nov 2026 13:38:24 +0300 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v8 9/9] arm64: dts: qcom: sdm660-xiaomi-lavender: Enable haptics To: david@ixit.cz, Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lee Jones , Stephen Boyd , Bjorn Andersson , Konrad Dybcio , Abel Vesa Cc: David Collins , Subbaraman Narayanamurthy , Kamal Wadhwa , Fenglin Wu , Casey Connolly , linux-arm-msm@vger.kernel.org, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, mfd@lists.linux.dev, phone-devel@vger.kernel.org References: <20261130-qcom-pmi8998-haptics-v8-0-a64ecd72d3bb@ixit.cz> <20261130-qcom-pmi8998-haptics-v8-9-a64ecd72d3bb@ixit.cz> Content-Language: en-US From: Alexey Minnekhanov In-Reply-To: <20261130-qcom-pmi8998-haptics-v8-9-a64ecd72d3bb@ixit.cz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 11/30/26 03:13, David Heidelberg via B4 Relay wrote: > From: David Heidelberg > > The Xiaomi Redmi Note 7 (lavender) uses an ERM vibrator driven by the > PM660 haptics module with up to 3132 mV (the vendor's 3200 mV rounded > down to the 116 mV step of VMAX) in direct mode and a 6665 us sample play > rate (the vendor's 6667 us rounded down to the 5 us step of RATE_CFG). > > The downstream lavender-base.dtsi also sets qcom,lra-resonance-sig-shape, > which the vendor qti-haptics driver ignores for ERM actuators. > > Signed-off-by: David Heidelberg > --- > arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts b/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts > index a9926ad6c6f9f..81d1289c98642 100644 > --- a/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts > +++ b/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts > @@ -6,16 +6,17 @@ > > /dts-v1/; > > #include "sdm660.dtsi" > #include "pm660.dtsi" > #include "pm660l.dtsi" > #include > #include > +#include > > / { > model = "Xiaomi Redmi Note 7"; > compatible = "xiaomi,lavender", "qcom,sdm660"; > chassis-type = "handset"; > > aliases { > serial0 = &blsp1_uart2; > @@ -88,16 +89,26 @@ extcon_usb: extcon-usb { > id-gpios = <&tlmm 58 GPIO_ACTIVE_HIGH>; > }; > }; > > &blsp1_uart2 { > status = "okay"; > }; > > +&pm660_haptics { > + qcom,actuator-type = ; > + qcom,vmax-microvolt = <3132000>; > + qcom,play-mode = ; > + qcom,play-rate-us = <6665>; > + qcom,brake-pattern = <0x3 0x3 0x0 0x0>; > + > + status = "okay"; > +}; > + > &pon_pwrkey { > status = "okay"; > }; > > &pon_resin { > status = "okay"; > > linux,code = ; > It vibrates! Thanks. Tested-by: Alexey Minnekhanov -- Regards, Alexey Minnekhanov