From patchwork Wed Mar 30 05:15:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 12795464 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 76524C433F5 for ; Wed, 30 Mar 2022 05:17:05 +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:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id: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=K8AdOR6drSGqz2qFKcga7irHjipF404JhcXwhdu6DZI=; b=P5nvaz408JGlik LeB4NjpFTqMuX0CPnSAnUM2OR217asEiGMxH+JwqnxOTEjey7jOeTFggwjXcie+WDlQnZ1rcXQwZn qU7kofDee/HmIy8DEdpPwpZ5Q2at47iRDEHhU0OM4zw7TNjd7xhRK4DNvua5LSprg85zHS28Qc7wE KO8RTiKyWNWT0nfGKqPDLxnZVTAYZVlVE2XTg7K29z44oAgL3mQGqgq5z9wTC8RhX+suCKIuqMT2a 3ItrykDols8KJURVWziYwqUDEnnEBH5CJ+coUFK657VCQlTYEwwuGrKhnuCpgczLmTfgrx/5leakM OD7c5Tn3ynWYnUY3ZYrQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nZQge-00EFer-RZ; Wed, 30 Mar 2022 05:16:05 +0000 Received: from mx.socionext.com ([202.248.49.38]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nZQgI-00EFY1-VG for linux-arm-kernel@lists.infradead.org; Wed, 30 Mar 2022 05:15:44 +0000 Received: from unknown (HELO iyokan2-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 30 Mar 2022 14:15:41 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by iyokan2-ex.css.socionext.com (Postfix) with ESMTP id 3CAE32058B50; Wed, 30 Mar 2022 14:15:41 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Wed, 30 Mar 2022 14:15:41 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 79CA0B62B7; Wed, 30 Mar 2022 14:15:40 +0900 (JST) From: Kunihiko Hayashi To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski Cc: Masami Hiramatsu , linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kunihiko Hayashi Subject: [PATCH v2 1/2] dt-bindings: serial: uniphier: Use maxItems for a single clock Date: Wed, 30 Mar 2022 14:15:37 +0900 Message-Id: <1648617338-8600-2-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1648617338-8600-1-git-send-email-hayashi.kunihiko@socionext.com> References: <1648617338-8600-1-git-send-email-hayashi.kunihiko@socionext.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220329_221543_137207_40CD5C01 X-CRM114-Status: GOOD ( 13.01 ) 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 'maxItems' is preferred for a single entry, not 'minItems'. Signed-off-by: Kunihiko Hayashi Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/serial/socionext,uniphier-uart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/serial/socionext,uniphier-uart.yaml b/Documentation/devicetree/bindings/serial/socionext,uniphier-uart.yaml index d490c7c4b967..06353028b274 100644 --- a/Documentation/devicetree/bindings/serial/socionext,uniphier-uart.yaml +++ b/Documentation/devicetree/bindings/serial/socionext,uniphier-uart.yaml @@ -20,7 +20,7 @@ properties: maxItems: 1 clocks: - minItems: 1 + maxItems: 1 auto-flow-control: description: enable automatic flow control support. From patchwork Wed Mar 30 05:15:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 12795463 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 3C2FDC433F5 for ; Wed, 30 Mar 2022 05:16:55 +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:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id: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=nqTwt+S7c2vO0953tUgJaSO779QWfWvozMr5twNjIbQ=; b=qEjuwFGTICQk4J ijX9HSRQNeG4Ir5PPfIUv3bmNxz1etZGXYeNsTTC/R4CiWT/9c3ypmdAEqWNP0KMIXB3C6MFYM78S cDb5M9NJWN6s2GWOVX+EPcoO33TVmrxWshcnbeqgg58UiRtFb8iTp+ezzmqYX6PYWC2NpK8ELHR7+ eL/P8G62v4Wb1GUVgRg+L8Zmj74zTAr35qes0gq6Qmi4M4lfz1epV4EIz80AIXwjHIqHFaOvSkxZw 8XhepRzFI73jlH+T5Z+JaxrM0eUyOq7srmN9Srh4Z0eCJ6DnFYMOKBkEyV2byJBLR87BrYeT8qaV/ J0woaxsQlLhvaK03Iylg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nZQgU-00EFbS-2X; Wed, 30 Mar 2022 05:15:54 +0000 Received: from mx.socionext.com ([202.248.49.38]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nZQgI-00EFXw-Em for linux-arm-kernel@lists.infradead.org; Wed, 30 Mar 2022 05:15:43 +0000 Received: from unknown (HELO kinkan2-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 30 Mar 2022 14:15:41 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan2-ex.css.socionext.com (Postfix) with ESMTP id BDACE2058443; Wed, 30 Mar 2022 14:15:41 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Wed, 30 Mar 2022 14:15:41 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 32DB3B62B7; Wed, 30 Mar 2022 14:15:41 +0900 (JST) From: Kunihiko Hayashi To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski Cc: Masami Hiramatsu , linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kunihiko Hayashi Subject: [PATCH v2 2/2] dt-bindings: serial: uniphier: Add "resets" property as optional Date: Wed, 30 Mar 2022 14:15:38 +0900 Message-Id: <1648617338-8600-3-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1648617338-8600-1-git-send-email-hayashi.kunihiko@socionext.com> References: <1648617338-8600-1-git-send-email-hayashi.kunihiko@socionext.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220329_221542_622742_D134F4E2 X-CRM114-Status: GOOD ( 12.43 ) 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org UniPhier UART controller has a reset lines from system controller. Add "resets" property to fix the following warning. uniphier-ld11-global.dtb: serial@54006800: 'resets' does not match any of the regexes: 'pinctrl-[0-9]+' From schema: Documentation/devicetree/bindings/serial/socionext,uniphier-uart.yaml Signed-off-by: Kunihiko Hayashi Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/serial/socionext,uniphier-uart.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/serial/socionext,uniphier-uart.yaml b/Documentation/devicetree/bindings/serial/socionext,uniphier-uart.yaml index 06353028b274..3d01cc355778 100644 --- a/Documentation/devicetree/bindings/serial/socionext,uniphier-uart.yaml +++ b/Documentation/devicetree/bindings/serial/socionext,uniphier-uart.yaml @@ -22,6 +22,9 @@ properties: clocks: maxItems: 1 + resets: + maxItems: 1 + auto-flow-control: description: enable automatic flow control support. $ref: /schemas/types.yaml#/definitions/flag