From patchwork Tue Jul 18 06:57:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Durai Manickam KR X-Patchwork-Id: 121808 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp1557896vqt; Tue, 18 Jul 2023 00:11:19 -0700 (PDT) X-Google-Smtp-Source: APBJJlEEyTjoWwXwmbGu8Sl0TRgEOIwCzw09Q6gVqGX0cIVCBHDiaBToqenDaEUhfPVmqlCOoJa8 X-Received: by 2002:a05:6e02:20cf:b0:345:bfc7:d527 with SMTP id 15-20020a056e0220cf00b00345bfc7d527mr2106035ilq.7.1689664278793; Tue, 18 Jul 2023 00:11:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689664278; cv=none; d=google.com; s=arc-20160816; b=xjXL7F+o1gqZdd8M7pjCT07loLmCszJbjEnM3dE48M38TUEgPKRPcOdmD7rpPIdyHr e9IQVT9uGdxPT8C22urAylV4n0vonVOjxWo25Ab9AS05aF/nstvlg0gczCspToxebkhL vU+PsTdDr+irbeixfo/Dqv8tJ6fWVRoARYY+WBpTCj6nm6hI3yCbeV1L3OoIk0T0/Fct xSwugXwuCN+Aqh5l92zAwNmqFKR+GZvQpaQBg2k7W1U9D0QJRzi2pic0FQMM4Y7GlRYd sul63Mlt3qYq//CEDuE2271FgJRPKMAmDm0tchAJKXHU6G/98K4+5PSm0Psi66xBwzph WIfA== 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=cLrz8mTRC2AqJHbdFyQ2g2YTh65qdBDoIM3Di4nVeq4=; fh=aAe0RK4acild8ekxyGC5+3szAArJAfs6yukDlvQT3MQ=; b=qtTD08Gy80kCn7W9O1HQC8AbGhEEq/1uLV3Vi06n+fNOrr0knXXyB67AquRRx9sQc/ TmwgIQe33Ya5jc2xlSozcGM8rkJEiuEFpHtazN1vwUMy0va0s1CXohsx6mHHkFt7731p GoowRpWKl5ZNhdXy0xnh1zOOMHvB9SiwbA0ZgfxGLVB98egA6xoVR3K2ufdmpN2eF6O0 85i01xEb6zIhh9VHr1yL1ZPT6yz3HV7YUK6qqiLS3YHtjf+ShMJEWMciPZmbMXkXGeU1 e8tYDvO/X0TdemKeq2dHyeN+WnpuO4ZOD2UNQmvvbhfJWzIQITLv0P5oIxYCs+LkoQGs zQZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="qCDlazY/"; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s7-20020a17090a948700b00263cdc45e92si6882626pjo.28.2023.07.18.00.11.05; Tue, 18 Jul 2023 00:11:18 -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="qCDlazY/"; 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 S231493AbjGRG6H (ORCPT + 99 others); Tue, 18 Jul 2023 02:58:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231470AbjGRG6F (ORCPT ); Tue, 18 Jul 2023 02:58:05 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DABE41B5; Mon, 17 Jul 2023 23:58:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1689663484; x=1721199484; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=P6VvQvFvwkNOAOvrLhOm+eEGUjR865o3HtvDrNiPEjE=; b=qCDlazY/cgVjUGP61hJjNl7Kar/BT6irxDX+qu1S5zRA77hUuAc9thh6 L3tLA3f85H3xPgzmnM/EIANjna+VUI5lFYmcjqSbOnedFOEJdtyrEiuj2 2UFypevXSpigf63IO1eEgVcTNMFVC1rxpz2WSLieXMB/pGLSBOa44a+0v TWyOVZ1vrhGYcp+s/L8pPXxKb6PpvEz14Q3xAGuXj2i1iWzrE7Q+RPIHq r2MU/kmJZ2qVn1OlAv1As/FTDBpxnwzqRy8HRpmTyojsY3yhYzy14KMaP BECpbBWRkfJZN5NwgkvvYrq+KKYk6dRTeNXpShqS4juAUmJPAztJE2ej4 g==; X-IronPort-AV: E=Sophos;i="6.01,213,1684825200"; d="scan'208";a="236147753" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 17 Jul 2023 23:58:03 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Mon, 17 Jul 2023 23:58:03 -0700 Received: from che-lt-i66125lx.microchip.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Mon, 17 Jul 2023 23:57:52 -0700 From: Durai Manickam KR To: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , CC: Durai Manickam KR Subject: [PATCHv3 1/2] dt-bindings: serial: atmel,at91-usart: update compatible for sam9x60 Date: Tue, 18 Jul 2023 12:27:34 +0530 Message-ID: <20230718065735.10187-2-durai.manickamkr@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230718065735.10187-1-durai.manickamkr@microchip.com> References: <20230718065735.10187-1-durai.manickamkr@microchip.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771741411050859620 X-GMAIL-MSGID: 1771741411050859620 There is only one debug unit in the sam9x60 SOC and it has the chipid register. So, the dbgu compatible strings are valid only for debug usart. Defining these dbgu compatible strings are not valid for flexcom usart. So adding the items which is valid only for flexcom usart and removing the microchip,sam9x60-usart compatible string from the enum list as no usart node defines only this specific compatible string. Signed-off-by: Durai Manickam KR --- .../devicetree/bindings/serial/atmel,at91-usart.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml b/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml index 30b2131b5860..65cb2e5c5eee 100644 --- a/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml +++ b/Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml @@ -16,13 +16,15 @@ properties: - enum: - atmel,at91rm9200-usart - atmel,at91sam9260-usart - - microchip,sam9x60-usart - items: - const: atmel,at91rm9200-dbgu - const: atmel,at91rm9200-usart - items: - const: atmel,at91sam9260-dbgu - const: atmel,at91sam9260-usart + - items: + - const: microchip,sam9x60-usart + - const: atmel,at91sam9260-usart - items: - const: microchip,sam9x60-dbgu - const: microchip,sam9x60-usart