Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp7071243pxb; Thu, 18 Feb 2021 00:02:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJylVs5ixtHdKobUEsF5pO24Hd7DSY6O6ZNh9o+oBeRxHC2GjdqCeKbmb5x2Z5dsAGFLpniU X-Received: by 2002:ac2:488b:: with SMTP id x11mr1857251lfc.644.1613635348313; Thu, 18 Feb 2021 00:02:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613635348; cv=none; d=google.com; s=arc-20160816; b=JgMh7NrxfNjrVUowCM5c3M6jtumP63roXoOG1C8LYbM3y982T5Dwdjiod3AX2CGsvv 88XMoQZ5Tb5ambBh2N4AhXR4uQG2BI8HcnRCD+CazoXDpxyBs6fSw9e+mTA2RmNRPcJJ oVmx9mLVQL5lKs8l8YqvPXPaIgna/y0fBLrbJn2jBoK1vdgc7JI1nSzHaXwmT7GlmLG6 WBLSF8IOCYdwKt5yJMZ1naMJHC+McdRP0PDZAYfhIsGabWcYK5Rwb2PKM+Und0ryx0nR 7F5U3Z7V1Fzq35CtcS6Tt05SX8vWHUImAsPdgyOKexMmGPT2f2uNFQnvv2uFsh1jtA2O KSWQ== 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=LHPolF/4+qgvhOCrefG8j8poOWD/AjdPdfrmSOA9PFI=; b=moD1Pmsw/K7yg00Ie4E0GpOo6p1Ky9mPvgSCfv43iHgyZ5w6lwyPdPNWMX/58jM7Gl kEyK/Lr+TVavX3DS4M34wVnQ0IEn8Nk4VLKqMXTU/4IfWFv1rtlwX/t0PtgeHLLvordV HIVH8g4bb72D+fzUjhNoHWVaI7Znr8MIc/JplyM4nkmG1uGU0fZMKcUpxOeQm5spoTM7 CPn4lVavsiy15pla4Z5NEtNqbjjjDZDQLdLewduM3RWgq6BdzMIUwpsk2KGenvLgeve3 B50+3LXgxssfMM+S9BlrhtcAReoLIsshLp7EVLwYfv/I4lr7bvEOQlqPRKwbVDd2p2VD ORIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iKEgTs4K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y12si3154999ejr.489.2021.02.18.00.02.03; Thu, 18 Feb 2021 00:02:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iKEgTs4K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230474AbhBRIAm (ORCPT + 99 others); Thu, 18 Feb 2021 03:00:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230508AbhBRHKH (ORCPT ); Thu, 18 Feb 2021 02:10:07 -0500 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17C7FC06178B; Wed, 17 Feb 2021 23:07:19 -0800 (PST) Received: by mail-wm1-x329.google.com with SMTP id n10so1955238wmq.0; Wed, 17 Feb 2021 23:07:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LHPolF/4+qgvhOCrefG8j8poOWD/AjdPdfrmSOA9PFI=; b=iKEgTs4KvmS6WMH+blLx9+bK1FXnDu87OF1vTgUBg6RDU0ZXLv95+H3m8F1ftdpa72 H/eU6AM7lM6D00kP5OSMla2fUwIDnTFzLuXg1nW49QmuFqg7wrVlXhbnRp8/oW4GNoEx Uoitle/aItWKJE2Al7lK+b56CBmWM39kGtLaKD9t3bNwJW1Ukk3ZYw4jSGqJPvN8APr+ anjBZmrmo9iXGFOeArjW5PB6M2u/xkqWuLTF/pB7Mczagsctwa+0N+dpCxZZV0lNO8co sINj0a1WlkCR7j5mAI+J6sVpSZ3eIDbyJFwsJtomjLsKQhRuVJyVAkzmfAp7cDfVlHB4 3bRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LHPolF/4+qgvhOCrefG8j8poOWD/AjdPdfrmSOA9PFI=; b=bgROMuR5DcLTwGvzO6pF4DuOx7ppYpzzmz3MXimSpOokGF4OP14iQJ9ZcbE7uxTlzq p6R5IoJCPEkkKeWV0z1iZPM+aQtWcu75dtRt3tOnMXXCuyuRgZw1H+MSRjzKw3yvka0B FdBFhvlOK3lgYVk0tY62suGOi0TB7Uqr+Ljrg7LM5mVccamhxm9q4hmDRQUeBx6zltg/ vTqzewCFAeYn2f2D0eAYiU5ioxFRxD+OS97eDLtVWVloq8pt8mivT4DNH/91W1io26jh RSuQzulKUaiS1tIB54m3Hx1JxzV1YKJMW6kWDhRKWFVMmNjBFhmyDLhmhopWknmO7Ku4 /gVQ== X-Gm-Message-State: AOAM533WJnHRMQ7siuSWIevA0LIryFFNPLRlKcZWEY557f8D4svFDgzQ wPU/L15Xat7JYrrHQnfyPf8= X-Received: by 2002:a1c:7704:: with SMTP id t4mr2228969wmi.76.1613632037823; Wed, 17 Feb 2021 23:07:17 -0800 (PST) Received: from localhost.localdomain (67.red-83-54-30.dynamicip.rima-tde.net. [83.54.30.67]) by smtp.gmail.com with ESMTPSA id 4sm6136555wma.0.2021.02.17.23.07.16 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Feb 2021 23:07:17 -0800 (PST) From: Sergio Paracuellos To: sboyd@kernel.org Cc: robh+dt@kernel.org, john@phrozen.org, tsbogend@alpha.franken.de, gregkh@linuxfoundation.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-mips@vger.kernel.org, devel@driverdev.osuosl.org, neil@brown.name, linux-kernel@vger.kernel.org Subject: [PATCH v9 5/6] staging: mt7621-dts: use valid vendor 'mediatek' instead of invalid 'mtk' Date: Thu, 18 Feb 2021 08:07:08 +0100 Message-Id: <20210218070709.11932-6-sergio.paracuellos@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210218070709.11932-1-sergio.paracuellos@gmail.com> References: <20210218070709.11932-1-sergio.paracuellos@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Vendor listed for mediatek in kernel vendor file 'vendor-prefixes.yaml' contains 'mediatek' as a valid vendor string. Some nodes in the device tree are using an invalid vendor string vfor 'mtk' instead. Fix all of them in dts file. Update also ralink mt7621 related code to properly match new strings. Even there are used in the device tree there are some strings that are not referred anywhere but have been also updated with new vendor name. These are 'mtk,mt7621-wdt', 'mtk,mt7621-nand', 'mtk,mt7621-mc', and 'mtk,mt7621-cpc'. Acked-by: Greg Kroah-Hartman Signed-off-by: Sergio Paracuellos --- arch/mips/ralink/mt7621.c | 6 +++--- drivers/staging/mt7621-dts/mt7621.dtsi | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/mips/ralink/mt7621.c b/arch/mips/ralink/mt7621.c index ca0ac607b0f3..5d74fc1c96ac 100644 --- a/arch/mips/ralink/mt7621.c +++ b/arch/mips/ralink/mt7621.c @@ -112,8 +112,8 @@ phys_addr_t mips_cpc_default_phys_base(void) void __init ralink_of_remap(void) { - rt_sysc_membase = plat_of_remap_node("mtk,mt7621-sysc"); - rt_memc_membase = plat_of_remap_node("mtk,mt7621-memc"); + rt_sysc_membase = plat_of_remap_node("mediatek,mt7621-sysc"); + rt_memc_membase = plat_of_remap_node("mediatek,mt7621-memc"); if (!rt_sysc_membase || !rt_memc_membase) panic("Failed to remap core resources"); @@ -181,7 +181,7 @@ void prom_soc_init(struct ralink_soc_info *soc_info) if (n0 == MT7621_CHIP_NAME0 && n1 == MT7621_CHIP_NAME1) { name = "MT7621"; - soc_info->compatible = "mtk,mt7621-soc"; + soc_info->compatible = "mediatek,mt7621-soc"; } else { panic("mt7621: unknown SoC, n0:%08x n1:%08x\n", n0, n1); } diff --git a/drivers/staging/mt7621-dts/mt7621.dtsi b/drivers/staging/mt7621-dts/mt7621.dtsi index 11d1670d4339..55784dd48dc5 100644 --- a/drivers/staging/mt7621-dts/mt7621.dtsi +++ b/drivers/staging/mt7621-dts/mt7621.dtsi @@ -56,7 +56,7 @@ palmbus: palmbus@1E000000 { #size-cells = <1>; sysc: sysc@0 { - compatible = "mtk,mt7621-sysc", "syscon"; + compatible = "mediatek,mt7621-sysc", "syscon"; reg = <0x0 0x100>; }; @@ -71,7 +71,7 @@ pll: pll { }; wdt: wdt@100 { - compatible = "mtk,mt7621-wdt"; + compatible = "mediatek,mt7621-wdt"; reg = <0x100 0x100>; }; @@ -128,17 +128,17 @@ i2s: i2s@a00 { }; memc: memc@5000 { - compatible = "mtk,mt7621-memc", "syscon"; + compatible = "mediatek,mt7621-memc", "syscon"; reg = <0x5000 0x1000>; }; cpc: cpc@1fbf0000 { - compatible = "mtk,mt7621-cpc"; + compatible = "mediatek,mt7621-cpc"; reg = <0x1fbf0000 0x8000>; }; mc: mc@1fbf8000 { - compatible = "mtk,mt7621-mc"; + compatible = "mediatek,mt7621-mc"; reg = <0x1fbf8000 0x8000>; }; @@ -366,7 +366,7 @@ timer { nand: nand@1e003000 { status = "disabled"; - compatible = "mtk,mt7621-nand"; + compatible = "mediatek,mt7621-nand"; bank-width = <2>; reg = <0x1e003000 0x800 0x1e003800 0x800>; -- 2.25.1