From patchwork Tue Nov 17 01:33:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 324549 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp3792032ils; Mon, 16 Nov 2020 17:35:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJy/JYP6esc7UEgrtEYkocoLz9NSJkjkh3FcIofNs53eVorpAj18qlatG1bzDpgifVbcbt/p X-Received: by 2002:a50:e087:: with SMTP id f7mr6222246edl.29.1605576924720; Mon, 16 Nov 2020 17:35:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605576924; cv=none; d=google.com; s=arc-20160816; b=ErXk+6lbj2gVeEGPhmBYdh+NdWC4UD3bjIrwneW3XjzCgR7o8wM9LutGGcikQPeIl3 6u8DjvqQ/oWGglq4boAVUNK8TeSZQzpZ+3kDabeHh4QcI2lJlQzw9a1V/QhJibDzI8zl nojYhvjHDw5TXgGDpSYpmT+Mx7Tk7dom7x6IlHm8PlqYS0JGLF7ncv1QtYrAs5WryPdQ Mdo0z8uNwlqeH7bHihDxUKD6xM14bjczp3k3zua4xflx9ijTxhe77O2KHANp+IxdgMWY cJIoVh150CC2etudbLpKBSthWhIymVKgAjVEshC8k4dpjxrZrLSBZ76VHA7XnX61ZcFt H/OA== 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=wNb4ssqi6GnjfKnwrQ0BaPlK7z2Z97OJHzDNpZ85994=; b=CbidB/E8LqmBD/JOUGbw70qQtBtXIb40EWZQZfRmsvuFJ6qbE5CI1pcOctY6NQrFEM 216to9WJnMaxeSmBnce6UVhiHlZvSWtzQeWWJwNYy5sBQoaHIoKwODXC1tNS6sydx7xx X+x1qa6nuMU8/4seoj8CiBHdhJObaRA7ucOKFQ115S4iP1HBzx9xwRd6+mdfKP+b/F67 lmdH/e50oC+lCUEOrLsFA15dTFVXurxB5ULNP+9AhelIolUepr92j4gNupyVwWDZtpYE ndUXZbH7lhhsVq48q7HbWhU6rFrtuinXKGFR21VBWX7iGXjwe2Ikfn4cCC3KGjNnVTWw 0t8g== 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 y10si13139170ejq.401.2020.11.16.17.35.24; Mon, 16 Nov 2020 17:35:24 -0800 (PST) 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 S1725901AbgKQBdz (ORCPT + 6 others); Mon, 16 Nov 2020 20:33:55 -0500 Received: from mail-oi1-f193.google.com ([209.85.167.193]:36194 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725730AbgKQBdy (ORCPT ); Mon, 16 Nov 2020 20:33:54 -0500 Received: by mail-oi1-f193.google.com with SMTP id d9so20942509oib.3 for ; Mon, 16 Nov 2020 17:33:54 -0800 (PST) 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=wNb4ssqi6GnjfKnwrQ0BaPlK7z2Z97OJHzDNpZ85994=; b=h4BlmDhJpDrJn0FTVc1gNJkJFh7pXxdDu53wEc4sfIlHyaXwv+oF+hxT/DFxjbjdD6 aWvG0Nt0ni5gMw+f33bi3sDHDY8wZd5NNvHaluUhAiunxMlWg0oFM74Rwhj1TO2WVTCD DenAUn5AcC/U0QC19Hp03XzJJ4IzDNbmqz3Gj+mNSOoYbDL4thzK55C3ieEvb0tdpN1b vGhPqTe9ZodUZQqSVsd6Q72e+85rQrhAxVd9wL+Q8iYcRPdXv31VMdC1K6c+unawsekA dBzKNgu1ecUv71AqwpRbI6VZ4DY7kcsLtty5Vq9cEI+E4MeIamysvWq8TMBXHr0Bp5Xs yvVA== X-Gm-Message-State: AOAM5315GpodZ/pMl8zTGuoPUwO9iEL8Ipru/04/WCfskOwd5TQ+VTo1 AjkJlRIZDSGLDK5fs1qnuw== X-Received: by 2002:aca:cd17:: with SMTP id d23mr917590oig.171.1605576833830; Mon, 16 Nov 2020 17:33:53 -0800 (PST) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id j9sm3861325oij.44.2020.11.16.17.33.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 17:33:53 -0800 (PST) From: Rob Herring To: Mark Brown Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, Liam Girdwood , Kuninori Morimoto , Lubomir Rintel , Sameer Pujar Subject: [PATCH 3/4] ASoC: dt-bindings: marvell, mmp-sspa: Use audio-graph-port schema Date: Mon, 16 Nov 2020 19:33:48 -0600 Message-Id: <20201117013349.2458416-4-robh@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201117013349.2458416-1-robh@kernel.org> References: <20201117013349.2458416-1-robh@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Now that we have a graph schema, reference it from the marvell,mmp-sspa schema. Signed-off-by: Rob Herring --- .../bindings/sound/marvell,mmp-sspa.yaml | 25 +++---------------- 1 file changed, 3 insertions(+), 22 deletions(-) -- 2.25.1 Acked-by: Lubomir Rintel diff --git a/Documentation/devicetree/bindings/sound/marvell,mmp-sspa.yaml b/Documentation/devicetree/bindings/sound/marvell,mmp-sspa.yaml index 6d20a24a2ae9..234f64a32184 100644 --- a/Documentation/devicetree/bindings/sound/marvell,mmp-sspa.yaml +++ b/Documentation/devicetree/bindings/sound/marvell,mmp-sspa.yaml @@ -9,6 +9,9 @@ title: Marvel SSPA Digital Audio Interface Bindings maintainers: - Lubomir Rintel +allOf: + - $ref: audio-graph-port.yaml# + properties: $nodename: pattern: "^audio-controller(@.*)?$" @@ -58,29 +61,9 @@ properties: type: object properties: - remote-endpoint: true - - frame-master: - type: boolean - description: SoC generates the frame clock - - bitclock-master: - type: boolean - description: SoC generates the bit clock - dai-format: - $ref: /schemas/types.yaml#/definitions/string - description: The digital audio format const: i2s - required: - - remote-endpoint - - required: - - endpoint - - additionalProperties: false - required: - "#sound-dai-cells" - compatible @@ -112,8 +95,6 @@ examples: port { endpoint { remote-endpoint = <&rt5631_0>; - frame-master; - bitclock-master; dai-format = "i2s"; }; };