From patchwork Thu Dec 26 16:22:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 13921343 Received: from mx.denx.de (mx.denx.de [89.58.32.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9B29284D3E; Thu, 26 Dec 2024 16:22:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=89.58.32.78 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735230183; cv=none; b=napdZ7U6ZT7+OXzv1PGd+MEelWMAvaZyiA6SVwODGpvE8cZcRAQ3yzg/2DLaophlFchXvSV/kIdGjhecmmcuRquvttmhN1nQk0YtJWrhrIlgHYlKwNjHnLFsupaiJHj2c/PcrbeAbs+CKUDE1wStoWQM3s2etV0fTGGppR185yY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735230183; c=relaxed/simple; bh=/CZarlawpQW3AB6OjSsB+ovI0CMf4dgE58TQrQHef80=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=dNZl4f6FuOt4DtqYA5OXweQMy6umsP+HNvatX3s8acD+J1WkmsXDkQTe73qmBDSmT7v6HRBh13rwRZWBsH9H4HttxA/36HySTN5BBDec9bdT3EgsXFTikKWC2mmwmFRYZip31Cbn5hSWBZz5fwM8gCEH8oNb9dDd0CzVDzlqCP0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de; spf=pass smtp.mailfrom=denx.de; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b=Y5UbKZYG; arc=none smtp.client-ip=89.58.32.78 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=denx.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b="Y5UbKZYG" Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 18D231040DBDE; Thu, 26 Dec 2024 17:22:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=mx-20241105; t=1735230177; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+371zN6I4eJt7arIqfMxSmjTqfxyFjuqx+gUQzzfPlc=; b=Y5UbKZYGidFda0UrKfZmCVOy+PWtXxL2xCOirrVaG1xhmxgQ2Pg98txElk9BPeaGCtfbxr cOLm3i8PRl37s+S+iuTSmkGg0lwZMyvJHWG9Vd274qbc1Hd/CDc8soHaq12+WAUHv474n5 FkKcP65ahE4XzmDqdSyHB3LXKk8POr51/+xQa1rKsPmMeBntVDhKKUpI2sW0trVSVIghjh orAeDCtGy22VsOJOgOaTJjAaC3IOz04/u6QlWxy1UytOTE3/BWC5xrBji6sjlrrFCZFyvP 1pdFfeBfEsJd+SxSaiVcZWWZKamncnJQnXIyvTUKKjBUgOt5iKX8tAfPIj30RQ== From: Marek Vasut To: linux-clk@vger.kernel.org Cc: Marek Vasut , Conor Dooley , Fabio Estevam , Jaroslav Kysela , Krzysztof Kozlowski , Liam Girdwood , Mark Brown , Michael Turquette , Michael Walle , Nicolin Chen , Rob Herring , Shengjiu Wang , Stephen Boyd , Takashi Iwai , Xiubo Li , devicetree@vger.kernel.org, linux-sound@vger.kernel.org Subject: [PATCH v2 3/4] dt-bindings: clock: fsl-sai: Document clock-cells = <1> support Date: Thu, 26 Dec 2024 17:22:23 +0100 Message-ID: <20241226162234.40141-3-marex@denx.de> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241226162234.40141-1-marex@denx.de> References: <20241226162234.40141-1-marex@denx.de> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 The driver now supports generation of both BCLK and MCLK, document support for #clock-cells = <0> for legacy case and #clock-cells = <1> for the new case which can differentiate between BCLK and MCLK. Signed-off-by: Marek Vasut Acked-by: Conor Dooley --- Cc: Conor Dooley Cc: Fabio Estevam Cc: Jaroslav Kysela Cc: Krzysztof Kozlowski Cc: Liam Girdwood Cc: Mark Brown Cc: Michael Turquette Cc: Michael Walle Cc: Nicolin Chen Cc: Rob Herring Cc: Shengjiu Wang Cc: Stephen Boyd Cc: Takashi Iwai Cc: Xiubo Li Cc: devicetree@vger.kernel.org Cc: linux-clk@vger.kernel.org Cc: linux-sound@vger.kernel.org --- V2: No change --- Documentation/devicetree/bindings/clock/fsl,sai-clock.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/fsl,sai-clock.yaml b/Documentation/devicetree/bindings/clock/fsl,sai-clock.yaml index e62543deeb7da..250d7ec729c6e 100644 --- a/Documentation/devicetree/bindings/clock/fsl,sai-clock.yaml +++ b/Documentation/devicetree/bindings/clock/fsl,sai-clock.yaml @@ -10,7 +10,7 @@ maintainers: - Michael Walle description: | - It is possible to use the BCLK pin of a SAI module as a generic + It is possible to use the BCLK or MCLK pin of a SAI module as a generic clock output. Some SoC are very constrained in their pin multiplexer configuration. E.g. pins can only be changed in groups. For example, on the LS1028A SoC you can only enable SAIs in pairs. If you use only one SAI, @@ -40,7 +40,7 @@ properties: maxItems: 1 '#clock-cells': - const: 0 + maximum: 1 allOf: - if: