Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp4343528ybl; Tue, 20 Aug 2019 10:26:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqy/xYscNn+Puc4EVFpMvP7tpCRM+FPqBgoBUznuixXvtD+iFo37o0EvEFB63rW/Hd0B4sJK X-Received: by 2002:a63:ed55:: with SMTP id m21mr25769443pgk.343.1566322018277; Tue, 20 Aug 2019 10:26:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566322018; cv=none; d=google.com; s=arc-20160816; b=CeY7n9M6tZ7+DoDqgSAM3+cg5S7oqD10RehvfR2HVym7RaKV8ljkxnanABEeNm5tgW QuwkMCtJpjpoIPcnz5MvK9dIkV2G5mWqq2jCyYZnIGct9lEDriOlxVcFCyF6bI/3HTEl QvO5hgAr5k4IGE/Ouu+SmyN6AJSztXJz+NwnLQCYMlkL9Q1EXO/TEa2f5TWpRV5P2s5o Gbm5+sBytO99V5LNvKdcnN6klQ/MCO2B+Y0XhYJXct6rWZhZWEBtqZTO5M2kdmCn0Xnu SP7jNVkMkK7pzNUXyp0iWOEJudl45Z6YXsmig2KQ5GRYCLgNbFJ189JVvZ77z1pZ07F/ 9Urw== 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=exflV8TJljvmmGYw8ajN81AjEyHcba2W3Q850RtHqFY=; b=dmTMja/lNPWqvwBcidIjBRctfiQ2FZimF31r0rvpU7IuZtolkuXQCl+tiqkYBZTm4b WHQkpMQVw61fmVqleL522UZ3z3mU4IumsWjw7K2V2OB43kMEWHBaX1HStPUIyYN1XQC8 gHbo8+HyV/m2dQ1UzcyJ3NixGYroBIBwbZFs2c8M5hSDly0W0cDztbfDR/t34ccq7GGD zjkUSirIKg7WSVMaXhiaTyvRjBqD3X7F7Gd10pSez6YwBO53QU2u58VVlVTnDW8Nq6MA A9WfeDh2YsQj4UdT9MX/hU6Y5FuQDXBpWe8PGktW82Fsj38UN19bs08rS6nGFtLm6J4o /ekA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=lYhOIV1K; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 r23si12515560pgb.508.2019.08.20.10.26.43; Tue, 20 Aug 2019 10:26:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=lYhOIV1K; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1730622AbfHTRZh (ORCPT + 99 others); Tue, 20 Aug 2019 13:25:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:48638 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730473AbfHTRZg (ORCPT ); Tue, 20 Aug 2019 13:25:36 -0400 Received: from localhost.localdomain (unknown [106.201.62.126]) (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 D7E1D22DD3; Tue, 20 Aug 2019 17:25:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566321935; bh=M+6+1x75KEPkx+lE9S3iYX+zdQsZ2R3sBYFxh6yUG3E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lYhOIV1KNg/fyfAzDtqXxhoYykS+kwW96NaGTBSwFzPgGOP0D6Wr40KR/VFGsoRe5 SXYz796YUR9F9MEQeE1NrQk+/NeZUhyBQUyR0sc1sQ43TozHB5qJqsKdrorgifIRyp 04NluO+PR025H6XGtErm1+B7xYJuUKU9+pGvKgKM= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul , Rob Herring , Mark Rutland , Stephen Boyd , Sibi Sankar , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 5/8] arm64: dts: qcom: sm8150-mtp: Add base dts file Date: Tue, 20 Aug 2019 22:53:47 +0530 Message-Id: <20190820172351.24145-6-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190820172351.24145-1-vkoul@kernel.org> References: <20190820172351.24145-1-vkoul@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This add base DTS file for sm8150-mtp and enables boot to console, adds tlmm reserved range, resin node, volume down key and also includes pmic file. Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/sm8150-mtp.dts | 51 +++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sm8150-mtp.dts diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index 0a7e5dfce6f7..1964dacaf19b 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -12,5 +12,6 @@ dtb-$(CONFIG_ARCH_QCOM) += sdm845-cheza-r2.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm845-cheza-r3.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm845-db845c.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm845-mtp.dtb +dtb-$(CONFIG_ARCH_QCOM) += sm8150-mtp.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-1000.dtb dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-4000.dtb diff --git a/arch/arm64/boot/dts/qcom/sm8150-mtp.dts b/arch/arm64/boot/dts/qcom/sm8150-mtp.dts new file mode 100644 index 000000000000..6f5777f530ae --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sm8150-mtp.dts @@ -0,0 +1,51 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. + * Copyright (c) 2019, Linaro Limited + */ + +/dts-v1/; + +#include "sm8150.dtsi" +#include "pm8150.dtsi" +#include "pm8150b.dtsi" +#include "pm8150l.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. SM8150 MTP"; + compatible = "qcom,sm8150-mtp"; + + aliases { + serial0 = &uart2; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&qupv3_id_1 { + status = "okay"; +}; + +&pon { + pwrkey { + status = "okay"; + }; + + resin { + compatible = "qcom,pm8941-resin"; + interrupts = <0x0 0x8 0x1 IRQ_TYPE_EDGE_BOTH>; + debounce = <15625>; + bias-pull-up; + linux,code = ; + }; +}; + +&tlmm { + gpio-reserved-ranges = <0 4>, <126 4>; +}; + +&uart2 { + status = "okay"; +}; -- 2.20.1