From patchwork Thu Jun 4 00:43:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 11586743 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9176492A for ; Thu, 4 Jun 2020 00:43:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 716C420772 for ; Thu, 4 Jun 2020 00:43:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="F61Eg71t" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728377AbgFDAnf (ORCPT ); Wed, 3 Jun 2020 20:43:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728371AbgFDAnf (ORCPT ); Wed, 3 Jun 2020 20:43:35 -0400 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 071B7C03E96D for ; Wed, 3 Jun 2020 17:43:35 -0700 (PDT) Received: by mail-lj1-x241.google.com with SMTP id 9so5075417ljc.8 for ; Wed, 03 Jun 2020 17:43:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=cRs2X+oeKdHfeX7eb6eCjnPnFevRST0za6Vh4RscaYk=; b=F61Eg71tZo7yLrSch48uDBf0KGXE71dR3HqNioWJV55S47JVRdokkrYs80rBGWti5/ XEV1n92aHxZsHxfcwi32EyGaIXmtYgacwjIGmqmIzrMif3TSuH31NEOL8GClMmPwj8Bf 9XTRws7vdUclGUMSMgL2sxdjno7P9KhvriiO0nDn3BVQZj/lwM2+ctlcKOMcSZ610PAG OBbnqFVftCDzTnIt6JtDFtS88DzYhVpvPorl3aKDfzGHssRxOfaH/k9tlT6spSHqFfnj wdIX2n8W2d4WxgAHcV28FMC9Fx3MnxDVtdBu9G+QUyNbQA+RmLu1PhTcw+y36vz/kFqJ ndEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=cRs2X+oeKdHfeX7eb6eCjnPnFevRST0za6Vh4RscaYk=; b=OLbafUCAy5CL3WMstmy119kbTXin6dc36xh50oyoZpygEstcNCbAq/lYmXGurzNm8/ GotHZTVF2f7DNHkZkXX1nvG1hsWCdwbhoQEP8br0JKferC1P24BQG/4FBxY85AvR3ZpD LODoWTi5CfmjwTYM3b0bRUVoO62C6CcfZqyjTxesBpTRO1iVBNRpjHB33X5IyqwKk1rQ Qw+R+qwYZDZ7irt4FWlGrf1TytmLELi9j490jaKz3tQovO7UB+5S9EN3VtQvlJ4Vrc45 epjrBhtEBzlFQEfmHUujTafCHpNQNCp1y9xUZ/IROiUBEb9s9dtz1P6SiXnG8shb1Wsh rhKA== X-Gm-Message-State: AOAM530IL1vjxYXxyX+9WWza5OlGNSzaP2cVTSFHRi3A2RwZT9UdpqNl jq3oWMtEGZaa/HD3kbZIrH662IeTC+E= X-Google-Smtp-Source: ABdhPJxKJLWg8HQ02rdlWfobnc/UXxVw60sSX6mDM4NyyI2j3u4EiXaSOG8SVYMOqXoJMYQ9gnhVnQ== X-Received: by 2002:a2e:9783:: with SMTP id y3mr733957lji.457.1591231413382; Wed, 03 Jun 2020 17:43:33 -0700 (PDT) Received: from eriador.lan ([188.162.64.226]) by smtp.gmail.com with ESMTPSA id t16sm858527ljj.57.2020.06.03.17.43.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jun 2020 17:43:32 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, patches@linaro.org, linaro-kernel@lists.linaro.org Subject: [PATCH 1/7] arm64: dts: qcom: pm8009: Add base dts file Date: Thu, 4 Jun 2020 03:43:25 +0300 Message-Id: <20200604004331.669936-1-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.26.2 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 Add base DTS file for pm8009 along with GPIOs and power-on nodes. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/pm8009.dtsi | 40 ++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/pm8009.dtsi diff --git a/arch/arm64/boot/dts/qcom/pm8009.dtsi b/arch/arm64/boot/dts/qcom/pm8009.dtsi new file mode 100644 index 000000000000..9f3e19b5bd00 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/pm8009.dtsi @@ -0,0 +1,40 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. + * Copyright (c) 2019, Linaro Limited + */ + +#include +#include +#include +#include + +&spmi_bus { + pmic@a { + compatible = "qcom,pm8009", "qcom,spmi-pmic"; + reg = <0xa SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + power-on@800 { + compatible = "qcom,pm8916-pon"; + reg = <0x0800>; + }; + + pm8009_gpios: gpio@c000 { + compatible = "qcom,pm8005-gpio"; + reg = <0xc000>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + pmic@b { + compatible = "qcom,pm8009", "qcom,spmi-pmic"; + reg = <0xb SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + }; +}; From patchwork Thu Jun 4 00:43:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 11586745 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E653060D for ; Thu, 4 Jun 2020 00:43:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CB2DA20679 for ; Thu, 4 Jun 2020 00:43:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="cCwwAKq0" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728385AbgFDAni (ORCPT ); Wed, 3 Jun 2020 20:43:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728381AbgFDAnh (ORCPT ); Wed, 3 Jun 2020 20:43:37 -0400 Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F680C03E96D for ; Wed, 3 Jun 2020 17:43:37 -0700 (PDT) Received: by mail-lj1-x242.google.com with SMTP id n23so5096313ljh.7 for ; Wed, 03 Jun 2020 17:43:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jK4gLNB0iAkstlca7qoP4zJlhYvGOTtNahstZSraRpg=; b=cCwwAKq08vlmsQEaK2dSt46t4VXNA2dZ+afSQLj43FfFMNgP5oshgzO4bPqLHTfWrO cReCcNsaLKMiz2Vu7bL66S67G2C9lsVn5ymXO63P6d6Si7EnmuDux8zLrfluHh5Bewf5 j/CTjcJXuy3kRqATbcruSyZuIxlvPSUNmEfFnjh8pjXAikvwDZTUvOMzuEiL/B6f2AeQ MWsiT7AbPywwgyfLWPApInfWucQGv+ZK5X0xUlyCxcak9XsrcD+rhjlCWfy7/ESWQ6as qlbwW8Uowh/otcJQNpjtQkWETxrpg89d0K1YOJULEWDjUwY43xrZsGHm3rvD8Q2R8WC+ 6oSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jK4gLNB0iAkstlca7qoP4zJlhYvGOTtNahstZSraRpg=; b=fi346xxm0xJsnOZJBpGxwtOCFM5AKKRqpVTqSkz9G+zYfa3aByTsLQjSVck4lRKkRO eCE65XcCsQ/DuCalChcZ869Tt4zxJUh0lyX1Fxlpg424Py+fc2KTEmMI5h1xCrA/nK2W kJVvoil2me+yyOSa98dgcFMAmFOQujFPlPgIp6Yg0J9qB1Uv/2JTqtJMpu5CiduB/jkH KaNfsyOfnP5gpZ0lEt/I1tNvS7Oi2nC+szJsEYwcuugHW6WD7UyOu668TQR/Oj/tC4rU 9hA3VjDfsxmG17xQx0JG4D9KlkPrh5EP8Z7FQ/LRH1A2Ztptvb3vBJMxnUFe2mwQrL6V qnOA== X-Gm-Message-State: AOAM532kxxRhaAO5GZ0X0EuhBfMpNywJ/SrfGUXjZtD+Z1RGmNVkDomu s12jMZqJYPK7i7n4elddIPQl/Q== X-Google-Smtp-Source: ABdhPJzGQH/1wlwxWBwOnsU2Po1UuVjpSQkfwVV0LUI8KJh2OlSnivi8UeOwMY0Y2msbWHKE8UmB/A== X-Received: by 2002:a2e:83c9:: with SMTP id s9mr281773ljh.166.1591231415709; Wed, 03 Jun 2020 17:43:35 -0700 (PDT) Received: from eriador.lan ([188.162.64.226]) by smtp.gmail.com with ESMTPSA id t16sm858527ljj.57.2020.06.03.17.43.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jun 2020 17:43:34 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, patches@linaro.org, linaro-kernel@lists.linaro.org Subject: [PATCH 2/7] arm64: dts: qcom: sm8250: change spmi node label Date: Thu, 4 Jun 2020 03:43:26 +0300 Message-Id: <20200604004331.669936-2-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200604004331.669936-1-dmitry.baryshkov@linaro.org> References: <20200604004331.669936-1-dmitry.baryshkov@linaro.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 PMIC dtsi files (pm8150*.dtsi) expect to have spmi_bus label, rather than just spmi. Rename spmi label accordingly. Signed-off-by: Dmitry Baryshkov Acked-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 1e2862bbfb11..9dd27aecdfda 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -991,7 +991,7 @@ pdc: interrupt-controller@b220000 { interrupt-controller; }; - spmi: qcom,spmi@c440000 { + spmi_bus: qcom,spmi@c440000 { compatible = "qcom,spmi-pmic-arb"; reg = <0x0 0x0c440000 0x0 0x0001100>, <0x0 0x0c600000 0x0 0x2000000>, From patchwork Thu Jun 4 00:43:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 11586747 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 57CE292A for ; Thu, 4 Jun 2020 00:43:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 401A2207D8 for ; Thu, 4 Jun 2020 00:43:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="FIRvt2hI" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728390AbgFDAnj (ORCPT ); Wed, 3 Jun 2020 20:43:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728382AbgFDAnj (ORCPT ); Wed, 3 Jun 2020 20:43:39 -0400 Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D3A6C08C5C0 for ; Wed, 3 Jun 2020 17:43:38 -0700 (PDT) Received: by mail-lj1-x243.google.com with SMTP id a25so5111759ljp.3 for ; Wed, 03 Jun 2020 17:43:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Lf2AkgbZNNBLszG0Yic70a6dubyQ2Qb8wbjXSRCkiy4=; b=FIRvt2hI9pF83v+VUTI3gFpqZ2LhQZyoRHgtcOuRSRNyRPocoaHuxMtGwhuHqYVoo5 vJJhSUXr4gVXnLZkk8SOaiCUE47PhvWqWbOVcLgCGNbP4VyRCqPG2ksxgsgc1atcnizL jvNdwcziPfIGHJpPfTOnw2dAztZxO9rTSLiIDxmF3NhtymgFE4QMQ1oQZypXEuuXOgjm 1mu4RU4od4DuVJWjifSXUMXkiL4h7rzY1ke+WgKCLue30jOXzLYDLOKEpVFOhzzYvHOY avaBK+wuwxmdq00vq19TUXfC35TbJMbZm7U5T+7DpLc/QxVWK+oAs2CAhwTKv1ThW8BD EGVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Lf2AkgbZNNBLszG0Yic70a6dubyQ2Qb8wbjXSRCkiy4=; b=FVxW7u4GIhUQb7i3lQYCR53RoeVBdb6GHvJwIT4A2JbPHGessmnaKq9z+L46qqn3Kr atfw1w7CAXMlemaS3RuEqZF5DcM96g25BCO2qn46FkjZMuvLRdMWHd5NJm02/DBuXU9/ o/3qxAp67apylyf0oJ+WjsaxpprojJx4J8w9muk6CxjvRJW/rdhuCqqow5mV6U55uVFe WWdn1uDYV/Vw/d5H3dTqZJ7d7defy3rS7qs2xzgCrGEjsdfQ4QNNPi9K2ahGS6mazOJc HvMaXSlkWS5rpYql7+zd6nnUARvUjo31Q3e6gTdXOSF4FQEtoPYgGo2cO2cN4N7lIkmo 8RXw== X-Gm-Message-State: AOAM5320ilfiuwCT4VoWrxtg3aPJQlFFufxV2iK5MyzXyjmUnQxOdQ4z o1gOSCRDV3l3NoNngobzSFvv4w== X-Google-Smtp-Source: ABdhPJy/QFf3BjDD2Vmrs7DO/JnE1fQxk2CfAIaD+dKQyNNaoN3pIR1k1G1zp9qZsqCnVOzP2BM0pg== X-Received: by 2002:a2e:5415:: with SMTP id i21mr860383ljb.233.1591231416931; Wed, 03 Jun 2020 17:43:36 -0700 (PDT) Received: from eriador.lan ([188.162.64.226]) by smtp.gmail.com with ESMTPSA id t16sm858527ljj.57.2020.06.03.17.43.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jun 2020 17:43:36 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, patches@linaro.org, linaro-kernel@lists.linaro.org Subject: [PATCH 3/7] arm64: dts: qcom: sm8250-mtp: include pmic files Date: Thu, 4 Jun 2020 03:43:27 +0300 Message-Id: <20200604004331.669936-3-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200604004331.669936-1-dmitry.baryshkov@linaro.org> References: <20200604004331.669936-1-dmitry.baryshkov@linaro.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 Include files describing used PMIC chips, GPIOs, power on, etc nodes. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8250-mtp.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8250-mtp.dts b/arch/arm64/boot/dts/qcom/sm8250-mtp.dts index 0bc4b1e037c4..c20ae91d3026 100644 --- a/arch/arm64/boot/dts/qcom/sm8250-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sm8250-mtp.dts @@ -7,6 +7,10 @@ #include #include "sm8250.dtsi" +#include "pm8150.dtsi" +#include "pm8150b.dtsi" +#include "pm8150l.dtsi" +#include "pm8009.dtsi" / { model = "Qualcomm Technologies, Inc. SM8250 MTP"; From patchwork Thu Jun 4 00:43:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 11586749 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C983092A for ; Thu, 4 Jun 2020 00:43:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B0AC2207D5 for ; Thu, 4 Jun 2020 00:43:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="nUCFwJBH" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728393AbgFDAnl (ORCPT ); Wed, 3 Jun 2020 20:43:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728386AbgFDAnk (ORCPT ); Wed, 3 Jun 2020 20:43:40 -0400 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DCAEC03E96D for ; Wed, 3 Jun 2020 17:43:40 -0700 (PDT) Received: by mail-lj1-x241.google.com with SMTP id a25so5111811ljp.3 for ; Wed, 03 Jun 2020 17:43:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WIkdJuvo5vgQuU83Odu1i4xYBGADX3T9viV7I7q9F8c=; b=nUCFwJBHHqa3pQTGJvj1uRrvHzBusitDErdDpnmRg6SwwEMg03Ak214lkfD0CR+lWV Fi52bfCTeWAFStBqYAgLpirn4aX+VRqff7b9hb8nW8GCyfUQnoyfB8qRqsSgdIXzAHR8 lkhO52ddG7XQ4lfkDuMTa/77vBvC8z5ZxTOI4xSefHcQfeqX3t36RRJN89lpRunymOq9 PYi9KO+Br8JzijMYKhkYDAT6ZpM94r6CJyDvecytKjIFxKU3WHbg7S3WYyjX5PNSQIy/ H9KieDfl9mV1bYRbDioPE83pvcrIzW3Acl+FjuEg+16+9yUTKLUObgzUzePcIKn3aDJ4 kd1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WIkdJuvo5vgQuU83Odu1i4xYBGADX3T9viV7I7q9F8c=; b=QjL/DOeAaFN5rRpBLlxiaOldJp2msOPzi31hwIbdGL0dG87mRcoSnNbOwRR+qUL0S3 afNkKLx9m1cMNexnP6QShDMH+ctcmjwpfochVKC/C5PcsRLKsoCQt+RZRVmF7yjOIsme JNtnzcTmQWTBfvt7bI+plSPLd9cKRqsc80BUNAVmJ8yKyS93iMuiLyE+4EVLxSgzULgu t8x7sjm2rj2y3661Qtjy5oGRC+EPv7Spsl2DHJO4YFICmpg4qnPiHT+IiiKIXVTlbmob 9d37YCMohh4AToTAevHjcQPeZe1bUDKDkTFeR9pf9SU9FvWtj7PIkFoD2nkeC2r6cTGA 2ogQ== X-Gm-Message-State: AOAM533o67PLhBzD4kspQzQaComOQ2aWB+W6KgtISoNg5MrzFtI5Fkg1 Xqtqr8WTII9b257XfZkXoJKEEg== X-Google-Smtp-Source: ABdhPJxEhy3UQF7ZQOqBFprb8bfVManzAo1C92YFtPg35GyKtK0pEE04QtivQ6E2A/58ddPqIIQF+A== X-Received: by 2002:a2e:9b50:: with SMTP id o16mr888749ljj.164.1591231418401; Wed, 03 Jun 2020 17:43:38 -0700 (PDT) Received: from eriador.lan ([188.162.64.226]) by smtp.gmail.com with ESMTPSA id t16sm858527ljj.57.2020.06.03.17.43.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jun 2020 17:43:37 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, patches@linaro.org, linaro-kernel@lists.linaro.org Subject: [PATCH 4/7] arm64: dts: qcom: sm8x50: add empty thermal zone nodes Date: Thu, 4 Jun 2020 03:43:28 +0300 Message-Id: <20200604004331.669936-4-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200604004331.669936-1-dmitry.baryshkov@linaro.org> References: <20200604004331.669936-1-dmitry.baryshkov@linaro.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 Add empty thermal_zone nodes. They will be populated by PMIC dtsi files, describing thermal sensors and trip points for zones handled by PMICs. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 3 +++ arch/arm64/boot/dts/qcom/sm8250.dtsi | 3 +++ 2 files changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index 141c21dfa68c..869a54352d77 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -857,6 +857,9 @@ cpufreq_hw: cpufreq@18323000 { }; }; + thermal_zones: thermal-zones { + }; + timer { compatible = "arm,armv8-timer"; interrupts = , diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 9dd27aecdfda..972d8e04c8a2 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -1736,6 +1736,9 @@ cpufreq_hw: cpufreq@18591000 { }; }; + thermal_zones: thermal-zones { + }; + timer { compatible = "arm,armv8-timer"; interrupts = X-Patchwork-Id: 11586753 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B8E2814E3 for ; Thu, 4 Jun 2020 00:43:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A1049207DF for ; Thu, 4 Jun 2020 00:43:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Hv4X8JRM" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728408AbgFDAnn (ORCPT ); Wed, 3 Jun 2020 20:43:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728402AbgFDAnm (ORCPT ); Wed, 3 Jun 2020 20:43:42 -0400 Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F87AC03E96D for ; Wed, 3 Jun 2020 17:43:41 -0700 (PDT) Received: by mail-lj1-x242.google.com with SMTP id m18so5090929ljo.5 for ; Wed, 03 Jun 2020 17:43:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=e8BiH+YD2FKWrMy4bD7JxcTUGyvBydk031tokVyLWD4=; b=Hv4X8JRMqxKzbSFSO+41odIp10r/X+1Bt1SUySryY6Vqr+8WNrn+Z3Ay5+eWqhw6Cd e3cbxBk5Jfxq/JD9Tdoqf+FjaXKY3YIoQH2BtsF16rf9/k7gpeMak2eNBGCxRnUFFS3d BTifZK5s6PxtnkJk2XE8Sco4xsoe4RIY8UyxVUOnEeCw8fWeLKMyWISv4z/jKpPKn9DL t7hZc9uqPkj0H/daN8LHl4ibYncleMOpgV9uTgQ0yr5DJfQkDXmBIxP08hcZYLtwy0mP 8pIsxAU8+hng8iu3XMfOpJ9TJEcNOmjD7lrB48q0vuwUlA3tq4EkAp1/NIwz53XZ92KM oVzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=e8BiH+YD2FKWrMy4bD7JxcTUGyvBydk031tokVyLWD4=; b=EYOrVfwr9DRLPvblQ/zego7G1EAFMu3NPLC1RHpH7EppMGUJzkoVXXZe2oF1UPA8wU XYZ3+ku001zE0ISLk43vlyc0KNwgt93+Th0VICnO4e050xIae5k2ZjDd1FfDA00+sOK2 m3FxHG5JIcyV5Hv/or80JGPmhxOSezk/5shyoGU4gKIw7xLxTeJ4sx5dedIgabNk20ki gizQcrj6C+lG4XHQe4o0yH+luvLCKI7kVVh0o19QYx5O4cGdPUF006hJ3WTRZZabBjoY jNCgPlcuNq29yogQeHVMvStFxWGPcAqQaSvpKB0tNcqA2eejWU5MDzWBW/EJ+NTlYJAW m5vw== X-Gm-Message-State: AOAM533Utk+A7PHUZVCQItO0lX8XL+F9/GoufWLQSCJlYfEPYosgzyFC bnawjR34Zy1Cj1Zya2XxT+AF6A== X-Google-Smtp-Source: ABdhPJzfsHQp91kAMcBshgDrYmMhgpb5w56PBUwYOKgIFFfEI8TwDZ1RLE5mnKRDKMefhaanUGtfIg== X-Received: by 2002:a2e:81c5:: with SMTP id s5mr798337ljg.372.1591231419609; Wed, 03 Jun 2020 17:43:39 -0700 (PDT) Received: from eriador.lan ([188.162.64.226]) by smtp.gmail.com with ESMTPSA id t16sm858527ljj.57.2020.06.03.17.43.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jun 2020 17:43:39 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, patches@linaro.org, linaro-kernel@lists.linaro.org Subject: [PATCH 5/7] arm64: dts: qcom: pm8150x: add thermal alarms and thermal zones Date: Thu, 4 Jun 2020 03:43:29 +0300 Message-Id: <20200604004331.669936-5-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200604004331.669936-1-dmitry.baryshkov@linaro.org> References: <20200604004331.669936-1-dmitry.baryshkov@linaro.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 Add temperature alarm and thermal zone configuration to all three pm8150 instances. Configuration is largely based on the msm-4.19 tree. These alarms use main adc of the pmic. Separate temperature adc is not supported yet. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/pm8150.dtsi | 41 +++++++++++++++++++++++-- arch/arm64/boot/dts/qcom/pm8150b.dtsi | 43 +++++++++++++++++++++++++-- arch/arm64/boot/dts/qcom/pm8150l.dtsi | 43 +++++++++++++++++++++++++-- 3 files changed, 119 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/pm8150.dtsi b/arch/arm64/boot/dts/qcom/pm8150.dtsi index c0b197458665..fee2db42f4cb 100644 --- a/arch/arm64/boot/dts/qcom/pm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8150.dtsi @@ -30,6 +30,15 @@ pwrkey { }; }; + pm8150_temp: temp-alarm@2400 { + compatible = "qcom,spmi-temp-alarm"; + reg = <0x2400>; + interrupts = <0x0 0x24 0x0 IRQ_TYPE_EDGE_BOTH>; + io-channels = <&pm8150_adc ADC5_DIE_TEMP>; + io-channel-names = "thermal"; + #thermal-sensor-cells = <0>; + }; + pm8150_adc: adc@3100 { compatible = "qcom,spmi-adc5"; reg = <0x3100>; @@ -38,8 +47,6 @@ pm8150_adc: adc@3100 { #io-channel-cells = <1>; interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>; - status = "disabled"; - ref-gnd@0 { reg = ; qcom,pre-scaling = <1 1>; @@ -85,3 +92,33 @@ pmic@1 { #size-cells = <0>; }; }; + +&thermal_zones { + pm8150_temp { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = <&pm8150_temp>; + + trips { + trip0 { + temperature = <95000>; + hysteresis = <0>; + type = "passive"; + }; + + trip1 { + temperature = <115000>; + hysteresis = <0>; + type = "passive"; + }; + + trip2 { + temperature = <145000>; + hysteresis = <0>; + type = "passive"; + }; + }; + + }; +}; diff --git a/arch/arm64/boot/dts/qcom/pm8150b.dtsi b/arch/arm64/boot/dts/qcom/pm8150b.dtsi index 40b5d75a4a1d..e93d16f2d1e0 100644 --- a/arch/arm64/boot/dts/qcom/pm8150b.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8150b.dtsi @@ -22,7 +22,16 @@ power-on@800 { status = "disabled"; }; - adc@3100 { + pm8150b_temp: temp-alarm@2400 { + compatible = "qcom,spmi-temp-alarm"; + reg = <0x2400>; + interrupts = <0x2 0x24 0x0 IRQ_TYPE_EDGE_BOTH>; + io-channels = <&pm8150b_adc ADC5_DIE_TEMP>; + io-channel-names = "thermal"; + #thermal-sensor-cells = <0>; + }; + + pm8150b_adc: adc@3100 { compatible = "qcom,spmi-adc5"; reg = <0x3100>; #address-cells = <1>; @@ -30,8 +39,6 @@ adc@3100 { #io-channel-cells = <1>; interrupts = <0x2 0x31 0x0 IRQ_TYPE_EDGE_RISING>; - status = "disabled"; - ref-gnd@0 { reg = ; qcom,pre-scaling = <1 1>; @@ -74,3 +81,33 @@ pmic@3 { #size-cells = <0>; }; }; + +&thermal_zones { + pm8150b_temp { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = <&pm8150b_temp>; + + trips { + trip0 { + temperature = <95000>; + hysteresis = <0>; + type = "passive"; + }; + + trip1 { + temperature = <115000>; + hysteresis = <0>; + type = "passive"; + }; + + trip2 { + temperature = <145000>; + hysteresis = <0>; + type = "passive"; + }; + }; + + }; +}; diff --git a/arch/arm64/boot/dts/qcom/pm8150l.dtsi b/arch/arm64/boot/dts/qcom/pm8150l.dtsi index cf05e0685d10..1edf87c95a27 100644 --- a/arch/arm64/boot/dts/qcom/pm8150l.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8150l.dtsi @@ -22,7 +22,16 @@ power-on@800 { status = "disabled"; }; - adc@3100 { + pm8150l_temp: temp-alarm@2400 { + compatible = "qcom,spmi-temp-alarm"; + reg = <0x2400>; + interrupts = <0x4 0x24 0x0 IRQ_TYPE_EDGE_BOTH>; + io-channels = <&pm8150l_adc ADC5_DIE_TEMP>; + io-channel-names = "thermal"; + #thermal-sensor-cells = <0>; + }; + + pm8150l_adc: adc@3100 { compatible = "qcom,spmi-adc5"; reg = <0x3100>; #address-cells = <1>; @@ -30,8 +39,6 @@ adc@3100 { #io-channel-cells = <1>; interrupts = <0x4 0x31 0x0 IRQ_TYPE_EDGE_RISING>; - status = "disabled"; - ref-gnd@0 { reg = ; qcom,pre-scaling = <1 1>; @@ -68,3 +75,33 @@ pmic@5 { #size-cells = <0>; }; }; + +&thermal_zones { + pm8150l_temp { + polling-delay-passive = <0>; + polling-delay = <0>; + + thermal-sensors = <&pm8150l_temp>; + + trips { + trip0 { + temperature = <95000>; + hysteresis = <0>; + type = "passive"; + }; + + trip1 { + temperature = <115000>; + hysteresis = <0>; + type = "passive"; + }; + + trip2 { + temperature = <145000>; + hysteresis = <0>; + type = "passive"; + }; + }; + + }; +}; From patchwork Thu Jun 4 00:43:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 11586751 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 20AD360D for ; Thu, 4 Jun 2020 00:43:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 07A13207D8 for ; Thu, 4 Jun 2020 00:43:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="khZdz1Ta" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728405AbgFDAnn (ORCPT ); Wed, 3 Jun 2020 20:43:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728398AbgFDAnm (ORCPT ); Wed, 3 Jun 2020 20:43:42 -0400 Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A76DC08C5C2 for ; Wed, 3 Jun 2020 17:43:42 -0700 (PDT) Received: by mail-lj1-x242.google.com with SMTP id s1so5127547ljo.0 for ; Wed, 03 Jun 2020 17:43:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rrUx7tQwdeFto3pPHVu+2ZiRJ+YEecFZO1PGKQ0zZ4o=; b=khZdz1TauH+tHn838sjIWoF85Oql5N6z/A4OOWuaGY9ZJ4cpRTHoZtAwBsh2Jvf+GR ZIXOt8REjHnFSu1wBb54G6bzSf1d2pNUOObe7Mf2NsNEZF0AWLvaNqi+1PuBeUlYhOXP kIZMBf0ugWtOqVZzqKJZxn5e3F90Qo+/F4E1iQwyX7PGSu8LK+iVtlrlFTgpxvpc0inL Vl+Bw5U5UH6S4HhzVpKuBzes5FRWN8UuylrzC+MPK1ICGKhY6QXxn6M2PGaGKcL1fC26 6o6xNWICBnoH5do56Hfk/bexa7GwHKauaUE9ZcQoxGuuY6VEGZlFuhHAp2pjtb0dp4TT qeOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rrUx7tQwdeFto3pPHVu+2ZiRJ+YEecFZO1PGKQ0zZ4o=; b=H+VIQmQPJVaLIW2tX976YdLT4kvia549NB95s0lkEDvuPPMl/FtxHnlwNityBkjW72 ccIvWtB5ea+jPYc9ElNYhrR9yl+PHmYsoQNueaKmhNzKAXCuXEOby3YeoNu/Xf8USn8B ZZXXR9awGdaMkqFRERQD5LBW4a9vejyOqM9fkTC2W+IWOlx1X91XobGHP8IoRDf/xOgj LZkzzEHmcRGVzFYLAcrozRXIBFieP2NVr+IHOedgVU1C1xHr0V2Hdq0m77o1FJBSsizU jnHPfkvpserLTa5JIHtE3z16J4bI0rQEFQCZxzV0WiMr4y3i88+Wl4aJiy2TD5vY1Ipp EZ+A== X-Gm-Message-State: AOAM533u68fNC2Twrfq5ThH4Z7C25PFm7/RRwEUdzPxYa01GMj3E8m+E FKFNFSuHU8tntm9B1W0zkBZjRw== X-Google-Smtp-Source: ABdhPJzdz/bJmDVRtzfkAWEJSgZbuJ9yBX8M+106D/OCtibAa42JOFnF6TuJJk/vEzUCZAUld0pbeg== X-Received: by 2002:a2e:8091:: with SMTP id i17mr896539ljg.141.1591231420879; Wed, 03 Jun 2020 17:43:40 -0700 (PDT) Received: from eriador.lan ([188.162.64.226]) by smtp.gmail.com with ESMTPSA id t16sm858527ljj.57.2020.06.03.17.43.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jun 2020 17:43:40 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, patches@linaro.org, linaro-kernel@lists.linaro.org Subject: [PATCH 6/7] arm64: dts: qcom: pm8150: enable rtc device Date: Thu, 4 Jun 2020 03:43:30 +0300 Message-Id: <20200604004331.669936-6-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200604004331.669936-1-dmitry.baryshkov@linaro.org> References: <20200604004331.669936-1-dmitry.baryshkov@linaro.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 Enable rtc device provided by the pmic. Signed-off-by: Dmitry Baryshkov Acked-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/pm8150.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/pm8150.dtsi b/arch/arm64/boot/dts/qcom/pm8150.dtsi index fee2db42f4cb..762fb902db81 100644 --- a/arch/arm64/boot/dts/qcom/pm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8150.dtsi @@ -71,8 +71,6 @@ rtc@6000 { reg = <0x6000>; reg-names = "rtc", "alarm"; interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>; - - status = "disabled"; }; pm8150_gpios: gpio@c000 { From patchwork Thu Jun 4 00:43:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 11586755 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B7C8360D for ; Thu, 4 Jun 2020 00:43:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9F6B2207D8 for ; Thu, 4 Jun 2020 00:43:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="JC9G65jZ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728411AbgFDAnp (ORCPT ); Wed, 3 Jun 2020 20:43:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728402AbgFDAno (ORCPT ); Wed, 3 Jun 2020 20:43:44 -0400 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADB43C03E96D for ; Wed, 3 Jun 2020 17:43:43 -0700 (PDT) Received: by mail-lj1-x241.google.com with SMTP id y11so3450218ljm.9 for ; Wed, 03 Jun 2020 17:43:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=P61ZzuXXSFTvpekn3oEJIai3Ga3OpTbw/6LAfNZjF3U=; b=JC9G65jZ7ZqdKv+w/Qhes+AAVxiyLtdyiW8Um2yQUeeq3a5tXfvFTNprVQa5eJbdcn 4Tv02NfoOzDhQKo7LEAIU72fIJpjpipkf3g6Adw6dnsNbRxFSVx6TiLkvRHiXZq8bxhg N/d55ZVj5oy8DbPXD+PqrxgLfIOpV5xQ8uU3GAoyBTV0bZNtdtuQDI88OuUmNq4+nymK xIm4YJDF1TOsqIxLjwl1znahccTYN1B/XGubgdSs5Gkp4A/1X+L1Z8+1Q1V+lcDxcCle 8oDL5m1qII93SZXGNZUuiM+zpYD4Vntc7EEmXubHLcSr3+x3Tmua5fEjuFP8e3cKy+Pq l8Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=P61ZzuXXSFTvpekn3oEJIai3Ga3OpTbw/6LAfNZjF3U=; b=lpIFw5pJiT1zz3fFxhcrMeRHS2KsO+MjyeOmbBptcENMx8WLKaYE7QzVwT6pRa4bTA TtqRvMsSl6EOHy1aMbO65UsIXHMgg0hSI/JN0HkdOAGGOILxMzTI/FCVMG9/MhQX1ZEr is7ldQ9evuosmXr1ou1JIia57Pr231q05/+rxyqdk/gzSQogP/+vAxHmRWY7o3d0PYGr 0rqF2PoEDzdHkmkqPe+H4hjijW4h79EwVJualAv1ofkI9YIJy6ajtCWOkmWphbdcEQTq gOVh0g7By7sIVeFvUL9CwT4Lfz5PoMauxfn1J8IIGiD4Ot+01pnx4cXcgsakOhE00fTe 8Etw== X-Gm-Message-State: AOAM533dpPb73h7UfyNKBHc57NBg2+JJPY/MoZcJpXP+GiKlgRYLSpB+ l8k7mD2vd/O/rZrgWrfqIqSkDg== X-Google-Smtp-Source: ABdhPJx77AB3h9TWpyuXHJa10RvSHHVtjR8txT+E/YKVFLjmEEaje//dqcs/nbWSS3nWY8e2svw6MA== X-Received: by 2002:a2e:b0f9:: with SMTP id h25mr884888ljl.18.1591231422209; Wed, 03 Jun 2020 17:43:42 -0700 (PDT) Received: from eriador.lan ([188.162.64.226]) by smtp.gmail.com with ESMTPSA id t16sm858527ljj.57.2020.06.03.17.43.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jun 2020 17:43:41 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, patches@linaro.org, linaro-kernel@lists.linaro.org Subject: [PATCH 7/7] arm64: dts: qcom: sm8250: add watchdog device Date: Thu, 4 Jun 2020 03:43:31 +0300 Message-Id: <20200604004331.669936-7-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200604004331.669936-1-dmitry.baryshkov@linaro.org> References: <20200604004331.669936-1-dmitry.baryshkov@linaro.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 Add on-SoC watchdog device node. Signed-off-by: Dmitry Baryshkov Acked-by: Manivannan Sadhasivam Reviewed-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 972d8e04c8a2..f1641c6fe203 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -1662,6 +1662,12 @@ config { }; }; + watchdog@17c10000 { + compatible = "qcom,apss-wdt-sm8250", "qcom,kpss-wdt"; + reg = <0 0x17c10000 0 0x1000>; + clocks = <&sleep_clk>; + }; + timer@17c20000 { #address-cells = <2>; #size-cells = <2>;