From: Timothy Pearson <tpearson@raptorengineering.com>
To: Conor Dooley <conor@kernel.org>
Cc: Raptor Engineering Development Team
<support@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>,
Shawn Anastasio <sanastasio@raptorengineering.com>,
Timothy Pearson <tpearson@raptorengineering.com>
Subject: Re: [PATCH v7 1/4] dt-bindings: mfd: Add sony,cronos-smc
Date: Fri, 6 Mar 2026 11:52:23 -0600 (CST) [thread overview]
Message-ID: <530063102.286103.1772819543617.JavaMail.zimbra@raptorengineeringinc.com> (raw)
In-Reply-To: <20260306-playtime-glorifier-9dc7838283f4@spud>
----- Original Message -----
> From: "Conor Dooley" <conor@kernel.org>
> To: "Raptor Engineering Development Team" <support@raptorengineering.com>
> Cc: "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>, "Shawn Anastasio"
> <sanastasio@raptorengineering.com>, "Timothy Pearson" <tpearson@raptorengineering.com>
> Sent: Friday, March 6, 2026 11:49:18 AM
> Subject: Re: [PATCH v7 1/4] dt-bindings: mfd: Add sony,cronos-smc
> On Thu, Jan 29, 2026 at 01:20:44PM -0600, Raptor Engineering Development Team
> wrote:
>> From: Shawn Anastasio <sanastasio@raptorengineering.com>
>>
>> The Sony Cronos Platform Controller is a multi-purpose platform controller
>> that provides both a watchdog timer and an LED controller for the Sony
>> Interactive Entertainment Cronos x86 server platform. As both functions
>> are provided by the same CPLD, a multi-function device is exposed as the
>> parent of both functions.
>>
>> Add a DT binding for this device.
>>
>> Signed-off-by: Shawn Anastasio <sanastasio@raptorengineering.com>
>> Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
>> ---
>> .../bindings/mfd/sony,cronos-smc.yaml | 128 ++++++++++++++++++
>> 1 file changed, 128 insertions(+)
>> create mode 100644 Documentation/devicetree/bindings/mfd/sony,cronos-smc.yaml
>>
>> diff --git a/Documentation/devicetree/bindings/mfd/sony,cronos-smc.yaml
>> b/Documentation/devicetree/bindings/mfd/sony,cronos-smc.yaml
>> new file mode 100644
>> index 000000000000..a7e88fd42d39
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/mfd/sony,cronos-smc.yaml
>> @@ -0,0 +1,128 @@
>> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
>> +# Copyright 2025-2026 Raptor Engineering, LLC
>> +%YAML 1.2
>> +---
>> +$id: http://devicetree.org/schemas/mfd/sony,cronos-smc.yaml#
>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>> +
>> +title: Sony Cronos Platform Controller CPLD multi-function device
>> +
>> +maintainers:
>> + - Georgy Yakovlev <Georgy.Yakovlev@sony.com>
>> +
>> +description:
>> + The Sony Cronos Platform Controller CPLD is a multi-purpose platform
>> + controller that provides both a watchdog timer and an LED controller for the
>> + Sony Interactive Entertainment Cronos x86 server platform. As both functions
>> + are provided by the same CPLD, a multi-function device is exposed as the
>> + parent of both functions.
>> +
>> +properties:
>> + compatible:
>> + const: sony,cronos-smc
>> +
>> + reg:
>> + maxItems: 1
>> +
>> + leds:
>> + type: object
>> + $ref: /schemas/leds/common.yaml#
>> + additionalProperties: false
>> + description: |
>> + The Cronos LED controller is a subfunction of the Cronos platform
>> + controller, which is a multi-function device.
>> +
>> + Each led is represented as a child node of sony,cronos-led. Fifteen RGB
>> + LEDs are supported by the platform.
>> +
>> + properties:
>> + compatible:
>> + const: sony,cronos-led
>> +
>> + reg:
>> + maxItems: 1
>> +
>> + "#address-cells":
>> + const: 1
>> +
>> + "#size-cells":
>> + const: 0
>> +
>> + patternProperties:
>> + "^multi-led@[0-9a-f]$":
>> + type: object
>> + $ref: /schemas/leds/leds-class-multicolor.yaml#
>> + unevaluatedProperties: false
>> +
>> + properties:
>> + reg:
>> + description:
>> + LED channel number (0..14)
>> + minimum: 0
>> + maximum: 14
>> +
>> + required:
>> + - reg
>> +
>> + required:
>> + - compatible
>> + - "#address-cells"
>> + - "#size-cells"
>> +
>> + watchdog:
>> + type: object
>> +
>> + $ref: /schemas/watchdog/watchdog.yaml
>> +
>> + properties:
>> + compatible:
>> + const: sony,cronos-watchdog
>> +
>> + timeout-sec: true
>
> Why is there a child node to just add timeout-sec?
When I tried Krzysztof's solution, the validation tools threw an error, and this was the only way I found to get them to stop throwing errors.
> Didn't Krzysztof ask
> you to come up with a generic node name for the mfd to use instead of
> "smc", and to modify watchdog.yaml to accept the new node name? See
> here:
> https://lore.kernel.org/all/c7630eb1-2686-491e-81ed-fb43fff2dd31@linaro.org/
>
> Something like "platform-controller" sounds generic to me, in a way that
> "smc" doesn't.
SMC is the name of the hardware block in question. platform-controller generates some other confusion as there would be multiple separate hardware blocks that could fit that name.
>
>> +
>> + required:
>> + - compatible
>> +
>> + additionalProperties: false
>> +
>> +required:
>> + - compatible
>> + - reg
>> +
>> +unevaluatedProperties: false
>> +
>> +examples:
>> + - |
>> + #include <dt-bindings/leds/common.h>
>> + i2c {
>> + #address-cells = <1>;
>> + #size-cells = <0>;
>> +
>> + smc@3f {
>> + compatible = "sony,cronos-smc";
>> + reg = <0x3f>;
>> +
>> + watchdog {
>> + compatible = "sony,cronos-watchdog";
>> +
>> + timeout-sec = <20>;
>> + };
>> +
>> + leds {
>> + compatible = "sony,cronos-led";
>> + #address-cells = <1>;
>> + #size-cells = <0>;
>> +
>> + multi-led@0 {
>> + /*
>> + * No subnodes are needed, this controller only supports
>> RGB
>> + * LEDs.
>> + */
>> + reg = <0>;
>> + color = <LED_COLOR_ID_MULTI>;
>> + function = LED_FUNCTION_STATUS;
>> + };
>> + };
>> + };
>> + };
>> +
>> --
>> 2.39.5
next prev parent reply other threads:[~2026-03-06 17:52 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-29 19:20 [PATCH v7 0/4] Add drivers for Sony Cronos control CPLD Raptor Engineering Development Team
2026-01-29 19:20 ` [PATCH v7 1/4] dt-bindings: mfd: Add sony,cronos-smc Raptor Engineering Development Team
2026-02-09 17:49 ` Rob Herring
2026-03-06 8:31 ` Lee Jones
2026-03-06 16:49 ` Conor Dooley
2026-03-06 17:04 ` Timothy Pearson
2026-03-06 17:49 ` Conor Dooley
2026-03-06 17:52 ` Timothy Pearson [this message]
2026-03-06 18:14 ` Conor Dooley
2026-03-06 18:32 ` Timothy Pearson
2026-01-29 19:20 ` [PATCH v7 2/4] mfd: sony-cronos-smc: Add driver for Sony Cronos SMC Raptor Engineering Development Team
2026-01-29 19:20 ` [PATCH v7 3/4] led: sony-cronos-smc: Add RGB LED " Raptor Engineering Development Team
2026-01-29 19:20 ` [PATCH v7 4/4] watchdog: sony-cronos-smc: Add watchdog " Raptor Engineering Development Team
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=530063102.286103.1772819543617.JavaMail.zimbra@raptorengineeringinc.com \
--to=tpearson@raptorengineering.com \
--cc=Georgy.Yakovlev@sony.com \
--cc=conor+dt@kernel.org \
--cc=conor@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=sanastasio@raptorengineering.com \
--cc=support@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
Powered by JetHome