From patchwork Thu Apr 15 07:31:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leizhen \(ThunderTown\)" X-Patchwork-Id: 421725 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp222796jaf; Thu, 15 Apr 2021 00:31:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwee1Zxkoe5jjVdQ1Y8cl/RNS2KwP0Rq8eXSspJWvXZU0oiMP2DTdfjesNU+RA5h1hNpb3h X-Received: by 2002:a05:6402:5203:: with SMTP id s3mr2494510edd.79.1618471897592; Thu, 15 Apr 2021 00:31:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618471897; cv=none; d=google.com; s=arc-20160816; b=K8+rRzgwxPoPT6ozCD4aLvE/wRDHXMZAmKpDgLx99R8YFqHIC2qBNSedhaOhRPtpYJ EoM4jWlUU5eXS7Dz2fETF1aMf9VOrsTWIX+Gqh1u9djBDYW/853J+S+MH+s1+6tP8R0s cB0pAuOWr/5AGPwe5qR3EwbJNDR28jvwTW+tPdJkGFir7oL3JtN+YDmOpquOnMEIP8s9 jDKhjnYb6JlxEqlP680YX+wX5SkctAzcuS9cx9hT9kU9LbnUriYFXmFOHnjXIePycGyP BADqaa+i257rUUY0p0ukOfRIUvlunmo4pAq96iaGdSCtB2lcK4UH7vrz60ZsZry8GWcl nlrA== 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 :message-id:date:subject:cc:to:from; bh=PpbpGluZj1zYI+/yUb7jiu7l/oZ5ZG0eCtIU+jKbtbE=; b=i6pK60B6Wr/qWR2A6T/J/3un9Lh2aFRsY2q0HwoUoEqD1IQvnbNTpr4rxcnh70GOeF O5bsUdcW0pe7B74L/l4UxyCFyK4NfmATmmbAprFW7iF8SWrJqyWEXKqoL7Cc+ED9wf7Q dG1lHLTgP2E4oCmVVdUhWMP+wB3I8/GlIXfgZ5sa0xd7iuOgXvOuyMuIZgm4e6BnsWsz 3Yw/yZ+o0LwxzXh3bLOg3jwZSrq31qk3m2k4lojMZ4buyaA0DvbDpelnWvOyUKm3g+B+ UmUq02mh7PmrQOxEF8evCAulAo8SvTcM5cx70Z8IS7iRsi1fcxepTqYLu5jki+596Vbk QPvA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-serial-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-serial-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 ga16si1586240ejc.102.2021.04.15.00.31.37; Thu, 15 Apr 2021 00:31:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-serial-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 linux-serial-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-serial-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 S231308AbhDOHb7 (ORCPT + 2 others); Thu, 15 Apr 2021 03:31:59 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:16922 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230090AbhDOHb6 (ORCPT ); Thu, 15 Apr 2021 03:31:58 -0400 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4FLWFJ6gJczjb26; Thu, 15 Apr 2021 15:29:40 +0800 (CST) Received: from thunder-town.china.huawei.com (10.174.179.202) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.498.0; Thu, 15 Apr 2021 15:31:23 +0800 From: Zhen Lei To: Greg Kroah-Hartman , Rob Herring , linux-serial , devicetree , linux-kernel CC: Zhen Lei Subject: [PATCH 1/1] dt-bindings: serial: Add label property for pl011 Date: Thu, 15 Apr 2021 15:31:05 +0800 Message-ID: <20210415073105.3687-1-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 MIME-Version: 1.0 X-Originating-IP: [10.174.179.202] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org When there is more than one pl011 serial port present, the label property 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 --- Documentation/devicetree/bindings/serial/pl011.yaml | 3 +++ 1 file changed, 3 insertions(+) -- 2.26.0.106.g9fadedd diff --git a/Documentation/devicetree/bindings/serial/pl011.yaml b/Documentation/devicetree/bindings/serial/pl011.yaml index 1f8e9f2644b6b80..303c7746423f503 100644 --- a/Documentation/devicetree/bindings/serial/pl011.yaml +++ b/Documentation/devicetree/bindings/serial/pl011.yaml @@ -34,6 +34,9 @@ properties: reg: maxItems: 1 + label: + maxItems: 1 + interrupts: maxItems: 1