arm64: dts: allwinner: H616: Add LRADC
Subsystems (5)
cover arm64: dts: allwinner: H616: Add LRADC
From: James McGregor <[email protected]>
The Allwinner H616 series of SoCs have a low-rate ADC (LRADC) with 6-bit resolution and one input channel. They're compatible with the existing drivers, so it only needs to be enabled in the DT.
Add an LRADC node to the H616 .dtsi, so board DTs can use them by adding 'status = "okay";'.
This was tested on an OrangePi Zero 2W by attaching an expansion board with two key buttons connected to the LRADC, and adding them to the DT. /dev/input/event0 then properly reported the button presses. The patches are based off sunxi/for-next.
James McGregor (2):
dt-bindings: input: sum4i-lradc-keys: Add H616 compatible
ARM: dts: sun50i: Add LRADC node
.../bindings/input/allwinner,sun4i-a10-lradc-keys.yaml | 4 +++- arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi | 10 ++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-)
Signature · 1 line
2.34.1
PATCH 1/2 dt-bindings: input: sun4i-lradc-keys: Add H616 compatible
From: James McGregor <[email protected]>
The Allwinner H616 SoC has an LRADC which is compatible with the versions in existing SoCs.
Add a compatible string for H616, with the R329 fallback. This is the same as the D1, so put them into an enum.
--- .../bindings/input/allwinner,sun4i-a10-lradc-keys.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/input/allwinner,sun4i-a10-lradc-keys.yaml +3 -1
@@ -22,7 +22,9 @@ properties: - const: allwinner,sun8i-a83t-r-lradc - const: allwinner,sun50i-r329-lradc - items: - - const: allwinner,sun20i-d1-lradc + - enum: + - allwinner,sun50i-h616-lradc + - allwinner,sun20i-d1-lradc - const: allwinner,sun50i-r329-lradc reg:
Signature · 1 line
2.34.1
Re: [PATCH 1/2] dt-bindings: input: sun4i-lradc-keys: Add H616 compatible
On Mon, 22 Apr 2024 17:45:10 +0100
Andre Przywara <[email protected]> wrote:
Hi,
Quoted 9 lines
From: James McGregor <[email protected]>
The Allwinner H616 SoC has an LRADC which is compatible with the versions in existing SoCs.
Add a compatible string for H616, with the R329 fallback. This is the same as the D1, so put them into an enum.Signed-off-by James McGregor <[email protected]>Signed-off-by Andre Przywara <[email protected]>
Compared the descriptions in the manual between the R392 and the H616, they look the same:
Cheers,
Andre
Quoted 19 lines
--- .../bindings/input/allwinner,sun4i-a10-lradc-keys.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)Documentation/devicetree/bindings/input/allwinner,sun4i-a10-lradc-keys.yaml +3
-1@@ -22,7 +22,9 @@ properties: - const: allwinner,sun8i-a83t-r-lradc - const: allwinner,sun50i-r329-lradc - items: - - const: allwinner,sun20i-d1-lradc + - enum: + - allwinner,sun50i-h616-lradc + - allwinner,sun20i-d1-lradc - const: allwinner,sun50i-r329-lradc reg:
Re: [PATCH 1/2] dt-bindings: input: sun4i-lradc-keys: Add H616 compatible
Quoted 12 lines · Andre Przywara
On Mon, 22 Apr 2024 17:45:10 +0100
Andre Przywara <[email protected]> wrote:Hi,
Quoted 7 lines
From: James McGregor <[email protected]>
The Allwinner H616 SoC has an LRADC which is compatible with the versions in existing SoCs.
Add a compatible string for H616, with the R329 fallback. This is the same as the D1, so put them into an enum.
Quoted 7 lines
Quoted 2 lines
Signed-off-by James McGregor <[email protected]>Signed-off-by Andre Przywara <[email protected]>Compared the descriptions in the manual between the R392 and the H616, they look the same:
Reviewed-by Andre Przywara <[email protected]>
Why do you review your own patches? Does it mean that you contribute code which you did not review before?
This is odd process.
Your Review is implied by sending the patch. And you have there SoB which indicates you sent it...
Best regards,
Krzysztof
Re: [PATCH 1/2] dt-bindings: input: sun4i-lradc-keys: Add H616 compatible
On Tue, 23 Apr 2024 14:18:23 +0200
Krzysztof Kozlowski <[email protected]> wrote:
Hi,
Quoted 16 lines · Andre Przywara
Quoted 15 lines
On Mon, 22 Apr 2024 17:45:10 +0100
Andre Przywara <[email protected]> wrote:Hi,
Quoted 9 lines
From: James McGregor <[email protected]>
The Allwinner H616 SoC has an LRADC which is compatible with the versions in existing SoCs.
Add a compatible string for H616, with the R329 fallback. This is the same as the D1, so put them into an enum.Signed-off-by James McGregor <[email protected]>Signed-off-by Andre Przywara <[email protected]>
Quoted 7 lines
Quoted 4 lines
Compared the descriptions in the manual between the R392 and the H616, they look the same:
Reviewed-by Andre Przywara <[email protected]>Why do you review your own patches? Does it mean that you contribute code which you did not review before?
I just merely sent the code on behalf of James, because he had trouble with the email setup (Protonmail has no SMTP), but didn't want to delay the post any longer.
Quoted 1 line
This is odd process.
I agree, I would have liked it more if James would have sent it himself, and then my review would look more natural, but with my review I wanted to explicitly point out the technical correctness. Besides: I found this ordering issue in the other patch only after sending, so needed to somehow respond anyway.
Also I wanted to make the process transparent: someone posts a patch (in this case via a proxy), then it gets reviewed.
Quoted 1 line
Your Review is implied by sending the patch.
Is that really true? I was under the impression that sending is independent from review. I mean I doubt that every maintainer sending patches up the chain (when they add their SoB) implies a *review*? Surely they do agree on the patch (also typically expressed by an Ack), otherwise they wouldn't send it, but a "review" is still a different thing. The Linux history has both Rb + SoB from the same person and just SoB signatures, so I assume that it's not implied.
Quoted 1 line
And you have there SoB which indicates you sent it...
Yes, but SoB just means I sign off on the legal aspects: that I got the patches legally, compliant with the GPL, and that I am fine with and allowed to release them under GPL conditions.
That does not include any code review aspect, AFAICT.
Happy to hear other opinions, but this is my interpretation.
Cheers,
Andre
Re: [PATCH 1/2] dt-bindings: input: sun4i-lradc-keys: Add H616 compatible
Quoted 24 lines · Andre Przywara
On Tue, 23 Apr 2024 14:18:23 +0200
Krzysztof Kozlowski <[email protected]> wrote:Hi,
Quoted 19 lines · Andre Przywara
Quoted 18 lines
On Mon, 22 Apr 2024 17:45:10 +0100
Andre Przywara <[email protected]> wrote:Hi,
Quoted 9 lines
From: James McGregor <[email protected]>
The Allwinner H616 SoC has an LRADC which is compatible with the versions in existing SoCs.
Add a compatible string for H616, with the R329 fallback. This is the same as the D1, so put them into an enum.Signed-off-by James McGregor <[email protected]>Signed-off-by Andre Przywara <[email protected]>Compared the descriptions in the manual between the R392 and the H616, they look the same:
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
Reviewed-by Andre Przywara <[email protected]>Why do you review your own patches? Does it mean that you contribute code which you did not review before?
I just merely sent the code on behalf of James, because he had trouble with the email setup (Protonmail has no SMTP), but didn't want to delay the post any longer.
OK, thanks, I suggest using b4 relay in the future.
Quoted 11 lines
Quoted 2 lines
This is odd process.
I agree, I would have liked it more if James would have sent it himself, and then my review would look more natural, but with my review I wanted to explicitly point out the technical correctness. Besides: I found this ordering issue in the other patch only after sending, so needed to somehow respond anyway.
Also I wanted to make the process transparent: someone posts a patch (in this case via a proxy), then it gets reviewed.
Quoted 3 lines
Quoted 1 line
Your Review is implied by sending the patch.
Is that really true? I was under the impression that sending is
For authorship, both tested and review are implied. You cannot send code which you do not think is correct, therefore your authorship fulfills entire Reviewer's statement of oversight. There is nothing new said in statement of oversight comparing to what authorship says.
Now for testing, I think it is also kind of obvious that whenever we can test our own code, we test it.
For sending other people patches, we could disagree. I stand that I would not ever send incorrect patch intentionally. Therefore reviewer's statement of oversight is entirely redundant as well. I just cannot send someone's patch without reviewing, thus without adhering to points expressed by statement of oversight.
Quoted 2 lines
independent from review. I mean I doubt that every maintainer sending patches up the chain (when they add their SoB) implies a *review*? Surely
Yes, every. This applies to mass-maintainers, like netdev, Greg, Andrew etc.
Every patch I apply to my subsystems is reviewed by me. I cannot do else, because that is the requirement of maintainership.
There are however maintainers (see i2c patches or Intel DRM) who accept patches and do not review them. When they review, they provide additional Rb tag + Sob. This is weird because it means when they accept patch, they take it unreviewed! Their SoB does not imply reviewing patch and this is in contrast to kernel process.
BTW, Stephen Rothwell mentions this to every maintainer on adding their tree to linux-next ("You will need to ensure that ... reviewed by you (or another maintainer of your subsystem tree)").
Quoted 2 lines
they do agree on the patch (also typically expressed by an Ack), otherwise they wouldn't send it, but a "review" is still a different thing.
IMO, this would mean such maintainers accept code which they do not understand/review/care. They are just patch juggling monkeys who take something and push it further without doing actual work.
That's not how maintainership should look like. Maintainer must take reviewed code and, if other maintainers do not review, then they must perform it.
Quoted 2 lines
The Linux history has both Rb + SoB from the same person and just SoB signatures, so I assume that it's not implied.
It depends on people. As I said, I2C and DRM provide Review tag. For me this is silly and suggest that all my work, that 1000 patches I took, was not reviewed.
Quoted 7 lines
Quoted 2 lines
And you have there SoB which indicates you sent it...
Yes, but SoB just means I sign off on the legal aspects: that I got the patches legally, compliant with the GPL, and that I am fine with and allowed to release them under GPL conditions.
That does not include any code review aspect, AFAICT.
So you want to say, that you are fine in sending intentionally buggy code, knowingly incorrect, because your SoB and your "git send-email" does not mean you reviewed it?
Best regards,
Krzysztof
Re: [PATCH 1/2] dt-bindings: input: sun4i-lradc-keys: Add H616 compatible
Quoted 49 lines · Krzysztof Kozlowski
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Compared the descriptions in the manual between the R392 and the H616, they look the same:
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
Reviewed-by Andre Przywara <[email protected]>Why do you review your own patches? Does it mean that you contribute code which you did not review before?
I just merely sent the code on behalf of James, because he had trouble with the email setup (Protonmail has no SMTP), but didn't want to delay the post any longer.
OK, thanks, I suggest using b4 relay in the future.
Quoted 11 lines
Quoted 2 lines
This is odd process.
I agree, I would have liked it more if James would have sent it himself, and then my review would look more natural, but with my review I wanted to explicitly point out the technical correctness. Besides: I found this ordering issue in the other patch only after sending, so needed to somehow respond anyway.
Also I wanted to make the process transparent: someone posts a patch (in this case via a proxy), then it gets reviewed.Quoted 3 lines
Quoted 1 line
Your Review is implied by sending the patch.
Is that really true? I was under the impression that sending is
For authorship, both tested and review are implied. You cannot send code which you do not think is correct, therefore your authorship fulfills entire Reviewer's statement of oversight. There is nothing new said in statement of oversight comparing to what authorship says.
Now for testing, I think it is also kind of obvious that whenever we can test our own code, we test it.
For sending other people patches, we could disagree. I stand that I would not ever send incorrect patch intentionally. Therefore reviewer's statement of oversight is entirely redundant as well. I just cannot send someone's patch without reviewing, thus without adhering to points expressed by statement of oversight.
Quoted 2 lines
independent from review. I mean I doubt that every maintainer sending patches up the chain (when they add their SoB) implies a *review*? Surely
Yes, every. This applies to mass-maintainers, like netdev, Greg, Andrew etc.
Quoted 8 lines
Every patch I apply to my subsystems is reviewed by me. I cannot do else, because that is the requirement of maintainership.
There are however maintainers (see i2c patches or Intel DRM) who accept patches and do not review them. When they review, they provide additional Rb tag + Sob. This is weird because it means when they accept patch, they take it unreviewed! Their SoB does not imply reviewing patch and this is in contrast to kernel process.
Above is my quote and I understood that my sentence is misleading. I wanted to say that such maintainers, when accepting code reviewed by other maintainer, do not perform their own review. They just blindly take it. That would be the meaning for me, that in other cases they add explicit Review-tag. If they add it explicit, then when it is missing it means "No review". And this is odd.
Quoted 17 lines
BTW, Stephen Rothwell mentions this to every maintainer on adding their tree to linux-next ("You will need to ensure that ... reviewed by you (or another maintainer of your subsystem tree)").
Quoted 2 lines
they do agree on the patch (also typically expressed by an Ack), otherwise they wouldn't send it, but a "review" is still a different thing.
IMO, this would mean such maintainers accept code which they do not understand/review/care. They are just patch juggling monkeys who take something and push it further without doing actual work.
That's not how maintainership should look like. Maintainer must take reviewed code and, if other maintainers do not review, then they must perform it.
Quoted 6 lines
Quoted 2 lines
The Linux history has both Rb + SoB from the same person and just SoB signatures, so I assume that it's not implied.
It depends on people. As I said, I2C and DRM provide Review tag. For me this is silly and suggest that all my work, that 1000 patches I took, was not reviewed.
Also, quoting maintainer's handbook in Linux kernel:
"Maintainers must review *all* patches touching exclusively their drivers, no matter how trivial."
This cannot be written simpler. Every patch maintainer accepts, which is not reviewed by co-maintainers or other maintainers, must be reviewed by him, thus Review is implied by his SoB and commit.
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
And you have there SoB which indicates you sent it...
Quoted 9 lines
Quoted 4 lines
Yes, but SoB just means I sign off on the legal aspects: that I got the patches legally, compliant with the GPL, and that I am fine with and allowed to release them under GPL conditions.
That does not include any code review aspect, AFAICT.So you want to say, that you are fine in sending intentionally buggy code, knowingly incorrect, because your SoB and your "git send-email" does not mean you reviewed it?
Best regards,
Krzysztof
Re: [PATCH 1/2] dt-bindings: input: sun4i-lradc-keys: Add H616 compatible
In reply to Krzysztof KozlowskiOn Tue, 23 Apr 2024 16:59:31 +0200
Krzysztof Kozlowski <[email protected]> wrote:
Hi,
Quoted 27 lines · Andre Przywara
Quoted 26 lines
On Tue, 23 Apr 2024 14:18:23 +0200
Krzysztof Kozlowski <[email protected]> wrote:Hi,
Quoted 21 lines · Andre Przywara
Quoted 19 lines
On Mon, 22 Apr 2024 17:45:10 +0100
Andre Przywara <[email protected]> wrote:Hi,
Quoted 9 lines
From: James McGregor <[email protected]>
The Allwinner H616 SoC has an LRADC which is compatible with the versions in existing SoCs.
Add a compatible string for H616, with the R329 fallback. This is the same as the D1, so put them into an enum.Signed-off-by James McGregor <[email protected]>Signed-off-by Andre Przywara <[email protected]>Compared the descriptions in the manual between the R392 and the H616, they look the same:
Reviewed-by Andre Przywara <[email protected]>
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
Why do you review your own patches? Does it mean that you contribute code which you did not review before?
I just merely sent the code on behalf of James, because he had trouble with the email setup (Protonmail has no SMTP), but didn't want to delay the post any longer.
OK, thanks, I suggest using b4 relay in the future.
Sure, will relay that - though this is not trivial to setup either.
Quoted 10 lines
Quoted 10 lines
Quoted 1 line
This is odd process.
I agree, I would have liked it more if James would have sent it himself, and then my review would look more natural, but with my review I wanted to explicitly point out the technical correctness. Besides: I found this ordering issue in the other patch only after sending, so needed to somehow respond anyway.
Also I wanted to make the process transparent: someone posts a patch (in this case via a proxy), then it gets reviewed.
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
Your Review is implied by sending the patch.
Is that really true? I was under the impression that sending is
For authorship, both tested and review are implied. You cannot send code which you do not think is correct, therefore your authorship fulfills entire Reviewer's statement of oversight. There is nothing new said in statement of oversight comparing to what authorship says.
Fair enough, and James did, but I am not the author, as shown by the explicit From: line, having a different name.
I *did* have a look over the patch before sending it, running checkpatch etc.
But I cannot find anything in submitting-patches.rst that would constitute that Signed-off-by: includes any kind of technical review, it just seems to cover the legal aspects of patch deliverance?
And personally for me a *review* means a thorough look at the code, understanding what it does and how it does it, and checking various details, for instance by looking into a datasheet.
This is what I did only later, hence the separate review mail.
Quoted 2 lines
Now for testing, I think it is also kind of obvious that whenever we can test our own code, we test it.
Granted. I do not have hardware to test, but I ran DT schema checks before sending, I guess this qualifies as "testing" to some degree.
Quoted 2 lines
For sending other people patches, we could disagree. I stand that I would not ever send incorrect patch intentionally.
Sure, and the patch was not incorrect, I trust James that far, because I know him and talked to him about this patch and the process before.
Quoted 1 line
Therefore reviewer's statement of oversight is entirely redundant as well.
Maybe I missed that, but I don't see anything in the documentation that would support this statement. The "reviewer's statement of oversight" is only expressed by an explicit Reviewed-by: tag, it seems, and none of the other tags seem to include that. I would agree that authorship does, somewhat naturally, but I don't see that sending or SoB does.
Quoted 3 lines
I just cannot send
someone's patch without reviewing, thus without adhering to points expressed by statement of oversight.
As you mention elsewhere, this seems to be individual.
I personally feel that this assumed "implicit review", given through the SoB tag or through sending, is weaker than an explicit Rb tag. I agree that by sending a patch from someone else I take some kind of responsibility for the patch, but in this case I wanted to express that I did a proper review of the patch, going beyond the usual process checks. Hence the reply with the R-b tag.
Quoted 7 lines
Quoted 2 lines
independent from review. I mean I doubt that every maintainer sending patches up the chain (when they add their SoB) implies a *review*? Surely
Yes, every. This applies to mass-maintainers, like netdev, Greg, Andrew etc.
Every patch I apply to my subsystems is reviewed by me. I cannot do else, because that is the requirement of maintainership.
I don't see it that way, I guess many maintainers rely on (thorough) reviews from third parties, and just glance over each patch before sending? Doesn't mean that they can and do reviews, but I feel it's not a requirement to do so *yourself* for *every* patch?
Quoted 9 lines
There are however maintainers (see i2c patches or Intel DRM) who accept patches and do not review them. When they review, they provide additional Rb tag + Sob. This is weird because it means when they accept patch, they take it unreviewed! Their SoB does not imply reviewing patch and this is in contrast to kernel process.
BTW, Stephen Rothwell mentions this to every maintainer on adding their tree to linux-next ("You will need to ensure that ... reviewed by you (or another maintainer of your subsystem tree)").
But this hints that there must be *some* review taking place, and it's the maintainer's responsibility to ensure this. But that doesn't mean that the maintainer cannot delegate? And then they would just forward patches reviewed by trusted people.
Quoted 10 lines
Quoted 2 lines
they do agree on the patch (also typically expressed by an Ack), otherwise they wouldn't send it, but a "review" is still a different thing.
IMO, this would mean such maintainers accept code which they do not understand/review/care. They are just patch juggling monkeys who take something and push it further without doing actual work.
That's not how maintainership should look like. Maintainer must take reviewed code and, if other maintainers do not review, then they must perform it.
Of course, but I feel this discussion goes into a different direction. I am not a maintainer for the sunxi tree, I am a mere messenger here, forwarding a patch. And I didn't think this implies an implicit review. A did an explicit one, to stress that I did look into the patch more thoroughly, and also because we are not exactly drowning in reviewers ;-)
Quoted 6 lines
Quoted 2 lines
The Linux history has both Rb + SoB from the same person and just SoB signatures, so I assume that it's not implied.
It depends on people. As I said, I2C and DRM provide Review tag. For me this is silly and suggest that all my work, that 1000 patches I took, was not reviewed.
If you forward a thousand patches, I wouldn't expect you did review all of them *yourself*. This would be an almost impossible task, unless "review" just means something like: "uses tabs for indentation".
Quoted 10 lines
Quoted 6 lines
Quoted 1 line
And you have there SoB which indicates you sent it...
Yes, but SoB just means I sign off on the legal aspects: that I got the patches legally, compliant with the GPL, and that I am fine with and allowed to release them under GPL conditions.
That does not include any code review aspect, AFAICT.So you want to say, that you are fine in sending intentionally buggy code, knowingly incorrect, because your SoB and your "git send-email" does not mean you reviewed it?
Where did I claim that? Of course I would not send intentionally buggy code, and of course I did some high level checking of the patch before I attached my name to it. But to me this is still different from a proper "review", hence my reply.
Cheers,
Andre
Quoted 4 lines
Best regards,
Krzysztof
Re: [PATCH 1/2] dt-bindings: input: sun4i-lradc-keys: Add H616 compatible
Quoted 7 lines · Andre Przywara
Quoted 3 lines
For sending other people patches, we could disagree. I stand that I would not ever send incorrect patch intentionally.
Sure, and the patch was not incorrect, I trust James that far, because I know him and talked to him about this patch and the process before.
Quoted 7 lines
Quoted 1 line
Therefore reviewer's statement of oversight is entirely redundant as well.
Maybe I missed that, but I don't see anything in the documentation that would support this statement. The "reviewer's statement of oversight" is only expressed by an explicit Reviewed-by: tag, it seems, and none of the other tags seem to include that. I would agree that authorship does, somewhat naturally, but I don't see that sending or SoB does.
If you send someone's patch, the patch must be correct to your best knowledge. Therefore Reviewer's statement of oversight does not cover anything more.
Otherwise such submitter of someone's patches must not be trusted.
Quoted 10 lines
Quoted 4 lines
I just cannot send
someone's patch without reviewing, thus without adhering to points expressed by statement of oversight.As you mention elsewhere, this seems to be individual.
I personally feel that this assumed "implicit review", given through the SoB tag or through sending, is weaker than an explicit Rb tag. I agree that by sending a patch from someone else I take some kind of responsibility for the patch, but in this case I wanted to express
You take full responsibility, not some.
Quoted 6 lines
that I did a proper review of the patch, going beyond the usual process checks. Hence the reply with the R-b tag.
Quoted 3 lines
Quoted 2 lines
independent from review. I mean I doubt that every maintainer sending patches up the chain (when they add their SoB) implies a *review*? Surely
Quoted 7 lines
Quoted 4 lines
Yes, every. This applies to mass-maintainers, like netdev, Greg, Andrew etc.
Every patch I apply to my subsystems is reviewed by me. I cannot do else, because that is the requirement of maintainership.
I don't see it that way, I guess many maintainers rely on (thorough) reviews from third parties, and just glance over each patch before
I also rely on reviews on other parties, but that does not mean I do not perform review.
Quoted 2 lines
sending? Doesn't mean that they can and do reviews, but I feel it's not a requirement to do so *yourself* for *every* patch?
Reviews are different. If someone trusted performs review, I can relax and spend less time on it making less thorough review. It's still a review.
Quoted 7 lines
Quoted 7 lines
There are however maintainers (see i2c patches or Intel DRM) who accept patches and do not review them. When they review, they provide additional Rb tag + Sob. This is weird because it means when they accept patch, they take it unreviewed! Their SoB does not imply reviewing patch and this is in contrast to kernel process.
Quoted 8 lines
Quoted 3 lines
BTW, Stephen Rothwell mentions this to every maintainer on adding their tree to linux-next ("You will need to ensure that ... reviewed by you (or another maintainer of your subsystem tree)").
But this hints that there must be *some* review taking place, and it's the maintainer's responsibility to ensure this. But that doesn't mean that the maintainer cannot delegate? And then they would just forward patches reviewed by trusted people.
Yes, then can delegate to other maintainer, not to random person.
Quoted 21 lines
Quoted 11 lines
Quoted 3 lines
they do agree on the patch (also typically expressed by an Ack), otherwise they wouldn't send it, but a "review" is still a different thing.
IMO, this would mean such maintainers accept code which they do not understand/review/care. They are just patch juggling monkeys who take something and push it further without doing actual work.
That's not how maintainership should look like. Maintainer must take reviewed code and, if other maintainers do not review, then they must perform it.
Of course, but I feel this discussion goes into a different direction. I am not a maintainer for the sunxi tree, I am a mere messenger here, forwarding a patch. And I didn't think this implies an implicit review. A did an explicit one, to stress that I did look into the patch more thoroughly, and also because we are not exactly drowning in reviewers ;-)
Quoted 3 lines
Quoted 2 lines
The Linux history has both Rb + SoB from the same person and just SoB signatures, so I assume that it's not implied.
Quoted 7 lines
Quoted 3 lines
It depends on people. As I said, I2C and DRM provide Review tag. For me this is silly and suggest that all my work, that 1000 patches I took, was not reviewed.
If you forward a thousand patches, I wouldn't expect you did review all of them *yourself*. This would be an almost impossible task, unless "review" just means something like: "uses tabs for indentation".
Obviously if someone forwards 1000 patches the review is much shallower, less careful. To which extend? It's individual. Now go to several patches for netdev and USB, from less trusted sources, which did not receive other reviews and look for answers. You might see really diligent review.
Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
Quoted 2 lines
And you have there SoB which indicates you sent it...
Yes, but SoB just means I sign off on the legal aspects: that I got the patches legally, compliant with the GPL, and that I am fine with and allowed to release them under GPL conditions.
That does not include any code review aspect, AFAICT.
Quoted 8 lines
Quoted 3 lines
So you want to say, that you are fine in sending intentionally buggy code, knowingly incorrect, because your SoB and your "git send-email" does not mean you reviewed it?
Where did I claim that? Of course I would not send intentionally buggy code, and of course I did some high level checking of the patch before I attached my name to it. But to me this is still different from a proper "review", hence my reply.
You did not say that. I am here merely twisting the concept to border case to show the point.
If you send someone's patch and add Review tag, what does it mean? That you reviewed this code, so to your best knowledge it is good. If you send someone's patch and did not add Review tag, what does it mean? That you did not reviewed this code? So whatever is in the code is okay? How such case should be understood.
If we take such approach, we must never trust submitters of someone's else patches, unless they provide review tag. Without review tag, that person does not take responsibility of that patch.
And that's just not the process which is in practice.
Best regards,
Krzysztof
Re: [PATCH 1/2] dt-bindings: input: sun4i-lradc-keys: Add H616 compatible
In reply to Andre PrzywaraQuoted 7 lines · Andre Przywara
From: James McGregor <[email protected]>
The Allwinner H616 SoC has an LRADC which is compatible with the versions in existing SoCs.
Add a compatible string for H616, with the R329 fallback. This is the same as the D1, so put them into an enum.
Quoted 6 lines
Signed-off-by James McGregor <[email protected]>Signed-off-by Andre Przywara <[email protected]>--- .../bindings/input/allwinner,sun4i-a10-lradc-keys.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
While the Reviewed-by from Andre was a bit unusual, the explanation makes sense.
Also note that b4 can proxy send patches for people with broken (or non-existent) SMTP servers.
Rob
PATCH 2/2 arm64: dts: allwinner: h616: Add LRADC node
In reply to Andre PrzywaraFrom: James McGregor <[email protected]>
Add a DT node for the Allwinner H616 LRADC describing the base address, interrupt, reset and clock gates.
--- arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)
arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi +10 -0
@@ -125,6 +125,16 @@ sram_c: sram@28000 { }; }; + lradc: lradc@5070800 { + compatible = "allwinner,sun50i-h616-lradc", + "allwinner,sun50i-r329-lradc"; + reg = <0x05070800 0x400>; + interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&ccu CLK_BUS_KEYADC>; + resets = <&ccu RST_BUS_KEYADC>; + status = "disabled"; + }; + ccu: clock@3001000 { compatible = "allwinner,sun50i-h616-ccu"; reg = <0x03001000 0x1000>;
Signature · 1 line
2.34.1
Re: [PATCH 2/2] arm64: dts: allwinner: h616: Add LRADC node
On Mon, 22 Apr 2024 17:45:11 +0100
Andre Przywara <[email protected]> wrote:
Hi,
Quoted 16 lines
From: James McGregor <[email protected]>
Add a DT node for the Allwinner H616 LRADC describing the base address, interrupt, reset and clock gates.
Signed-off-by James McGregor <[email protected]>Signed-off-by Andre Przywara <[email protected]>--- arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi +0
-0
arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi sram_c: sram@28000 { · line 128
Quoted 4 lines
arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi +1
-0@@ -125,6 +125,16 @@ sram_c: sram@28000 { }; }; + lradc: lradc@5070800 {
The nodes under the /soc node are ordered by their MMIO address, so this needs to be moved down, after the THS node.
arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi sram_c: sram@28000 { · line 134
Quoted 6 lines
arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi +6
-0+ compatible = "allwinner,sun50i-h616-lradc", + "allwinner,sun50i-r329-lradc"; + reg = <0x05070800 0x400>; + interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&ccu CLK_BUS_KEYADC>; + resets = <&ccu RST_BUS_KEYADC>;
Compared against the manual, and can confirm the MMIO base address, clock, reset and IRQ number.
Also the IP descriptions looks the same as in the R329 manual.
So with the node moved around:
Cheers,
Andre
Quoted 6 lines
arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi +3
-0+ status = "disabled"; + }; + ccu: clock@3001000 { compatible = "allwinner,sun50i-h616-ccu"; reg = <0x03001000 0x1000>;