From: "Sverdlin, Alexander" <alexander.sverdlin@siemens.com>
To: "mazziesaccount@gmail.com" <mazziesaccount@gmail.com>,
"matti.vaittinen@fi.rohmeurope.com"
<matti.vaittinen@fi.rohmeurope.com>,
"matti.vaittinen@linux.dev" <matti.vaittinen@linux.dev>
Cc: "mfd@lists.linux.dev" <mfd@lists.linux.dev>,
"linux-clk@vger.kernel.org" <linux-clk@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>,
"linux-rtc@vger.kernel.org" <linux-rtc@vger.kernel.org>
Subject: Re: [PATCH v3 08/10] clk: bd718x7: Support ROHM BD73800
Date: Tue, 8 Sep 2026 12:01:29 +0000 [thread overview]
Message-ID: <95c440507a00eca069d73c360551aac7cc35d417.camel@siemens.com> (raw)
In-Reply-To: <2a74fea679420d147ab1029943ff071628dc8c5a.1788346553.git.mazziesaccount@gmail.com>
On Wed, 2026-09-02 at 14:05 +0300, Matti Vaittinen wrote:
> From: Matti Vaittinen <mazziesaccount@gmail.com>
>
> The ROHM BD73800 PMIC has a 32.768 kHz clock gate. Add support for
> controlling this clock.
>
> NOTE: The CLKOUT pin can be muxed by an OTP option. On some OTP
> configurations the CLKOUT is not outputting the clk signal.
>
> Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Reviewed-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
> ---
> Revision history:
> v2 => v3:
> - Use named initializers for platform_device_id
> v1 => v2:
> - No changes
> ---
> drivers/clk/clk-bd718x7.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/drivers/clk/clk-bd718x7.c b/drivers/clk/clk-bd718x7.c
> index 8ddb50c67757..1698b763bcb7 100644
> --- a/drivers/clk/clk-bd718x7.c
> +++ b/drivers/clk/clk-bd718x7.c
> @@ -21,6 +21,9 @@
> #define BD718XX_REG_OUT32K 0x2E
> /* BD72720 */
> #define BD72720_REG_OUT32K 0x9a
> +/* BD73800 */
> +#define BD73800_REG_OUT32K 0x50
> +
> /*
> * BD71837, BD71847, and BD71828 all use bit [0] to clk output control
> */
> @@ -123,6 +126,10 @@ static int bd71837_clk_probe(struct platform_device *pdev)
> c->reg = BD72720_REG_OUT32K;
> c->mask = CLK_OUT_EN_MASK;
> break;
> + case ROHM_CHIP_TYPE_BD73800:
> + c->reg = BD73800_REG_OUT32K;
> + c->mask = CLK_OUT_EN_MASK;
> + break;
> default:
> dev_err(&pdev->dev, "Unknown clk chip\n");
> return -EINVAL;
> @@ -152,6 +159,7 @@ static const struct platform_device_id bd718x7_clk_id[] = {
> { .name = "bd71828-clk", .driver_data = ROHM_CHIP_TYPE_BD71828 },
> { .name = "bd71815-clk", .driver_data = ROHM_CHIP_TYPE_BD71815 },
> { .name = "bd72720-clk", .driver_data = ROHM_CHIP_TYPE_BD72720 },
> + { .name = "bd73800-clk", .driver_data = ROHM_CHIP_TYPE_BD73800 },
> { }
> };
> MODULE_DEVICE_TABLE(platform, bd718x7_clk_id);
--
Alexander Sverdlin
Siemens AG
www.siemens.com
next prev parent reply other threads:[~2026-09-08 12:01 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-02 11:03 [PATCH v3 00/10] " Matti Vaittinen
2026-09-02 11:03 ` [PATCH v3 01/10] dt-bindings: mfd: common ROHM PMIC properties Matti Vaittinen
2026-09-02 11:04 ` [PATCH v3 02/10] dt-bindings: rohm,bd*: Ref common ROHM bindings Matti Vaittinen
2026-09-02 11:04 ` [PATCH v3 03/10] dt-bindings: regulator: ROHM BD73800 regulators Matti Vaittinen
2026-09-04 14:34 ` Rob Herring (Arm)
2026-09-02 11:04 ` [PATCH v3 04/10] dt-bindings: mfd: ROHM BD73800 PMIC Matti Vaittinen
2026-09-04 14:34 ` Rob Herring
2026-09-02 11:04 ` [PATCH v3 05/10] mfd: Support for ROHM BD73800 PMIC core Matti Vaittinen
2026-09-02 13:24 ` Bartosz Golaszewski
2026-09-02 11:05 ` [PATCH v3 06/10] rtc: bd70528: Support RTC on ROHM BD73800 Matti Vaittinen
2026-09-02 11:05 ` [PATCH v3 07/10] regulator: bd71828: Support " Matti Vaittinen
2026-09-02 11:05 ` [PATCH v3 08/10] clk: bd718x7: " Matti Vaittinen
2026-09-04 8:24 ` Jerome Brunet
2026-09-08 12:01 ` Sverdlin, Alexander [this message]
2026-09-02 11:07 ` [PATCH v3 09/10] gpio: bd73800: Support ROHM BD73800 PMIC GPIOs Matti Vaittinen
2026-09-02 12:39 ` Linus Walleij
2026-09-03 5:02 ` Matti Vaittinen
2026-09-02 12:58 ` Bartosz Golaszewski
2026-09-03 5:00 ` Matti Vaittinen
2026-09-03 7:53 ` Bartosz Golaszewski
2026-09-02 11:07 ` [PATCH v3 10/10] MAINTAINERS: Add ROHM BD73800 PMIC files Matti Vaittinen
2026-09-08 11:44 ` Sverdlin, Alexander
2026-09-10 16:03 ` [PATCH v3 00/10] Support ROHM BD73800 Lee Jones
2026-09-11 4:27 ` Matti Vaittinen
2026-09-15 11:20 ` Lee Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=95c440507a00eca069d73c360551aac7cc35d417.camel@siemens.com \
--to=alexander.sverdlin@siemens.com \
--cc=linux-clk@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rtc@vger.kernel.org \
--cc=matti.vaittinen@fi.rohmeurope.com \
--cc=matti.vaittinen@linux.dev \
--cc=mazziesaccount@gmail.com \
--cc=mfd@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®