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 E405CECAAD3 for ; Wed, 7 Sep 2022 09:41:20 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:Message-ID: In-Reply-To:Subject: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=DYw08+SIR0GAqFbIGcHZrhhKVQn41UD/ZL1rzfGeCtE=; b=A+kUOblC7WjPDq thHdTBeRtbPx0WM338JAEzrXSyMVbagCbari91qwDYKN4wHEocikNS0mPoxpJBvfaU+IadIN0vg9R 5x9TIElZORgaYTEKxQGL3AxojI50PAzG4pWzp0/K4ac2hWCexNo4d1MrCK7HEJBX9OIPx/Og9XQzK vF+4yeZscbOzPqQH5BUUB8rkK5zBSdqD4JLC1ImbDGEos2+H9HWJJrnS+ndsqBARjG8UKT7X5em9l DX2FP+7X0UOZh1Z17Jc1+JY2cZPQm2SxD9raI18uPsbZuuVfvt7LLWJi9r1l0MnNQo8qW3n4hf6aP AcROGZXQ4qBrEBRHf57A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oVrXH-004yfj-3Y; Wed, 07 Sep 2022 09:39:55 +0000 Received: from mga03.intel.com ([134.134.136.65]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oVrIz-004qVz-2n for linux-arm-kernel@lists.infradead.org; Wed, 07 Sep 2022 09:25:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662542709; x=1694078709; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=i3OpScyz4S2GYqXWJMQAAeU2Xn1hLYk5DlrfzSFJe4U=; b=VfyD0FtnjjTVi3lhMNkgUMgUAoTbhKah4f8S9EaixCm3hkAyTjHvT9Mz A4pogy4ajflswMgSW0G1xB42ptRjgls/UJbZ2iikkM+XNIOSgHGjTk2oW hz3qYVmRLvj7fToM7tf8wBxyL6x8pToOiKqlUW6PU0d236dSpW6oBUlzC pkHogQnORXd+OpsTT+zXO1KW9wIFQ5vXdctKZfcymzAhWIFqLWEP6o/6r 6HO8PVghHmnECz/8eyI+OpKXJr0+nhKDuoImhXUAuhjM9YPdniS4uOkQm WJRcebZsaEw4GPO2qeq+0jsRbJCkUGt43V2SJEa8W7hBH9A/YRqL67kOd g==; X-IronPort-AV: E=McAfee;i="6500,9779,10462"; a="298140585" X-IronPort-AV: E=Sophos;i="5.93,296,1654585200"; d="scan'208";a="298140585" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2022 02:24:52 -0700 X-IronPort-AV: E=Sophos;i="5.93,296,1654585200"; d="scan'208";a="676097466" Received: from dmatouse-mobl.ger.corp.intel.com ([10.251.223.53]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2022 02:24:47 -0700 Date: Wed, 7 Sep 2022 12:24:45 +0300 (EEST) From: =?ISO-8859-15?Q?Ilpo_J=E4rvinen?= To: Sergiu Moga Subject: Re: [PATCH v2 09/13] tty: serial: atmel: Define BRSRCCK bitmask of UART IP's Mode Register In-Reply-To: <20220906135511.144725-10-sergiu.moga@microchip.com> Message-ID: References: <20220906135511.144725-1-sergiu.moga@microchip.com> <20220906135511.144725-10-sergiu.moga@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220907_022509_210419_94925FC8 X-CRM114-Status: GOOD ( 12.63 ) 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: , Cc: alexandre.belloni@bootlin.com, mturquette@baylibre.com, linux-kernel@vger.kernel.org, admin@hifiphile.com, krzysztof.kozlowski+dt@linaro.org, jirislaby@kernel.org, linux-clk@vger.kernel.org, lee@kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, tudor.ambarus@microchip.com, radu_nicolae.pirea@upb.ro, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, richard.genoud@gmail.com, gregkh@linuxfoundation.org, linux-spi@vger.kernel.org, sboyd@kernel.org, broonie@kernel.org, kavyasree.kotagiri@microchip.com, claudiu.beznea@microchip.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, 6 Sep 2022, Sergiu Moga wrote: > Add definitions for the Baud Rate Source Clock bitmask of the > Mode Register of UART IP's and its bitfields. > > Signed-off-by: Sergiu Moga > --- > > > > v1 -> v2: > - Nothing, this patch was not here before > > > > drivers/tty/serial/atmel_serial.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/tty/serial/atmel_serial.h b/drivers/tty/serial/atmel_serial.h > index 70d0611e56fd..ed64035ba6c3 100644 > --- a/drivers/tty/serial/atmel_serial.h > +++ b/drivers/tty/serial/atmel_serial.h > @@ -68,6 +68,9 @@ > #define ATMEL_US_NBSTOP_1 (0 << 12) > #define ATMEL_US_NBSTOP_1_5 (1 << 12) > #define ATMEL_US_NBSTOP_2 (2 << 12) > +#define ATMEL_UA_BRSRCCK GENMASK(13, 12) /* Clock Selection for UART */ > +#define ATMEL_UA_BRSRCCK_PERIPH_CLK (0 << 12) > +#define ATMEL_UA_BRSRCCK_GCLK (1 << 12) FIELD_PREP(ATMEL_UA_BRSRCCK, ...) > #define ATMEL_US_CHMODE GENMASK(15, 14) /* Channel Mode */ > #define ATMEL_US_CHMODE_NORMAL (0 << 14) > #define ATMEL_US_CHMODE_ECHO (1 << 14) > -- i. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel