Message ID | 20240122225710.1952066-2-peter.griffin@linaro.org |
---|---|
State | New |
Headers | show |
Series | Add exynos_pmu_update/read/write() APIs to exynos-pmu | expand |
On 22/01/2024 23:57, Peter Griffin wrote: > The watchdog driver no longer requires a phandle to obtain a regmap > to the PMU registers. So mark this as deprecated. > > Signed-off-by: Peter Griffin <peter.griffin@linaro.org> > --- > .../devicetree/bindings/watchdog/samsung-wdt.yaml | 15 +-------------- > 1 file changed, 1 insertion(+), 14 deletions(-) > > diff --git a/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml b/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml > index 77a5ddd0426e..3970d6bf8576 100644 > --- a/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml > +++ b/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml > @@ -56,6 +56,7 @@ properties: > description: > Phandle to the PMU system controller node (in case of Exynos5250, > Exynos5420, Exynos7, Exynos850 and gs101). > + deprecated: true I don't see how your driver handles probe or suspend ordering, so I don't think this is correct approach. Handling of the watchdog requires poking PMU, thus the watchdog device node must have reference to the PMU node. Removing it from DTS makes the hardware representation incomplete, beside mentioned driver issue. Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml b/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml index 77a5ddd0426e..3970d6bf8576 100644 --- a/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/samsung-wdt.yaml @@ -56,6 +56,7 @@ properties: description: Phandle to the PMU system controller node (in case of Exynos5250, Exynos5420, Exynos7, Exynos850 and gs101). + deprecated: true required: - compatible @@ -66,20 +67,6 @@ required: allOf: - $ref: watchdog.yaml# - - if: - properties: - compatible: - contains: - enum: - - google,gs101-wdt - - samsung,exynos5250-wdt - - samsung,exynos5420-wdt - - samsung,exynos7-wdt - - samsung,exynos850-wdt - - samsung,exynosautov9-wdt - then: - required: - - samsung,syscon-phandle - if: properties: compatible:
The watchdog driver no longer requires a phandle to obtain a regmap to the PMU registers. So mark this as deprecated. Signed-off-by: Peter Griffin <peter.griffin@linaro.org> --- .../devicetree/bindings/watchdog/samsung-wdt.yaml | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-)