From mboxrd@z Thu Jan 1 00:00:00 1970 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 9DF98CD342C for ; Wed, 6 May 2026 14:56:42 +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: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=XiKEJ9StQVqsiFMIXAFkqAm/UM5gfqywWNzHLht65+8=; b=1Sv3BsScInaLMpEAXmIFvyzoR3 9/0soQ0P1789VDuSOHNNOBvN9Us/tw5JcCGdZsrDu9Aj/fC+z8nW3Y6wFKwiQAtBTL1vUpf3LVLWN bhkZXyBuwWpIPziD0zI9h5R+d2fcxNEy4s7ifCDRW0Seo8g2OemDWLXsTa0bB66Q1wZGXLQMtU4Mk ZvOnf87JbskZV93X4zMoan1R0FNsTMxAoY1oBFjQOlyC5Hmhw+CiIrv4mkTc+j9NIHJxodExTQT+U +JMGfz5Xv5FbvZ6x5R63z42ofNRhQJWzNt8amV25aCHsMKkiNRxtM0Dgo0ztyBxZlK6c2X30tWdLP nFVDpYZQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wKdfv-00000001CQk-2MUf; Wed, 06 May 2026 14:56:35 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wKdfu-00000001CQ3-1AWA for linux-arm-kernel@lists.infradead.org; Wed, 06 May 2026 14:56:35 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 8EE4760180; Wed, 6 May 2026 14:56:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0DBF4C2BCC7; Wed, 6 May 2026 14:56:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1778079393; bh=bsx0g8RkKR5HeXJ4S13Js2wdRNvek52tucLoRCTiuXk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=QoBC5/IYlle6Vq2hjQXnBQOo894nXVp5QJ02RZ89WtAhqUTM0tDM14RkOaO4LxJNA AErds4eMBwdMIOkKRD8PKrNYGvPi1XUBXkr8ypSBq0fN3sO+nTMgXAyYsIzeWODE9B bxtD6SYSYRb/ip5194RD2Qr9eaOnfGUS0pGbcHkTWZedRvUuNMH02KrlVLCxkJdJnj gYCoblx/GOqMgQxusTpuEcGEbQalUhI8/ovIMtDlB6d1Tx999WliDiGOUrgZdw6cp3 j8N2q/JdYSd+dZ1F5DWpJ5lO5oACn4EFQunWZz2O088S8aLgH/tYu8y9Niu00dQdbk c7GVGPFYi9o6Q== Date: Wed, 6 May 2026 15:56:21 +0100 From: Jonathan Cameron To: Angelo Dureghello Cc: Greg Ungerer , Geert Uytterhoeven , Steven King , Arnd Bergmann , Maxime Coquelin , Alexandre Torgue , David Lechner , Nuno =?UTF-8?B?U8Oh?= , Andy Shevchenko , Greg Ungerer , linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-iio@vger.kernel.org, Angelo Dureghello Subject: Re: [PATCH 07/10] m68k: mcf5441x: add CCR MISCCR2 bitfields Message-ID: <20260506155621.5b858f6f@jic23-huawei> In-Reply-To: <20260504-wip-stmark2-dac-v1-7-874c36a4910d@baylibre.com> References: <20260504-wip-stmark2-dac-v1-0-874c36a4910d@baylibre.com> <20260504-wip-stmark2-dac-v1-7-874c36a4910d@baylibre.com> X-Mailer: Claws Mail 4.4.0 (GTK 3.24.52; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Mon, 04 May 2026 19:16:45 +0200 Angelo Dureghello wrote: > From: Angelo Dureghello > > Add CCR MISCCR2 register bitfields. > > Signed-off-by: Angelo Dureghello https://sashiko.dev/#/patchset/20260504-wip-stmark2-dac-v1-0-874c36a4910d%40baylibre.com has valid suggestion that if you are using BIT() and GENMASK() you need a suitable header include. > --- > arch/m68k/include/asm/m5441xsim.h | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/arch/m68k/include/asm/m5441xsim.h b/arch/m68k/include/asm/m5441xsim.h > index 9ce2cbb05316..93f7943d5550 100644 > --- a/arch/m68k/include/asm/m5441xsim.h > +++ b/arch/m68k/include/asm/m5441xsim.h > @@ -145,6 +145,21 @@ > #define MCF_CCM_SBFCR 0xec090022 > #define MCF_CCM_FNACR 0xec090024 > > +/* Bit definitions and macros for MCF_CCM_MISCCR2 */ > +#define MCF_CCM_MISCCR2_ULPI BIT(0) > +#define MCF_CCM_MISCCR2_FB_HALF BIT(1) > +#define MCF_CCM_MISCCR2_ADC3_EN BIT(2) > +#define MCF_CCM_MISCCR2_ADC7_EN BIT(3) > +#define MCF_CCM_MISCCR2_ADC_EN BIT(4) > +#define MCF_CCM_MISCCR2_DAC0_SEL BIT(5) > +#define MCF_CCM_MISCCR2_DAC1_SEL BIT(6) > +#define MCF_CCM_MISCCR2_DCC_BYP BIT(7) > +#define MCF_CCM_MISCCR2_PLL_MODE GENMASK(9, 7) > +#define MCF_CCM_MISCCR2_SWT_SCR BIT(12) > +#define MCF_CCM_MISCCR2_RGPIO_HALF BIT(13) > +#define MCF_CCM_MISCCR2_DDR2_CLK BIT(14) > +#define MCF_CCM_MISCCR2_EXTCLK_BYP BIT(15) > + > /* > * UART module. > */ >