Message ID | 20240320155512.3544-2-ddrokosov@salutedevices.com (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | Neil Armstrong |
Headers | show
Return-Path: <linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org> 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 C1B42C54E58 for <linux-amlogic@archiver.kernel.org>; Wed, 20 Mar 2024 15:55: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=1nqq6i3+ABuUHhazVMNc+srl1t+ffcQc3CmGrAjnZzQ=; b=ODtrk3ZjVVgyV8 gIHj7n09bv8mIAVtg0EzIVZBdn3Q0t/6hmL5h90JMzRbpBqHUViSkubYec11mSrJ2yjTHeBObl0aL LawQI1mBrL7tNN8pF9WmoyF3CN//88NC6g9IPQ/MRgq/3Idr5wPS6hnaROIeMFf4esQjcpcD9tKzS 6bGCAUD0WmGjAcB7PanuWN5One6rjMHPdqk0QY7nE8K5y3lHVOTdiy1XnMWNt1Y3Nm5/5wFrh5QGI 2BePChlvj7sVGcmoDcumjfwg5jaxmxvdomiNUM9iR5WP2xE52x2QxVm0bBSQDw5SjP5koKdk3svMz tunZHl7mk1OvNkdge3VA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rmyHt-00000000B6o-2Kw7; Wed, 20 Mar 2024 15:55:33 +0000 Received: from mx1.sberdevices.ru ([37.18.73.165]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rmyHq-00000000B3c-0tob; Wed, 20 Mar 2024 15:55:32 +0000 Received: from p-infra-ksmg-sc-msk01 (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id 85D6F10001B; Wed, 20 Mar 2024 18:55:20 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru 85D6F10001B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salutedevices.com; s=mail; t=1710950120; bh=0Fa4Y34XfUVQyedPaiuMQc4mBGz6JmwcoPWvUkgtW24=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=IYKSHbW9O4ZzTIfYmM0ds1tK7elpYzLGJXSTvOMinLQxGNhLZXqjRqyk/mbcQRkJm B8pEFqoZJsd1rfSoi+2nWSsZeTYPBnipwp/I5KND5Fnf/ZCDmFw9xXCcjQjUZM+nLG mUtp1cwvv3cxQS8v9vagWlEYW/gFFSxsHPeQijBEWjhnbWzCTKm93ZMr+aBIfUXH4Y vLWBZhlNZO+SswVpobLQKwF/6fn6O+MY9fhauUIVWVG8im9Cz3MBwyb7dPJZp2tnv3 WnY2L6Q7c1/jjyi0Se5FiLXKDIaI8ObinK2jrsSIkz6f30BDy47zqRJTEZT37h0sT+ lfRCoBT858RCg== Received: from smtp.sberdevices.ru (p-i-exch-sc-m02.sberdevices.ru [172.16.192.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sberdevices.ru (Postfix) with ESMTPS; Wed, 20 Mar 2024 18:55:20 +0300 (MSK) Received: from CAB-WSD-L081021.sberdevices.ru (100.64.160.123) by p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Wed, 20 Mar 2024 18:55:19 +0300 From: Dmitry Rokosov <ddrokosov@salutedevices.com> To: <neil.armstrong@linaro.org>, <jbrunet@baylibre.com>, <mturquette@baylibre.com>, <khilman@baylibre.com>, <martin.blumenstingl@googlemail.com>, <sboyd@kernel.org> CC: <kernel@salutedevices.com>, <rockosov@gmail.com>, <linux-amlogic@lists.infradead.org>, <linux-clk@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, Dmitry Rokosov <ddrokosov@salutedevices.com> Subject: [PATCH v1 1/4] clk: meson: a1: peripherals: determine maximum register in regmap config Date: Wed, 20 Mar 2024 18:54:45 +0300 Message-ID: <20240320155512.3544-2-ddrokosov@salutedevices.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240320155512.3544-1-ddrokosov@salutedevices.com> References: <20240320155512.3544-1-ddrokosov@salutedevices.com> MIME-Version: 1.0 X-Originating-IP: [100.64.160.123] X-ClientProxiedBy: p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) To p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) X-KSMG-Rule-ID: 10 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Lua-Profiles: 184302 [Mar 20 2024] X-KSMG-AntiSpam-Version: 6.1.0.4 X-KSMG-AntiSpam-Envelope-From: ddrokosov@salutedevices.com X-KSMG-AntiSpam-Rate: 0 X-KSMG-AntiSpam-Status: not_detected X-KSMG-AntiSpam-Method: none X-KSMG-AntiSpam-Auth: dkim=none X-KSMG-AntiSpam-Info: LuaCore: 10 0.3.10 53c821b925e16276b831986eabc71d60ab82ee60, {Tracking_from_domain_doesnt_match_to}, smtp.sberdevices.ru:7.1.1,5.0.1;127.0.0.199:7.1.2;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;100.64.160.123:7.1.2;salutedevices.com:7.1.1, FromAlignment: s, ApMailHostAddress: 100.64.160.123 X-MS-Exchange-Organization-SCL: -1 X-KSMG-AntiSpam-Interceptor-Info: scan successful X-KSMG-AntiPhishing: Clean X-KSMG-LinksScanning: Clean X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 2.0.1.6960, bases: 2024/03/20 06:45:00 #24314254 X-KSMG-AntiVirus-Status: Clean, skipped X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240320_085530_829827_92B175B1 X-CRM114-Status: GOOD ( 12.01 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-amlogic.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-amlogic/> List-Post: <mailto:linux-amlogic@lists.infradead.org> List-Help: <mailto:linux-amlogic-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" <linux-amlogic-bounces@lists.infradead.org> Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org |
Series |
clk: meson: treewide: define maximum register in regmap config
|
expand
|
diff --git a/drivers/clk/meson/a1-peripherals.c b/drivers/clk/meson/a1-peripherals.c index e2a1f12f9175..621af1e6e4b2 100644 --- a/drivers/clk/meson/a1-peripherals.c +++ b/drivers/clk/meson/a1-peripherals.c @@ -2187,6 +2187,7 @@ static struct regmap_config a1_periphs_regmap_cfg = { .reg_bits = 32, .val_bits = 32, .reg_stride = 4, + .max_register = DMC_CLK_CTRL, }; static struct meson_clk_hw_data a1_periphs_clks = {
When the max_register value is not set, the regmap debugfs 'registers' file does not display the entire range of the regmap. Signed-off-by: Dmitry Rokosov <ddrokosov@salutedevices.com> --- drivers/clk/meson/a1-peripherals.c | 1 + 1 file changed, 1 insertion(+)