From patchwork Tue Oct 1 11:27:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fei Shao X-Patchwork-Id: 13817900 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8CC24CE7D10 for ; Tue, 1 Oct 2024 11:46:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=T7arz2GOR4HIAXAfbaFzx9rN3NGNRkgqXFpAbKN4p48=; b=UyAjFfv9C5t9nVUxmxK9kx1BAO xomaNiptm4bXFCNSLOazOtrResXyEiakPIQ+uw+ElH5Rl+ECYvoPstbjNAh1lKG53MaLr3DnTNlnE OINstbcDl+qq241fxNZe9CpOcOeFW1X/8PcgNjTf6bPqQhgWh+Bd5a5GQFoVSKe0ze5uPSJB4Fn3w YdnUdti8DD69lsUHceKXNq5IvnMKv4TLq2rYVXDExNCGA9YpKOs53yfzS32tlFZHWFmzlgkq+JtSS Z7R7f8cDia8T0l0ac5Kt7ujryUqpdkBQVtfB+ELln7iSfgV+YJyuocvgHVccKEiruYlat+HbiBpL+ v6PJy4Fg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1svbKc-00000002Zcv-0w4A; Tue, 01 Oct 2024 11:46:18 +0000 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1svb6O-00000002WPu-2Pn1 for linux-arm-kernel@lists.infradead.org; Tue, 01 Oct 2024 11:31:38 +0000 Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-7db908c9c83so3341891a12.2 for ; Tue, 01 Oct 2024 04:31:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1727782295; x=1728387095; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=T7arz2GOR4HIAXAfbaFzx9rN3NGNRkgqXFpAbKN4p48=; b=ZIjlw9zDYm9tmj8H5dr487hj+HOPOpy+EeyplrbXTTpH3ShHRlzXhvqVz526H5pNXW NjJoUfF8T2OPB84BG+/jVxbGn7BxnzIXfe7x85oUnR2OubruzL1rDfmtUQ42TjgiE0sr KhlqFe888PcJPcX7acxUCCJbHOopeHXhwXoFE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727782295; x=1728387095; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=T7arz2GOR4HIAXAfbaFzx9rN3NGNRkgqXFpAbKN4p48=; b=Rfe7V1KIw4EySTdgyytdGn246lHbYvE+yRUTGCLZX/ianNAFz4Z8be2HfbeHLkQiup 8UhMe+BFMdHN5+efIZSSdw1IPAnUXTpOCpqf7TZlOedrPXw6cqbUINTCcnuFcSY+5vxG DRldV8utyVTzW2Bu7RgRU79YJQOQVdvnCJI76d02ND1yOdchiAmTfLX7ji+tz3Zl0oCJ zm7/ezGUuHpesS3z5zOeCvVPBv1JWFOLOiCWOk80xBNwbQBwiNe0nQl9wVl/DMdEk2IF Jr7ecavguW0INVwf2PNBWarUn01TU9NHDl6av0aE6z6DAWbbwTL/9KeStEbhoEq7jaQx sHxQ== X-Forwarded-Encrypted: i=1; AJvYcCVLf+hh81hhROkHQVjashNUJ8Yo2qKdnnqNRihXkdgLhrLVUXUNKk1eLtETlFEsmeuNVz0n+R4FKmhHG2TfYsmD@lists.infradead.org X-Gm-Message-State: AOJu0YzWUHVVBQIh1NNLxqrGaLs8eL825cm0X2Cxp3nthgvf5/fKtKSv CgQo2x3KrDr3QqnHyKgPj+KqJCBYvnjLtqmLN9kfv1uCOEBbjST3jAscV7NT+A== X-Google-Smtp-Source: AGHT+IHdeJ+m2YdxFmcKkDEUnn9huq/Q65T1UQKcTtMSHmlkaYTIq2vIz4YB7usbL5TVj+ABMTIHsA== X-Received: by 2002:a05:6300:668c:b0:1d2:ba9c:6d9f with SMTP id adf61e73a8af0-1d4fa69ed6amr22343842637.17.1727782295442; Tue, 01 Oct 2024 04:31:35 -0700 (PDT) Received: from fshao-p620.tpe.corp.google.com ([2401:fa00:1:10:e044:f156:126b:d5c6]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71b264b63d9sm7810646b3a.52.2024.10.01.04.31.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2024 04:31:35 -0700 (PDT) From: Fei Shao To: AngeloGioacchino Del Regno Cc: Fei Shao , Conor Dooley , Krzysztof Kozlowski , Matthias Brugger , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 6/8] arm64: dts: mediatek: mt8188: Update vppsys node names to syscon Date: Tue, 1 Oct 2024 19:27:24 +0800 Message-ID: <20241001113052.3124869-7-fshao@chromium.org> X-Mailer: git-send-email 2.46.1.824.gd892dcdcdd-goog In-Reply-To: <20241001113052.3124869-1-fshao@chromium.org> References: <20241001113052.3124869-1-fshao@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241001_043136_656312_6E971E72 X-CRM114-Status: GOOD ( 13.47 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The MediaTek mmsys is more than just a clock controller; it's a system controller. In addition to clock controls, it provides display pipeline routing controls and other miscellaneous control registers. On the MT8188 and MT8195 SoCs, the mmsys blocks utilize the same mmsys driver but have been aliased to "vdosys" and "vppsys", likely to better represent their actual functionality. Update the vppsys node names and compatibles in MT8188 DT to reflect that and fix dtbs_check errors against mediatek/mt8188-evb.dtb. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Fei Shao --- (no changes since v1) arch/arm64/boot/dts/mediatek/mt8188.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8188.dtsi b/arch/arm64/boot/dts/mediatek/mt8188.dtsi index 69390da9cfe0..790315c1bdb3 100644 --- a/arch/arm64/boot/dts/mediatek/mt8188.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8188.dtsi @@ -1779,8 +1779,8 @@ mfgcfg: clock-controller@13fbf000 { #clock-cells = <1>; }; - vppsys0: clock-controller@14000000 { - compatible = "mediatek,mt8188-vppsys0"; + vppsys0: syscon@14000000 { + compatible = "mediatek,mt8188-vppsys0", "syscon"; reg = <0 0x14000000 0 0x1000>; #clock-cells = <1>; }; @@ -1797,8 +1797,8 @@ wpesys_vpp0: clock-controller@14e02000 { #clock-cells = <1>; }; - vppsys1: clock-controller@14f00000 { - compatible = "mediatek,mt8188-vppsys1"; + vppsys1: syscon@14f00000 { + compatible = "mediatek,mt8188-vppsys1", "syscon"; reg = <0 0x14f00000 0 0x1000>; #clock-cells = <1>; };