From patchwork Thu Jan 13 14:48:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 12712830 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 C2EF9C433F5 for ; Thu, 13 Jan 2022 14:49:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=y7VJxwcvoyl7WTSv3uxku7DfPfgiAhUKTfbucYD7W6U=; b=i5Y5Xfe0BsS8pz jr3oQHzc6SQpH6dIH29SA9Nq9yORDf+/LM768i3aXvObxf2jk+ewU19pzhNAPfQmWeQdsgOCZU0df CTi8hhPV6FoXVsltXMJHmu1RIKSzS+0ZVx0qz2dBT0Y9PH72dhxaP1pHEIN3CwiQ92+Tw6gILE4JH rIcsH7iD8ydD1IJ1cnT0+wYH+hDR96fDDjwYkh1URTEoGG/ecWYYdjjQiMDvTghd0u7i1CegwSUSL hoJx2pQ4IL2Ww7Kh9KF98C8KpmCTJbm3g+QNlTTB1u1oWTmKZbM17XtXbj1W8wx7D/eZERa9vwpAa 28YA+mb+ZqD7zzH+++ZQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n81Os-006GvX-0o; Thu, 13 Jan 2022 14:48:26 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n81OU-006Gmv-PN for linux-arm-kernel@lists.infradead.org; Thu, 13 Jan 2022 14:48:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1642085282; x=1673621282; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=DSaF+rce8x7D+Hdysx6zQcXry3snwSGAnsCyiWnFVNw=; b=HqFKY67xUV+laPC/39dsTeoSlOp/t/WIJDHkmaV27sfqEa7eWHoh+9+2 HXhcCeihomJaT7DToSKhzfGEFhiKqscxhLrRJ2aDQZhIvaHmiDtMoGkfR KJIeXGkP188sNzLwABlGkq1hkUSDF3y0Zem1LA4FMMtWpkWLOf6kR797Z 0iAmDrtkwn1Gdpj+nBfZqYbaSITZS+p55QFIQSlr4iZxZE77driD4EzJm C08vlsKBx4j0vOwaEfdFU/cjkNEUHwzMdmtJrGTZL2t//67CrXgVcwvpq kf/2Eq7ZCHpiy1jJ2oKWv+FZXgo3GRlUtFP8fBpF6GDMwa0uLebp66py3 w==; IronPort-SDR: /kdMeHcO7FdvdUxY8sX5s/Ek+BSN30m/Tvr3/0D4DnmjldLEVxpVbU9uI8XTqYvDfxZ83mpnF/ cSrHIoJfzsgWAh+bY2yecOfDJ4LrOzIMp59zNRIpU3sPSElrlKOsr+EhKtfUb5bjFj6WR2fCto +4oZJ8dBqmG5KuChvh+6BeVTpBPgCNngnzrqxVQZtcP243rQa43MDDyNRCr42z65YSB+Z03oR/ cCS7sD/Z77SDQxeEatAqLiw8fr6mHd1t7pCiCqSpIC4k7/Rvt2B4vZ+vV/h5QTB3BxEWIlqzEW UwscTB8lGikMIJvdo4GN/gVL X-IronPort-AV: E=Sophos;i="5.88,286,1635231600"; d="scan'208";a="158557502" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 13 Jan 2022 07:48:01 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) 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.2375.17; Thu, 13 Jan 2022 07:48:01 -0700 Received: from localhost.localdomain (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Thu, 13 Jan 2022 07:47:58 -0700 From: Claudiu Beznea To: , , , , , , CC: , , , , Claudiu Beznea Subject: [PATCH v2 02/10] ARM: at91: ddr: align macro definitions Date: Thu, 13 Jan 2022 16:48:52 +0200 Message-ID: <20220113144900.906370-3-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220113144900.906370-1-claudiu.beznea@microchip.com> References: <20220113144900.906370-1-claudiu.beznea@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220113_064802_863261_EFC047BD X-CRM114-Status: UNSURE ( 9.08 ) X-CRM114-Notice: Please train this message. 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 Align all macro definitions. Signed-off-by: Claudiu Beznea --- include/soc/at91/sama7-ddr.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/soc/at91/sama7-ddr.h b/include/soc/at91/sama7-ddr.h index 13b47e26cdbe..817b360efbb8 100644 --- a/include/soc/at91/sama7-ddr.h +++ b/include/soc/at91/sama7-ddr.h @@ -13,11 +13,11 @@ /* DDR3PHY */ #define DDR3PHY_PIR (0x04) /* DDR3PHY PHY Initialization Register */ -#define DDR3PHY_PIR_DLLBYP (1 << 17) /* DLL Bypass */ +#define DDR3PHY_PIR_DLLBYP (1 << 17) /* DLL Bypass */ #define DDR3PHY_PIR_ITMSRST (1 << 4) /* Interface Timing Module Soft Reset */ -#define DDR3PHY_PIR_DLLLOCK (1 << 2) /* DLL Lock */ +#define DDR3PHY_PIR_DLLLOCK (1 << 2) /* DLL Lock */ #define DDR3PHY_PIR_DLLSRST (1 << 1) /* DLL Soft Rest */ -#define DDR3PHY_PIR_INIT (1 << 0) /* Initialization Trigger */ +#define DDR3PHY_PIR_INIT (1 << 0) /* Initialization Trigger */ #define DDR3PHY_PGCR (0x08) /* DDR3PHY PHY General Configuration Register */ #define DDR3PHY_PGCR_CKDV1 (1 << 13) /* CK# Disable Value */ @@ -65,7 +65,7 @@ #define UDDRC_SWSTAT_SW_DONE_ACK (1 << 0) /* Register programming done */ #define UDDRC_PSTAT (0x3FC) /* UDDRC Port Status Register */ -#define UDDRC_PSTAT_ALL_PORTS (0x1F001F) /* Read + writes outstanding transactions on all ports */ +#define UDDRC_PSTAT_ALL_PORTS (0x1F001F) /* Read + writes outstanding transactions on all ports */ #define UDDRC_PCTRL_0 (0x490) /* UDDRC Port 0 Control Register */ #define UDDRC_PCTRL_1 (0x540) /* UDDRC Port 1 Control Register */