From patchwork Tue Mar 23 20:00:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 1457459 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=linux-tegra-owner@vger.kernel.org; receiver=) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4F4j1304lJz9sRN for ; Wed, 24 Mar 2021 07:01:11 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231648AbhCWUAi (ORCPT ); Tue, 23 Mar 2021 16:00:38 -0400 Received: from mail-il1-f174.google.com ([209.85.166.174]:45700 "EHLO mail-il1-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232742AbhCWUAI (ORCPT ); Tue, 23 Mar 2021 16:00:08 -0400 Received: by mail-il1-f174.google.com with SMTP id v3so19287664ilj.12; Tue, 23 Mar 2021 13:00:08 -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:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=2+gwQRwJup3xL0mb4hvSYNYdy7ZwaZULvsFMgTdxQKI=; b=SBHqAfGLTTbRlzheLNnHVGPIw2vUBuFZFSEaF0QHk09yas/QlbMTHLb53q7fX9cvoZ 0BSQIoGQZ8yX9j9BQAleTQeHLY0u73BXl1eKQnA0EM/a/goB2AVro5ndoEitj427a8N5 CnvmZM2AYbAahU737ucjJnuDYBb58T1fJrErBjNbnMUqBLI+/Dj0Jxcx5h23M9i5xTbA OZxoROMbieO8svLnNqBdvSpF0S/XdRmHAPDDLNeO0Rrpybs3F2u5oBCkzHIisrnhnkyt VxZMVI8376qT/EISzzo/DKgUpEpsgxoM+myknU2W+RgLxcSlW0Hkhd4gda64sZ07/s/x zjwg== X-Gm-Message-State: AOAM530V16Yn9wG8m9aHhUfQqj+iMtJSVAHH594aewgr7XgmFzTuq4vU J0QjQL/2o2cBzuKg95/A8A== X-Google-Smtp-Source: ABdhPJxWk785Y6kqJD0UsIL60c05TtY//Srf33pd4qaDjuUZKvywgeZNaFjKz60gvS9yXWkKir9BwQ== X-Received: by 2002:a92:c24c:: with SMTP id k12mr6327880ilo.282.1616529607734; Tue, 23 Mar 2021 13:00:07 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.253]) by smtp.googlemail.com with ESMTPSA id 13sm9766293ioz.40.2021.03.23.13.00.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Mar 2021 13:00:07 -0700 (PDT) From: Rob Herring To: Mark Brown Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Liam Girdwood , Thierry Reding , Jonathan Hunter , Sameer Pujar , alsa-devel@alsa-project.org, linux-tegra@vger.kernel.org Subject: [PATCH] ASoC: dt-bindings: nvidia,tegra210-ahub: Add missing child nodes Date: Tue, 23 Mar 2021 14:00:05 -0600 Message-Id: <20210323200005.1196572-1-robh@kernel.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org The nvidia,tegra210-ahub binding is missing schema for child nodes. This results in warnings if 'additionalProperties: false' is set (or when the tools implement 'unevaluatedProperties' support). Add the child nodes and reference their schema if one exists. Cc: Liam Girdwood Cc: Mark Brown Cc: Thierry Reding Cc: Jonathan Hunter Cc: Sameer Pujar Cc: alsa-devel@alsa-project.org Cc: linux-tegra@vger.kernel.org Signed-off-by: Rob Herring --- This patch ideally should be applied before this series[1]. [1] https://lore.kernel.org/r/20210323163634.877511-1-robh@kernel.org/ .../bindings/sound/nvidia,tegra210-ahub.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra210-ahub.yaml b/Documentation/devicetree/bindings/sound/nvidia,tegra210-ahub.yaml index e568d6c7dddd..d7a5eb77ed4f 100644 --- a/Documentation/devicetree/bindings/sound/nvidia,tegra210-ahub.yaml +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra210-ahub.yaml @@ -69,6 +69,18 @@ properties: $ref: audio-graph-port.yaml# unevaluatedProperties: false +patternProperties: + '^i2s@[0-9a-f]+$': + type: object + + '^dmic@[0-9a-f]+$': + type: object + $ref: nvidia,tegra210-dmic.yaml# + + '^admaif@[0-9a-f]+$': + type: object + $ref: nvidia,tegra210-admaif.yaml# + required: - compatible - reg