From patchwork Wed Nov 2 22:59:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 620932 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B1C99C4321E for ; Wed, 2 Nov 2022 23:00:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230188AbiKBXAO (ORCPT ); Wed, 2 Nov 2022 19:00:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229914AbiKBXAN (ORCPT ); Wed, 2 Nov 2022 19:00:13 -0400 Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63975DE92; Wed, 2 Nov 2022 16:00:03 -0700 (PDT) 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 1AB7884F45; Thu, 3 Nov 2022 00:00:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1667430001; bh=aUyuFRftWKE+eYGPU//M8jCdCEtkT4sspt9HjCk1u3o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vbeEemZWLDUq6NtvcTW3OWYfpkSmx/H1AOGFbmgO6lPnDVjATK0IihEY9XNZCco+D 0+xmYlGbrjbcl4C4oYwe4Vt4o6j92EaOv79H/DpleHtodv4WdJ6rV475CH71HFxtsA 0noT+fiY5FmTw1QcRsRMr8sh1zdyJ6pn1jfFQegbtK2cNJ4n1NKv6l2m24b+hVdrYW tvk2wyfcyXVYA7ABKpzusKOzhfCsHkHaLpPXeYPbljZHs7F9ylBXKqiSZazmli92or koPaArpxvUlXLTP19m5OeXhOVruPPo+KbmqbOkH1hKFQhBj3tEDycgSFXs7OfTPuX4 /Rtm1AuzKlW6g== From: Marek Vasut To: devicetree@vger.kernel.org Cc: Marek Vasut , Alessandro Zummo , Alexandre Belloni , Rob Herring , Krzysztof Kozlowski , linux-rtc@vger.kernel.org Subject: [PATCH 2/2] dt-bindings: rtc: m41t80: Mark the clock: subnode as deprecated Date: Wed, 2 Nov 2022 23:59:43 +0100 Message-Id: <20221102225943.157344-2-marex@denx.de> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221102225943.157344-1-marex@denx.de> References: <20221102225943.157344-1-marex@denx.de> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean 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. 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 --- Documentation/devicetree/bindings/rtc/rtc-m41t80.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/rtc/rtc-m41t80.yaml b/Documentation/devicetree/bindings/rtc/rtc-m41t80.yaml index 7f31a22caec9b..ffe1e09f2c56e 100644 --- a/Documentation/devicetree/bindings/rtc/rtc-m41t80.yaml +++ b/Documentation/devicetree/bindings/rtc/rtc-m41t80.yaml @@ -42,6 +42,7 @@ properties: clock: type: object $ref: /schemas/clock/fixed-clock.yaml# + deprecated: true properties: clock-frequency: const: 32768