Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp51097ybl; Wed, 21 Aug 2019 14:40:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqwoxeTisnuTFIqK9KZ1dlCgkT4ps0qO20ZAIX7IiBCExPhvCEVg36tHUyY0gJfG6/jW6PFH X-Received: by 2002:a17:902:a6:: with SMTP id a35mr20739136pla.130.1566423638316; Wed, 21 Aug 2019 14:40:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566423638; cv=none; d=google.com; s=arc-20160816; b=l3AlU2lEvEzjbzMc/zof5KPUGDMlsoLD110Zfemt8eCkNkaYYr2krsR4EyTnhoJ4vU SpZxE/4NFonKcmLHypQc+7mkok3iltkriH1yW4f+WzRAoZRLXk/AgXlajjM6vrOnin5B 5iasANQjNYbw1Lzv0qL+phIaDXltWHlM6zCfMdicJahaETvxYrbJfUWb5J52FN5Ji0Vy 3YATG2t6KAqhHk2CaL15v3uGRbgNfqqLWM+envC9mohIKiFIzy0l/5pEJ95FDz+2sUVw rX3dX0NNlLdmxkvH7rSZFZp0qhefdJsOT70cc+oVzCivllJahtkMlFwOD0IoZSkJemRA RR7w== 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=29KufEzyTvPmfKnIJOalVQd6UaMyG2rLnlomveX0u6A=; b=qbE5d3x9jMqfeMGBfj1ltsrIq6Q53FhKtX4It6GQjdkhKLJjrX8GhjmuzIlD3SH7as EljjjyzfPlrDAx4XnU9IKi9z6hR4Rpi1rZqXHlqRV02cLE8sUPb+sjZYx9LhZx1eO7WE 8Gvum7j9GzHlFmF8AztSjhwDPFtg9IC2fokwScQ+aIQn+eic9ihtyc/yHL6hdpwwO13u LIgJ40n4QAYY5UMaf64J8Ro7j+onI2aNEticY0SsqY65YWvqoM5lBb1NrmoWBf6jQzLf XN4/Y1ZY8nn++4sLjMu+MW5n64pGNhhSZrvKL8LA/vJF0DMpNY3VhXao06XpgdKmZlS4 FIww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=EGDwULjm; 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 m17si15171918pgg.539.2019.08.21.14.40.22; Wed, 21 Aug 2019 14:40:38 -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=EGDwULjm; 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 S1729001AbfHUSo3 (ORCPT + 99 others); Wed, 21 Aug 2019 14:44:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:40160 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727685AbfHUSo0 (ORCPT ); Wed, 21 Aug 2019 14:44:26 -0400 Received: from localhost.localdomain (unknown [106.201.100.47]) (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 8D16A22DD3; Wed, 21 Aug 2019 18:44:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566413066; bh=QvtdRn6EHIagWJaHbeeWshADBAlLSPresrJW2IeqrzE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EGDwULjmh6Ils2G+2WoMpHo/8kitW+sKMpFE0n6J2NFZbfPz0FXLuA15hj2TJIJZJ JVNVP6hqkXGo+pd9rZJXgtkgybBNRrWSDUry7ayg5hOzs+CfZ7IEJ5RtTMr7+R94Hn w1dnaXfYoG4BVgfM+UfzKpU+hZwv0G976NlARVE8= 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, Niklas Cassel Subject: [PATCH v4 5/8] arm64: dts: qcom: sm8150-mtp: Add base dts file Date: Thu, 22 Aug 2019 00:12:36 +0530 Message-Id: <20190821184239.12364-6-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190821184239.12364-1-vkoul@kernel.org> References: <20190821184239.12364-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 Reviewed-by: Niklas Cassel --- 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