dt-bindings: net: dsa: nxp,sja1105: Add optional clock
Subsystems (5)
Frank Li
maintainerPATCH 1/1 dt-bindings: net: dsa: nxp,sja1105: Add optional clock
Add optional clock for OSC_IN and fix the below CHECK_DTBS warnings:
arch/arm/boot/dts/nxp/imx/imx6qp-prtwd3.dtb: switch@0 (nxp,sja1105q): Unevaluated properties are not allowed ('clocks' was unexpected)
--- Documentation/devicetree/bindings/net/dsa/nxp,sja1105.yaml | 3 +++ 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/net/dsa/nxp,sja1105.yaml +3 -0
@@ -41,6 +41,9 @@ properties: therefore discouraged. maxItems: 1 + clocks: + maxItems: 1 + spi-cpha: true spi-cpol: true
Signature · 1 line
2.34.1
Quoted 4 lines · Frank Li
Add optional clock for
OSC_INand fix the belowCHECK_DTBSwarnings:
arch/arm/boot/dts/nxp/imx/imx6qp-prtwd3.dtb: switch@0 (nxp,sja1105q): Unevaluated properties are not allowed ('clocks' was unexpected)Signed-off-by Frank Li <[email protected]>
pw-bot: not-applicable
Quoted 8 lines · Conor Dooley
Quoted 4 lines · Frank Li
Add optional clock for
OSC_INand fix the belowCHECK_DTBSwarnings:
arch/arm/boot/dts/nxp/imx/imx6qp-prtwd3.dtb: switch@0 (nxp,sja1105q): Unevaluated properties are not allowed ('clocks' was unexpected)Signed-off-by Frank Li <[email protected]>Acked-by Conor Dooley <[email protected]>pw-bot: not-applicable
Hmm, I think this pw-bot command, intended for the dt patchwork has probably screwed with the state in the netdev patchwork. Hopefully I can fix that via
pw-bot: new
Jakub Kicinski
maintainerQuoted 5 lines · On Tue, 14 Oct 2025 19:12:23 +0100 Conor Dooley wrote:
Quoted 4 lines · Conor Dooley
Quoted 3 lines · Frank Li
Add optional clock for
OSC_INand fix the belowCHECK_DTBSwarnings:
arch/arm/boot/dts/nxp/imx/imx6qp-prtwd3.dtb: switch@0 (nxp,sja1105q): Unevaluated properties are not allowed ('clocks' was unexpected)
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
Signed-off-by Frank Li <[email protected]>Acked-by Conor Dooley <[email protected]>pw-bot: not-applicable
Hmm, I think this pw-bot command, intended for the dt patchwork has probably screwed with the state in the netdev patchwork. Hopefully I can fix that via
The pw-bot commands are a netdev+bpf thing :) They won't do anything to dt patchwork. IOW the pw-bot is a different bot than the one that replies when patch is applied.
Quoted 11 lines · Jakub Kicinski
Quoted 10 lines · On Tue, 14 Oct 2025 19:12:23 +0100 Conor Dooley wrote:
Quoted 8 lines · Conor Dooley
Quoted 4 lines · Frank Li
Add optional clock for
OSC_INand fix the belowCHECK_DTBSwarnings:
arch/arm/boot/dts/nxp/imx/imx6qp-prtwd3.dtb: switch@0 (nxp,sja1105q): Unevaluated properties are not allowed ('clocks' was unexpected)Signed-off-by Frank Li <[email protected]>Acked-by Conor Dooley <[email protected]>pw-bot: not-applicable
Quoted 7 lines
Quoted 3 lines
Hmm, I think this pw-bot command, intended for the dt patchwork has probably screwed with the state in the netdev patchwork. Hopefully I can fix that via
The pw-bot commands are a netdev+bpf thing :) They won't do anything to dt patchwork. IOW the pw-bot is a different bot than the one that replies when patch is applied.
Rob's recently added it to our patchwork too.
Jakub Kicinski
maintainerQuoted 11 lines · On Tue, 14 Oct 2025 20:35:04 +0100 Conor Dooley wrote:
Quoted 8 lines · Jakub Kicinski
Quoted 3 lines · On Tue, 14 Oct 2025 19:12:23 +0100 Conor Dooley wrote:
Hmm, I think this pw-bot command, intended for the dt patchwork has probably screwed with the state in the netdev patchwork. Hopefully I can fix that via
The pw-bot commands are a netdev+bpf thing :) They won't do anything to dt patchwork. IOW the pw-bot is a different bot than the one that replies when patch is applied.
Rob's recently added it to our patchwork too.
:-o Nice!
Do you know if it's the NIPA one or did he write his own? I think we need to add support for some kind of project tagging to avoid changing state in each other's patchworks?
pw-bot: xyz [project]
(with the [] brackets, not just meaning that the project is optional)
Rob Herring
maintainerQuoted 16 lines · Conor Dooley
Quoted 15 lines · Jakub Kicinski
Quoted 13 lines · On Tue, 14 Oct 2025 19:12:23 +0100 Conor Dooley wrote:
Quoted 8 lines · Conor Dooley
Quoted 4 lines · Frank Li
Add optional clock for
OSC_INand fix the belowCHECK_DTBSwarnings:
arch/arm/boot/dts/nxp/imx/imx6qp-prtwd3.dtb: switch@0 (nxp,sja1105q): Unevaluated properties are not allowed ('clocks' was unexpected)Signed-off-by Frank Li <[email protected]>Acked-by Conor Dooley <[email protected]>pw-bot: not-applicable
Hmm, I think this pw-bot command, intended for the dt patchwork has probably screwed with the state in the netdev patchwork. Hopefully I can fix that via
Quoted 5 lines
Quoted 3 lines
The pw-bot commands are a netdev+bpf thing :) They won't do anything to dt patchwork. IOW the pw-bot is a different bot than the one that replies when patch is applied.
Rob's recently added it to our patchwork too.
And the issue is that both PW projects might get updated and both don't necessarily want the same state (like this case). So we need to distinguish. Perhaps like one of the following:
dt-pw-bot: <state>
or
pw-bot: <project> <state>
Rob
Jakub Kicinski
maintainerQuoted 12 lines · On Tue, 14 Oct 2025 15:48:07 -0500 Rob Herring wrote:
Quoted 6 lines · Conor Dooley
Quoted 3 lines · Jakub Kicinski
The pw-bot commands are a netdev+bpf thing :) They won't do anything to dt patchwork. IOW the pw-bot is a different bot than the one that replies when patch is applied.
Rob's recently added it to our patchwork too.
And the issue is that both PW projects might get updated and both don't necessarily want the same state (like this case). So we need to distinguish. Perhaps like one of the following:
Quoted 5 lines
dt-pw-bot: <state>
or
pw-bot: <project> <state>
We crossed replies, do you mind
pw-bot: xyz [project]
? I like the optional param after required, and the brackets may help us disambiguate between optional params if there are more in the future.
Rob Herring
maintainerQuoted 18 lines · Jakub Kicinski
Quoted 16 lines · On Tue, 14 Oct 2025 15:48:07 -0500 Rob Herring wrote:
Quoted 6 lines · Conor Dooley
Quoted 3 lines · Jakub Kicinski
The pw-bot commands are a netdev+bpf thing :) They won't do anything to dt patchwork. IOW the pw-bot is a different bot than the one that replies when patch is applied.
Rob's recently added it to our patchwork too.
And the issue is that both PW projects might get updated and both don't necessarily want the same state (like this case). So we need to distinguish. Perhaps like one of the following:
dt-pw-bot: <state>
or
Quoted 8 lines
Quoted 1 line
pw-bot: <project> <state>
We crossed replies, do you mind
pw-bot: xyz [project]
? I like the optional param after required, and the brackets may help us disambiguate between optional params if there are more in the future.
That's fine. Though it will be optional for you, but not us? We have to ignore tags without the project if tags intended for netdev are continued without the project. Or does no project mean I want to update every project?
I also considered looking at who the email is from and restricting it to the maintainers. I know the netdev one doesn't do that either because I used it a couple of times. :) It does seem like it could be abused.
Rob
Andrew Lunn
maintainerQuoted 4 lines
I also considered looking at who the email is from and restricting it to the maintainers. I know the netdev one doesn't do that either because I used it a couple of times. :) It does seem like it could be abused.
The netdev one does have some restrictions.
https://www.kernel.org/doc/html/latest/process/maintainer-netdev.html#updating-patch-status
says:
The use of the bot is restricted to authors of the patches (the
From: header on patch submission and command must match!), maintainers of the modified code according to the MAINTAINERS file (again, From: must match the MAINTAINERS entry) and a handful of senior reviewers.
Here is one example from you:
https://patchwork.kernel.org/project/netdevbpf/patch/[email protected]/
and it was your own patch.
All its actions are logged:
https://netdev.bots.linux.dev/pw-bot.html
so we can keep an eye of out for abuse. Plus, since it is an email to patchwork, patchwork itself should have any abuse emails.
Andrew
Jakub Kicinski
maintainerQuoted 14 lines · On Wed, 15 Oct 2025 06:53:01 -0500 Rob Herring wrote:
Quoted 14 lines
Quoted 9 lines
And the issue is that both PW projects might get updated and both don't necessarily want the same state (like this case). So we need to distinguish. Perhaps like one of the following:
dt-pw-bot: <state>
or
pw-bot: <project> <state>
We crossed replies, do you mind
pw-bot: xyz [project]
Quoted 7 lines
Quoted 2 lines
? I like the optional param after required, and the brackets may help us disambiguate between optional params if there are more in the future.
That's fine. Though it will be optional for you, but not us? We have to ignore tags without the project if tags intended for netdev are continued without the project. Or does no project mean I want to update every project?
Fair :( I imagine your workflow is that patches land in your pw, and once a DT maintainer reviewed them you don't care about them any more? So perhaps a better bot on your end would be a bot which listens to Ack/Review tags from DT maintainers. When tag is received the patch gets dropped from PW as "Handled Elsewhere", and patch id (or whatever that patch hash thing is called) gets recorded to automatically discard pure reposts.
Would that work?
Rob Herring
maintainerQuoted 19 lines · Jakub Kicinski
Quoted 17 lines · On Wed, 15 Oct 2025 06:53:01 -0500 Rob Herring wrote:
Quoted 16 lines
Quoted 9 lines
And the issue is that both PW projects might get updated and both don't necessarily want the same state (like this case). So we need to distinguish. Perhaps like one of the following:
dt-pw-bot: <state>
or
pw-bot: <project> <state>
We crossed replies, do you mind
pw-bot: xyz [project]
? I like the optional param after required, and the brackets may help us disambiguate between optional params if there are more in the future.
Quoted 7 lines
Quoted 4 lines
That's fine. Though it will be optional for you, but not us? We have to ignore tags without the project if tags intended for netdev are continued without the project. Or does no project mean I want to update every project?
Fair :( I imagine your workflow is that patches land in your pw, and once a DT maintainer reviewed them you don't care about them any more?
Not exactly. Often I don't, but for example sometimes I need to apply the patch (probably should setup a group tree, but it's enough of an exception I haven't.).
Quoted 5 lines
So perhaps a better bot on your end would be a bot which listens to Ack/Review tags from DT maintainers. When tag is received the patch gets dropped from PW as "Handled Elsewhere", and patch id (or whatever that patch hash thing is called) gets recorded to automatically discard pure reposts.
I already have that in place too. Well, kind of, it updates my review/ack automatically on subsequent versions, but I currently do a separate pass of what Conor and Krzysztof reviewed. Where the pw-bot tags are useful is when there are changes requested. I suppose I could look for replies from them without acks, but while that usually indicates changes are needed, not always. So the pw-bot tag is useful to say the other DT maintainers don't need to look at this patch at all.
Rob
Jakub Kicinski
maintainerQuoted 20 lines · On Wed, 15 Oct 2025 12:32:14 -0500 Rob Herring wrote:
Quoted 8 lines · Jakub Kicinski
Quoted 4 lines · On Wed, 15 Oct 2025 06:53:01 -0500 Rob Herring wrote:
That's fine. Though it will be optional for you, but not us? We have to ignore tags without the project if tags intended for netdev are continued without the project. Or does no project mean I want to update every project?
Fair :( I imagine your workflow is that patches land in your pw, and once a DT maintainer reviewed them you don't care about them any more?
Not exactly. Often I don't, but for example sometimes I need to apply the patch (probably should setup a group tree, but it's enough of an exception I haven't.).
Quoted 5 lines
So perhaps a better bot on your end would be a bot which listens to Ack/Review tags from DT maintainers. When tag is received the patch gets dropped from PW as "Handled Elsewhere", and patch id (or whatever that patch hash thing is called) gets recorded to automatically discard pure reposts.
Quoted 8 lines
I already have that in place too. Well, kind of, it updates my review/ack automatically on subsequent versions, but I currently do a separate pass of what Conor and Krzysztof reviewed. Where the pw-bot tags are useful is when there are changes requested. I suppose I could look for replies from them without acks, but while that usually indicates changes are needed, not always. So the pw-bot tag is useful to say the other DT maintainers don't need to look at this patch at all.
I don't think we need to do anything, then. Changes-requested will apply across all the patchwork instances. Only not-applicable / handled-elsewhere gets tricky with multiple instances.
Quoted 8 lines · Jakub Kicinski
Quoted 7 lines · On Wed, 15 Oct 2025 12:32:14 -0500 Rob Herring wrote:
Quoted 6 lines · Jakub Kicinski
Quoted 4 lines · On Wed, 15 Oct 2025 06:53:01 -0500 Rob Herring wrote:
That's fine. Though it will be optional for you, but not us? We have to ignore tags without the project if tags intended for netdev are continued without the project. Or does no project mean I want to update every project?
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines
Fair :( I imagine your workflow is that patches land in your pw, and once a DT maintainer reviewed them you don't care about them any more?
Not exactly. Often I don't, but for example sometimes I need to apply the patch (probably should setup a group tree, but it's enough of an exception I haven't.).
I think myself and Krzysztof (well, I can only really speak for myself) have some idea about what things are likely to be material for the dt tree. I just don't set a status for them if I interact or I outright leave them for Rob.
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
So perhaps a better bot on your end would be a bot which listens to Ack/Review tags from DT maintainers. When tag is received the patch gets dropped from PW as "Handled Elsewhere", and patch id (or whatever that patch hash thing is called) gets recorded to automatically discard pure reposts.
Quoted 8 lines
Quoted 8 lines
I already have that in place too. Well, kind of, it updates my review/ack automatically on subsequent versions, but I currently do a separate pass of what Conor and Krzysztof reviewed. Where the pw-bot tags are useful is when there are changes requested. I suppose I could look for replies from them without acks, but while that usually indicates changes are needed, not always. So the pw-bot tag is useful to say the other DT maintainers don't need to look at this patch at all.
Yeah, I think it's better to leave it explicit. Often a non-tag reply is looking for clarification before providing one. Both Krzysztof and I maintain platforms and minor subsystems (very minor in my case) so there's b4-ty or manual patch acceptance emails too that obviously are not requesting changes!
Quoted 3 lines
I don't think we need to do anything, then. Changes-requested will apply across all the patchwork instances. Only not-applicable / handled-elsewhere gets tricky with multiple instances.
I'm sort of unclear about what to do here. What would make sense to me is that the bots disallow each other's maintainers to set the not-applicable or handled-elsewhere states, since those are the ones with unintended consequences if set in the wrong place, like I did here.
"I don't think we need to do anything" sounds like I can do changes-requested when I feel like it, but need to be careful about netdev when I do others, which is fine, I just need to know where I stand.
Cheers,
Conor.
Quoted 25 lines · Frank Li
Add optional clock for
OSC_INand fix the belowCHECK_DTBSwarnings:
arch/arm/boot/dts/nxp/imx/imx6qp-prtwd3.dtb: switch@0 (nxp,sja1105q): Unevaluated properties are not allowed ('clocks' was unexpected)Signed-off-by Frank Li <[email protected]>--- Documentation/devicetree/bindings/net/dsa/nxp,sja1105.yaml | 3 +++ 1 file changed, 3 insertions(+)Documentation/devicetree/bindings/net/dsa/nxp,sja1105.yaml +3
-0@@ -41,6 +41,9 @@ properties: therefore discouraged. maxItems: 1 + clocks: + maxItems: 1 + spi-cpha: true spi-cpol: trueSignature · 1 line
2.34.1
with the comment that you might want to add clk_prepare_enable() driver support for it too. Someone who specifies a clock which isn't fixed might be taken by surprise by the missing driver logic.
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 7 lines · On Fri, 10 Oct 2025 14:34:17 -0400 you wrote:
Add optional clock for
OSC_INand fix the belowCHECK_DTBSwarnings:
arch/arm/boot/dts/nxp/imx/imx6qp-prtwd3.dtb: switch@0 (nxp,sja1105q): Unevaluated properties are not allowed ('clocks' was unexpected)Signed-off-by Frank Li <[email protected]>--- Documentation/devicetree/bindings/net/dsa/nxp,sja1105.yaml | 3 +++ 1 file changed, 3 insertions(+)
Here is the summary with links:
- [1/1] dt-bindings: net: dsa: nxp,sja1105: Add optional clock
https://git.kernel.org/netdev/net-next/c/6378e25ee1ca
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html