Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5574599pxb; Mon, 14 Feb 2022 02:21:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJyA7ntWpxgTeRy7rxT2H5zmx3pZQEOjgs8SNEiXOwqXKer76dogtjEFG5TqiyZ0GVrySdTg X-Received: by 2002:a05:6a00:1a16:: with SMTP id g22mr13652091pfv.81.1644834113996; Mon, 14 Feb 2022 02:21:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644834113; cv=none; d=google.com; s=arc-20160816; b=J3q60XNcDW5J1cpIVklh2HKSHbC7YvFY4to5XDL1RPJ8/4qrG3z9PsgwlAY1IuC7Iz Zg+dV+NJOtsmG8kkHSylD2KkXgiBL2Zik6b3cGxyo9z5busWPra5W/ase0F2+lGyvkVM qr9zZ8qqbdpe6bJS3muebeI9xeni6OWTEmHwS5RJd196E6akjlr70Z/HvfVM0gbrOxaY e3xDV7uIzupATT3OYxIqpUhdBMsu9s/WsDlnRxAiOVXir7SgloSyaxARXuTLwPVHGlV5 v3nfuMC2CMd5eNj3NUo/68qWfErQddgRZSRRauHW71tLY6r7KsA7xUrt9ZXEq9mkAKEH 2UgQ== 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=nqi3cZkJ9zJLCNRXSQFI/mX08FWu4MMDKXXtFfWRcVQ=; b=B5jp4o18YLWd0QQQvtvNJrP65pZDAaSc977D5kqtkeiZyP2GVkxf7Ia8Gx0PxtoPSM wKJHa4fsEeH9BTydpR59t0vNiFuZPXvaCpzqN4SvAECv/dHG9tYF72BbO5QqkIeFpqsC VAP4Kr/k6ZKZt7dHyN9zYva4reHqkXcNjmX1K6MHGAI4WxHUIdLrzQTbAad57Xa1bkq9 BYVRsSCcbkJoA1IuWxWLcvNdgKvTKABj8LwzyyvtZ71Uqisu2uL22qIhsF8FCnOinUNx F8HoquNeNHSh+teszAzxmechUL5byXZHPHexusrv9wgHWM1oKASTAXvUzm412duuY6JM ejtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mxR3FEwi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g186si28456444pgc.790.2022.02.14.02.21.42; Mon, 14 Feb 2022 02:21:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mxR3FEwi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S1352767AbiBKTNI (ORCPT + 93 others); Fri, 11 Feb 2022 14:13:08 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:39698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348720AbiBKTM5 (ORCPT ); Fri, 11 Feb 2022 14:12:57 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE8C1CEC; Fri, 11 Feb 2022 11:12:55 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id 732F3B82C0E; Fri, 11 Feb 2022 19:12:54 +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=20Beh=C3=BAn?= To: Stephen Boyd , Michael Turquette , Greg Kroah-Hartman , Gregory Clement Cc: =?UTF-8?q?Pali=20Roh=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?Marek=20Beh=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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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: linux-kernel@vger.kernel.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 = , ; -- 2.34.1