Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp394368rdb; Fri, 17 Nov 2023 01:43:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IHpJnxBVj+UE4jMbIX/n+HSbl3gRC5CPxVQv6qgQ+PLMFC6EEc5mHZEFsR5MD76MGO24WFp X-Received: by 2002:a17:902:a407:b0:1c0:bcbc:d5d with SMTP id p7-20020a170902a40700b001c0bcbc0d5dmr10699224plq.61.1700214185046; Fri, 17 Nov 2023 01:43:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700214185; cv=none; d=google.com; s=arc-20160816; b=HGrdZWMKp+ZyfGDoTbNVhVy3H3YBjE3J4vRyvUCJPM/jcvSjU0B7GrcWd5wgg0t5OF opOOFzbBDbS3zh0hCOBmLeFHv4rkfbZUhXQehJh62dISKqlR0AOcRky03PaO4hqRUT46 Ex3cp5yyG9bGnyRn1vV6TrbMwfzgziJ5cZdBGAgwRm6SK53L5aPOdaU5A2O96/LYXfQD UADUk6qzNcqK581DRpu7osjTts6EGjXYnv3g0JBgsLgV0UO66dRFeIrpZshoNpW3XvL5 4aDxbNpVYXCbTR/TZQvPtCqsT3GODCEt4R3YF1T3we0wrGEa0EKbGRn78fwLcrxAwvNv MYHw== 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=a6bVKBZ2gZ0F6jTVW0u/01xz9jZ+SfbWPBp1nUmwfhelUMwijrWcYEMfNZGj9Yv3vo MSbEug+e3e6rVD7f0ZgCAVxAS/Xa+tadk0/9hXvFYQjD58h5ZpRB6+yjRcbiFDWtHRhD +fTtfJO59BBrDjBj0xG/MyDUJH3D477mtfeuEfbgmUnUbFCh2ILd1qj9ra+OKPqgk2x0 vomHYqUrKpMUBJLyZzxeLIw9KC8+HNeNq+qZbe+Rr+tno9n1heAcUqpqM5O0dK7LX3eu AsGVrXiINIAHo5nLOIsl1/37tFl3xJeWh89RINZWGe904Mt7WYxxQWSLw8CQdnB+jo1r DnMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=eVFWoUzO; 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 c15-20020a170902d48f00b001c77e00809csi1528338plg.453.2023.11.17.01.43.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 01:43:05 -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=eVFWoUzO; 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 8312A802B04D; Fri, 17 Nov 2023 01:43:03 -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 S1345811AbjKQJm4 (ORCPT + 99 others); Fri, 17 Nov 2023 04:42:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37112 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345756AbjKQJmp (ORCPT ); Fri, 17 Nov 2023 04:42:45 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6FAED55; Fri, 17 Nov 2023 01:42:41 -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 0208E6607391; Fri, 17 Nov 2023 09:42:39 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1700214160; bh=rbMxFG/9Z/MvXIMSXdH+Z5ELUWvpXJ2G/c2LivRCtOk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eVFWoUzOXZr4H+juAJEoPTf4ZGB08ZSPMBuwTFuZ+A5pSu3MCGKtR+lh2o9UbzqjG a8ydzzyYQpuwzB8i8M4s2PtpMdABFXM+ptN5nqKz2HbFeD3GbOvgHabVKcmP4+dFxF npCKp02xfgZ9uzohc9u6+sfpxjjeN1g1mKEXhAa64E23TNVsT0wHBpPxnw0AFVoSGH e2oqjfOz4Bwct8apmMbpm2VCVNj6qPE6NZg4iA4APOGVx+NTUkz/nq6Ug/sjyETVQg 4oGJ8DX8FUQXU9jCXOg88lUiefu/DVibLyI9+YBtjg4wdL3OqMWa2GyAoJosSoFwWb /iFC7xYMQFSTg== 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 v1 06/20] soc: mediatek: mtk-svs: Change the thermal sensor device name Date: Fri, 17 Nov 2023 10:42:14 +0100 Message-ID: <20231117094228.40013-7-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231117094228.40013-1-angelogioacchino.delregno@collabora.com> References: <20231117094228.40013-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,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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]); Fri, 17 Nov 2023 01:43:03 -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