Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1893728lqz; Tue, 2 Apr 2024 00:12:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX6TiEY6CjyW9GWhKA3arMhMKxUAxjhoB/e5rKit/tJGVmQljsphSI9ARDAaMXZC4szipxOjnwQPoD+STncdGH+EypbJKdpYOtSvZh3YQ== X-Google-Smtp-Source: AGHT+IHoQmc4xV67KV253J3/cEQaUBkPNBL6K/5tYfMnWf8Fs97GyR0lGevlMl5xUVuJXZYQxIgK X-Received: by 2002:a50:c34e:0:b0:566:b09e:8d24 with SMTP id q14-20020a50c34e000000b00566b09e8d24mr589540edb.12.1712041972361; Tue, 02 Apr 2024 00:12:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712041972; cv=pass; d=google.com; s=arc-20160816; b=Cs53OrdqnkPanhGYM4/tMtbM5M84b9TFYsiOmfTmuRw+KvYbULGJlgCCd1dYt74UAD 68zy/76XPm7qPpfhYNXZ7wlu1h52w0nFzJCkCCM7gHSLGegTKMSEGbtqoovTp9cUwaOd Mkgo194EHw5YAnzeYn6ibTBje1KDv4nVQGTD5HvoxuXFRhTzcZYDUauubVZUssv3FHAG R6jyMQJpBj3cPlVXnTn9r7dgEXJKWrN9xLKCBDaNLuehGRMGNsbkrBxkFnSgcf6FJCEL sOc9oY7WM5sxOGlZmtn+0fYKpq8OvFanDRBHjAjPV7syciJ8dIeJCo7vi1J0yHIKk6vk gUbA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=kjMah6RzWU9Pw9jrFvPJ1cd8OwCxOXg5IsWRlfB0YHk=; fh=geQJ6f4GGkO67aA4OnEJfdb5FkPflu4mDfU0FzMTC5M=; b=BZV7g1TZ65oWbU3yZ7kgZlWsGaFifHCb/fC+jDveFdiE4+70oYPpIOD/3JQvch32T2 zgZIlK1jAtzcytEBnJUu3J55+F81gu5eh6dgApPzd7+FDzURR+USWX4ZGjAkWNpGc9Pm wFpUILXpxeT3gpWxlHvKJbXMtcIkOlM+9pI4qI+Pd58273nsp7pQ3MnOt28/Gkj4c+ka 9Tq0roblIUSOq7WK3R6QZ8kA0ziM5gN0rDoO79DyD7p1xkCfiysWXBF58tQAGUR6S2qq LCyVVjozpQizQGo85aA71JbuO8MmOc42Mjt8Gmr5CfLrXJzI1gh/jQwKim8l39vdsfwv 1S+Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=f3bX7Jpc; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-127480-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127480-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id fj26-20020a0564022b9a00b00568b48f6670si5316889edb.666.2024.04.02.00.12.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 00:12:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-127480-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=f3bX7Jpc; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-127480-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127480-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B24F61F22337 for ; Tue, 2 Apr 2024 07:12:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A3CDF3D0D9; Tue, 2 Apr 2024 07:12:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="f3bX7Jpc" Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) (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 80AE4374F6; Tue, 2 Apr 2024 07:12:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712041944; cv=none; b=UYpuCdZTJ4S6NcHGCeQ5zZp2IWId63JSBvG9F6PrvqVXxHxqJcXBT2PPRidNzvnfZDoCuojcOGTBqfw4Ce0dg/EAwWYD7vPTKcN9lDeQAU1QHf9Tjmd4xf34TI7L3k9x9gY1/7QECo13iqPsUDSP0P2Tl9PCEI1q917+MQekSiI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712041944; c=relaxed/simple; bh=MDsLsFHtLslxvPtCs/nUPioPhXfjVy6AZnDa713pFfU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=b/TKW9dhEa1SlamslkKEn2zmrHy2ejNtN8++67IUCsxH2wfz/fXsxfsPDsFZwfGMPFvgOFIyJHzkqxFGF/AFC6ynM5l0S+Y3qmayfJhOvvYn8DrDFSErGZx5XCGB5akIdtmC4stl5XtjfcdsRlW71MlqJ/Lhn1ruaTZp4KYeQGc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=f3bX7Jpc; arc=none smtp.client-ip=217.70.183.199 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPA id 10E9BFF80A; Tue, 2 Apr 2024 07:12:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1712041940; 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=kjMah6RzWU9Pw9jrFvPJ1cd8OwCxOXg5IsWRlfB0YHk=; b=f3bX7Jpc6sXcyKJnYTY182aCDhlFJ78Bq9bDoCqL3Q4wpQw6nArUE4pWQr6S5iLlThLMtC 40CGAijuVr7Dsjcfisy4N4kQFIvibJXT041zmdssqolQ0p06rxlHB6NRjnX0UvOY5B2SNf 33D+47Val3gVaOcSmDuXBQ6tneJrOqRJyyIZT5tNeTbFL6EmiFfpJpB7IPvvWfMqz4P6Fl fan3UFGtnsh5CbWHpJWdfjz/Jc7njZoqV7Uy6IlY8bbfeML2r1eH3csi227NZqC5QXTYLp X9JT26fUsKT75D2Y7TT9D/82uqY4tAXwW5gbbufgxbxZjC7GuhN8m3fG323JdA== From: Bastien Curutchet To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Peter Ujfalusi , Jaroslav Kysela , Takashi Iwai , Bastien Curutchet Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, Thomas Petazzoni , herve.codina@bootlin.com, christophercordahi@nanometrics.ca Subject: [PATCH v2 02/13] ASoC: dt-bindings: davinci-mcbsp: Add optional clock Date: Tue, 2 Apr 2024 09:12:02 +0200 Message-ID: <20240402071213.11671-3-bastien.curutchet@bootlin.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240402071213.11671-1-bastien.curutchet@bootlin.com> References: <20240402071213.11671-1-bastien.curutchet@bootlin.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-GND-Sasl: bastien.curutchet@bootlin.com The McBSP uses an internal sample rate generator to provide bit clock or frame clock. This sample rate generator can be programmed to be driven by McBSP's internal clock source or by an external clock source (located on CLKS pin). The external clock source is not described in the bindings. Add an optional clock item that allows to select an external clock as sample rate generator's input. Signed-off-by: Bastien Curutchet Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/sound/davinci-mcbsp.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/davinci-mcbsp.yaml b/Documentation/devicetree/bindings/sound/davinci-mcbsp.yaml index 139b594dd192..0c2b1936c6a1 100644 --- a/Documentation/devicetree/bindings/sound/davinci-mcbsp.yaml +++ b/Documentation/devicetree/bindings/sound/davinci-mcbsp.yaml @@ -50,12 +50,16 @@ properties: - const: tx clocks: + minItems: 1 items: - description: functional clock + - description: external input clock for sample rate generator. clock-names: + minItems: 1 items: - const: fck + - const: clks power-domains: maxItems: 1 -- 2.44.0