From patchwork Tue Nov 17 01:33:49 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: 324552 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp3792043ils; Mon, 16 Nov 2020 17:35:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJxDTcSmUwS5JUICLk03imej7LXQScLD1+4/+Oc4fFvsr0GmOmqwN2p9eHKb9wN6cb+akjJo X-Received: by 2002:a17:906:7cc:: with SMTP id m12mr17175886ejc.365.1605576925795; Mon, 16 Nov 2020 17:35:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605576925; cv=none; d=google.com; s=arc-20160816; b=tH7oyPpeY41wjS2xJTf4IDhqW9eI03rhpCRU2NfvqU9Ubr2WxqR6fMchXf7HJUdHwN 7JhNejEd7NxeVT9PvvmxoKE61xwRVK75W4z84a2dvmmPZTS34uNuM9to+cAJCj7WHJLj YoHKwohXrJ1a/SY1DC4v1uvuuWrNB2or3cCwk+d7eQqcI8AWuMSz9h543nOaiALvtkee Jn4NoB63u4xL1zePBvedjS6/jDtPK5ylHXs6b87EHrS3UWT0GunfqC91cwGJR/6KrUyA CIvRBc/kCci57aY8DAFYEHjuY7N0HAr6gbDLDRbDvcrJbcn2gBC+FwHHTFiXCWjZJg6f ZUug== 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=7v83U4ZReYBGAfYOQtO/dOb1BUnzpl5ihuyBngAA7CU=; b=fH603FHsWgtT8YDMii6fjbnmILnYt9fcnr5Uh4srgZ8phqLKXb8NoIagpt7SPO9RJM VsaLsOGm5vmSDd0OHui+XbIOEVYs+AhQvAA1wWiBJihdwWllIIZxKg237wd12Z0HDj/E sf8KPmE2+VBrwDOFinKwHA692EdWjPMvm9YLOJm0303BsUS6jow7Tbyt18Im9f5+mfxM Bh64/uYx8QtdiyUtITn2RKw+avwXOh6cEZtMBKVQ5sv+JhGpxpc0Nx8OdcqoSSroEGSJ fbnI7Ro3RwbbKbnGjmVqud1nBAqA5pP9fCvFK12jCKYKNJXjv/ATSJmEubGqz8khmRmU bPRg== 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.25; Mon, 16 Nov 2020 17:35:25 -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 S1725764AbgKQBd4 (ORCPT + 6 others); Mon, 16 Nov 2020 20:33:56 -0500 Received: from mail-oi1-f194.google.com ([209.85.167.194]:34331 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725730AbgKQBd4 (ORCPT ); Mon, 16 Nov 2020 20:33:56 -0500 Received: by mail-oi1-f194.google.com with SMTP id w188so20947876oib.1 for ; Mon, 16 Nov 2020 17:33:55 -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=7v83U4ZReYBGAfYOQtO/dOb1BUnzpl5ihuyBngAA7CU=; b=EecZlb3J7Pto7goRpE5JD871h9MQ3gvbyhqIG2QZaFgXfkh6yG3Ep0iX0TXoscSlHY bBVVpzga8M4bXPCt6uUmeg+Uwl9G1E7iTjNuiCx7e7dN3KG0G0Q75PbS2dw5dN1Sfd62 ZsQWPtozmoxWDYlSFKoSCBYBgo6+0lhw0oIF+NjMHIziJ32yARFFCY13+NHdjCNRjG/P 9t8FNz/KXDYwH4/7t77Kj6MizqAfMKr8sQ4Y5miKPEsJ/TvNojOTT4spwYjQFCXwVkCm dKUNMzW2rIHmyZbcTQWmzUlGJRc+Uw1EfwrPew9SPeeADZS5EH3ANs9Nw8tVUXuZHjH3 fDQg== X-Gm-Message-State: AOAM533lYjs//jWNRLwxyrWEB+DAbafQ8Hbo9useV5ZXR69dbnK+Yf5m xJPLg0E4/5TBKD1nii9L5g== X-Received: by 2002:aca:486:: with SMTP id 128mr997880oie.19.1605576834952; Mon, 16 Nov 2020 17:33:54 -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.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 17:33:54 -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 4/4] ASoC: dt-bindings: Refine 'frame-master' and 'bitclock-master' type Date: Mon, 16 Nov 2020 19:33:49 -0600 Message-Id: <20201117013349.2458416-5-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 'frame-master' and 'bitclock-master' are only a single phandle, so use the more specific 'phandle' type definition instead. Signed-off-by: Rob Herring --- .../devicetree/bindings/sound/audio-graph-port.yaml | 6 ++---- Documentation/devicetree/bindings/sound/simple-card.yaml | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) -- 2.25.1 Acked-by: Sameer Pujar diff --git a/Documentation/devicetree/bindings/sound/audio-graph-port.yaml b/Documentation/devicetree/bindings/sound/audio-graph-port.yaml index c05d5643b10e..7c13ca41d41f 100644 --- a/Documentation/devicetree/bindings/sound/audio-graph-port.yaml +++ b/Documentation/devicetree/bindings/sound/audio-graph-port.yaml @@ -43,12 +43,10 @@ properties: $ref: /schemas/types.yaml#/definitions/flag frame-master: description: Indicates dai-link frame master. - $ref: /schemas/types.yaml#/definitions/phandle-array - maxItems: 1 + $ref: /schemas/types.yaml#/definitions/phandle bitclock-master: description: Indicates dai-link bit clock master - $ref: /schemas/types.yaml#/definitions/phandle-array - maxItems: 1 + $ref: /schemas/types.yaml#/definitions/phandle dai-format: description: audio format. items: diff --git a/Documentation/devicetree/bindings/sound/simple-card.yaml b/Documentation/devicetree/bindings/sound/simple-card.yaml index 35e669020296..45fd9fd9eb54 100644 --- a/Documentation/devicetree/bindings/sound/simple-card.yaml +++ b/Documentation/devicetree/bindings/sound/simple-card.yaml @@ -13,13 +13,11 @@ definitions: frame-master: description: Indicates dai-link frame master. - $ref: /schemas/types.yaml#/definitions/phandle-array - maxItems: 1 + $ref: /schemas/types.yaml#/definitions/phandle bitclock-master: description: Indicates dai-link bit clock master - $ref: /schemas/types.yaml#/definitions/phandle-array - maxItems: 1 + $ref: /schemas/types.yaml#/definitions/phandle frame-inversion: description: dai-link uses frame clock inversion