From patchwork Fri Feb 11 19:12:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marek_Beh=C3=BAn?= X-Patchwork-Id: 12743776 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 7E066C433EF for ; Fri, 11 Feb 2022 19:14:39 +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:References:In-Reply-To: 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: List-Owner; bh=wHnFhO8YoQt4/qKzYY1HfOK9wpzppNRJx8NzpAPfxQs=; b=qLAdcE6++SsiT4 U6JPSWCOM+kdeg4yTI/bSU8cyeXfH735sEMLWnldm0+4c9sTBHtcrw6rVsBCKnk6G6BUCmtkJ5OT+ ejD8bFD2QylyriD13yGLutD2t8LZDcDb7A+5dxITbpCNNMjC5qs+/myH/B+UsMHmyxl3VjvQcidoU cf+2AfHhB/wY5Hq6sy+J9ZX1lBYewjc5F0YmicXVldDVl8gBL+DK3WWPb4CXB516hIK/pFdQHtFFL Qaigf7xKX+6yByYZsM/7tKmCJmsvqB0e1rYg7FdxyyQ9DCzcUgl5leukhiTA01Tp6az93EVBcq8gF K5yvjp2FzQHKRR4yz4Aw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nIbMB-008WqU-KN; Fri, 11 Feb 2022 19:13:23 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nIbLr-008Wf0-6o for linux-arm-kernel@lists.infradead.org; Fri, 11 Feb 2022 19:13:04 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B4C2D61F3F; Fri, 11 Feb 2022 19:12:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EA818C340F2; Fri, 11 Feb 2022 19:12:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1644606773; bh=z4QJvv5jQOMSoBELgUEfc+t5uAq/ZocWJT4vzhJHC9k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mxR3FEwiw1/IApZN1xx2o1TK2U5T8LLeDp/nMfkHN5Rt7kvQ0Xvy8O+MMaXiDqJ2w aJmZQRzxAgICQrM17BgxiDE1GSDHy3H3ht7MaCXryHOnHF0HzKh7kEm2lHLq4oUFCg 21LxHUB53Uqm/orGNYQD0s5cXZomoIrurhEQZB2eUrfEnCJ6vsNp0b3kvfQ8BYeshb PYJt9QQMOl9ZSlDMSyIwJWvc0pKvPmYDQ1kF7qQH7C3zJhGvTf3zdDN1XiXhV0M7Wy IKNMRtztTz5/7oA6WO09ad3Nv3iawWzzuoHMg9VfF7tdoAhEwhwKcJ1+7TUrKbdrw3 tYF1Fu7dtqFfg== From: =?utf-8?q?Marek_Beh=C3=BAn?= To: Stephen Boyd , Michael Turquette , Greg Kroah-Hartman , Gregory Clement Cc: =?utf-8?q?Pali_Roh=C3=A1r?= , linux-clk@vger.kernel.org, linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , =?utf-8?q?Mare?= =?utf-8?q?k_Beh=C3=BAn?= Subject: [PATCH v8 4/6] dt-bindings: mvebu-uart: update information about UART clock Date: Fri, 11 Feb 2022 20:12:36 +0100 Message-Id: <20220211191238.2142-5-kabel@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220211191238.2142-1-kabel@kernel.org> References: <20220211191238.2142-1-kabel@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220211_111303_325116_B3AB3957 X-CRM114-Status: GOOD ( 14.27 ) 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 From: Pali Rohár Device "marvell,armada-3700-uart" should use "marvell,armada-3700-uart-clock" compatible clock. Signed-off-by: Pali Rohár Reviewed-by: Rob Herring Reviewed-by: Marek Behún Signed-off-by: Marek Behún --- Changes since v7: - added Reviewed-by tags --- Documentation/devicetree/bindings/serial/mvebu-uart.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/serial/mvebu-uart.txt b/Documentation/devicetree/bindings/serial/mvebu-uart.txt index 2d0dbdf32d1d..a062bbca532c 100644 --- a/Documentation/devicetree/bindings/serial/mvebu-uart.txt +++ b/Documentation/devicetree/bindings/serial/mvebu-uart.txt @@ -14,7 +14,10 @@ Required properties: is provided (possible only with the "marvell,armada-3700-uart" compatible string for backward compatibility), it will only work if the baudrate was initialized by the bootloader and no baudrate - change will then be possible. + change will then be possible. When provided it should be UART1-clk + for standard variant of UART and UART2-clk for extended variant + of UART. TBG clock (with UART TBG divisors d1=d2=1) or xtal clock + should not be used and are supported only for backward compatibility. - interrupts: - Must contain three elements for the standard variant of the IP (marvell,armada-3700-uart): "uart-sum", "uart-tx" and "uart-rx", @@ -34,7 +37,7 @@ Example: uart0: serial@12000 { compatible = "marvell,armada-3700-uart"; reg = <0x12000 0x18>; - clocks = <&xtalclk>; + clocks = <&uartclk 0>; interrupts = , , @@ -45,7 +48,7 @@ Example: uart1: serial@12200 { compatible = "marvell,armada-3700-uart-ext"; reg = <0x12200 0x30>; - clocks = <&xtalclk>; + clocks = <&uartclk 1>; interrupts = , ;