Skip to contentSkip to conversation

dpll: spec: add missing module-name and clock-id to pin-get reply

PATCH Applied Petr Oros 3 participants 3 messages Oct 24, 2025 – Oct 28, 2025

Subsystems (4)
lore
Share & tools
lore

Petr Oros

author
#0 lore raw

PATCH 1/1 dpll: spec: add missing module-name and clock-id to pin-get reply

The dpll.yaml spec incorrectly omitted module-name and clock-id from the pin-get operation reply specification, even though the kernel DPLL implementation has always included these attributes in pin-get responses since the initial implementation.

This spec inconsistency caused issues with the C YNL code generator. The generated dpll_pin_get_rsp structure was missing these fields.

Fix the spec by adding module-name and clock-id to the pin-attrs reply specification to match the actual kernel behavior.

Fixes 3badff3a25d8 ("dpll: spec: Add Netlink spec in YAML")
---
 Documentation/netlink/specs/dpll.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/netlink/specs/dpll.yaml +2 -0
index cafb4ec20447e1..80728f6f9bc876 100644
@@ -605,6 +605,8 @@ operations:
         reply: &pin-attrs
           attributes:
             - id
+            - module-name
+            - clock-id
             - board-label
             - panel-label
             - package-label
Signature · 1 line
2.51.0
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 22 lines · Petr Oros

The dpll.yaml spec incorrectly omitted module-name and clock-id from the pin-get operation reply specification, even though the kernel DPLL implementation has always included these attributes in pin-get responses since the initial implementation.

This spec inconsistency caused issues with the C YNL code generator. The generated dpll_pin_get_rsp structure was missing these fields.

Fix the spec by adding module-name and clock-id to the pin-attrs reply specification to match the actual kernel behavior.

Fixes 3badff3a25d8 ("dpll: spec: Add Netlink spec in YAML")
---
  Documentation/netlink/specs/dpll.yaml | 2 ++
  1 file changed, 2 insertions(+)
Documentation/netlink/specs/dpll.yaml +0 -0
index cafb4ec20447e1..80728f6f9bc876 100644

Documentation/netlink/specs/dpll.yaml operations: · line 612

Quoted 8 lines
Documentation/netlink/specs/dpll.yaml +2 -0
@@ -605,6 +605,8 @@ operations:
          reply: &pin-attrs
            attributes:
              - id
+            - module-name
+            - clock-id
              - board-label
              - panel-label
              - package-label
#2 lore raw
In reply to Petr Oros
This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:

Quoted 9 lines · On Fri, 24 Oct 2025 20:55:12 +0200 you wrote:

The dpll.yaml spec incorrectly omitted module-name and clock-id from the pin-get operation reply specification, even though the kernel DPLL implementation has always included these attributes in pin-get responses since the initial implementation.

This spec inconsistency caused issues with the C YNL code generator. The generated dpll_pin_get_rsp structure was missing these fields.

[...]

Here is the summary with links:
- [net] dpll: spec: add missing module-name and clock-id to pin-get reply

    https://git.kernel.org/netdev/net/c/520ad9e96937

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html