From patchwork Tue Oct 5 03:25:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 515227 Delivered-To: patch@linaro.org Received: by 2002:ac0:890a:0:0:0:0:0 with SMTP id 10csp1688708imy; Mon, 4 Oct 2021 20:23:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1vHSlOx1TMy2O0Bl0eIeNHWUKMAUG0Eqvk3GjjpKZsTFiWEXp/8C/s/W3UrTXwLRNraLj X-Received: by 2002:a17:907:3e8e:: with SMTP id hs14mr13054560ejc.35.1633404238552; Mon, 04 Oct 2021 20:23:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633404238; cv=none; d=google.com; s=arc-20160816; b=gmG9LGKSAbMRY2rfbkGQ1uk0akdPVgzCBAhakt26jLEdjc9qOF4qbxNwqsfc64t0jl bqYL61LjEP7FUFM49VhHQcYm/WXD4e7rRz2zPXxnLp0UAu45m79D5aifIZSfCO8zyJOl Qk1psNebHFSzoN9w2mctFY379hYSt5mBlUOjZOHZaktNiAgUV3juQU2CSoq1IxCYccAo zt//qwqsOCxohNuE0gQhlB4fzD17Yc80EhKAuDY83qnx4nYTJNPVXAhKV4Mq62UWIZa8 GXmXFQVHo7knQ6XIJVY7q8kwCGfWxVo4iTJPF8apMrPx2TLKpvuGhJdbVnd3d2Pdu9JL F4Sg== 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=y5RA2wJTON98WzYl53qPa7h0i0r9iGvauGseixrJrIc=; b=uN/0ZXIC9an8tueEo1/c020498ma56TuclCFDt/sqh34qBEypC3W5v5sPqmXYR6qBO M4Uv6vf01g5pXNpGzMKGTztDOkz0ioBthXC3mLHJTXUwZ0+NdyLxmxDhe3v7Q7Bgl8c0 As/pAAYEgCCEqwfpd3j0CEw+/Q1C7jETzS4ifSegsxj/AKXSkgLj1QLU6n0nVkjVYSuo 0Zdu4R8uy7C488L9qUDQLTWNLjM6k58lkz/gC1D/Lot7RIqoNjA1xen2WI2bfYiJxStg wyRrSvvwDc5+7SBktgjjDjKnhJMlimqH4OwA9tB/ASAvWpAtg2pIESqKkdn6V0q/RIro X/Hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Aa9b5NPg; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 u9si3186403edf.223.2021.10.04.20.23.58; Mon, 04 Oct 2021 20:23:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-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=Aa9b5NPg; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S231739AbhJEDZo (ORCPT + 17 others); Mon, 4 Oct 2021 23:25:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231682AbhJEDZm (ORCPT ); Mon, 4 Oct 2021 23:25:42 -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 8673BC06174E for ; Mon, 4 Oct 2021 20:23:52 -0700 (PDT) Received: by mail-ot1-x32a.google.com with SMTP id j11-20020a9d190b000000b00546fac94456so24214327ota.6 for ; Mon, 04 Oct 2021 20:23:52 -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=y5RA2wJTON98WzYl53qPa7h0i0r9iGvauGseixrJrIc=; b=Aa9b5NPgFHKC4wB3EjIr3h4i/9hZDOyzf3Q8MLutzyZhY721rTJ5waSU/q9Su+JK33 og9nWMM4s5u+KqiWHuaTJ+ukcchVJyTa8/BXLnUIz7OYeGvPSFGfSWqma9rtyO6FTneT kRKg2FwMXTJAmZP+7Ak2LFG9z0rh1mNfAsgaMwzkHbsf9R9IpKkrLaYIZ6sihDRmBiB/ 9708xNEs/b3f3QWdUCaYmztByqSLys6pQ6Yd0TWXC7px6c/omo6HKSPdjhMG7fEhkRkP zcDnsqnb3N4uWiNHfwEb6s25p86Ecw1SgoMflhn9uE77fItk9PJDCROIhG1bNMXhNoiY cgNQ== 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=y5RA2wJTON98WzYl53qPa7h0i0r9iGvauGseixrJrIc=; b=YwjtdDn2849YoY/YmieH8a/B+BiGGvddui5hna9VQtgsjbgsG7wnXo090qUAqJj6tt lSDy9ASEraGYIgBzXEXDa6MjhKArCahmebqOLVm/Z3/jy9rbpdeDrcf38AatZ8pxr35B ISX7TJoxsT8/i0XDXCGFFh3oCU1Uy756W4b5dMa2VidgYV6/+NiCp4RH0M5ehvijqyRd rTyyqGddLMlBNT9OCSfa4t6K44EQBDrUrcsC35GAx4+yddr0CqGNizIVoYfQ+sPRPinS Tm6ds1ZffUpC3d/AH95082NxQc/aS+FUuDKFXYjSWp8X+Q5KKU5VBaPQywXjATR/zWU7 wHFw== X-Gm-Message-State: AOAM533u9+3y0cyGLC8r3XfIhGIy4qWpnru6FO4oSP2VxXeLxP1jmZq4 xlsp511UzKV6GXwSEHpxZXXA0g== X-Received: by 2002:a05:6830:18f0:: with SMTP id d16mr12549396otf.63.1633404231873; Mon, 04 Oct 2021 20:23:51 -0700 (PDT) Received: from localhost.localdomain ([2600:1700:a0:3dc8:205:1bff:fec0:b9b3]) by smtp.gmail.com with ESMTPSA id j4sm3111955oia.56.2021.10.04.20.23.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Oct 2021 20:23:51 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , Bjorn Andersson , Zhang Rui , Daniel Lezcano , Amit Kucheria , Rob Herring , Thara Gopinath , Dmitry Baryshkov Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 3/4] arm64: dts: qcom: pm8998: Add ADC Thermal Monitor node Date: Mon, 4 Oct 2021 20:25:30 -0700 Message-Id: <20211005032531.2251928-4-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20211005032531.2251928-1-bjorn.andersson@linaro.org> References: <20211005032531.2251928-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 Reviewed-by: Vinod Koul --- Changes since v2: - None 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>;