Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp322962rdf; Tue, 21 Nov 2023 03:59:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IGqXjBO+Bgi79hXBurUVyC7vcKVaoQR3MVeoi0cugRBTLxvQJO2dm4ct9yt5JeVXjUJc2te X-Received: by 2002:a05:6a21:6d88:b0:18a:6639:e331 with SMTP id wl8-20020a056a216d8800b0018a6639e331mr3399359pzb.13.1700567988463; Tue, 21 Nov 2023 03:59:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700567988; cv=none; d=google.com; s=arc-20160816; b=Oyh0PQbrasluGZI+QSYT/KhaP4kZFveStta7oO9kEB20LzWWLF3O9P3q15KA1oRcUD H50lzx+KVYTzoMCnIwe8AIGWnmZg0BH6hAQ/EC/eEhGDnvZnzBj3WBfePFz0neaAbzmX EYKshnsRCAUNB4yWewrNNiH5CN1x4toN01yVTdPRebMLz3lMPhb5WMOw5KWjFC/fTJgO jAnrZVSxXaGtYKM6YB8G+BjTTyp6JFZfwQjluJvuxIwwNlFj/YqlqY2IQWz1qYuIIsKa Pdcl1b62gF/Gg7oJiPFNc5e2YZvYE1ZYW4VQyVP05V/VdHWBMAnzMAwJUBh9phudE9A5 PfYA== 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=G4CiWflMa0UUyp9NbGyD/T0A000MhIAnhks0L2DnG2Q=; fh=m5p6pcg3y47Sg5VKYWXj0f0nOzgFq4l5+GGYwGce+t4=; b=vXb3S5p1+hlTyeIAdaeDt6gUq5jC3HQWyXfnxysCNBS/V7MjFqHs14L+VYXpm/TCIc wh1D5A7hO7TbdHHzLDF9BKoVkJLk7TyXRuOhWYGqvt+SVzWs+RRTj2pTM0btJwJ/EsXB Th5kkl6RO5GnqCm+KkjjzDvUdi8pp1y9AEWMEHRg68HzHqmXntSvP+JKmhAIXHVPuf0O +mfa2M4QAGySXclhybUAtoxVB577y32AVLMpkxMrhc6DFoleQEgexr1/tf5UKHeAxgam wPDkJ38cvNs9e2JVsNX7AvNObzyj3PaBUkn9S/DZMeM0U0UF/z4suNBVn2BNnz+qCj6L aNeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=BOJXhvq4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id p17-20020a63c151000000b005c1739564f7si9588950pgi.351.2023.11.21.03.59.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 03:59:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=BOJXhvq4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id E156680DF5D4; Tue, 21 Nov 2023 03:57:40 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234737AbjKUL5O (ORCPT + 99 others); Tue, 21 Nov 2023 06:57:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234596AbjKUL4m (ORCPT ); Tue, 21 Nov 2023 06:56:42 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A3F7131; Tue, 21 Nov 2023 03:56:39 -0800 (PST) Received: from IcarusMOD.eternityproject.eu (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 347AE660732E; Tue, 21 Nov 2023 11:56:37 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1700567798; bh=rbMxFG/9Z/MvXIMSXdH+Z5ELUWvpXJ2G/c2LivRCtOk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BOJXhvq4C9UV/vImSye1MfJJrb0nTSDZS32sdnmUOS93jx/wHGT85watYQwvucA8K e7pEls/wtVZp5e6i0GG+ffeJ4wTz62QLYPS+VIdRm3oujpBz0n7XdE/AEWo2ahi8d9 JM4dWTqvf11DWirTYh1dFvwYHpi8cKoOiRDISlnEQ+KqdSWwT5oS4eXgHA+psjm1KT kXjhniyB+uMidk2Dz/fIlcBB7x0FqpXAGD0r1HtAETKf0xlIvHbeNCa29nviOAZWiU RP5rfwyc2B1YtyoSb/etDScxpw+M/UjreXP83L12Rjvxl+kVySOv9sPx/Bff82dA0U a0YZSVjc/2suw== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, robh+dt@kernel.org, angelogioacchino.delregno@collabora.com, p.zabel@pengutronix.de, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, kernel@collabora.com, wenst@chromium.org Subject: [PATCH v2 06/20] soc: mediatek: mtk-svs: Change the thermal sensor device name Date: Tue, 21 Nov 2023 12:56:10 +0100 Message-ID: <20231121115624.56855-7-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231121115624.56855-1-angelogioacchino.delregno@collabora.com> References: <20231121115624.56855-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 21 Nov 2023 03:57:41 -0800 (PST) This driver tries to create a device link to the thermal sensor device: change all instances of "lvts" and "thermal" to "thermal-sensor", as that's what the devicetree node name must be. Note for MT8183: As specified in a previous commit, this SoC never got SVS probing, so this is not a breaking change and it does not require fallback for older device trees. Signed-off-by: AngeloGioacchino Del Regno --- drivers/soc/mediatek/mtk-svs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/soc/mediatek/mtk-svs.c b/drivers/soc/mediatek/mtk-svs.c index 6c27fb523bfa..b5beb33c95ba 100644 --- a/drivers/soc/mediatek/mtk-svs.c +++ b/drivers/soc/mediatek/mtk-svs.c @@ -2329,7 +2329,7 @@ static int svs_mt8192_platform_probe(struct svs_platform *svsp) return dev_err_probe(svsp->dev, PTR_ERR(svsp->rst), "cannot get svs reset control\n"); - dev = svs_add_device_link(svsp, "lvts"); + dev = svs_add_device_link(svsp, "thermal-sensor"); if (IS_ERR(dev)) return dev_err_probe(svsp->dev, PTR_ERR(dev), "failed to get lvts device\n"); @@ -2362,7 +2362,7 @@ static int svs_mt8186_platform_probe(struct svs_platform *svsp) return dev_err_probe(svsp->dev, PTR_ERR(svsp->rst), "cannot get svs reset control\n"); - dev = svs_add_device_link(svsp, "lvts"); + dev = svs_add_device_link(svsp, "thermal-sensor"); if (IS_ERR(dev)) return dev_err_probe(svsp->dev, PTR_ERR(dev), "failed to get lvts device\n"); @@ -2401,7 +2401,7 @@ static int svs_mt8183_platform_probe(struct svs_platform *svsp) struct svs_bank *svsb; u32 idx; - dev = svs_add_device_link(svsp, "thermal"); + dev = svs_add_device_link(svsp, "thermal-sensor"); if (IS_ERR(dev)) return dev_err_probe(svsp->dev, PTR_ERR(dev), "failed to get thermal device\n"); -- 2.42.0