From nobody Wed Sep 30 09:00:51 2026 Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 991AE41E6C5 for ; Wed, 12 Aug 2026 23:34:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786577654; cv=none; b=HIqd1an8MKui+jwpYO/YsF9D5GEy6YU0/CNgpe1NIAnj/678EATkYyPoKGL03URsNdWd9nyIYMsiPDMeBddgSx9wVJONPaLN8XquoKFhI7q3kyifTaQl6Tpy19PumjykXaVOffT4BOuomt76Gp2PRVrb9g41HObUsaH70qKlokU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786577654; c=relaxed/simple; bh=w/lCd6qn3Hrwin2/vnUaZ/GRD/83ygGyKQqz4MLsBzM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=WebndNkqVHPY6v+BsUa7SXjS2uwdM/9zbS+ZDlMsHFm6X0f2HarN7JQHQT3X0Gv9GT0gHWQ913DQRKoQ9yG3El4v5jCkIlcIINN0gid2QLfpxElMlhLb0umlYciYAhIHBxJy6CToDD5ejVLpd0vO7ropsk8nL/74/oXmJZl439E= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=PKkv/NKm; arc=none smtp.client-ip=209.85.214.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="PKkv/NKm" Received: by mail-pl1-f174.google.com with SMTP id d9443c01a7336-2ccae46de39so2759395ad.3 for ; Wed, 12 Aug 2026 16:34:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786577652; x=1787182452; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:content-type :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=82QII3KyVeRLbaNgl494ewZidWlIsFgxntjdTI9bZc0=; b=PKkv/NKmLGGiGMxdzAEyU6d0/cOkju5zNnInlXCscjSom3Hq8jlKHLjta5l/1bJExu djPV2HIMqUCbkbWnHSxXoZt3ugryLApO+Qp6ar6xEf1ijYtr8Ys4hDrXa/o4Zfi+BRub F1VmMMl8QOOYPmAQ0D5cZV2MWkhUvQ3JYeWMqbNWOKAVSlaOq5+40BGWhL3/d0SUK9Wl 1rQ7zjfcLedbGR0ZR67IMxdZsiINbXiVh1miAH13XTK0//KSGb/3iDr33uzkypykDOuP 6HhKrxuJqRb9/6kgklPfiqzA1zfDRniouL6Vh3UnoLqFlpaSnD1/Dcja81KNbtBNMn84 9wLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786577652; x=1787182452; h=cc:to:message-id:content-transfer-encoding:content-type :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=82QII3KyVeRLbaNgl494ewZidWlIsFgxntjdTI9bZc0=; b=lQSkeEUoZS4EKkhDHognX2Zw7zch87OWuYx7N/Hb/r1pPOkzGl3P6BujERPRniwj/n OrU/Ft15jloBK5mbf153VQRFUM9GcS3OzgHY5Xo6krFkTIcKJpac1W3nYZtWZ8zHf6Yp 8YhVR7CvXYivEp60EFkz8G23VTWbufRokPWrQrZ2A8sIQHMbIhP909ay2IRRInes0Ect nBbPd0fbYL6ZytZa58mq/SWRHophHcbzCzMDWxzWiiLZaBbivP0UAwSLrvsJmdDFOunX 40I7uK5q6Le8jfo/icemyAywIxGrfYx2IwgN/8o+lztzvIYxt2g0/Sf47q1REzd4ZnJH Bh5A== X-Forwarded-Encrypted: i=1; AHgh+Rpf0yUfvhtoy4R7oGejpmDLqxIU4iA7kHMJ266A1mnuw1VIpUk6zPfYkbUOD7nOmMdEAYFAvhxC2TV2lBY=@vger.kernel.org X-Gm-Message-State: AOJu0Yw2vTH5lKnaK9l0h5ocvvJHX2DWFBoX3Zx0bwbZYGOQjDb5D8e4 soj7+hjJP+9eZA2t6uiFfkmTrOE3VgKp2pvcop5B2NGhUZTJGutg+B8YafUuNvAi X-Gm-Gg: AR+sD11IRr4eciBppO0olrK+aOQhsd4rpML4bujJuvNfNYIlo63BbWxl3cq3n/RS9tM JsHuiNdQG+g0/ohqsPRlUNp0GmwK90wQt8WSl5zAvPfHlSQ39WgUpFKuwEVtJr22c2iEMqNI8Ij cbsPbRzvUaaaKbkPHL4xVB18UmXFO4CgMRCjx244Krw3cmipq4OMHRw+TFyXwnmAmh7JwtAxwwr voLMZvxjthpGi+aX+ygtjDB+kq/YIlTOSDxtgI+0tYD3JD+nTUaTaS4Jsg1LpLen2x71EeKALP7 hNjMgotYPiGcEm02aDsPEgt5wC9opdHPCvhHBYyn8W+K/fzIXmNR1c4eNRiZwaScLWYRpaVyaBx 2Hb5z+sns8HTUPP5kBGNvv+cTOp13kwR5i3P5KdsQBWZIBD2wDqjGaEbzghuHWuxVTLqSvlNr6O YmJ8W8EPtN5RGMRakxQb8ePaw6I9C9OxxqRU4VMuGhOilUeC8klIQHkj7lpy0YTmWWK6J5zg== X-Received: by 2002:a17:902:fc46:b0:2cf:9e90:8be with SMTP id d9443c01a7336-2d37efb393emr12908425ad.4.1786577651676; Wed, 12 Aug 2026 16:34:11 -0700 (PDT) Received: from [10.219.45.252] ([2409:40c2:504e:6b:b46f:70e9:d340:f24c]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-31ebcb697fcsm796068eec.8.2026.08.12.16.34.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Aug 2026 16:34:11 -0700 (PDT) From: Bhargav Joshi Date: Thu, 13 Aug 2026 05:03:54 +0530 Subject: [PATCH] ASoC: dt-bindings: tse850: Convert to DT schema 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: <20260813-ti-axtensia-v1-1-768a1089fd5f@gmail.com> X-B4-Tracking: v=1; b=H4sIAAAAAAAC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIzMDC0Nj3ZJM3cSKktS84sxEXVPLZAuLJNM0gzRDcyWgjoKi1LTMCrBp0bG 1tQD5nbBpXQAAAA== X-Change-ID: 20260813-ti-axtensia-59c88b5f0f17 To: Claudiu Beznea , Andrei Simion , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Peter Rosin Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, goledhruva@gmail.com, m-chawdhry@ti.com, daniel.baluta@gmail.com, simona.toaca@nxp.com, j.bhargav.u@gmail.com X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1786577640; l=7180; i=j.bhargav.u@gmail.com; h=from:subject:message-id; bh=w/lCd6qn3Hrwin2/vnUaZ/GRD/83ygGyKQqz4MLsBzM=; b=PKPV3dZDD1Z4tcxL7fjXXNmqWj1tY/x98aXY/bW29LOwsvV094cdQkf1WAMEbrVmaUDqVVe1f AciDpIawfl5DRpmzpze1ZOjZ9rOhLTDctuuVZMw8P6Y6uFABYKYeAI1 X-Developer-Key: i=j.bhargav.u@gmail.com; a=ed25519; pk=IqNDwUZKECEA+n8wXctFLBbYL9NhFstZNbOznm/nX1k= Convert Axentia TSE-850 audio complex from text to DT schema. No funcational changes. Signed-off-by: Bhargav Joshi --- .../bindings/sound/axentia,tse850-pcm5142.txt | 92 ------------------ .../bindings/sound/axentia,tse850-pcm5142.yaml | 104 +++++++++++++++++= ++++ 2 files changed, 104 insertions(+), 92 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/axentia,tse850-pcm5142= .txt b/Documentation/devicetree/bindings/sound/axentia,tse850-pcm5142.txt deleted file mode 100644 index b6cc5f6f78c2..000000000000 --- a/Documentation/devicetree/bindings/sound/axentia,tse850-pcm5142.txt +++ /dev/null @@ -1,92 +0,0 @@ -Devicetree bindings for the Axentia TSE-850 audio complex - -Required properties: - - compatible: "axentia,tse850-pcm5142" - - axentia,cpu-dai: The phandle of the cpu dai. - - axentia,audio-codec: The phandle of the PCM5142 codec. - - axentia,add-gpios: gpio specifier that controls the mixer. - - axentia,loop1-gpios: gpio specifier that controls loop relays on chann= el 1. - - axentia,loop2-gpios: gpio specifier that controls loop relays on chann= el 2. - - axentia,ana-supply: Regulator that supplies the output amplifier. Must - support voltages in the 2V - 20V range, in 1V steps. - -The schematics explaining the gpios are as follows: - - loop1 relays - IN1 +---o +------------+ o---+ OUT1 - \ / - + + - | / | - +--o +--. | - | add | | - | V | - | .---. | - DAC +----------->|Sum|---+ - | '---' | - | | - + + - - IN2 +---o--+------------+--o---+ OUT2 - loop2 relays - -The 'loop1' gpio pin controls two relays, which are either in loop positio= n, -meaning that input and output are directly connected, or they are in mixer -position, meaning that the signal is passed through the 'Sum' mixer. Simil= arly -for 'loop2'. - -In the above, the 'loop1' relays are inactive, thus feeding IN1 to the mix= er -(if 'add' is active) and feeding the mixer output to OUT1. The 'loop2' rel= ays -are active, short-cutting the TSE-850 from channel 2. IN1, IN2, OUT1 and O= UT2 -are TSE-850 connectors and DAC is the PCB name of the (filtered) output fr= om -the PCM5142 codec. - -Example: - - &ssc0 { - #sound-dai-cells =3D <0>; - - }; - - &i2c { - codec: pcm5142@4c { - compatible =3D "ti,pcm5142"; - - reg =3D <0x4c>; - - AVDD-supply =3D <®_3v3>; - DVDD-supply =3D <®_3v3>; - CPVDD-supply =3D <®_3v3>; - - clocks =3D <&sck>; - - pll-in =3D <3>; - pll-out =3D <6>; - }; - }; - - ana: ana-reg { - compatible =3D "pwm-regulator"; - - regulator-name =3D "ANA"; - - pwms =3D <&pwm0 2 1000 PWM_POLARITY_INVERTED>; - pwm-dutycycle-unit =3D <1000>; - pwm-dutycycle-range =3D <100 1000>; - - regulator-min-microvolt =3D <2000000>; - regulator-max-microvolt =3D <20000000>; - regulator-ramp-delay =3D <1000>; - }; - - sound { - compatible =3D "axentia,tse850-pcm5142"; - - axentia,cpu-dai =3D <&ssc0>; - axentia,audio-codec =3D <&codec>; - - axentia,add-gpios =3D <&pioA 8 GPIO_ACTIVE_LOW>; - axentia,loop1-gpios =3D <&pioA 10 GPIO_ACTIVE_LOW>; - axentia,loop2-gpios =3D <&pioA 11 GPIO_ACTIVE_LOW>; - - axentia,ana-supply =3D <&ana>; - }; diff --git a/Documentation/devicetree/bindings/sound/axentia,tse850-pcm5142= .yaml b/Documentation/devicetree/bindings/sound/axentia,tse850-pcm5142.yaml new file mode 100644 index 000000000000..0ab4b697d28e --- /dev/null +++ b/Documentation/devicetree/bindings/sound/axentia,tse850-pcm5142.yaml @@ -0,0 +1,104 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/axentia,tse850-pcm5142.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Axentia TSE-850 audio complex + +maintainers: + - Peter Rosin + +description: | + The TSE-850 is an FM Transmitter Station Equipment, designed to generate + baseband signals for FM, mainly the DARC subcarrier, but other signals + are also possible. + + The schematics explaining the gpios are as follows:: + + loop1 relays + IN1 +---o +------------+ o---+ OUT1 + \ / + + + + | / | + +--o +--. | + | add | | + | V | + | .---. | + DAC +----------->|Sum|---+ + | '---' | + | | + + + + IN2 +---o--+------------+--o---+ OUT2 + loop2 relays + + The 'loop1' gpio pin controls two relays, which are either in loop + position, meaning that input and output are directly connected, or + they are in mixer position, meaning that the signal is passed through + the 'Sum' mixer. Similarly for 'loop2'. + + In the above, the 'loop1' relays are inactive, thus feeding IN1 to the + mixer (if 'add' is active) and feeding the mixer output to OUT1. The + 'loop2' relays are active, short-cutting the TSE-850 from channel 2. + IN1, IN2, OUT1 and OUT2 are TSE-850 connectors and DAC is the PCB name + of the (filtered) output from the PCM5142 codec. + +properties: + compatible: + const: axentia,tse850-pcm5142 + + axentia,cpu-dai: + $ref: /schemas/types.yaml#/definitions/phandle + description: + The phandle of the cpu dai. + + axentia,audio-codec: + $ref: /schemas/types.yaml#/definitions/phandle + description: + The phandle of the PCM5142 codec. + + axentia,add-gpios: + maxItems: 1 + description: + gpio specifier that controls the mixer. + + axentia,loop1-gpios: + maxItems: 1 + description: + gpio specifier that controls loop relays on channel 1. + + axentia,loop2-gpios: + maxItems: 1 + description: + gpio specifier that controls loop relays on channel 2. + + axentia,ana-supply: + description: + Regulator that supplies the output amplifier. Must support voltages = in + the 2V - 20V range, in 1V steps. + +required: + - compatible + - axentia,cpu-dai + - axentia,audio-codec + - axentia,add-gpios + - axentia,loop1-gpios + - axentia,loop2-gpios + - axentia,ana-supply + +additionalProperties: false + +examples: + - | + #include + #include + + sound { + compatible =3D "axentia,tse850-pcm5142"; + axentia,cpu-dai =3D <&ssc0>; + axentia,audio-codec =3D <&codec>; + axentia,add-gpios =3D <&pioA 8 GPIO_ACTIVE_LOW>; + axentia,loop1-gpios =3D <&pioA 10 GPIO_ACTIVE_LOW>; + axentia,loop2-gpios =3D <&pioA 11 GPIO_ACTIVE_LOW>; + axentia,ana-supply =3D <®ulator_ana>; + }; --- base-commit: 3d6d817622b0a9721e3cc404df3469171582be13 change-id: 20260813-ti-axtensia-59c88b5f0f17 Best regards, --=20 Bhargav