From patchwork Sat Nov 20 21:42:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dang Huynh X-Patchwork-Id: 12630609 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BDC3DC43217 for ; Sat, 20 Nov 2021 21:43:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236745AbhKTVqH (ORCPT ); Sat, 20 Nov 2021 16:46:07 -0500 Received: from mx1.riseup.net ([198.252.153.129]:59368 "EHLO mx1.riseup.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236734AbhKTVqD (ORCPT ); Sat, 20 Nov 2021 16:46:03 -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 4HxRpq5HKYzF3Q7; Sat, 20 Nov 2021 13:42:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1637444579; bh=jB6Z5Xk7dWXO4aRqQJFhfKH0pdlZhdOgLWbyeX4szT8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=E8V1eVx2rG8iJEMiBJOfQ3/5QpjKCmBOMaieDB51CNwNthSsB08CQjV3OU6l07rqj 97X7ybGRhgBUT359yYcMZ4Fmbx5tS/0IXCspQ3D6v1v19MyTwZwEsUnuCsSye+aME3 56iaitgKvjFQtlhwX+E8fQnmD4GCU3YSIzy1+aUc= X-Riseup-User-ID: 4A7C57A8177B8FD96597013CA80BF7AB210D5CDFED230CF774269D3590A81168 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4HxRpm37rnz5vkT; Sat, 20 Nov 2021 13:42:56 -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, Alexey Min , Caleb Connolly , Martin Botka , Konrad Dybcio , Konrad Dybcio Subject: [PATCH v4 4/8] arm64: dts: qcom: sdm660-xiaomi-lavender: Add PWRKEY and RESIN Date: Sun, 21 Nov 2021 04:42:23 +0700 Message-Id: <20211120214227.779742-5-danct12@riseup.net> In-Reply-To: <20211120214227.779742-1-danct12@riseup.net> References: <20211120214227.779742-1-danct12@riseup.net> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This enables the volume down key as well as the power button. Reviewed-by: Konrad Dybcio Signed-off-by: Dang Huynh Reviewed-by: Caleb Connolly --- 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 eccbeecef192..9a6684922804 100644 --- a/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts +++ b/arch/arm64/boot/dts/qcom/sdm660-xiaomi-lavender.dts @@ -53,6 +53,16 @@ &blsp1_uart2 { status = "okay"; }; +&pon_pwrkey { + status = "okay"; +}; + +&pon_resin { + status = "okay"; + + linux,code = ; +}; + &rpm_requests { pm660l-regulators { compatible = "qcom,rpm-pm660l-regulators";