Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp6823818rwn; Tue, 13 Sep 2022 09:26:57 -0700 (PDT) X-Google-Smtp-Source: AA6agR6gpvAsENaU+sjI+lap+qvJpsTDU/BHTCrl5EW1h1c6TrjC7jtnZTJuOuXPD4/oSuN0+9O1 X-Received: by 2002:a65:40c8:0:b0:434:dfee:8dc1 with SMTP id u8-20020a6540c8000000b00434dfee8dc1mr29289949pgp.156.1663086417079; Tue, 13 Sep 2022 09:26:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663086417; cv=none; d=google.com; s=arc-20160816; b=0w/gkbdEztBGnYQxKs5+jryFTaylEiRQt/ScwgmNAg+/peWHtWA6NcfEnxCjb9Tje2 NwBvrYzZlReVW3SWhKSahewYEAFFUetjLoIBVPBEghQ46SuEtJG0o2OkY0ydFuBGaEeC fJcOlKihaL1/h5EAdMyQzK/u6p+d+v9MKxEAhK3HA8MOtwPggau/I11E6PXApbxSFVzM H7BSOtfdn+hMUOfgX67d11AvjrMyI9pb3avSBgqrNY2qLx8D3WBxqkk4a8khkZa+5TKQ zKsAU05OE17PnH/2WvBu/x9wSb3eOINsD0sehbtoKodJ5PU3Rz66H37Zm87YT2sQlvpU blZg== 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=N4o7UAbgke9tcBl8x1rEL5mWxmSdBsWrq+UtjgonZFM=; b=W7hZizCa3piIAJyJ7YISYHAwFpLKUDPKhXMaA7WrNNKvLXNy7GmWTDUMdNez/gr1gZ MGiERiRF5X90FC4zT4lOScjpVN0Gp2s7XpwkJKZRRVLFrFauYzVsvxlmcJrfK0VP7j8l ifuQcPKD6dIJVwtY/R+wds6B3l8xnwTzOGMZiQAIFOfWiLn9hEqzkDuSSGwgkRqNxWth bI9pNLuJPPcp4qMIXFXIwSHLRs3f1wiEvHoRyU/hewrw9RmIrBd2S4/T7rKHfKTd5B+3 UMQkQdlkhmMNb3WpAJSZWFm0Fp2LtnblkLLiE3T9D8tfb4IT16G+dIVRI32D8sr0gObb 2gCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=mwbq0yCI; 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 l7-20020a633e07000000b004198bf16b5fsi13785880pga.172.2022.09.13.09.26.45; Tue, 13 Sep 2022 09:26:57 -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=mwbq0yCI; 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 S233113AbiIMPyl (ORCPT + 99 others); Tue, 13 Sep 2022 11:54:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234208AbiIMPyD (ORCPT ); Tue, 13 Sep 2022 11:54:03 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF97F4DB0D; Tue, 13 Sep 2022 07:55:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1663080904; x=1694616904; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=kN3hTzrmK/rsYNCiYsS5F3DbrNzaUjVvJ04I3YcEG8E=; b=mwbq0yCIvxF0LqIx9nFxCVc7FD+v+3jPOQ0jrtuF9CeD16XzxA/7u2Qv po7bgg1AuqZQGgfnma7HwvG1yu1OdsWhWDYWBd4c7YqRgvR4mrOxCF3Do A5JYef5swKhunAPW+VE3e4cbqQbGQmjzX5uO62BFtgklpYelYY2J0YC+A LYHXpf4tKFLhQlOO93jJSWYzxbfM0RnhkYPurwulvO109BYjUi/JREZnx ibiq+zoDD+kESRcjBDECU3zzZ0d+V5iky7LkIC5T9mFxUncnmdwcXAbpT 0rRHGLOveYyJAsiBS+Fsu0hmiKaiAj7OCxUhNL00HgwpWwwwPp3CkNm4F A==; 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 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,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 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 --- 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: -- 2.34.1