Re: [PATCH 1/2] dt-bindings: watchdog: samsung-wdt: Add exynos5515-wdt compatible
Krzysztof Kozlowski <[email protected]>
| Newsgroups | gmane.linux.watchdog,gmane.linux.drivers.devicetree,gmane.linux.kernel,gmane.linux.ports.arm.kernel,gmane.linux.kernel.samsung-soc |
|---|---|
| Message-ID | <20260818-singing-rhino-of-glamour-accb9e@quoll> |
On Mon, Aug 17, 2026 at 11:22:52AM +0100, Aiden Isik wrote: > Add a dt-binding compatible for the Exynos5515 watchdog timer. > > This watchdog requires a syscon phandle, and the cluster index should > *not* be specified, as that does not make sense on the Exynos5515 SoC > (due to it only having a single core cluster). > > Signed-off-by: Aiden Isik <[email protected]> DCO mismatch. Please run scripts/checkpatch.pl on the patches and fix reported warnings. After that, run also 'scripts/checkpatch.pl --strict' on the patches and (probably) fix more warnings. Some warnings can be ignored, especially from --strict run, but the code here looks like it needs a fix. Feel free to get in touch if the warning is not clear. > --- > .../devicetree/bindings/watchdog/samsung-wdt.yaml | 22 +++++++++++++++++++++- > 1 file changed, 21 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml b/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml > index 41aee1655b0c..9e754404848b 100644 > --- a/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml > +++ b/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml > @@ -22,6 +22,7 @@ properties: > - samsung,s3c6410-wdt # for S3C6410, S5PV210 and Exynos4 > - samsung,exynos5250-wdt # for Exynos5250 > - samsung,exynos5420-wdt # for Exynos5420 > + - samsung,exynos5515-wdt # for Exynos5515 No need for the comment, old code is poor example here. > - samsung,exynos7-wdt # for Exynos7 > - samsung,exynos850-wdt # for Exynos850 > - samsung,exynos990-wdt # for Exynos990 > @@ -57,7 +58,7 @@ properties: > $ref: /schemas/types.yaml#/definitions/phandle > description: > Phandle to the PMU system controller node (in case of Exynos5250, > - Exynos5420, Exynos7, Exynos850, Exynos990 and gs101). > + Exynos5420, Exynos5515, Exynos7, Exynos850, Exynos990 and gs101). > > required: > - compatible > @@ -93,6 +94,25 @@ allOf: > - samsung,cluster-index > - samsung,syscon-phandle > > + - if: > + properties: > + compatible: > + contains: > + enum: > + - samsung,exynos5515-wdt > + then: > + properties: > + clocks: > + items: > + - description: Bus clock, used for register interface > + - description: Source clock (driving watchdog counter) > + clock-names: > + items: > + - const: watchdog > + - const: watchdog_src samsung,cluster-index: false Just like other cases. Best regards, Krzysztof