Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp954907pxb; Thu, 23 Sep 2021 14:24:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycJ7C3/JEWC+b7g+kphVvasQUf5IAcwWW+AhzeVq8PX36wov+ZxLajg9+ZM2eGcbl5yZCZ X-Received: by 2002:a50:9dcf:: with SMTP id l15mr1166387edk.137.1632432291623; Thu, 23 Sep 2021 14:24:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632432291; cv=none; d=google.com; s=arc-20160816; b=j9ZLkdNP9Qm/E5rEabCNKTsIzDzc4ETtW80uGPHWGuZbHpnrds74ehNyoqax71RT3a GqGjs9Z0icXbM07yqwkKF8pdxHTT16WvzNiMSGD22dKvPi9JKMq+t8Wnya5b5yxxUl5w HH8nDNXpezjqS3DNo/1qXo5YKDNS+QOP6Flm0C35QSNEXqpUNp74xTTT+AVL1lQEmcLr Ucj52nJAWy8tl2xCaRZrx9BaQUJv3jusSZNY8Z04ggUVre4w9b6s3k4vTNEZZvcMCKKx YcUA3M9X/RsY1Mg7VMECf4bW6V3usz6UqBlYFL9VtQ80ACNGWb+Sg4X0Vk0K3HL5rGuX eH4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=PNc03WntMHltar98IQXNaOEr4ocp4Ko7bP2GtS5B5+E=; b=ErriMCcY5lILJ0FtqgJ75R03c46fgfDlSMv5EzZVMVGM49eGIBND+gCiouHVYEkF8G huNLhKf/C5VAJoDjqhhe/txdzqRmJG5vi3iy/iYaXAidRpNDEKq7ZrFazytstlm3CF4n zGcW0/Mdoz39k+UUA5U9Mp9MrOqCw8ekWvqGZoWYjvkyYZ/6YVf0ufmqMEcL7ZI7gho1 GjT0f9bLpKZLHSU9IliPBzXyrSdAVcTq8xYZBUfjLLgnvsBVYImHXhFYoKgDtH8duPEg b3C7/6cHOB7dMcjxFBF+tK8hPJFAAAsHUbYYz3BNz7abdJIog+kV923EXH/ozUe8TsxN qKqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zxobRb9I; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i7si7312622eds.165.2021.09.23.14.24.28; Thu, 23 Sep 2021 14:24:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zxobRb9I; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243295AbhIWVYU (ORCPT + 99 others); Thu, 23 Sep 2021 17:24:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243308AbhIWVYJ (ORCPT ); Thu, 23 Sep 2021 17:24:09 -0400 Received: from mail-ot1-x32a.google.com (mail-ot1-x32a.google.com [IPv6:2607:f8b0:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A133C06175F for ; Thu, 23 Sep 2021 14:22:37 -0700 (PDT) Received: by mail-ot1-x32a.google.com with SMTP id 5-20020a9d0685000000b0054706d7b8e5so10471357otx.3 for ; Thu, 23 Sep 2021 14:22: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=PNc03WntMHltar98IQXNaOEr4ocp4Ko7bP2GtS5B5+E=; b=zxobRb9I2u607sNWX34uw3V7DrFe5hlimKl1vglXqbIyRHHwiiJqHplGPNteyqYM4a xjmn3q+Nvvq0ZHuaVh1dL+z+fLXdkD9RJVbheWNjqObezBTRXvM4WU9AqOxHllASdWG4 aATlfoMwSqwI9p/TLa1DgRJgKR7rcC+fXPyXhrsDdeMONz8m2ZBgHX6++Bq+si0p5bnI 4T7UZYhnJ5R38dgiKrd7kYFT6fsw+tGIcGjQWX2fqVGD4WVxWgeEg2RJQX0IiITKVDo/ SYS0azz6uBIkSs8Z4rmKgI1FHhg7k8A9Sz20e00GT+eXSnR7SUg65SbKtoaGas/xIfyd owjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=PNc03WntMHltar98IQXNaOEr4ocp4Ko7bP2GtS5B5+E=; b=kh3vnyUXUFTkAvPyp66Jppz7XwFrkWn76Lr2VDPlyQ87kv6saqTA51e75EcF5cEWYL +iCCU9YsK0GP3a9fAygrYax0J/516ljd81t4PdJXOj85ZRcvSQXRD5exYkr4uIjqYbv9 xdhUHMGSE5t/j1o5sWbPbglz9avN+Kr1SA9IIQCFtPfqQ7ntze2bxa4zb9OUkXZ+y1XX 3ZXjEsUhtA1CqJKjnwZfygwmv9AJWB5UUApblk7AdB03MBoP3zKgrikysB2YJDsfMzPS dIFokv1s6+zovaaDoQ4g2df27I6Yucx/K3yOn+J9mfd2sGNn/N+Y0qOAcgpTcEBwubii UD3A== X-Gm-Message-State: AOAM532vgtBDK36LyZnGQFK3UjT98JRup4plwQ5GYDEW6IRedtyQa//u WtGiIA3AmUTqjSfHmrb32WTmeQ== X-Received: by 2002:a9d:7d8d:: with SMTP id j13mr791717otn.220.1632432156748; Thu, 23 Sep 2021 14:22:36 -0700 (PDT) Received: from localhost.localdomain (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id e16sm1586820oie.17.2021.09.23.14.22.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Sep 2021 14:22:36 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , Bjorn Andersson Cc: Zhang Rui , Daniel Lezcano , Amit Kucheria , Rob Herring , Thara Gopinath , Dmitry Baryshkov , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/4] arm64: dts: qcom: pm8998: Add ADC Thermal Monitor node Date: Thu, 23 Sep 2021 14:23:10 -0700 Message-Id: <20210923212311.2877048-4-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210923212311.2877048-1-bjorn.andersson@linaro.org> References: <20210923212311.2877048-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a node for the ADC Thermal Monitor found in the PM8998 PMIC. This is used to connect thermal zones with ADC channels. Signed-off-by: Bjorn Andersson --- Changes since v1: - New patch arch/arm64/boot/dts/qcom/pm8998.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/pm8998.dtsi b/arch/arm64/boot/dts/qcom/pm8998.dtsi index 6f5bb6b37ec2..d09f2954b6f9 100644 --- a/arch/arm64/boot/dts/qcom/pm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8998.dtsi @@ -84,6 +84,16 @@ adc-chan@6 { }; }; + pm8998_adc_tm: adc-tm@3400 { + compatible = "qcom,spmi-adc-tm-hc"; + reg = <0x3400>; + interrupts = <0x0 0x34 0x0 IRQ_TYPE_EDGE_RISING>; + #thermal-sensor-cells = <1>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + rtc@6000 { compatible = "qcom,pm8941-rtc"; reg = <0x6000>, <0x6100>; -- 2.29.2