Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2470555rdb; Fri, 8 Dec 2023 09:02:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IHnWj9/gN2p9hGRf+o5idvmlsx/cVczj9B4+iP2PNlQbKkPMG1kAo1VG2t9cbfmAZTyqQG6 X-Received: by 2002:a17:902:e808:b0:1d0:826b:d87a with SMTP id u8-20020a170902e80800b001d0826bd87amr341864plg.7.1702054969231; Fri, 08 Dec 2023 09:02:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702054969; cv=none; d=google.com; s=arc-20160816; b=OCr8n9pWQhvMt7YZMqRHdVwh11twRxY0/emhjkOCz4W6XkW+JHMXdGSfse+EZOpnwe bD+3JHiS5EN/jPNmdsYw6gYhjtNI76PUiXHm5eB4mzSf2pJknVxVmqcTGtCrvx9is4SE pA1UYeMuRJ270EK2F+ahwaO75J/yHBuhdUX1qSYuP8vFFZOtBbq71lrH4GMFT6BdvZ3S j8rJFsrl5/Fv+CWiOa1+jQfVVHiAF+AO4o1dfBchYuX0mZRRx4mIY8K3WOqtjkt/2vJS aLKKOioBH2ckuiEf1VGmVkNiuABRTSSo9XMI96Z2//+WZfahfFpsc8eb+Zq03Vi83HBc Ejtw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=fvroA6gACi5t9eLJxjKK9EQqF0jVYmA2Brf5HOO8V7g=; fh=FfLfpQzz2fJwb8Yb08QFTUnxZacmTOe1WhX2Sdd4m70=; b=gY8YBbnrECTFlSfdBebD/IvJ+GCwR8sr+ZzU7gzBXLjfxC2UBv6YxxrJTZ/RrhVrkX YaH36o0gmtSKPZ4GZfsKMAUDSr+2eKwoY4ZVgDsYjweyhxBNRbfnp5NDjsV1Phy+N20F ZI6sTTmPAOSAWif05z09rf8/XCWIOyKG3Yq5eOe6aqbCFNfWfJRxFTXpz5Bn1c/91yrr Rca1O/z6XNoHL8X+3Z7pBMNDu08VOrpf1jCz84rZz/iPKQmmQ+1B2OVwBRBtdWMeiAA/ rEkDYNu8jLk5XY5AqQm88QyU7qR/525kXQ37K5i5IGRi+yF3EEx6/lFbxCX+Oqua7mpp MOBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=Vr1k8hWd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id o34-20020a635d62000000b005c2135c5018si1860280pgm.571.2023.12.08.09.02.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 09:02:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=Vr1k8hWd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 7B3B18260F4F; Fri, 8 Dec 2023 09:02:46 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233703AbjLHRCc (ORCPT + 99 others); Fri, 8 Dec 2023 12:02:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233485AbjLHRCb (ORCPT ); Fri, 8 Dec 2023 12:02:31 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19A45BA for ; Fri, 8 Dec 2023 09:02:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1702054958; x=1733590958; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Mh27JQlOb6arH7PgW+Gp1KbuEg/QqrNfpjle10/O130=; b=Vr1k8hWdENiTey62ZPpPIf2LdU2k0sA+0bSiAGjcHkTZPyrG1kdHfZ+M GcENdvJ94gFTLvE987anBDdP96/F70u9dE3Od3fXqo8N7eYr/1HmrYWVG z/S6SITEzG8ofFoHiRXWjwCAV2aHsu1UuQDzoIqZC9MGTlnB1RzORS52l za0FdFxgg6RH9lPfsi7+vJTj+nyhuEx22/4VkWcMJCxTTLWOeqQ8/sCgr oadT/GZQvFOdLPEJpBajIkaqiaOkrX5EyAofn9TXFsDRo0DvChO5jliUn bmkHq3QoWJslRPqtf6Shq4TwIvc/QsSs0tI5T/JYqhTaGnxutY8jSLH4E w==; X-CSE-ConnectionGUID: z5vkwNd3ShyqqUT0gld90A== X-CSE-MsgGUID: hghTHFs3TTqCTfo76SH1DA== X-ThreatScanner-Verdict: Negative X-IronPort-AV: E=Sophos;i="6.04,261,1695711600"; d="scan'208";a="243689112" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 08 Dec 2023 10:02:37 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 8 Dec 2023 10:02:17 -0700 Received: from ryan-Precision-3630-Tower.microchip.com (10.10.85.11) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Fri, 8 Dec 2023 10:02:17 -0700 From: To: , , CC: , , Ryan Wanner Subject: [PATCH] drivers: soc: atmel: Adjust defines to follow alphabetical order Date: Fri, 8 Dec 2023 10:02:30 -0700 Message-ID: <20231208170230.551265-1-Ryan.Wanner@microchip.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 08 Dec 2023 09:02:46 -0800 (PST) From: Ryan Wanner Move the defines so that they are in aphabetical order based on SOC. Signed-off-by: Ryan Wanner --- drivers/soc/atmel/soc.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/soc/atmel/soc.h b/drivers/soc/atmel/soc.h index 26dd26b4f179..9b2d31073b88 100644 --- a/drivers/soc/atmel/soc.h +++ b/drivers/soc/atmel/soc.h @@ -39,13 +39,13 @@ at91_soc_init(const struct at91_soc *socs); #define AT91SAM9261_CIDR_MATCH 0x019703a0 #define AT91SAM9263_CIDR_MATCH 0x019607a0 #define AT91SAM9G20_CIDR_MATCH 0x019905a0 -#define AT91SAM9RL64_CIDR_MATCH 0x019b03a0 #define AT91SAM9G45_CIDR_MATCH 0x019b05a0 -#define AT91SAM9X5_CIDR_MATCH 0x019a05a0 #define AT91SAM9N12_CIDR_MATCH 0x019a07a0 +#define AT91SAM9RL64_CIDR_MATCH 0x019b03a0 +#define AT91SAM9X5_CIDR_MATCH 0x019a05a0 #define SAM9X60_CIDR_MATCH 0x019b35a0 -#define SAMA7G5_CIDR_MATCH 0x00162100 #define SAM9X7_CIDR_MATCH 0x09750020 +#define SAMA7G5_CIDR_MATCH 0x00162100 #define AT91SAM9M11_EXID_MATCH 0x00000001 #define AT91SAM9M10_EXID_MATCH 0x00000002 @@ -62,19 +62,15 @@ at91_soc_init(const struct at91_soc *socs); #define AT91SAM9N12_EXID_MATCH 0x00000006 #define AT91SAM9CN11_EXID_MATCH 0x00000009 +#define AT91SAM9XE128_CIDR_MATCH 0x329973a0 +#define AT91SAM9XE256_CIDR_MATCH 0x329a93a0 +#define AT91SAM9XE512_CIDR_MATCH 0x329aa3a0 + #define SAM9X60_EXID_MATCH 0x00000000 #define SAM9X60_D5M_EXID_MATCH 0x00000001 #define SAM9X60_D1G_EXID_MATCH 0x00000010 #define SAM9X60_D6K_EXID_MATCH 0x00000011 -#define SAMA7G51_EXID_MATCH 0x3 -#define SAMA7G52_EXID_MATCH 0x2 -#define SAMA7G53_EXID_MATCH 0x1 -#define SAMA7G54_EXID_MATCH 0x0 -#define SAMA7G54_D1G_EXID_MATCH 0x00000018 -#define SAMA7G54_D2G_EXID_MATCH 0x00000020 -#define SAMA7G54_D4G_EXID_MATCH 0x00000028 - #define SAM9X75_EXID_MATCH 0x00000000 #define SAM9X72_EXID_MATCH 0x00000004 #define SAM9X70_EXID_MATCH 0x00000005 @@ -83,10 +79,6 @@ at91_soc_init(const struct at91_soc *socs); #define SAM9X75_D1M_EXID_MATCH 0x00000003 #define SAM9X75_D2G_EXID_MATCH 0x00000006 -#define AT91SAM9XE128_CIDR_MATCH 0x329973a0 -#define AT91SAM9XE256_CIDR_MATCH 0x329a93a0 -#define AT91SAM9XE512_CIDR_MATCH 0x329aa3a0 - #define SAMA5D2_CIDR_MATCH 0x0a5c08c0 #define SAMA5D21CU_EXID_MATCH 0x0000005a #define SAMA5D225C_D1M_EXID_MATCH 0x00000053 @@ -122,6 +114,14 @@ at91_soc_init(const struct at91_soc *socs); #define SAMA5D43_EXID_MATCH 0x00000003 #define SAMA5D44_EXID_MATCH 0x00000004 +#define SAMA7G51_EXID_MATCH 0x3 +#define SAMA7G52_EXID_MATCH 0x2 +#define SAMA7G53_EXID_MATCH 0x1 +#define SAMA7G54_EXID_MATCH 0x0 +#define SAMA7G54_D1G_EXID_MATCH 0x00000018 +#define SAMA7G54_D2G_EXID_MATCH 0x00000020 +#define SAMA7G54_D4G_EXID_MATCH 0x00000028 + #define SAME70Q21_CIDR_MATCH 0x21020e00 #define SAME70Q21_EXID_MATCH 0x00000002 #define SAME70Q20_CIDR_MATCH 0x21020c00 -- 2.39.2