Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp142409pxb; Thu, 30 Sep 2021 03:01:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLviqzETIX2odyAfzXTLJixDQEajvyS+ADlim1+yWzCXagCCRTU0NFKydMfWFzc4ckoym9 X-Received: by 2002:a63:2d46:: with SMTP id t67mr4118921pgt.15.1632996062010; Thu, 30 Sep 2021 03:01:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632996062; cv=none; d=google.com; s=arc-20160816; b=Okuuto7eh/5UeGlLzrPp6Dmwat+IUFjR24RO9TOL/xAiTxZsfRel/y9wMAfm3YKM7w sBTN54eSjoyy8UAJQI8pCtK01YmXrDd6cCfxjSfwa/4wPdER5S5s5EH2/PK15+ImAM/T LCwwyCu8Aap2hyZBle5q0QzIqsZKyUAf5EXSXUwcM3KxKf2R7Bn+NU+L+zKvxIGYy4+8 NDoV+LJaP6cfSGSBorD5QJ7hbkeB6fuf+Z0EHtpddFMdYcQoiQOqQf26hrsoPEaeM9qC tCiRffIqCMtdDK7tNfQYlZ35oV7ncW6TCFOGXPr4WucGlS32GYLH+9FLeh4i6qgiDRGg YFAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=OoOYYWrDaRQ7nsZ49NvQ8ie0lJw+r5PNaZDVoo1W4wU=; b=VzGveJjP3cWg++qOAXKNT/MEuMG56nEXC8WHmyU/yNC7xWMOhhW1z0cwexgOVKJ3Z8 sLODV48II1tSroUD7rLZL4fa7MZ7alm1XGh72GJ+WD90vQq7b+oEBemPD0nFEecl0Ah1 lEDPKF0J6JQU1I63DYq4NU9HWIfqyEKZbJ2kouS7h43JaeKSsRaPX8nqilSlb5avphwp 0tdBHmzntx/otQxbVWGjhZeVNCpBD/dHgxttMivQAmAKA6PQ4FxfCqN/3AN/4OUyzJCQ +8uwUCE9BQBch7YLK7xtFpiRXZMrDCNMGpAyNrUV3s1eB4GLEFjWRQ29n9Plns2RckN4 G6nQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XOeqr7X9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g123si2916903pfb.111.2021.09.30.03.00.33; Thu, 30 Sep 2021 03:01:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XOeqr7X9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349698AbhI3KBF (ORCPT + 99 others); Thu, 30 Sep 2021 06:01:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:60622 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349629AbhI3KAs (ORCPT ); Thu, 30 Sep 2021 06:00:48 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3C0AD61884; Thu, 30 Sep 2021 09:59:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632995946; bh=Tj1KoLbRx36Cai5tD6gjvLCZPUH6QNJdzsfNne47jbM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XOeqr7X9zi3QrtkfR45pwgg/TsFX1TZaF50Ib+5lX+vK6Ork+xXQzTuXQWs/LxBjB mHv3SkHHT772fjjfRS3Cv6WjmyPoUjbBYHy/RLeuY0BcFBK0enygxe1BLXwktao6l4 IhwOsdETtNl7KtQoIiq+58MbMZjnngpq5Vuvb3Ik6lrsZHmSFlsvZ9zM+yz89/ospU NErevuoT2DDng/7XQm4phDF57q/K1cKkY7vu5CRU/NDrZR1HIA1fXSxeEa0aJGmHKJ 2MuMZxhPxcDyV984MNlfgrb3LYSmZwWhJ0G2n1r2M3pBVO20dvd/aBNVEOyo7oRLvI sMPgfpxX2ygBw== Received: by pali.im (Postfix) id F0C58E79; Thu, 30 Sep 2021 11:59:05 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Michael Turquette , Stephen Boyd , Rob Herring , Greg Kroah-Hartman Cc: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Vladimir Vid , =?UTF-8?q?Marek=20Beh=C3=BAn?= , linux-clk@vger.kernel.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH v7 4/6] dt-bindings: mvebu-uart: update information about UART clock Date: Thu, 30 Sep 2021 11:58:36 +0200 Message-Id: <20210930095838.28145-5-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210930095838.28145-1-pali@kernel.org> References: <20210930095838.28145-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Device "marvell,armada-3700-uart" should use "marvell,armada-3700-uart-clock" compatible clock. Signed-off-by: Pali Rohár --- 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 = , ; -- 2.20.1