From patchwork Mon May 20 22:26:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 13668707 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EA3FDC25B78 for ; Mon, 20 May 2024 22:27:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=ogsWh+ThM2+SE4OeD89hHbTPNHOIHDrY9WKf9qsUxfg=; b=ZVX2q/bSzMvviJ l5EWBurEPZBY5zBEjbdLKpajLBNgb42SosumjYjVnPbQKZUg7XnzgmBurMRLQzboblUB0pmPhhZQG QSlPx6rRNOSH72YrnDSFY8X2bg/d3hChygMGOuyHmziY6BmXRPYLNY/K03wwRT6SI+m5hlpm0VLMQ Q2Q2znIG7ithOLdG1v9ayJQEkX3FaXbZkCTJMBSlr+ugtw8iWLd8CUhj9C5OIjnJ7plZKquawCXSh qSZtSuMq4aKNADxwrdln8MPF2vpPT29DKsjEDS3W/jlUUxl0AIHFaSMpKL8RlZc4yaa+EOl45l03b LOaPKPfZFPII9GBpuAJA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s9BTH-0000000FfWU-0F6G; Mon, 20 May 2024 22:27:07 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s9BTE-0000000FfW0-0lBQ for linux-arm-kernel@lists.infradead.org; Mon, 20 May 2024 22:27:05 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 46E90CE0BA2; Mon, 20 May 2024 22:27:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5B796C2BD10; Mon, 20 May 2024 22:27:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716244021; bh=7gWt7LsLSDaZc2+yYF/VnkLMLi3Ehjxm/3v59DcqnCE=; h=From:To:Cc:Subject:Date:From; b=fibF9cUofd3mzERt4Mz1GFfQtob0x1Mak33/LzXHHtwJ1bURMaAmMDwZ+Dq5S0U2P bYyrUekrdt9DFnSoxPA8Uax3Wj/hQ2xwceagSx3xMABkZDNzMtP6CDo5pQ8iY/Hgve 3gG8j1GQNBgWsDVb0qUsmUiy3tnoNKebGEnaDTEKMVVIu/Hk668OIciOVimB6eH8GH /tZxplN22NMcb/tkKimGbTr46kzKMDJN2oM05dzrZKkzO6cUN9gi4lYUhWOdoeIJvb +CDtlqF8Zs6iz2jcgmc73TxN/PTeaMKFAyhFcQp83/UVnBajBDEqoyb1sZVoMnEzfg 8PqazOu5GHyqA== From: "Rob Herring (Arm)" To: Michael Turquette , Stephen Boyd , Krzysztof Kozlowski , Conor Dooley , Taichi Sugaya , Takao Orito Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: clock: milbeaut: Drop providers and consumers from example Date: Mon, 20 May 2024 17:26:45 -0500 Message-ID: <20240520222646.1741958-1-robh@kernel.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240520_152704_439635_32BEB575 X-CRM114-Status: GOOD ( 10.20 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Convention for examples is to only show what's covered by the binding, so drop the consumer "socionext,milbeaut-usio-uart" and input clock provider "fixed-clock" from the example. "socionext,milbeaut-usio-uart" is also not documented by a schema which caused a warning. Signed-off-by: Rob Herring (Arm) Reviewed-by: Krzysztof Kozlowski --- .../bindings/clock/milbeaut-clock.yaml | 29 +------------------ 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/milbeaut-clock.yaml b/Documentation/devicetree/bindings/clock/milbeaut-clock.yaml index 0af1c569eb32..d786f1e2d007 100644 --- a/Documentation/devicetree/bindings/clock/milbeaut-clock.yaml +++ b/Documentation/devicetree/bindings/clock/milbeaut-clock.yaml @@ -40,38 +40,11 @@ required: additionalProperties: false examples: - # Clock controller node: - | - m10v-clk-ctrl@1d021000 { + clock-controller@1d021000 { compatible = "socionext,milbeaut-m10v-ccu"; reg = <0x1d021000 0x4000>; #clock-cells = <1>; clocks = <&clki40mhz>; }; - - # Required an external clock for Clock controller node: - - | - clocks { - clki40mhz: clki40mhz { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <40000000>; - }; - /* other clocks */ - }; - - # The clock consumer shall specify the desired clock-output of the clock - # controller as below by specifying output-id in its "clk" phandle cell. - # 2: uart - # 4: 32-bit timer - # 7: UHS-I/II - - | - serial@1e700010 { - compatible = "socionext,milbeaut-usio-uart"; - reg = <0x1e700010 0x10>; - interrupts = <0 141 0x4>, <0 149 0x4>; - interrupt-names = "rx", "tx"; - clocks = <&clk 2>; - }; - ...