Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp5963005pxb; Mon, 8 Nov 2021 00:44:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJxQrghxOBftAD+gbyw7NnkxzCPEglFSLu+e44dYskAoFsdL5oRnCc7e/uDVSmxp67m6ZPlY X-Received: by 2002:a17:906:fca3:: with SMTP id qw3mr23806730ejb.285.1636361066968; Mon, 08 Nov 2021 00:44:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636361066; cv=none; d=google.com; s=arc-20160816; b=Cd9a/Yan5HO4i4KnqejpVCLzs8aR+xYhqi1x+UmyG+UkWEfjpiWa/ZzD5/AiR/tJcV sEnXDegsRe/sLzOen2ZdNtlr7RjXK+VBomPa5sZ2kyhTKJKrPzKcLiJKE2LZPIpEklP/ mvXiZcAmO7HXd+DzZiR2kCUZR/feWzoS0a8FkJID0RoF9BYCMjYCwGDpZ2BwY+VKCm0n SBPoNc6cldN3YnwdnCxJtVJGoHeO3AC9RRDayTqOgAHVH2CxpckWLWtXvkZnb9+M+MCU cKONfqVN2cD7s/+0UWNP6aAJNyLu7Btzs/bGQUa1kFmWO25IZ9nQsOsk9wmLe90rWQrR oSNw== 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:date:subject:cc:to:from :dkim-signature; bh=pPx2l2ebkBamV7Tsoe/4lLbAhlBtGFpV1+Y7VxEaI5E=; b=WPAduSV5eHI8FqFr3tZFyITJvDOxHvUo3n0n7WrHHQp7b57KqGSwRKmq4HRBbixaHG yLifIA1f3yi97ZL/R2+eABipiuczaXpE2oS4tCxYTejSHB06CbhkwHX0Ik6WaPvRmtAK E3/7aKy37yBdH2yT54VLgFVKQFPWQ8nJ9amM0Mls9Qsu6mMOzBNd7LHVK1WZgTwntOzL Kb+yU/3WNZviXIPfAVrvX6ER/s3vXQ98DPqcvy/bCn71GErezpNW82ZpLhVgjdBi1ZrB lD58+BT569TQvE7u4iXVjN2loCdP/4FYfiMkVQ7IHGNI3zUCgjXlb2/TlOxMcoFnX9ok CaZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@riseup.net header.s=squak header.b=C2rDVBK+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=riseup.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o18si30468550edc.544.2021.11.08.00.44.03; Mon, 08 Nov 2021 00:44:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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=@riseup.net header.s=squak header.b=C2rDVBK+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=riseup.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237607AbhKHFJN (ORCPT + 99 others); Mon, 8 Nov 2021 00:09:13 -0500 Received: from mx1.riseup.net ([198.252.153.129]:42314 "EHLO mx1.riseup.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231947AbhKHFI5 (ORCPT ); Mon, 8 Nov 2021 00:08:57 -0500 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4HnfGF14QPzF3K9; Sun, 7 Nov 2021 21:06:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1636347973; bh=Bc10+pHBcFMLLVxlXuOSikB0TKg9+cWYR/znkPfiBU4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=C2rDVBK++G+kEVXaIqoAg1iB50DUgYV5CVCPp/nqAlCAA0rO+jf38tQMGja4i8mfv yB+DKNkUG3VSPa+0J/ry15aq0hpClXDYnk5OxgQdOnpqDSwJl6C4pKnF3uuC8JC4k/ esuzWpYwIJUl/5hwZC+eUz+Awuzpn/3Q6tW5WMmE= X-Riseup-User-ID: 10E61440B16203EEFCA1E22B595C6255A6334DD061B45B45BD2DFE572E3957D3 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4HnfG96Gd0z5vj2; Sun, 7 Nov 2021 21:06:09 -0800 (PST) From: Dang Huynh To: Dang Huynh Cc: Andy Gross , Bjorn Andersson , Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, martin.botka@somainline.org, marijn.suijten@somainline.org, paul.bouchara@somainline.org, angelogioacchino.delregno@somainline.org, Caleb Connolly Subject: [PATCH v2 3/7] arm64: dts: qcom: sdm660-xiaomi-lavender: Add volume down button Date: Mon, 8 Nov 2021 12:03:32 +0700 Message-Id: <20211108050336.3404559-4-danct12@riseup.net> In-Reply-To: <20211108050336.3404559-1-danct12@riseup.net> References: <20211108050336.3404559-1-danct12@riseup.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This enables the volume down key. Reviewed-by: Caleb Connolly Reviewed-by: Martin Botka Signed-off-by: Dang Huynh --- arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts b/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts index 365a03b56cde..28408240735b 100644 --- a/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts +++ b/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts @@ -51,6 +51,16 @@ &blsp1_uart2 { status = "okay"; }; +&pon { + voldown { + compatible = "qcom,pm8941-resin"; + interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>; + debounce = <15625>; + bias-pull-up; + linux,code = ; + }; +}; + &rpm_requests { pm660l-regulators { compatible = "qcom,rpm-pm660l-regulators"; -- 2.33.1