From nobody Thu Oct 2 22:59:32 2025 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 BBE353126DF for ; Wed, 10 Sep 2025 09:37:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757497078; cv=none; b=oQHCz+Glgyr6TSNkAV53SHxQrXAmEKJWL7x77QFQfr+VECN66jZ3X0GCIlhSWq+2jXn0DwuSpVExxQhVpoF9HoFuhg4yK9rCxJoHZFAm+uTGXlYaiVxjWE8k5k11u4wydZVegHByF/dNt/BIums2eO5D6dUyRWJ/cvJoWE+7/hI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757497078; c=relaxed/simple; bh=zgPGNCRBrtUwfjoSpyOKDf23MJ53SBAIqJyQwb1RSNI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=b5U2iNPIZA0WlxuCXLhRik/50Js4SDnm3JQoMC8e39kVHtFT+hIjBY8dkPQgRtIi9MjtIsCullwOOCni6sF5XT5tVUsQrzsL/c5OrdGVzHZ41GGM7TjiA0l51D0PeR/02/7QE3BZWyCiA2V/+hYHwbDfmAiNHFMNfcLLLWsjCfE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1uwHGt-0007uN-Ja; Wed, 10 Sep 2025 11:37:47 +0200 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uwHGs-000ZLd-39; Wed, 10 Sep 2025 11:37:46 +0200 Received: from localhost ([::1] helo=dude05.red.stw.pengutronix.de) by dude05.red.stw.pengutronix.de with esmtp (Exim 4.98.2) (envelope-from ) id 1uwHGs-000000090kl-3kT5; Wed, 10 Sep 2025 11:37:46 +0200 From: Stefan Kerkmann Date: Wed, 10 Sep 2025 11:34:05 +0200 Subject: [PATCH v2 1/2] ASoC: dt-bindings: ti,pcm1754: add binding documentation Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250910-v6-12-topic-pcm1754-v2-1-0917dbe73c65@pengutronix.de> References: <20250910-v6-12-topic-pcm1754-v2-0-0917dbe73c65@pengutronix.de> In-Reply-To: <20250910-v6-12-topic-pcm1754-v2-0-0917dbe73c65@pengutronix.de> To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jaroslav Kysela , Takashi Iwai , =?utf-8?q?Alvin_=C5=A0ipraga?= Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, Stefan Kerkmann X-Mailer: b4 0.14.2 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: s.kerkmann@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org The Texas Instruments PCM1754 is a simple stereo DAC without any digital management interface but soft mute, PCM input format and 44.1 kHz digital de-emphasis can be configured via strapping pins. Only soft mute and PCM input format selection is currently exposed via optional GPIOs in the driver. Signed-off-by: Stefan Kerkmann Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/sound/ti,pcm1754.yaml | 55 ++++++++++++++++++= ++++ 1 file changed, 55 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/ti,pcm1754.yaml b/Docu= mentation/devicetree/bindings/sound/ti,pcm1754.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a757f737690c18c1db192258472= 752a4f6a519d6 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/ti,pcm1754.yaml @@ -0,0 +1,55 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/ti,pcm1754.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments PCM1754 Stereo DAC + +description: + The PCM1754 is a simple stereo DAC that is controlled via hardware gpios. + +maintainers: + - Stefan Kerkmann + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + enum: + - ti,pcm1754 + + vcc-supply: true + + '#sound-dai-cells': + const: 0 + + format-gpios: + maxItems: 1 + description: + GPIO used to select the PCM format + + mute-gpios: + maxItems: 1 + description: + GPIO used to mute all outputs + +required: + - compatible + - '#sound-dai-cells' + - vcc-supply + +additionalProperties: false + +examples: + - | + #include + codec { + compatible =3D "ti,pcm1754"; + #sound-dai-cells =3D <0>; + + vcc-supply =3D <&vcc_reg>; + mute-gpios =3D <&gpio 0 GPIO_ACTIVE_HIGH>; + format-gpios =3D <&gpio 1 GPIO_ACTIVE_HIGH>; + }; --=20 2.47.3