From patchwork Thu Sep 23 21:23:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 514552 Delivered-To: patch@linaro.org Received: by 2002:a02:c816:0:0:0:0:0 with SMTP id p22csp844763jao; Thu, 23 Sep 2021 14:22:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPC0bXs0BLv/plrPHtea2d/ze0ljWRdNBk2SMyCZEsTtwdmveBRKGpzURPYRQ4bFOmzoiS X-Received: by 2002:a17:906:5408:: with SMTP id q8mr7387013ejo.54.1632432160726; Thu, 23 Sep 2021 14:22:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632432160; cv=none; d=google.com; s=arc-20160816; b=Owo03m9SIOPuKB62T6uJC1p8ozj6dxddi+z35T/g9MqXifQglwDb6lu3IaVZnCeF0n TmkmpO4/2c4UYmIqZDrHKQA/jbXK6m8UsjZawfvdZ9378gMIePkbGJqujvCpEe5Hxqdj 5yFdrAolWtaUzUNTtuBGlG+4arqd5mM37CmO0gQRfx7ShJo/vMbDmv18J6c0RqR8yZAk 94QuvkBHyXAqVd6KOmWvkmrA8X/rTFhzB/7GsDpaZR9TvXFIEUs2sdAFlRFZDh2JDxPd oM1L8WJ1EejZkAePLpTVCQmr/LR0yiu2UsW9PUKO1m4NJXAK4ALuuElFHtD8Le82SF9M kLFA== 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=WY5M1T/j5KZMt4FJibR0bTt7HBUA8PEGtZlzd2jbzoxk5CJfbxtpWnPNBG2DTAa0Wk 5xBk9nKROAjv3xZ0GJRx72Zgf1B5B5UpO3buQWB8hDanMZ3F3vxn9QAfI/3gnEJqTDw2 wA91FW8x6QvaR5VpZhwLig2I8DpIWg3r9gHCPgcvYO+faud+UXDXQsqLOpFH08d8Rn6p IrB7uoodhvgxyQl7+L1HCSdaBaowZoRRECd9LipB9uAYTFFj371AxsI3+KPqkQb//ohJ 9CcVEFBjLdOM5aog8OP3cf4Tnrx/wK6CTGGBqWqTtRVfRDWzy7UzW69o++X2G+gQEsvS zYYA== 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 devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 d19si7426194edn.202.2021.09.23.14.22.40; Thu, 23 Sep 2021 14:22:40 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-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 devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S243310AbhIWVYK (ORCPT + 7 others); Thu, 23 Sep 2021 17:24:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243311AbhIWVYJ (ORCPT ); Thu, 23 Sep 2021 17:24:09 -0400 Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69C04C061756 for ; Thu, 23 Sep 2021 14:22:37 -0700 (PDT) Received: by mail-ot1-x32d.google.com with SMTP id x33-20020a9d37a4000000b0054733a85462so10409582otb.10 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=lcbMh10fiEd+vn6br49rRHhXJPKmrcnL6FBPQa+LYRxc235wk2xHWbERFm1v93ypRU pKVcBNb0huNxt4Ix7U8NQpE79rRAMtKMj/byXjEhhvAPqShD70Ek6pkhQOJkZxuJ8t67 nWPOV2faGXwHAdSIG9E7I1RfCzT5m0OAlnLJHx1CsbFGHhPMX9F+BmVo7Kc3j1U0DCjf qOFVzcHXJ566FtEN4z1GtDK4k9MkG5zW5VCdWBc4W5IVQMVb0YYEl3Xq1WquGF6iOmtq lmzdhDswDia9GxcnvllQ2iYkX3BYL1vEgPVZ9OJNNwOuXgQYYL2MLCwFyjxN9vZqZzK5 Cm7w== X-Gm-Message-State: AOAM530FSUqXhpjh1dvsGw6c6riIuId5Akia0ilC1zHJJLVfQcXDGrF1 fEt5pPpejGZ3XLfig/Wy/Xv3Jw== 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 Precedence: bulk List-ID: X-Mailing-List: devicetree@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(+) -- 2.29.2 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>;