From patchwork Tue Feb 13 14:46:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 200458 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp584743dyb; Tue, 13 Feb 2024 06:46:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IHfWLgT8qlsJihUpU5+IOvhXG7UmuSOnQ6yghi0Y5WTkZmoCiV1UemRQcy4Y4IK9LhCsWGv X-Received: by 2002:a17:903:11cf:b0:1d9:9a90:cbe3 with SMTP id q15-20020a17090311cf00b001d99a90cbe3mr10317842plh.43.1707835616700; Tue, 13 Feb 2024 06:46:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707835616; cv=pass; d=google.com; s=arc-20160816; b=XvXnkRhaam58enAoJTfkSLOJ2eqMPWaBVA1YwmtZ2X/2bNJKksy4ekp3x8JSG4zfSh xXgBxU/2/XJN1muP60huJH+Kgz3kFFvnEIMyz8xhirxRa2TpAq/pYCbkNmXRE83XCOI6 bLUZaWd4CI6WBow8lGOANLfN/Rdgj6FavZZFXmauXaMxc/24Q3Y/ib3nPpKW6/hwQ9c/ pwmhFAndXegmIZRrggFH8QhrmPItgwTR1ZFLQOYHzAaOQGNbii0BAjwNTr5827WD6sh/ i2qhF9L40/207eOe7XgcqmxsHg/LcMwKJOjX254PHByxbNJbmmq1wlWdRgguQ5cR18CA yJNA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=XJGFFpyBzNQW6CoIQ52XwyrDz+SQ9l0tl8UYT3Gzx48=; fh=V7jU8NcCYVlFzneq+lKzS5pPXVpWsp1O8vmG4TURbRE=; b=schAnt331+5nWVPTm6+2QAuthf/DAwzVsvVfw13kAT+vh+QyDKtElsmu97sTon7GzN qayzm0VMoboCjIjOFU2q41SZHJPoW7IurxP7BaCnK8r+GGum56JY/9qp7oQsLiyqiaMO Se2oE0+tDhFZlSNaQR3Tdy9tis4kdOjBgvPa6CzeiTuONbqZTo25zToljPTKSXfmvoyv OgiySaxIV1CWwFwX761EFe3/GsvsNCzOBKjquILExJriqyeSS4z74VkZzSaTuv3wrLR3 GWBnSu3QGtPpnfC5//TUZGukAAKYdOex0d3MTW2OfPPdpEIotX+GDkeJcq1+uEasvvla su1w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lF4rLZMM; 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-63708-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63708-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCU+4rZE+yz/3AYG8legQvNjy4WDpaKJstBYwcmMMMalbF/S1D3Vhk6cQLUzHjop0h6oHOSrjBskXuRF2Ta5CnCZzGmkFg== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id iz17-20020a170902ef9100b001d9f4b79b52si2037343plb.645.2024.02.13.06.46.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 06:46:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63708-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lF4rLZMM; 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-63708-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63708-ouuuleilei=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 6541A28C391 for ; Tue, 13 Feb 2024 14:46:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DB8B258105; Tue, 13 Feb 2024 14:46:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="lF4rLZMM" Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) (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 758381DFEF for ; Tue, 13 Feb 2024 14:46:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707835593; cv=none; b=ENQqzmv76DqX8IPVmfUjhiuaPrVgVdcbwU6I0e9QbGDZlTgRo6lyZfOWTlkzfq+j4Z0PTp0qgYhJimFma0ipyZF7I4GHvno1HmmP7Hn8FrL7LrA8qOED4RtMkv92HH/jZXOAPaZBtsznoZOMdMd1k3CaLi0rKHxB/owXYIY0WgI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707835593; c=relaxed/simple; bh=ePaWWo0X1KJfDvze9zIfhVaXyroDIwjH96sUmRPDFcI=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=SEVdOqsTgvXHhBTR01yJTR/EdqkzDjPdABiDrpkRQVENXumt6yf+UpfzRMxZmLLi4ICk9Apcq6zWrzCTvRYJXU4tY2+/MtVJ334jSX93SIYdDR8x9/3WJ0WbxzSYWuk0SRl42XlCRJOOAQdhXDF90+KYKRciaT5blpz/Hw7Mz8g= 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=lF4rLZMM; arc=none smtp.client-ip=209.85.208.180 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-lj1-f180.google.com with SMTP id 38308e7fff4ca-2d0fd07ba8bso23480901fa.1 for ; Tue, 13 Feb 2024 06:46:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707835589; x=1708440389; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=XJGFFpyBzNQW6CoIQ52XwyrDz+SQ9l0tl8UYT3Gzx48=; b=lF4rLZMMotL05HK/lIHwgmLqafb+EjPARb+hVByLbxlUyGs9tFxzt4ZJQrnBz05y/a 1zbOm07UEXPxQTilcECxm+Mr3yy7Mda/KUO62Khe+JMmnfveNT/8a55XClvry0BAwwE5 agUjQqJ7TObzkOiMUpqpZA2kszXEAkzPI7qZsWwCU/ZyTH9JUl2m8m+qLtXxTprZYMKA V6zcVrHK7Q0h4bR9iRmVS3um8ztGQp7WnHtmdzdJb7w4UzbmPUNRoem9tJgcsShQSBsV TlkfIAyVbi1tQKvV60b/ltTNS+NSxmWk9vA+/UrtErhYfo/aZe2Iev9IF/A1JpBxh9s+ 2Kzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707835589; x=1708440389; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XJGFFpyBzNQW6CoIQ52XwyrDz+SQ9l0tl8UYT3Gzx48=; b=LQ2u8Ykgw1gWCErlOnUM7XgVj1qIneOJ6ZgzkxZ5oOhbhwHkV3cfeFAtw1HfRgFilS h5xLzZL4zdkqFFVMhv1XSRb1PsWV39ZMB0LjiBUdaedvsux2gHIvxnWt1cbJ1JXhASSC DnNAuQ4kP7N/QZr1qkCNotvalOMvnU5u5tCrmbX/Ofq7h0muE/zmNkgYglkwIBOFsrDA gPgj5wfawFdMrurYEYVh6h7+UpUif6UVrKwLcX3xhQcAj26HQ3LZJ20YVzALNWfoIEnE YHkuhsoUToq7fUaI6AwdPxh32k/1DV9QxI7TKoxmBIc7Mw8pWsV/5INfrixqB6IDe7jo FDcA== X-Gm-Message-State: AOJu0YxVAvvNeIvNn1LcNLXezbhHvxdM3R6sPmhYOEKOc8k8kHIW6mSa c0S/t9ofUzojHZjqTtkTSwdlWeZd+ry9L8lQhhS6Bj+xCTMOwV50b1XRzYUet7M= X-Received: by 2002:a2e:914b:0:b0:2d0:d9a7:60cc with SMTP id q11-20020a2e914b000000b002d0d9a760ccmr6422089ljg.23.1707835589451; Tue, 13 Feb 2024 06:46:29 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUXNgKlR75DDD6TXU3t0ao6cBbnfYFC/+/yWc/VQtkfrF2Lj9aC51pV9x9IWGa1qCZNvizFnKhbERMVrpU1dvsARq0MuCGrqCMYx56x7evXBgVoOCEcDA4bVl1ydWeq4td8mezqK5JVg5sTZDSj5t/Q7GqkBUV9DrW9YtG5D/ZbLOaQYbaOX4kvNiQfXnJLxw6hfnQCY0iQRmVZBaAvyMVWWvy9Wuqm4o+a2iTdEyNKonMCN+a8M7CKV8Y9Or+E4YdmMH/8iJrAKWQ+HpGj1ZFM00Slxg+2uEig59r0HzGADj3EgQB/q/vuEiLairj19JdrzawqOC1acivgyPCAeRjjSWGIMX5mtLw= Received: from krzk-bin.. ([178.197.223.6]) by smtp.gmail.com with ESMTPSA id bg10-20020a05600c3c8a00b0040fd3121c4asm12054253wmb.46.2024.02.13.06.46.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 06:46:29 -0800 (PST) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [PATCH] arm64: dts: mediatek: replace underscores in node names Date: Tue, 13 Feb 2024 15:46:26 +0100 Message-Id: <20240213144626.341463-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790795439621226691 X-GMAIL-MSGID: 1790795439621226691 Underscores should not be used in node names (dtc with W=2 warns about them), so replace them with hyphens. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 2 +- arch/arm64/boot/dts/mediatek/mt6797.dtsi | 8 ++++---- .../dts/mediatek/mt7986a-bananapi-bpi-r3-nand.dtso | 2 +- arch/arm64/boot/dts/mediatek/mt8173-elm-hana-rev7.dts | 2 +- arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 2 +- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 10 +++++----- arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts | 2 +- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 2 +- 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi index ed1a9d319415..6d218caa198c 100644 --- a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi @@ -261,7 +261,7 @@ pericfg: syscon@10003000 { #clock-cells = <1>; }; - syscfg_pctl_a: syscfg_pctl_a@10005000 { + syscfg_pctl_a: syscon@10005000 { compatible = "mediatek,mt2712-pctl-a-syscfg", "syscon"; reg = <0 0x10005000 0 0x1000>; }; diff --git a/arch/arm64/boot/dts/mediatek/mt6797.dtsi b/arch/arm64/boot/dts/mediatek/mt6797.dtsi index c3677d77e0a4..0e9d11b4585b 100644 --- a/arch/arm64/boot/dts/mediatek/mt6797.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt6797.dtsi @@ -117,7 +117,7 @@ topckgen: topckgen@10000000 { #clock-cells = <1>; }; - infrasys: infracfg_ao@10001000 { + infrasys: syscon@10001000 { compatible = "mediatek,mt6797-infracfg", "syscon"; reg = <0 0x10001000 0 0x1000>; #clock-cells = <1>; @@ -452,19 +452,19 @@ mmsys: syscon@14000000 { #clock-cells = <1>; }; - imgsys: imgsys_config@15000000 { + imgsys: syscon@15000000 { compatible = "mediatek,mt6797-imgsys", "syscon"; reg = <0 0x15000000 0 0x1000>; #clock-cells = <1>; }; - vdecsys: vdec_gcon@16000000 { + vdecsys: syscon@16000000 { compatible = "mediatek,mt6797-vdecsys", "syscon"; reg = <0 0x16000000 0 0x10000>; #clock-cells = <1>; }; - vencsys: venc_gcon@17000000 { + vencsys: syscon@17000000 { compatible = "mediatek,mt6797-vencsys", "syscon"; reg = <0 0x17000000 0 0x1000>; #clock-cells = <1>; diff --git a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nand.dtso b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nand.dtso index 543c13385d6e..7b97c5c91bd0 100644 --- a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nand.dtso +++ b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-nand.dtso @@ -15,7 +15,7 @@ fragment@0 { __overlay__ { #address-cells = <1>; #size-cells = <0>; - spi_nand: spi_nand@0 { + spi_nand: flash@0 { compatible = "spi-nand"; reg = <0>; spi-max-frequency = <10000000>; diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm-hana-rev7.dts b/arch/arm64/boot/dts/mediatek/mt8173-elm-hana-rev7.dts index 256f245ac01d..1c9fc791bdfc 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173-elm-hana-rev7.dts +++ b/arch/arm64/boot/dts/mediatek/mt8173-elm-hana-rev7.dts @@ -14,7 +14,7 @@ / { &cpu_thermal { trips { - cpu_crit: cpu_crit0 { + cpu_crit: cpu-crit0 { temperature = <100000>; type = "critical"; }; diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi index 335aed42dc9e..6d962d437e02 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi @@ -1135,7 +1135,7 @@ rtc: mt6397rtc { compatible = "mediatek,mt6397-rtc"; }; - syscfg_pctl_pmic: syscfg_pctl_pmic@c000 { + syscfg_pctl_pmic: syscon@c000 { compatible = "mediatek,mt6397-pctl-pmic-syscfg", "syscon"; reg = <0 0x0000c000 0 0x0108>; diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index fe572a2f8f79..3458be7f7f61 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi @@ -222,14 +222,14 @@ CPU_SLEEP_0: cpu-sleep-0 { }; }; - pmu_a53 { + pmu-a53 { compatible = "arm,cortex-a53-pmu"; interrupts = , ; interrupt-affinity = <&cpu0>, <&cpu1>; }; - pmu_a72 { + pmu-a72 { compatible = "arm,cortex-a72-pmu"; interrupts = , ; @@ -286,7 +286,7 @@ target: trip-point1 { type = "passive"; }; - cpu_crit: cpu_crit0 { + cpu_crit: cpu-crit0 { temperature = <115000>; hysteresis = <2000>; type = "critical"; @@ -318,7 +318,7 @@ reserved-memory { #address-cells = <2>; #size-cells = <2>; ranges; - vpu_dma_reserved: vpu_dma_mem_region@b7000000 { + vpu_dma_reserved: vpu-dma-mem@b7000000 { compatible = "shared-dma-pool"; reg = <0 0xb7000000 0 0x500000>; alignment = <0x1000>; @@ -366,7 +366,7 @@ pericfg: power-controller@10003000 { #reset-cells = <1>; }; - syscfg_pctl_a: syscfg_pctl_a@10005000 { + syscfg_pctl_a: syscon@10005000 { compatible = "mediatek,mt8173-pctl-a-syscfg", "syscon"; reg = <0 0x10005000 0 0x1000>; }; diff --git a/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts b/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts index 76449b4cf236..333c516af490 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts +++ b/arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts @@ -33,7 +33,7 @@ reserved-memory { #size-cells = <2>; ranges; - scp_mem_reserved: scp_mem_region@50000000 { + scp_mem_reserved: scp-mem@50000000 { compatible = "shared-dma-pool"; reg = <0 0x50000000 0 0x2900000>; no-map; diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index cdc8d86cb432..93dfbf130231 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -1964,7 +1964,7 @@ larb4: larb@17010000 { power-domains = <&spm MT8183_POWER_DOMAIN_VENC>; }; - venc_jpg: venc_jpg@17030000 { + venc_jpg: jpeg-encoder@17030000 { compatible = "mediatek,mt8183-jpgenc", "mediatek,mtk-jpgenc"; reg = <0 0x17030000 0 0x1000>; interrupts = ;