Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp411307lqb; Fri, 24 May 2024 02:05:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXSqy9RhZrWLy566YfqECoqxpLajPj0Wwk4/xPd1hyj/OV2Jc83l+K1V+W8Sll2z8PQyCnQWz+P8lz553xbQdhqRhscqwgTreq3ePMiyQ== X-Google-Smtp-Source: AGHT+IF4dG/tDPiV94ZOeoWYG4npPFrXfJRJkX5PIe5lCvot7O2CHiJYB2EN1kzr4ZTf0ENBQ3qC X-Received: by 2002:a05:620a:270a:b0:793:750:3d5e with SMTP id af79cd13be357-794ab087b3dmr226475985a.29.1716541521332; Fri, 24 May 2024 02:05:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716541521; cv=pass; d=google.com; s=arc-20160816; b=dxO13pEIKmLRD4N39Rz6eUfpprqiYZ98YfoY7ptR6MGirK1rVGfPLxrHNiDy37xCwo +0btCg5SF2rD6DV7XFc4XcSldX6/0GnnjxolVrQ9fkITsU3ShOeBv7R3dgptHWdRR3EQ 6Bd/0FMdB1CqJrkFOr+IIovaPdpRrALBU235RjUYsI6uV1qxXux9YiiyQajBgPJN9myy KEev36rVjhnw4GbQE2uccm936n6fBA6lquufF71qYMNYDerJaxeBJqyAhs4sTTRggYtC lF1fw/9/Sevpw141MNq80pSHylaCUZU3n/ALz3Pp4HrZDFhGJW/z3UsnqydTW98itaTQ PyYg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=n5J/C+IDybR4omqOS9SfWx1Ek6B9bW0Uauk6Wgutzds=; fh=c5Ebhxjtoivv9pLGpiZyEuFBvhC3JkVpPCUW8Kq2Zl8=; b=cfvXCJwsFkHq3dwoEFRNFMtqLsKCo0pAmsifCfaWBfgt3fZ9DF9lCtk9FrtWHReOjM wpuhLBH232jaMJZkUnkpcY0UgkBplVwxTuPXsF01AyDAa5A0nWNf1P7gRkg83jRDjrnT AlweFLsj/A8ysRk3Jga8/0i2RW6DXhamRiusxNyWMuNKvzAVzPWX7VO1Ew0CCPzrbdyA NeIRSEtX4LHEcZm27/uNV5QurLWOEnB12RTG7Qq+H6vAzZs5TIuQnfm1MfNh1Ldz+Lg1 doy1Xmk9gZA1qA/8Tg7rnOqXba799yWO/vS/4J9QA4pFOhTs6exRPC4QtYBnsRVEuVo+ OapA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=y4H1Z7hB; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-188513-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188513-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-794abd5ed7fsi112120385a.706.2024.05.24.02.05.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 02:05:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-188513-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=y4H1Z7hB; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-188513-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188513-linux.lists.archive=gmail.com@vger.kernel.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 149B21C20BB9 for ; Fri, 24 May 2024 09:05:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 51570129E92; Fri, 24 May 2024 09:04:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="y4H1Z7hB" Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (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 C82EF129E6F for ; Fri, 24 May 2024 09:04:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716541488; cv=none; b=SeMdp4QPKRQUweaxKFyptZriScAOhyoHqPJo7U+28Eb3jKCjueXci5ipsTv5k/6Mshoe9bYfUpyaAvhD5NtW8VJfZ1GL6y+h58NBYYDWZ0DVbCFR28USpRVeYVcO9HzKUsuJn8vxw9GqBqYpdQe1Ny098XSlJFWGyKhAAr/sdsg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716541488; c=relaxed/simple; bh=qOE+NwNH35rMZqPs630S3yw6fUABDjCAXs0E4TU/Lto=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=cduZ8+HK3AWL2Lfpt497ddnW8fQQlqW2zLmK7zPVup++lgSlE1QEAG8BRFz848iWS+O65cdx4b1hlBfV8mlxW/FIseP4+p1mm2YRifuPnwI7+A5UVqVRd1wVFZvfHKhEBcgEQQRqTYvT0f4BBhgXIbqJ7CgKQjpRxiq4ZrRzUok= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=y4H1Z7hB; arc=none smtp.client-ip=209.85.128.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-4202dd90dcfso27889525e9.0 for ; Fri, 24 May 2024 02:04:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1716541485; x=1717146285; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=n5J/C+IDybR4omqOS9SfWx1Ek6B9bW0Uauk6Wgutzds=; b=y4H1Z7hBUr8irdDF4WBCPuU9I6MSp9/2UHm10V9v3Xe8w5WSFnYCEdVxX3BaqbJch2 a9ad7aJ+O5D4Vg5xqc3zp54tw7NfpFchP/CTc7QD2z74vqclpptgDdOdxx/wReoToNUk 91nsKjgW0rL9WniY1+OFIXY1H/GFEYScTP54O1ObY1dF1iomHGG1H/zr1khWocil2jeG +U2y37/sPKnHpKKpk3xrVmR+zbyLu7BXyAZ4AGZTBRgKQESrtbSr+KJQpenlek7wbGZ4 gC93KIqkV9hRsWWPRgFIT5bBYncXrNrpV2EOWIxMxAhIOpv/vFchyMiGvsUL9CVwwgxV Ci1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716541485; x=1717146285; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=n5J/C+IDybR4omqOS9SfWx1Ek6B9bW0Uauk6Wgutzds=; b=fkFqhRiYQnIVMMvJjHLNU+5kbjMvQgIRacQvZqW4+SV9ZHvxtsadfkjvXyPcjG7L8O HmplSqE591cgFas0AIjGmWq/cOFUJNKRpW3lqym4DHoeGISixPBFtk+Zmdh1eXDcy8f1 MyFF7+sYefcQI+5EQy853zAFJG4ILspjm+qD0IzANnNUFrjT/c+7aQg5r1NFGqY9P9UK oog4VdjtyvDFlZFyeBiVmxWKc/NTzkSUrqAGD5UTRMg6KCfiMKN9TvUfPErMZx71DbqP cK+LSbs8qLKXNIYlmBFuhayqAKCNorgnGr4JynZkmFtHjGsvWl0KXQR4XTf7fCbuSd74 lgvw== X-Forwarded-Encrypted: i=1; AJvYcCUpqX2PZV+NhHCSo3rw4UZaCsE2KJHHz63i1X3VWbB0STKxMWGD9bg/xWz1+FnShVrn07YJQ5BnkfG9Aa4dklb8Ion7MlqEjKOsVFNT X-Gm-Message-State: AOJu0Yz1OjZg2z5Vckh8AlKjqSWG97SU/Vxo9ysDWALKR2kaixEbFoQa D6MgCzfwz071QTE62jEOrqmWMQa1EwU/JP94JjokYar3aOYgMpISacrX70YGGm4= X-Received: by 2002:a05:600c:19ca:b0:41a:3b7e:2235 with SMTP id 5b1f17b1804b1-421089b1b42mr12560065e9.5.1716541485147; Fri, 24 May 2024 02:04:45 -0700 (PDT) Received: from [127.0.1.1] ([84.102.31.250]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42100f163a8sm47273045e9.13.2024.05.24.02.04.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 02:04:44 -0700 (PDT) From: Julien Panis Date: Fri, 24 May 2024 11:04:35 +0200 Subject: [PATCH v5 2/6] thermal/drivers/mediatek/lvts_thermal: Use renamed thermal zone definitions for MT8186 and MT8188 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240524-mtk-thermal-mt818x-dtsi-v5-2-56f8579820e7@baylibre.com> References: <20240524-mtk-thermal-mt818x-dtsi-v5-0-56f8579820e7@baylibre.com> In-Reply-To: <20240524-mtk-thermal-mt818x-dtsi-v5-0-56f8579820e7@baylibre.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Daniel Lezcano , Nicolas Pitre , "Rafael J. Wysocki" , Zhang Rui , Lukasz Luba Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-pm@vger.kernel.org, Julien Panis X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1716541478; l=1639; i=jpanis@baylibre.com; s=20230526; h=from:subject:message-id; bh=qOE+NwNH35rMZqPs630S3yw6fUABDjCAXs0E4TU/Lto=; b=rwZi7ol8l4OofuhfkYL6KEqAIXdExwo2d+8HZov5y+dHbOYu64V5flumGoI5gw4dW+mdzQGtM FSxO+nrBjttB8WDBGhUChWjc+R9hv8Vp/Oe7chcgm12gNpeN7Szpxay X-Developer-Key: i=jpanis@baylibre.com; a=ed25519; pk=8eSM4/xkiHWz2M1Cw1U3m2/YfPbsUdEJPCWY3Mh9ekQ= Use thermal zone names that make more sense. Signed-off-by: Julien Panis --- drivers/thermal/mediatek/lvts_thermal.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/thermal/mediatek/lvts_thermal.c b/drivers/thermal/mediatek/lvts_thermal.c index 0bb3a495b56e..89fb92666b81 100644 --- a/drivers/thermal/mediatek/lvts_thermal.c +++ b/drivers/thermal/mediatek/lvts_thermal.c @@ -1436,7 +1436,7 @@ static const struct lvts_ctrl_data mt8186_lvts_data_ctrl[] = { .cal_offsets = { 29, 30, 31 } }, { .dt_id = MT8186_ADSP, .cal_offsets = { 34, 35, 28 } }, - { .dt_id = MT8186_MFG, + { .dt_id = MT8186_GPU, .cal_offsets = { 39, 32, 33 } } }, VALID_SENSOR_MAP(1, 1, 1, 0), @@ -1487,11 +1487,11 @@ static const struct lvts_ctrl_data mt8188_lvts_ap_data_ctrl[] = { }, { .lvts_sensor = { - { .dt_id = MT8188_AP_GPU1, + { .dt_id = MT8188_AP_GPU0, .cal_offsets = { 43, 44, 45 } }, - { .dt_id = MT8188_AP_GPU2, + { .dt_id = MT8188_AP_GPU1, .cal_offsets = { 46, 47, 48 } }, - { .dt_id = MT8188_AP_SOC1, + { .dt_id = MT8188_AP_ADSP, .cal_offsets = { 49, 50, 51 } }, }, VALID_SENSOR_MAP(1, 1, 1, 0), @@ -1500,9 +1500,9 @@ static const struct lvts_ctrl_data mt8188_lvts_ap_data_ctrl[] = { }, { .lvts_sensor = { - { .dt_id = MT8188_AP_SOC2, + { .dt_id = MT8188_AP_VDO, .cal_offsets = { 52, 53, 54 } }, - { .dt_id = MT8188_AP_SOC3, + { .dt_id = MT8188_AP_INFRA, .cal_offsets = { 55, 56, 57 } }, }, VALID_SENSOR_MAP(1, 1, 0, 0), -- 2.37.3