From patchwork Mon Apr 5 17:21:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 416139 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 10448C433B4 for ; Mon, 5 Apr 2021 17:21:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D1FAB613BC for ; Mon, 5 Apr 2021 17:21:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237711AbhDERVr (ORCPT ); Mon, 5 Apr 2021 13:21:47 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:60039 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237630AbhDERVq (ORCPT ); Mon, 5 Apr 2021 13:21:46 -0400 Received: from mail-wr1-f69.google.com ([209.85.221.69]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lTSuw-00017A-Vb for devicetree@vger.kernel.org; Mon, 05 Apr 2021 17:21:39 +0000 Received: by mail-wr1-f69.google.com with SMTP id z6so8564852wrh.11 for ; Mon, 05 Apr 2021 10:21:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=GEgD6nCwrnCCmMRnVlbIatB9AZXLMVXM2qwTWAsOSRQ=; b=ZCWgNzay+w2YyiPSM7pOHVXczCb4n9UvP0Or3YO41Iwh8w7kmAYtUab5oRoPd7BoxH bUji+1UjCpr7axFJrwLJMX7/xFLzqI58ZgeNLkU+k8iAQUVUgsBWjkabnyofaXviFj9e flM2dHPdiBatunFMqOkUS/pNmv0QJHvQGjhKJh8DtvmyoBD+M6ze5cszmu0euzyGgUSF nXXMum3RsVE9QZ3vDAEhd7Sl59QMbieSXsXCWvX0wlB/VsWsRNzpgrlP1yYrk/69UodW /yZ+HzurP0OtKWD8ZIxEOuzCEbYDwbDcVrpmgd56CSvcndzp1vRU5lWi/EjQTx62wG9q adnQ== X-Gm-Message-State: AOAM532Ygw+1fr25ayN/i0OcejPbOgNf/+wrq3O/B1pu6yl3ZaCi+sWw HF/G24aSoUxW6N0XH6f2Pt5DJs4KWAVRetFEa9kOKQGTNSAjvUGRqjbdtxoj81xaxzWLnC2Pz9u ycDwV28aZ2HfBM++oaJgnOTbtAxVC/B4FCXAe0Ec= X-Received: by 2002:a5d:63ca:: with SMTP id c10mr3368775wrw.268.1617643298748; Mon, 05 Apr 2021 10:21:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvw10z2SwG+zNEBknvFxeH/NAxYDl38hx+ODzviZ5wkQmgU4UelCf00bTWOqUL6fJHSWVN9g== X-Received: by 2002:a5d:63ca:: with SMTP id c10mr3368767wrw.268.1617643298632; Mon, 05 Apr 2021 10:21:38 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-192-147.adslplus.ch. [188.155.192.147]) by smtp.gmail.com with ESMTPSA id y12sm3736935wrs.65.2021.04.05.10.21.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Apr 2021 10:21:38 -0700 (PDT) From: Krzysztof Kozlowski To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] dt-bindings: serial: samsung: include generic dtschema to match bluetooth child Date: Mon, 5 Apr 2021 19:21:19 +0200 Message-Id: <20210405172119.7484-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Krzysztof Kozlowski Include the generic serial.yaml dtschema so the child node like "bluetooh" will be properly matched: arch/arm/boot/dts/exynos4210-universal_c210.dt.yaml: serial@13800000: 'bluetooth' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- Changes since v1: 1. Drop the new example, as Rob suggested. --- Documentation/devicetree/bindings/serial/samsung_uart.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/serial/samsung_uart.yaml b/Documentation/devicetree/bindings/serial/samsung_uart.yaml index 4f98a3896b3a..97ec8a093bf3 100644 --- a/Documentation/devicetree/bindings/serial/samsung_uart.yaml +++ b/Documentation/devicetree/bindings/serial/samsung_uart.yaml @@ -79,9 +79,11 @@ required: - interrupts - reg -additionalProperties: false +unevaluatedProperties: false allOf: + - $ref: /schemas/serial.yaml# + - if: properties: compatible: