Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp668380rdb; Thu, 18 Jan 2024 15:31:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IE5HxwHDln5+1fm/v6qPs3+uCBgdswFhSqkqFsC8XI9zZ8ssVtczhOyNUv53Z7q+T7RjPkZ X-Received: by 2002:a05:6402:790:b0:559:d6da:82b9 with SMTP id d16-20020a056402079000b00559d6da82b9mr842994edy.21.1705620683690; Thu, 18 Jan 2024 15:31:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705620683; cv=pass; d=google.com; s=arc-20160816; b=PJqSOLmX/eDlkbfIGyARU3q6lO6UdzIoos7gIcr8h5uHOr6FQEfgQRD1aLs5LwnteG ci92eZ3Yi5kIBJ7ZB6xro2qr/M4VxBlU394dNQud89pZaX/ALNuhU6n1vAbs3d0r9gHQ OAJuyCslF47nhwyoCkmlegrP7hgUq2VcaNrIB15O7ZvjBJ3KnB+c/mSB3/Za+8Jynbi+ MgMx3Pka+XOb9tMqG4pt7r2v6sTFgYYewHETCrwbEkUjFeQWbRYBYTaTg7NAIiWVgwwZ NWE/bwfMu6APbqWCAbmsO6eLI350SXyG5CtJFiEMz1PdMtgdNkyJ76H7Boo4C8LsbFOq n+yg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=6v0lpyy987F1ypK0yHFg7YzbqvtCeBq1Ni/3BxFVaP8=; fh=74pglHZdZgOVPuT4fqJmZ9yg8/tyj5cG9JWiRunYi68=; b=kmGynCd10RYOgxfNHaKgHpKZYw0E1GxCiHcOuz3634Renie/+bI4HrTSvmaDG/knS4 +ngPCRgKwSlMn26ip8+z4SaSa6O9YPGp4LLw62vNnRfxzzfVAegemz7a3/6GV03SToj9 OnF/KhwPLCnzLmN+YWEW/pDNKjyl9VlQmNlrrPIPOMxah2VabUnuuCt1Z8QIsMh5O+NC r+TH+L7iiJz3G7YB0Q/Enmuq9PhPu97PRGxVp+GzaK8WaK7GnSCpfXTq7Ngj73X4enIc VXu+cGoq9lUM+I7iAzPRuouRPBI+XEeiTZkTWq3oAFcQU61JHxdGaUKlsyZbEuCoM01T weCg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Hlgh7OZN; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-30633-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30633-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id es11-20020a056402380b00b0055637946487si7796818edb.235.2024.01.18.15.31.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 15:31:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-30633-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Hlgh7OZN; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-30633-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30633-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 580BE1F2280F for ; Thu, 18 Jan 2024 23:31:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 732682577F; Thu, 18 Jan 2024 23:31:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Hlgh7OZN" Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0524B1EB38 for ; Thu, 18 Jan 2024 23:31:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705620672; cv=none; b=O3vt5OJTcBK9R6QPvPjNBF+rvfWc1L3dEIDqrB+q/smIWC51ZB1WOfATpGu9x6X0yj3o3Q3BhevjFDpXB14jDMsOhYGseJh8Jzp4C+4TBW8oQiG8lmnJwDJVCQF5Bm3z8+B+/qY7OYTaBQleSGYsYsP8zYxAYNvm9g5BJmxno4k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705620672; c=relaxed/simple; bh=IdpU2iFg7IVH1ufjSNd28yuQIldlBMrrkAL0tUwiR3M=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=uq99u6fB8XtiGkS2oxuc744iddHqzAYMmjSd0Ui/g08bCtGCd83NRdazNUp1S39W066RVDyhq5ybpFdZTY5DSRJo3bCncUSlWyTIbn4xop/vVi+OLHKejYiBvMGdX3Oo66Lbfh3TYrJCONA3myAZzgC/TS/IJJa4vc883uVi98M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Hlgh7OZN; arc=none smtp.client-ip=209.85.221.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-337d99f9cdfso128390f8f.0 for ; Thu, 18 Jan 2024 15:31:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705620669; x=1706225469; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=6v0lpyy987F1ypK0yHFg7YzbqvtCeBq1Ni/3BxFVaP8=; b=Hlgh7OZN+oceDjCX71S1+jjzVWubCpdutpcdapYvU7naFeHNvB8in8IJ+ZP6PcF5GO vSwBK095CeX6m24vzIFg45Jcu+XydbVyCM1pXKttWBRtrL/BjjBd+ft37CBclgAemw4P rTcmU0hlwWQtVxeuZwY9XOJOzVQeEfqh4WcLSN7QY0KLkSPZO80kGLIbsFf8crcMq4xs zTkVa8O1OS0IKUyr0BHBMWSYwcQBflsxRmJ5F8oVD5D5hl09ER8DRzam1lL15Tvppj+J T1zEYKtHAG+xHFX3eAo5MuDrLspS5TfGhDrCJrtU08hbVi9rNglnvVImLr0ybP8ine5+ iOFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705620669; x=1706225469; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=6v0lpyy987F1ypK0yHFg7YzbqvtCeBq1Ni/3BxFVaP8=; b=ZacvfcOlYJPgdjv6G0pMLS2m7Y/88uQfWK4vqyUz0zs++8vbuPmf3d59SdWx9DMPNy MEFjWZlte2OFKUHM6EtxOXRrmfewE3aM/kYc824mQLs3h3Lxc7Gq4Lv/S0mbnN9PFNlR JhryRqh5NWT1NakTObWz/KixiR1Cwei7YfnFcE70XwUJ5v3QlJIZoT73Gr4ATBxBsL6Q ZtB829fgvwG+wbU2ndKi45x+p0WpJRjgGTWddu4c4O4UwBMR8F9xIDM1Iv5P/ErnorpA F2PGKHbDO5JLc4wnuqe9gvyJwFr0WoFtxx604Bqxe709OYq+kQQllAGrXPmzr0A3gHbb WhzA== X-Gm-Message-State: AOJu0Yzxu2IAj+kMNOuMCCS9oEOKIeOKJBNPFi5beT1yZ+hW5d8FrhVM 5Ky/6KPilnr4TNjVT45rHu+YiX6jGOQWMSM8+B4UgisKsU326UBtqTx3tN+ujdc= X-Received: by 2002:adf:cd85:0:b0:337:9b5d:4c68 with SMTP id q5-20020adfcd85000000b003379b5d4c68mr1119632wrj.127.1705620669094; Thu, 18 Jan 2024 15:31:09 -0800 (PST) Received: from [10.66.66.2] (9.ip-51-91-159.eu. [51.91.159.9]) by smtp.gmail.com with ESMTPSA id q12-20020adfab0c000000b00337d8c40ff7sm973011wrc.3.2024.01.18.15.31.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 Jan 2024 15:31:08 -0800 (PST) Message-ID: Date: Fri, 19 Jan 2024 00:31:06 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] arm64: dts: qcom: sc8280xp: Introduce additional tsens instances Content-Language: en-US To: Bjorn Andersson , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240118-sc8280xp-tsens2_3-v1-1-e86bce14f6bf@quicinc.com> From: Konrad Dybcio In-Reply-To: <20240118-sc8280xp-tsens2_3-v1-1-e86bce14f6bf@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 1/19/24 00:00, Bjorn Andersson wrote: > The SC8280XP contains two additional tsens instances, providing among > other things thermal measurements for the GPU. > > Add these and a GPU thermal-zone. > > Signed-off-by: Bjorn Andersson > --- > arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 37 ++++++++++++++++++++++++++++++++++ > 1 file changed, 37 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi > index febf28356ff8..68b5ac0339a0 100644 > --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi > @@ -4033,6 +4033,28 @@ tsens1: thermal-sensor@c265000 { > #thermal-sensor-cells = <1>; > }; > > + tsens2: thermal-sensor@c251000 { > + compatible = "qcom,sc8280xp-tsens", "qcom,tsens-v2"; > + reg = <0 0x0c251000 0 0x1ff>, /* TM */ > + <0 0x0c224000 0 0x8>; /* SROT */ I've previously called for removing these comments that we've been copypasting around for years and years, and I'm gonna stand by that :P [...] > > + gpu-thermal { > + polling-delay-passive = <250>; > + polling-delay = <1000>; Hm, did tsens only gain support of non-polled reporting with 8450? If not, we should definitely update all the relevant SoCs. Konrad