From nobody Thu Nov 14 05:00:26 2024 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B9242C25B6B for ; Wed, 25 Oct 2023 09:39:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234653AbjJYJix (ORCPT ); Wed, 25 Oct 2023 05:38:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234531AbjJYJij (ORCPT ); Wed, 25 Oct 2023 05:38:39 -0400 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 CB2C6A6; Wed, 25 Oct 2023 02:38:37 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (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 B0C646607355; Wed, 25 Oct 2023 10:38:35 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1698226716; bh=NsQGaQMdwBTZeaq0SwfWzI3tFI6jtmckhrCFUwqRGeo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UHMYIB46Ftw7EJBpfdNM8p0aXqcOWBSOPwZp3eNDsWMglGAqfEuxGxWtFIcUYQx7q G+SDggzWZa5cFCOjXIjOzyWsQFwjBqt/tGjbkJZUlN+3Pt78LeH6Oz3EUye03K5p7X lc9zxSZsa6gMeFY6quoUFIQo53aUVMk9tmCzndZ3TIGMjKQXQRvAlq1QuqjHInK8am Q2G6w1Nh3fR/F3JVXrGVuPYB3b2cqfpd0us/XctlrfdZYk43NDQDUHB9Wh6jzcQDXf cR12xaG+hZvdcADRz1obG95zI5pSFNKJt7nbUAgcIZVOBEr/dU8SgHqTtcY3wvKuqO ChDtp1dvlkZmQ== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: hsinyi@chromium.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, angelogioacchino.delregno@collabora.com, erin.lo@mediatek.com, eddie.huang@mediatek.com, pihsun@chromium.org, fparent@baylibre.com, chunfeng.yun@mediatek.com, gregkh@linuxfoundation.org, michael.kao@mediatek.com, mka@chromium.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH 6/8] arm64: dts: mediatek: mt8183-evb: Fix unit_address_vs_reg warning on ntc Date: Wed, 25 Oct 2023 11:38:14 +0200 Message-ID: <20231025093816.44327-7-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231025093816.44327-1-angelogioacchino.delregno@collabora.com> References: <20231025093816.44327-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The NTC is defined as ntc@0 but it doesn't need any address at all. Fix the unit_address_vs_reg warning by dropping the unit address: since the node name has to be generic also fully rename it from ntc@0 to thermal-sensor. Fixes: ff9ea5c62279 ("arm64: dts: mediatek: mt8183-evb: Add node for thermi= stor") Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt8183-evb.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts b/arch/arm64/boot/= dts/mediatek/mt8183-evb.dts index bae9b6763862..681deddffc2a 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts +++ b/arch/arm64/boot/dts/mediatek/mt8183-evb.dts @@ -38,7 +38,7 @@ scp_mem_reserved: memory@50000000 { }; }; =20 - ntc@0 { + thermal-sensor { compatible =3D "murata,ncp03wf104"; pullup-uv =3D <1800000>; pullup-ohm =3D <390000>; --=20 2.42.0