Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp720452rwb; Thu, 22 Sep 2022 05:44:41 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4TSxZuL5OmiOEoCxAz1Vo1G6GtLkXbgE6uZUQDAd3h0qmNx+VX0PUwK5eAPMQGDgcsqkut X-Received: by 2002:a17:907:a40c:b0:781:53dd:27fd with SMTP id sg12-20020a170907a40c00b0078153dd27fdmr2684911ejc.261.1663850680850; Thu, 22 Sep 2022 05:44:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663850680; cv=none; d=google.com; s=arc-20160816; b=svV7BuupiBYPaN9VgBBMtaYFNn83yRC8ofCgIRkcfsHrF+PFNOWMqVRNN8Ejv8+eCQ yp84PsZBLUDuNsccTCa4MbKdQseZ0LhzSgx5QGpWTfwz2OAXN+jT4y14HAziOHgZD/9z YCuoCUlp9azOFw4Vi02dJj45zq2CZFZuzBTRIUAg7oR29Zlu1ZF8fWl2zQhuAMcvpm8u DxQOG+4iE7X5y1onJGtrwC7+BPhzNo+LJ8yqlc+MqvRwVE55Fa/MsXlQHtv8CvivIU6L ZN27yexE7oRL6vvYP3B1Tk9KnaW0peMwGFBI+rQgpRcVHRwa8a6AWIa7sQ/8Bv/LT9Rt /Mqg== 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=vwDFQyJ7y0/GGplC+P0u/19qQEErPz5ixtiQrA2E884=; b=EJznui/mHkWwAvTZd4PhAkv4ZvLhrKsLNeeOP0sUFokmeh9nI/cyc06f2ZNZT/Yzdt icGD5tHpHMDTH6lh4azZYW3B0asWn+DXzSWuf6ZI5ZrRXyWtJJLvixTTEXskaJERb80j kSARz46oexIN183yotf/Cqzll6Le0cSNB0V+9N3oeTXnqf6yfTPFJgJ9TF7Jy++xn1mP zEkqco9LYEr/tjOQC4GDhbFFbMG5xPxn0u6MxaRWXv4WZoYgUsOf8AXuT/O9koOBCNrS y0d1WmHeiRIxqWnwyS2zEEOyZSBqitjMceOjafJZi6CJtBIoFdh0J8IuiAq0EdXO+KP4 3gGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=VLcpppXb; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m20-20020a170906581400b007414081b2ebsi4566803ejq.148.2022.09.22.05.44.15; Thu, 22 Sep 2022 05:44:40 -0700 (PDT) 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=@microchip.com header.s=mchp header.b=VLcpppXb; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231465AbiIVLn4 (ORCPT + 99 others); Thu, 22 Sep 2022 07:43:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231670AbiIVLnJ (ORCPT ); Thu, 22 Sep 2022 07:43:09 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2F18E5109; Thu, 22 Sep 2022 04:42:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1663846973; x=1695382973; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=QKOSdHrlA3wS3tOYAGSbN64ZDlbNP+x4BlIl2OTwIls=; b=VLcpppXb0udYCUiBPh35vuzWobTHHhgzXosGv2SHA+oBCTUIttrL4/20 urGuWI3l3jWdSE7EbG31v4FlMUPVJtAFcKancgizOub84pYnAWRCNQHN5 2ow/W/VocAnY47hG29j6Ez4xfj8+QmZMJPdAt17p6C6BHm6dnbOHurWVa 2rMYWXOKHkGA5yFvjtskqzgUUjFcFYHjTFjCgQvInHKgX68iXYaC2Q02m tReq6r4okk+cj0MwJSlCxP8NymI4Hj/TEVR9RqqLoro72bPOyExu272/k yqTkNH7uuX4V5Lz39K+uD1PQdaFiiv0mdaVcizWrDqGO9NP5AYTkhh0uw Q==; X-IronPort-AV: E=Sophos;i="5.93,335,1654585200"; d="scan'208";a="114897484" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 22 Sep 2022 04:42:52 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Thu, 22 Sep 2022 04:42:51 -0700 Received: from ROB-ULT-M68701.amer.actel.com (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Thu, 22 Sep 2022 04:42:43 -0700 From: Sergiu Moga To: , , , , , , , , , , CC: , , , , , Sergiu Moga , Krzysztof Kozlowski Subject: [PATCH v5 5/9] dt-bindings: serial: atmel,at91-usart: Add gclk as a possible USART clock Date: Thu, 22 Sep 2022 14:33:43 +0300 Message-ID: <20220922113347.144383-6-sergiu.moga@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220922113347.144383-1-sergiu.moga@microchip.com> References: <20220922113347.144383-1-sergiu.moga@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS 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 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: - Nothing, Previously this was [PATCH 13] v3 -> v4: - Add A-b tag, this was previously [PATCH 9] v4 -> v5: - Nothing .../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: -- 2.34.1