From patchwork Sun Dec 11 03:00:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 1714533 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=AW9HFe/Y; dkim-atps=neutral Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4NV8fP4JCBz240D for ; Sun, 11 Dec 2022 14:01:17 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230018AbiLKDBN (ORCPT ); Sat, 10 Dec 2022 22:01:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229568AbiLKDBM (ORCPT ); Sat, 10 Dec 2022 22:01:12 -0500 Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14E83387; Sat, 10 Dec 2022 19:01:09 -0800 (PST) Received: from tr.lan (ip-86-49-120-218.bb.vodafone.cz [86.49.120.218]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 0BA3A852FB; Sun, 11 Dec 2022 04:01:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1670727667; bh=aEiouBhBgwLswh3IetEyUPaUNGvXqngdyiSg+pWw1ks=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AW9HFe/YxVJ6hGetSPDRDhlXmfFyX+nkqToY7jayqdM7eF35Q/1HASR7NdQs+oT1n ZBjtUw0i8lWebUzyPnP7TWnXbXpZZ7dBtJbG1XtDmLI5APP6A/dYoNpTQEGcZf6Cve nA0qeCxD/BsmKMdYHDMIYidB3zzKJbbsGU1DOfyfExGbsITUCdP/gTz+La0pA5hWuX e54TYVZMOgf26ndiOGVJevS41a+fYYkZ3xU+Oyzs1SDBQhj7oWk9fEO0MJZLo6XIbW l4sTt/nc2iJyIjav0WsshL7nwH6gfyQnCnaKRUvzZlM1V8rT+zsHou6dYlqk60khhl Y1IfFCV89QRmA== From: Marek Vasut To: devicetree@vger.kernel.org Cc: Marek Vasut , Krzysztof Kozlowski , Alessandro Zummo , Alexandre Belloni , Rob Herring , Krzysztof Kozlowski , linux-rtc@vger.kernel.org Subject: [PATCH v2 2/2] dt-bindings: rtc: m41t80: Mark the clock: subnode as deprecated Date: Sun, 11 Dec 2022 04:00:54 +0100 Message-Id: <20221211030054.672717-2-marex@denx.de> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221211030054.672717-1-marex@denx.de> References: <20221211030054.672717-1-marex@denx.de> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The clock {} subnode seems like it is describing an always-on clock generated by the PMIC. This should rather be modeled by consumer of the clock taking phandle to the RTC node itself, since it already does have clock-cells and all. Since there are no users of the clock subnode in tree anyway, mark it as deprecated to avoid proliferation of this approach. Acked-by: Krzysztof Kozlowski Signed-off-by: Marek Vasut --- Cc: Alessandro Zummo Cc: Alexandre Belloni Cc: Rob Herring Cc: Krzysztof Kozlowski Cc: linux-rtc@vger.kernel.org To: devicetree@vger.kernel.org --- V2: - Add AB from Krzysztof --- Documentation/devicetree/bindings/rtc/st,m41t80.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/rtc/st,m41t80.yaml b/Documentation/devicetree/bindings/rtc/st,m41t80.yaml index 9977c8954307e..98a6da4083897 100644 --- a/Documentation/devicetree/bindings/rtc/st,m41t80.yaml +++ b/Documentation/devicetree/bindings/rtc/st,m41t80.yaml @@ -40,6 +40,7 @@ properties: clock: type: object $ref: /schemas/clock/fixed-clock.yaml# + deprecated: true properties: clock-frequency: const: 32768