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 9A4B8CD3440 for ; Wed, 6 May 2026 14:50:19 +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=k+dshrBphe0OcSkOSVpXlM3t7SGUgNPbqt+VJU0A5Ow=; b=VAXOJqL7jXB/m4CpESKg5l+/SN FXf686Z6grvbvFB9O8Z1q27QUBDsJ/8pWWythj2BJ5z88FmUeOfOvYeAmDIHunHt0UJqxE602nvYf rINo1KLkp3wSdrwLpG7cifAGeY6T8V+IRV6fbRGhtIqG8BKYm5lTVNPfiS6TeXwg0ONvFTVtByZ7a Ta48qi5MTBdlqRl/+E45jHNbQt6GGaEOEepSJnxo1yKtdptt9F8FVw5noZjgorEtGCxG0TlWbKkle D7U0+6ZRCJcgFQS9RvYSLD/sRY+yZP38YoHqRIpQY9HfVRW/33HGals9+dE8+Jd2d4B1cffxLvQRC p2uqkcuQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wKdZk-00000001AIq-2Z4l; Wed, 06 May 2026 14:50:12 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wKdZi-00000001AH9-3xrI for linux-arm-kernel@lists.infradead.org; Wed, 06 May 2026 14:50:11 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 2E74A60132; Wed, 6 May 2026 14:50:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 341B8C2BCB0; Wed, 6 May 2026 14:50:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1778079009; bh=hxc/WekCWfmbeZgwsH46Ovr1LRwT9vTuK03wutn2Jkc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=EugWsNJrryhI0StVPBsD6CczQqq7eyRAPD0mmMONG8PVWY8yKRoBDbUYg3BP/ONkY 65ykk2jYZ1h1266f8BK1RLmLLN6JxBZlPS0rWWCVwyxV2CUeECxW45HZCk74lfSBda zC7ZTR5g9NQFEqTVPt1igmLn1JBPTeMyYYrr49+4AywYElDz3DZ0JoJeazbaTp3M6U RuepEyo8Hm1okAeULdfJnC2QKN5tzEQABNQAOQQ7itaWqJV6QRYJUhte5JurnisvSR Tmn6lSivHY6vcKTFN4O4K7xNjNvxqQNSnpR16X8jvT0vfgyIxZVWeTzGEjRQbAKGRV qYW1aVLcRAsPg== Date: Wed, 6 May 2026 15:49:58 +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: <20260506154958.0c005263@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 > --- > 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) Overlapping fields? Bit 7 in both the two lines above. > +#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. > */ >