* [PATCH v1 05/11] dt-bindings: rtc: sun6i-a31: add Allwinner B288 [not found] <20260923201701.43391-1-pmazzini@gmail.com> @ 2026-09-23 20:16 ` Pablo Mazzini 2026-09-23 20:28 ` sashiko-bot 2026-09-23 20:16 ` [PATCH v1 06/11] rtc: sun6i: add Allwinner B288 compatible Pablo Mazzini 1 sibling, 1 reply; 4+ messages in thread From: Pablo Mazzini @ 2026-09-23 20:16 UTC (permalink / raw) To: Alexandre Belloni, Chen-Yu Tsai, Conor Dooley, Jernej Skrabec, Krzysztof Kozlowski, Maxime Ripard, Rob Herring, Samuel Holland Cc: Pablo Mazzini, devicetree, linux-arm-kernel, linux-kernel, linux-rtc, linux-sunxi The B288 RTC wires one alarm interrupt, not two. Signed-off-by: Pablo Mazzini <pmazzini@gmail.com> --- .../devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml b/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml index f2b91186ed37..1699e3576b91 100644 --- a/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml +++ b/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml @@ -19,6 +19,7 @@ properties: - enum: - allwinner,sun6i-a31-rtc - allwinner,sun8i-a23-rtc + - allwinner,sun8i-b288-rtc - allwinner,sun8i-h3-rtc - allwinner,sun8i-r40-rtc - allwinner,sun8i-v3-rtc @@ -162,6 +163,7 @@ allOf: compatible: contains: enum: + - allwinner,sun8i-b288-rtc - allwinner,sun8i-r40-rtc - allwinner,sun50i-h616-rtc - allwinner,sun50i-r329-rtc -- 2.53.0 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v1 05/11] dt-bindings: rtc: sun6i-a31: add Allwinner B288 2026-09-23 20:16 ` [PATCH v1 05/11] dt-bindings: rtc: sun6i-a31: add Allwinner B288 Pablo Mazzini @ 2026-09-23 20:28 ` sashiko-bot 0 siblings, 0 replies; 4+ messages in thread From: sashiko-bot @ 2026-09-23 20:28 UTC (permalink / raw) To: Pablo Mazzini Cc: linux-rtc, linux-sunxi, robh, conor+dt, Alexandre Belloni, devicetree Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Low] dt-bindings: missing clock-output-names schema constraint for b288 -- commit d061a16a5e55b66a00315843c7f4655412cd0e5f Author: Pablo Mazzini <pmazzini@gmail.com> dt-bindings: rtc: sun6i-a31: add Allwinner B288 The B288 RTC wires one alarm interrupt, not two. > diff --git a/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml b/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml > index f2b91186ed377..1699e3576b915 100644 > --- a/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml > +++ b/Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml > @@ -19,6 +19,7 @@ properties: > - enum: > - allwinner,sun6i-a31-rtc > - allwinner,sun8i-a23-rtc > + - allwinner,sun8i-b288-rtc > - allwinner,sun8i-h3-rtc > - allwinner,sun8i-r40-rtc > - allwinner,sun8i-v3-rtc [ ... ] > @@ -162,6 +163,7 @@ allOf: > compatible: > contains: > enum: > + - allwinner,sun8i-b288-rtc > - allwinner,sun8i-r40-rtc > - allwinner,sun50i-h616-rtc > - allwinner,sun50i-r329-rtc [Severity: Low] Does this new b288 compatible string also need to be added to one of the clock-output-names conditional blocks? It is added here for the interrupts constraint, but omitted from the if blocks managing clock-output-names. Without an explicit block for the b288, invalid device trees specifying the wrong number of clocks might silently pass validation due to the generic top-level fallback limits. For example, other variants in this file are explicitly constrained: allOf: - if: properties: compatible: contains: enum: - allwinner,sun8i-a23-rtc - allwinner,sun8i-r40-rtc - allwinner,sun8i-v3-rtc then: properties: clock-output-names: minItems: 2 maxItems: 2 Should a similar constraint (or false) be applied for the b288 variant? -- Sashiko AI review · https://sashiko.dev/#/patchset/20260923201701.43391-1-pmazzini@gmail.com?part=5 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v1 06/11] rtc: sun6i: add Allwinner B288 compatible [not found] <20260923201701.43391-1-pmazzini@gmail.com> 2026-09-23 20:16 ` [PATCH v1 05/11] dt-bindings: rtc: sun6i-a31: add Allwinner B288 Pablo Mazzini @ 2026-09-23 20:16 ` Pablo Mazzini 2026-09-23 20:30 ` sashiko-bot 1 sibling, 1 reply; 4+ messages in thread From: Pablo Mazzini @ 2026-09-23 20:16 UTC (permalink / raw) To: Alexandre Belloni, Chen-Yu Tsai, Jernej Skrabec, Samuel Holland Cc: Pablo Mazzini, linux-arm-kernel, linux-kernel, linux-rtc, linux-sunxi The driver only uses one alarm interrupt, so no functional change. Signed-off-by: Pablo Mazzini <pmazzini@gmail.com> --- drivers/rtc/rtc-sun6i.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/rtc/rtc-sun6i.c b/drivers/rtc/rtc-sun6i.c index 7fc60880e409..cd6ac5bb20cd 100644 --- a/drivers/rtc/rtc-sun6i.c +++ b/drivers/rtc/rtc-sun6i.c @@ -859,6 +859,7 @@ static int sun6i_rtc_probe(struct platform_device *pdev) static const struct of_device_id sun6i_rtc_dt_ids[] = { { .compatible = "allwinner,sun6i-a31-rtc" }, { .compatible = "allwinner,sun8i-a23-rtc" }, + { .compatible = "allwinner,sun8i-b288-rtc" }, { .compatible = "allwinner,sun8i-h3-rtc" }, { .compatible = "allwinner,sun8i-r40-rtc" }, { .compatible = "allwinner,sun8i-v3-rtc" }, -- 2.53.0 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v1 06/11] rtc: sun6i: add Allwinner B288 compatible 2026-09-23 20:16 ` [PATCH v1 06/11] rtc: sun6i: add Allwinner B288 compatible Pablo Mazzini @ 2026-09-23 20:30 ` sashiko-bot 0 siblings, 0 replies; 4+ messages in thread From: sashiko-bot @ 2026-09-23 20:30 UTC (permalink / raw) To: Pablo Mazzini; +Cc: Alexandre Belloni, linux-sunxi, linux-rtc > The driver only uses one alarm interrupt, so no functional change. > > Signed-off-by: Pablo Mazzini <pmazzini@gmail.com> Sashiko has reviewed this patch and found no issues. It looks great! -- Sashiko AI review · https://sashiko.dev/#/patchset/20260923201701.43391-1-pmazzini@gmail.com?part=6 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-09-23 20:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20260923201701.43391-1-pmazzini@gmail.com>
2026-09-23 20:16 ` [PATCH v1 05/11] dt-bindings: rtc: sun6i-a31: add Allwinner B288 Pablo Mazzini
2026-09-23 20:28 ` sashiko-bot
2026-09-23 20:16 ` [PATCH v1 06/11] rtc: sun6i: add Allwinner B288 compatible Pablo Mazzini
2026-09-23 20:30 ` sashiko-bot
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox