mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Timothy Pearson <tpearson@raptorengineering.com>,
	devicetree <devicetree@vger.kernel.org>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	Rob Herring <robh+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Lee Jones <lee@kernel.org>,
	Georgy Yakovlev <Georgy.Yakovlev@sony.com>
Subject: Re: [PATCH v4 4/4] watchdog: sony-cronos-smc: Add watchdog driver for Sony Cronos SMC
Date: Tue, 21 Oct 2025 12:41:19 +0200	[thread overview]
Message-ID: <89f4378f-c876-4c0e-8484-1a6144a6edfe@linaro.org> (raw)
In-Reply-To: <1149130558.1802047.1760984113046.JavaMail.zimbra@raptorengineeringinc.com>

On 20/10/2025 20:15, Timothy Pearson wrote:
> The Sony Cronos Platform Controller is a multi-purpose platform controller with
> an integrated watchdog.  Add the watchdog driver for the Cronos SMC.


Please wrap commit message according to Linux coding style / submission
process (neither too early nor over the limit):
https://elixir.bootlin.com/linux/v6.4-rc1/source/Documentation/process/submitting-patches.rst#L597

> 
> Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
> ---

...


> +
> +static const struct of_device_id sony_cronos_compatible_id_table[] = {
> +	{
> +		.compatible = "sony,cronos-watchdog",

Undocumented compatible, drop entire table.

> +	},
> +	{},
> +};
> +



...

> +
> +static SIMPLE_DEV_PM_OPS(sony_cronos_wdt_pm_ops, sony_cronos_wdt_suspend, sony_cronos_wdt_resume);
> +
> +static struct platform_driver sony_cronos_wdt_driver = {
> +	.probe = sony_cronos_wdt_probe,
> +	.driver = {
> +		.name = "sony-cronos-watchdog",
> +		.pm = &sony_cronos_wdt_pm_ops,
> +		.of_match_table = sony_cronos_compatible_id_table,

Either this or platform module alias, not both. Since you do not have
compatibles, then drop this and keep the alias.

> +	},
> +};
> +module_platform_driver(sony_cronos_wdt_driver);
> +
> +MODULE_AUTHOR("Raptor Engineering, LLC <tpearson@raptorengineering.com>");
> +MODULE_DESCRIPTION("WDT device driver for Sony Cronos SMCs");
> +MODULE_LICENSE("GPL");
> +MODULE_ALIAS("platform:sony-cronos-watchdog");

Best regards,
Krzysztof

  reply	other threads:[~2025-10-21 10:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-20 18:10 [PATCH v3 0/4] Add drivers for Sony Cronos control CPLD Timothy Pearson
2025-10-20 18:12 ` [PATCH v4 1/4] dt-bindings: mfd: Add sony,cronos-smc Timothy Pearson
2025-10-20 18:14   ` [PATCH v4 2/4] mfd: sony-cronos-smc: Add driver for Sony Cronos SMC Timothy Pearson
2025-10-20 18:14     ` [PATCH v4 3/4] led: sony-cronos-smc: Add RGB LED " Timothy Pearson
2025-10-20 18:15       ` [PATCH v4 4/4] watchdog: sony-cronos-smc: Add watchdog " Timothy Pearson
2025-10-21 10:41         ` Krzysztof Kozlowski [this message]
2025-10-21 10:39     ` [PATCH v4 2/4] mfd: sony-cronos-smc: Add " Krzysztof Kozlowski
2025-10-20 19:52   ` [PATCH v4 1/4] dt-bindings: mfd: Add sony,cronos-smc Rob Herring (Arm)
2025-10-21 10:44   ` Krzysztof Kozlowski

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=89f4378f-c876-4c0e-8484-1a6144a6edfe@linaro.org \
    --to=krzysztof.kozlowski@linaro.org \
    --cc=Georgy.Yakovlev@sony.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=lee@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=tpearson@raptorengineering.com \
    /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®