From patchwork Fri Mar 26 19:50:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 409539 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp1712409jai; Fri, 26 Mar 2021 12:51:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxRIwUnRv0uy8sop57l7jHSxq9RdUgVaWKGDftqBDGZavTlN2MSdi1cuORxM5jFYPSvND2t X-Received: by 2002:a17:907:75d9:: with SMTP id jl25mr16645211ejc.452.1616788270491; Fri, 26 Mar 2021 12:51:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616788270; cv=none; d=google.com; s=arc-20160816; b=pWw17BubqesWXs8lJ7W1uvl9Hsq8+pOpHoigSxeB7w2KV6D13DQqIC15iHLn8Ifb62 FmeiCBsHmwelm3d7j08/JiU3ziAv9WlEmjE50YIxziC/hdzEh/3RKzu5bVevrlBW4thX /v+HhXEtnmo4Kz0W/mXs5i7oe2A6hkJpIf/MTmQm+rxMRV0ErE5mSdIrhXcXYv7Ffuj0 zmJJiv2C0PXgj6W+NNXzoq956cEzg1Pca/Xq2K+2EsxT6heVRGNFL17EEz0N6N6FCK7O EEGzJrHNk/4VjY7V5dNePsnyXX/CeDB1j+hdr795Sls+tCDAnvOaoNzFtLhfhpEyRDy2 wzpw== 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=QMADa3hLSWQ6fsdPZyxglXagkduiht0CfsajenFjEE8=; b=bILP0c47uYm61bsHJuXDPc7YMP18ZwjXUapEqSwhljFHu2D4AxP+39+OtyKukMFUPG EurkS+M+abiEGX9htSzPIgRG8StcIeLAAUfrSjHmPy0dMytN9F2CKF646m3o77PklHrd y2LthuqmlSf+61IEOSJmbRKwNbOEPo4hkcU5Mz121KIgvt92tNjSE+XfbN1Zzx3sXoQW XjV2cuYfaKB6NDqbQiwDaU8BAniC2HaQknIGhCNkBNNa8ajCs8o3Siki0cK3AWL0uipR ghDnP/C7vtguf31mmiVz+8e76idSDWgwt3WsJaTsv7aAIB0J3LdnBwwEGg3YoAeRQfEq 4YYw== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i19si7313775ejd.152.2021.03.26.12.51.10; Fri, 26 Mar 2021 12:51:10 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229969AbhCZTui (ORCPT + 6 others); Fri, 26 Mar 2021 15:50:38 -0400 Received: from mail-io1-f51.google.com ([209.85.166.51]:33317 "EHLO mail-io1-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230106AbhCZTuG (ORCPT ); Fri, 26 Mar 2021 15:50:06 -0400 Received: by mail-io1-f51.google.com with SMTP id n198so6635965iod.0; Fri, 26 Mar 2021 12:50:06 -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=QMADa3hLSWQ6fsdPZyxglXagkduiht0CfsajenFjEE8=; b=IhQY693YZqnTE1PDJBeskfLwXVvZVmAsx9jZmKO0NYZoWlsEbDsdfxIdpAK7Oq5MmW 8fWy/7y9sJEzndMauJwNRWMUFOlKNWj0wz4GsThq/vckNqbo6cPdVPLsURrrVXJ7BhbM RZCQJoU+7uell97DqummmXz/GRXzz3fMVzkIP6/wO0OnGyD5yQfYbhqV1noCAieIR7yE fTrHA6lHbO6ugFMTdzet62EBp35I5nPCt7T3grCspggR40Bq5aSTvdhZw8los0thptiY Cht/Z0YcKQav9V2Lb63MNInDgbawrM+ELT75sSq1TNMxP75CJtzQCkmm10c3N4A5DjTR sNRg== X-Gm-Message-State: AOAM533loejv2Oj9QrGaeoZbpFnJ9oKmGz2qj6xO/AMsm5ZSq7OWuCfd GVzR7Rk/yUxop4YYji5Row== X-Received: by 2002:a05:6638:2603:: with SMTP id m3mr13456452jat.64.1616788205884; Fri, 26 Mar 2021 12:50:05 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.253]) by smtp.googlemail.com with ESMTPSA id h2sm4645441ioj.30.2021.03.26.12.50.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Mar 2021 12:50:05 -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 v2] ASoC: dt-bindings: nvidia, tegra210-ahub: Add missing child nodes Date: Fri, 26 Mar 2021 13:50:03 -0600 Message-Id: <20210326195003.3756394-1-robh@kernel.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@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 --- v2: - Also add 'dspk' child node 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 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) -- 2.27.0 Acked-by: Thierry Reding Acked-by: Sameer Pujar diff --git a/Documentation/devicetree/bindings/sound/nvidia,tegra210-ahub.yaml b/Documentation/devicetree/bindings/sound/nvidia,tegra210-ahub.yaml index e568d6c7dddd..1118a9488345 100644 --- a/Documentation/devicetree/bindings/sound/nvidia,tegra210-ahub.yaml +++ b/Documentation/devicetree/bindings/sound/nvidia,tegra210-ahub.yaml @@ -69,6 +69,22 @@ 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# + + '^dspk@[0-9a-f]+$': + type: object + $ref: nvidia,tegra186-dspk.yaml# + required: - compatible - reg