From patchwork Tue Sep 13 14:22:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergiu Moga X-Patchwork-Id: 12974860 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 40341C54EE9 for ; Tue, 13 Sep 2022 14:38:57 +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=D3AVw8tGOspVbRi2ToO/LTTFV3bfTtGnW+gxp8cNycs=; b=d19FqVGSAjugUR kEB/x1GYh5ZS6JtlGDq+04qX0VWPsTstl7ly0OmszIinPUq0xKers/N3Z7zqNHkbGuB0QlX9Nl/J1 oSKQ4pPzIoWiqT/0xl6nhYyMjPlbLzOTTxsFfNvZ37hh7d6XOV6JL8h+aI5dUHmLntBiTzv0neGdS KCvRChWC6W6VD1EV7fPCXSFM0FfupJLLi5vfLWMV7v2kCBwgbYzSXX3xvkxgMj5CjCOaAiFxgYeJt qGjHSjH7zTO3kEixVXM1+YGQrIIcmcx2PJu2r0assXemsnFcUcHJPAOe+Jye9K3Z9rfCGYKnyxvH4 2o0YTI9mvS0vE1rsh3pA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oY72Z-00BizD-L2; Tue, 13 Sep 2022 14:37:32 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oY6r0-00BYuH-Dw for linux-arm-kernel@lists.infradead.org; Tue, 13 Sep 2022 14:25:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1663079134; x=1694615134; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=kN3hTzrmK/rsYNCiYsS5F3DbrNzaUjVvJ04I3YcEG8E=; b=QpXV1i4zoLGk9JJrZKoZh9z17+llVaWfmElj52haKXmqAVu+/WH6HkV9 F3FjGEFTBGfG1KTKej/ufLtI5K4WoVbGOT2lB7ewhMjtM3Xgt54F4WkIE YWZyzUN3aCnS7i2yaI/Dcmpc5RyF/i6jp7FbM6WnTjOxsqiyPQoPAetsk ZekniL877yFQtFqHudqiXu/3UutM+kbDnzIz3R+ZBDDWGerdVmIq67YM2 nzOekbqpGbeh1t1m7RAJxwpVy8/sRBZ7lU3n2PI1IVgyiVjRXxPmB26sY /El0C7YuSrXjNAJlVM3kFA2fea4Dbl3HuB+jp+1JVojfi5FUosEqV8Kml Q==; X-IronPort-AV: E=Sophos;i="5.93,313,1654585200"; d="scan'208";a="190644106" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 13 Sep 2022 07:25:33 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Tue, 13 Sep 2022 07:25:32 -0700 Received: from ROB-ULT-M68701.microchip.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Tue, 13 Sep 2022 07:25:27 -0700 From: Sergiu Moga To: , , , , , , , , , , , , , , , , CC: , , , , , Subject: [PATCH v3 09/14] dt-bindings: serial: atmel,at91-usart: Add gclk as a possible USART clock Date: Tue, 13 Sep 2022 17:22:01 +0300 Message-ID: <20220913142205.162399-10-sergiu.moga@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220913142205.162399-1-sergiu.moga@microchip.com> References: <20220913142205.162399-1-sergiu.moga@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220913_072534_588327_0AB59A4C X-CRM114-Status: UNSURE ( 9.15 ) X-CRM114-Notice: Please train this message. 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 The Devicetree nodes for FLEXCOM's USART can also have an alternative clock source for the baudrate generator (other than the peripheral clock), namely the Generick Clock. Thus make the binding aware of this clock that someone may place in the clock related properties of the USART node. Signed-off-by: Sergiu Moga Acked-by: Krzysztof Kozlowski --- v1 -> v2: - Nothing, this patch was not here before v2 -> v3: - Previously this was [PATCH 13] .../devicetree/bindings/serial/atmel,at91-usart.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml b/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml index 4da642763bef..30b2131b5860 100644 --- a/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml +++ b/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml @@ -36,10 +36,16 @@ properties: maxItems: 1 clock-names: - const: usart + minItems: 1 + items: + - const: usart + - const: gclk clocks: - maxItems: 1 + minItems: 1 + items: + - description: USART Peripheral Clock + - description: USART Generic Clock dmas: items: