Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6404773rdb; Thu, 14 Dec 2023 18:36:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IGTPQpxs0f6DNpFP/+DCDscTXm9y7XGj/g5MnnmnMQRbkgl0RU5HUkje00yusCMYh4j4wKX X-Received: by 2002:a05:600c:3589:b0:40c:34f9:d708 with SMTP id p9-20020a05600c358900b0040c34f9d708mr3915421wmq.83.1702607764496; Thu, 14 Dec 2023 18:36:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702607764; cv=none; d=google.com; s=arc-20160816; b=Qik0gQuAK1qxcJVk8lZVozFuj8AQ1YTrkchKT04/pK7szntLcR9nAjaRwXBvMQBe0k FVUpdq7s5neoxDDDgZm6Wtpkh7nRasFNZ+txOMTt+Et3YKX66XlVOsbz7hqEghaJ7msp 44k2mbkQrELm2PXjMYJHJCoYnsx6mE2/gLiGVhF6Ksj3QC6ircVyIsF/n5TFRcLiUTPP QPK129pD6SsGrIeiHTTNp2WPGS/OF5B0awX8M9IXdn+rImeiLlPBifRqwsgSFpK6+mfI 6sLOjHtmRKMeqH7VAcyeFvAdFih8xVKiqlSTB2mP2zsRbaWXntZ6Tm836r75HtTNQpqY 1p5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=PCgeOvRb6HG52ZNdXQ5z0L9bAUM2zdPsnkmdDHpnW5w=; fh=Jivxhtp48v6z3QiPEyaOeCtiL1o7js2Nm6iQhVFoVlw=; b=z7T9BT80c6V78VSJUEYwigUpkWSZIETsc3Kf6MjwHF7k+N3qxzHPCxnjtiGayNo7my vpzkTdJRua6sqvJBNC9zg76g5nw7xl59XXvzkUpEHiOahq8jLQqGCrKId93EFEybO9Hv JCnwUgSwNsE88dQcp/CSAOM9ePbf3UblxFFN0ukkQOwVQs3O6DoKRh4VuzGa3CvdWdMS f+SE6LyppA9DjT0H3ZivL7igK3MTAyHjo1RTYuaCgRJr43yu1yUAx2iaHZbeKJChSMw+ zGMT+BVFRpBpYmMXxSO4b949SJTNuB/1pLU3TugTcZr9FpxnDkmByVk0tyc6dMNS8hbF j92Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=I20kg2nt; spf=pass (google.com: domain of linux-kernel+bounces-349-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-349-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id y14-20020a17090668ce00b00a22fd9ce31fsi2044652ejr.489.2023.12.14.18.36.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 18:36:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-349-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=I20kg2nt; spf=pass (google.com: domain of linux-kernel+bounces-349-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-349-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 419A31F22BA0 for ; Fri, 15 Dec 2023 02:36:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B9AF7EBB; Fri, 15 Dec 2023 02:35:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="I20kg2nt" X-Original-To: linux-kernel@vger.kernel.org Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1AA84A2C for ; Fri, 15 Dec 2023 02:35:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mediatek.com X-UUID: a8f001d89af211eeba30773df0976c77-20231215 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=PCgeOvRb6HG52ZNdXQ5z0L9bAUM2zdPsnkmdDHpnW5w=; b=I20kg2ntpE6m/CRJX+J8wOPWd7YvJihRXcz/bKlt6QRm8vFoNK4HZSnEkoYvYH7R+s/s1zdRjn7/DBEC45AZdDfFKsHEaRlYyIZIZzmrXtCegXKbXTpuUeO+P9N73mX2FHMjhc13Frn5vauzQfkbc1SUBOhn7J095uuuqqvUXZg=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.35,REQID:ff638f4b-69ed-4201-8de4-8535108f0d2c,IP:0,U RL:0,TC:0,Content:38,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:38 X-CID-META: VersionHash:5d391d7,CLOUDID:3ab032bd-2ac7-4da2-9f94-677a477649d9,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:3,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES:1,SPR:NO, DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0,NGT X-CID-BAS: 0,NGT,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-UUID: a8f001d89af211eeba30773df0976c77-20231215 Received: from mtkmbs13n2.mediatek.inc [(172.21.101.108)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 787690928; Fri, 15 Dec 2023 10:35:50 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.185) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Fri, 15 Dec 2023 10:35:48 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Fri, 15 Dec 2023 10:35:48 +0800 From: Jason-JH.Lin To: Jassi Brar , Chun-Kuang Hu , AngeloGioacchino Del Regno CC: Matthias Brugger , , , , , Jeffrey Kardatzke , Jason-ch Chen , "Johnson Wang" , "Jason-JH . Lin" , Singo Chang , "Nancy Lin" , Shawn Sung Subject: [PATCH 1/2] mailbox: mtk-cmdq: Sort cmdq platform data by compatible name Date: Fri, 15 Dec 2023 10:35:45 +0800 Message-ID: <20231215023546.6594-2-jason-jh.lin@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20231215023546.6594-1-jason-jh.lin@mediatek.com> References: <20231215023546.6594-1-jason-jh.lin@mediatek.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-Product-Ver: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-AS-Result: No-10--1.584800-8.000000 X-TMASE-MatchedRID: L2v4vcuOsZVZu9hLABfNkAPZZctd3P4B7f6JAS2hKPgWSEXGM06qpaPF jJEFr+olwXCBO/GKkVr3FLeZXNZS4IzHo47z5Aa+lgSG+spk3w9Q+JIYiI4PYNtL0IhTgIOeOq+ kkO0fZhEwklhWf+km1PLnEo5QIi8g59aBrH1Sfe9t7R3YkHuq5gxtAkJv798AeZUpm6wun3ba/0 6NhYDa4wyzCDjlUx89p2y3mIB+it9WXGvUUmKP2w== X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--1.584800-8.000000 X-TMASE-Version: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-SNTS-SMTP: A80F0F3F31302333987C850B4A5C5C48C984EFA17D0BD0E07EA5E1F345BDBD5C2000:8 X-MTK: N Sort cmdq platform data according to the number sequence of compatible names. Signed-off-by: Jason-JH.Lin --- drivers/mailbox/mtk-cmdq-mailbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mailbox/mtk-cmdq-mailbox.c b/drivers/mailbox/mtk-cmdq-mailbox.c index de862e9137d5..76e5f762628c 100644 --- a/drivers/mailbox/mtk-cmdq-mailbox.c +++ b/drivers/mailbox/mtk-cmdq-mailbox.c @@ -750,10 +750,10 @@ static const struct gce_plat gce_plat_v7 = { }; static const struct of_device_id cmdq_of_ids[] = { + {.compatible = "mediatek,mt6779-gce", .data = (void *)&gce_plat_v4}, {.compatible = "mediatek,mt8173-gce", .data = (void *)&gce_plat_v2}, {.compatible = "mediatek,mt8183-gce", .data = (void *)&gce_plat_v3}, {.compatible = "mediatek,mt8186-gce", .data = (void *)&gce_plat_v7}, - {.compatible = "mediatek,mt6779-gce", .data = (void *)&gce_plat_v4}, {.compatible = "mediatek,mt8192-gce", .data = (void *)&gce_plat_v5}, {.compatible = "mediatek,mt8195-gce", .data = (void *)&gce_plat_v6}, {} -- 2.18.0