From patchwork Thu May 6 13:20:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhen Lei X-Patchwork-Id: 431661 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp1434020jao; Thu, 6 May 2021 06:21:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwcd4zecmiLB+F7ynzAZwvQEqQTHgsH4DteThP6ycY0+oJqY3mzdKYbPuAxAPjwIZJ3eNEC X-Received: by 2002:a17:906:7257:: with SMTP id n23mr4411227ejk.412.1620307294064; Thu, 06 May 2021 06:21:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620307294; cv=none; d=google.com; s=arc-20160816; b=VN4i0ZBC3vnblRrlcAdMG1OZrt54yiR26mW+VXGNp92ZZCEf/fFPb0bTC/Ld6tWbQR IW1VgWqlxRKEe3iB07ADruOHWjoG/ynhsSwsVPyyUlj6riG4gSpZVFcSs1VQHpMhq99p EYgYzKYRE+WemQ5hmtKKcG3bpeM68Xfrg3adPYWXOVoNxyphgyVgMeZ53/BXDsdC6YxG OrilvXOuPqGDoKSPOVUjXIAZFM6UAZ+s06/+X5RTrqiA0G8NZ5GI3yrsTTG4dAD5Cjyi ZnMM3Z7hIuphWRNLWzuSjLOGiD79kBEQYC7smKISfmmmSomWsW/ZrpGoIre3oq6gdoDq FYBA== 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; bh=ijpcudPExsY5z6p9/V7nuLjzO7/PcoGRY1zqyZRtedQ=; b=YE5Agio7lS8c/SOatYnXMuRgLKOqt7zWqMZJSWT5929T5KXzw0u3HnV9Imc9RXM90H O0Gahptw9oPoRsWkN8Z7WCehC0pgryDeDb1brAHPY52Iw1di4ZNmyVOgrYBMNfdmdAc2 jqB8t6dq1PRspTC1+2oWO7DsVpH+mc2UqpWzESqdWqFDvecQ05arL+kuzCQzGcUC+IZN I3zggAX2uGBmSTn2jZSYjzYfC2ubfcwBtnaN1Ad2UkNqlMC+AVaE7ejySAWuzOUFVaYq fyPaFS9R+efxT3XF5xtRuIqUBMDfxwubQVh0/iZQUM8AgIBSE7PW+uzpLXKwkiKrDOe9 IjuA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t21si2303373edd.145.2021.05.06.06.21.33; Thu, 06 May 2021 06:21:34 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233853AbhEFNWa (ORCPT + 7 others); Thu, 6 May 2021 09:22:30 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:18359 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233773AbhEFNWZ (ORCPT ); Thu, 6 May 2021 09:22:25 -0400 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4FbZ101PT8zlc6W; Thu, 6 May 2021 21:19:16 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.177.72) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.498.0; Thu, 6 May 2021 21:21:14 +0800 From: Zhen Lei To: Greg Kroah-Hartman , Rob Herring , Al Cooper , Palmer Dabbelt , Paul Walmsley , "Maxime Coquelin" , Alexandre Torgue , linux-serial , devicetree , linux-kernel , bcm-kernel-feedback-list , linux-riscv , linux-stm32 , linux-arm-kernel CC: Zhen Lei Subject: [PATCH v3 2/2] dt-bindings: serial: Add label property in serial.yaml Date: Thu, 6 May 2021 21:20:49 +0800 Message-ID: <20210506132049.1513-3-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 In-Reply-To: <20210506132049.1513-1-thunder.leizhen@huawei.com> References: <20210506132049.1513-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.174.177.72] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org When there is more than one serial port present, the property 'label' allows a custom name to be used for briefly describe the usage or position of each serial port. Without this "label" property, many dtbs_check warnings similar to the following are reported: arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dt.yaml: \ serial@ffd74000: Additional properties are not allowed ('label' was unexpected) From schema: Documentation/devicetree/bindings/serial/pl011.yaml Signed-off-by: Zhen Lei Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/serial/serial.yaml | 2 ++ 1 file changed, 2 insertions(+) -- 2.26.0.106.g9fadedd diff --git a/Documentation/devicetree/bindings/serial/serial.yaml b/Documentation/devicetree/bindings/serial/serial.yaml index 2fdf4ed198da781..c75ba3fb6465005 100644 --- a/Documentation/devicetree/bindings/serial/serial.yaml +++ b/Documentation/devicetree/bindings/serial/serial.yaml @@ -23,6 +23,8 @@ properties: $nodename: pattern: "^serial(@.*)?$" + label: true + cts-gpios: maxItems: 1 description: