From patchwork Wed Aug 14 12:50:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 171295 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp792685ily; Wed, 14 Aug 2019 05:52:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqztkidnvvXPrdOCVoUIrUIHF5zVeXI3n69VqQ6/DfXXWatuHP7Hwn/xZHFWcEvvFq7yo8J3 X-Received: by 2002:a17:90a:1202:: with SMTP id f2mr6830224pja.39.1565787171194; Wed, 14 Aug 2019 05:52:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565787171; cv=none; d=google.com; s=arc-20160816; b=gty/znu6KfIwS2Cl0l/24GKSsasV1a/oyr2pUTY4RYqFe3jx8/w8JVfrGWTPrDxIpd s4jKpMynKnfveBCSgoblxNcLEG0TJGYMdmGmniCQRZIyGYHU8/DZvIJgCHmjg/KF2e4M z0z71Fm/li7fpg/Y0R19N8kw6bfG7E8L7lwib1Bc86iu30fHZlATs6/X2fCXQ8a43xmW 0UH76lTS3VJ4BSQkyrULhFOqlIOuJCmzObPPxqg3IzH1RkHn6MZ9DI1mZt0kVOS/NF0f +svWuA3FGIgyxyHcPB4Mojwg6UJmmBmQ54A0t4vxeYkXzxs2wqRfc31cOcQB8fVE4bUQ BVzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=iaFKGDG8/p77WkPlH3sAyYEn1Hm6u19xV96t2b+yPog=; b=mKsMSaeiHKddqdxfs7OBNlzuuVLxg4EOrP39tHrAXb9l9hOSUWYXV6s4phN5TfH/kK VTL4ZVJ4unFMY+tUC+c9yzEjwfr10ZlFyUzHMcoW260ECmwqrSxhZYiyLclwVhgkmKCl KA8oJecowG0fF71s7HVNSmKDkAo+6nVWSipjNjGBR9j6v4xteBwHDddw8NaGj0543P+Y 6Z4Rj75E0IqEBgiFw7R2ZgXWEwynhsmyhsM6ZCMJjiJGyE/InvvTG/WsqUbege56HKYQ hqgbVRHgm9E6nt8kPtjJS5MoRsfOeYRhvGXJ3CNbvV5hcUe6skCHYLSLF/50fmlKJYPD Nd2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FRqPyka0; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b13si20933032pgr.460.2019.08.14.05.52.50; Wed, 14 Aug 2019 05:52:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FRqPyka0; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727856AbfHNMwu (ORCPT + 16 others); Wed, 14 Aug 2019 08:52:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:35942 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728196AbfHNMwt (ORCPT ); Wed, 14 Aug 2019 08:52:49 -0400 Received: from localhost.localdomain (unknown [171.76.115.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 875892173E; Wed, 14 Aug 2019 12:52:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565787168; bh=PaFFEUMSci1o0/biRn3xv8VDRFhQvuyzP763r2zkBH4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FRqPyka0iCZZ6pzB6C5jNao8NN2CWhqHlHcG7dvm0k5frjobehnwwWcRX5TQ7EG1V e7JJsTSURpG0k9r4G/qXupAGkM+2QnZWF/55Jk5tsW3GiB78fh4ZGQpHm+vb7JHHWa aRjhkVZ4viFf3pT6C3LbrBtlGjbt+0r2brUHhBSU= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , sibis@codeaurora.org, Vinod Koul , Rob Herring , Mark Rutland , Stephen Boyd , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 16/22] arm64: dts: qcom: sm8150-mtp: Add resin node Date: Wed, 14 Aug 2019 18:20:06 +0530 Message-Id: <20190814125012.8700-17-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190814125012.8700-1-vkoul@kernel.org> References: <20190814125012.8700-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The sm8150-mtp board has a reset button which also works as a volume down key. Add the node for resin device to handle the resin and volume down key Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sm8150-mtp.dts | 9 +++++++++ 1 file changed, 9 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/sm8150-mtp.dts b/arch/arm64/boot/dts/qcom/sm8150-mtp.dts index 43ba14cc0b00..a42f1c154600 100644 --- a/arch/arm64/boot/dts/qcom/sm8150-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sm8150-mtp.dts @@ -26,6 +26,15 @@ status = "okay"; }; +&pon { + resin { + compatible = "qcom,pm8941-resin"; + interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>; + debounce = <15625>; + bias-pull-up; + linux,code = ; + }; +}; &tlmm { gpio-reserved-ranges = <0 4>, <126 4>; };