From nobody Tue Sep 29 06:58:49 2026 Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (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 EDF68426D0A for ; Tue, 11 Aug 2026 09:17:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786439872; cv=none; b=ZqfEui57CenKleddQB8w9H2RaOXDPG1LF7joxc1FxmG2T7D+JdwTHZi6D5fdXZ5+XGOBX2Us7T7nm1F5hlCfP9ilu9IAAcDcuoGBN3hHjKntbeQYphljhMZyKbqkelBbtA9atUKohlFDE2IwAZEkXAUR5rM87+BjcIgywwG/HNk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786439872; c=relaxed/simple; bh=InczLySXpyBrRix4jg6+8nPmD2FL0BQhNSmxXOu4iWE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GXkFCldSg4D9789wJ9jXdD+ZbXhZy22IEodt/Z3h9MkQVBn1zaX3Y/ZB4CNIIOlIY7+mbAOw4TjvFnF2UxRyzaKoHI/LM8lEXNFbbEbK7lD5OmRnGo2EJOr0FS83OC2PtVnHbs8oHutHOs4LqCsC+lKqdu13Xc0WBKr5x5xvnqg= 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=Ka2GbQIa; arc=none smtp.client-ip=209.85.221.45 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="Ka2GbQIa" Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-47f703a9e5dso289568f8f.0 for ; Tue, 11 Aug 2026 02:17:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786439868; x=1787044668; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=KNt4bQq2u8qw/aarLJ9pb4tE5RTplArkdmLeC+XTR4A=; b=Ka2GbQIa9pZsWwGyeWU4JbW+ROvgKISn/MUfiTl/TjKLcWUEdsomu3WW16oSGn1ldA NUmEH9PQtG0rJedrSEiVLGDRJAqoyNbiiHdubDYeNu+SAWd3utG/kBf+OxPHUr/N7AFX nEPRJ3nuJIIlXyQvESQK0s+Z8NjBri8Xemir4iul2AezzmiymTqhd0JkeYYwgF0fkVH6 v7NxO/ye9BmElGLsqWfmMVupXfTrq67dZ132qBVW0TFegnul3E+FvsjQDmb2QuGwczDr +ibboKF/LQ+c+KgwbeGSo1aNunsa2F+KsC24iGIbX91JacTm52LSZlhCxV2KRH92thqd EedA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786439868; x=1787044668; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=KNt4bQq2u8qw/aarLJ9pb4tE5RTplArkdmLeC+XTR4A=; b=D039ikjyzY5bWQ0yk8yvYgbImLYBxicSSswnbXJHK7METxETGAiGW73VE3Ri7WWuvB RwCU606CaU+V52FulkI8w2w5s1EOQplXandTol6+Pi5QiBMKmQKYhr5w9zW1HXCUxozm mZ+S5KWmLcwrO6P/oB2ESigA53Ld1zg/XhbL3iThGHr9qeePWcZ4YcOu533GLBQPUHlN LcVlicfbnco2ssKdJaLYt3vBou/mJ1OO/BaqUl+9BVraHfNY57E1IpHexwnMuTkOlo1Y Zymvmymn/oA5Wy5GLLuLT46ox21bVtGQoPaucDFENSbCipR74jjHE6YlWla1kNChBXpX g+vg== X-Forwarded-Encrypted: i=1; AHgh+RpzJdwDSwqbGy5h8mvtybpp7FkqZVxG/hxSqv/7GAlYM5xkdEMKz+Z21WBr8vJUXWJd5Za3LmXeg2Xxw3s=@vger.kernel.org X-Gm-Message-State: AOJu0YzeWklQrq7S4hXvq/hsQ2ILonzv4YDXtEHg1QXyEh/8ca4uDpy4 uQYAblvYb/L4hXnTB6KQmCwg+QqR96c9n2o/70XqnVTtKf3TXl5CBWO4 X-Gm-Gg: AR+sD114V1JYwSK9SM7pRXm5TW7fRmVupv6gU7iW2cFtjYoV188ogWq1lf86v8iBW+5 AhioTuZGY9X+an5q2FU6hvg3OCb94rDQZ4lSVJtsNwH4xcE+Vsvh46yyNHJ6GJS3uZZAAPMplia SRWDceGNxka3chMcRfu0szwuZQOm+1GIMWfc/4EFk35zl86CtwmoM3I83S7PsFU7EKsIAJUBpdA T+xbAhrhvbLA3qGhwdxmbW2DQAfIs4fDqeQFoNabA+wr0EwpjofP+g2ed6thFWr/miK39+AjO0i PiUtHQJ6T9ySxFAkVwGqC2PQGthk7B7avYYaCXaSwStCY4s+I67Uhv15RFC5VhhGL4R3h0duPdh 4ZTKnuZcAlDSZnpYUbXn9UF4PgtLS0jNfDjVcCBPk9AXCMziMS3kDgFLUWw7ABk8zgxVZ76ezaJ eBsvpg7m95LmWW0mzFnVaeT+kQ7HVewY3MTKOPjVT+GTf94dhm7FTjttAjL1qJCJcG9UXEZ2lUc bTNte6eThUFbaeALv2VqA7HkhYsmA== X-Received: by 2002:a5d:5e8d:0:b0:47f:9750:26cc with SMTP id ffacd0b85a97d-4814adcac2cmr3530466f8f.23.1786439867832; Tue, 11 Aug 2026 02:17:47 -0700 (PDT) Received: from localhost.localdomain ([82.137.32.40]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-4814a5be8absm2714732f8f.15.2026.08.11.02.17.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Aug 2026 02:17:47 -0700 (PDT) From: Eduard Bostina To: Conor Dooley , devicetree@vger.kernel.org, Eduard Bostina , Krzysztof Kozlowski , Liam Girdwood , linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org, Mark Brown , Rob Herring Cc: daniel.baluta@nxp.com, simona.toaca@nxp.com, goledhruva@gmail.com, m-chawdhry@ti.com Subject: [PATCH] dt-bindings: sound: Convert TI DA830 EVM audio to DT schema Date: Tue, 11 Aug 2026 09:17:03 +0000 Message-ID: <20260811091703.685487-1-egbostina@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Convert the Texas Instruments DA830 EVM audio complex bindings to DT schema. Signed-off-by: Eduard Bostina Reviewed-by: Rob Herring (Arm) --- .../bindings/sound/davinci-evm-audio.txt | 49 ----------- .../bindings/sound/ti,da830-evm-audio.yaml | 83 +++++++++++++++++++ 2 files changed, 83 insertions(+), 49 deletions(-) delete mode 100644 Documentation/devicetree/bindings/sound/davinci-evm-aud= io.txt create mode 100644 Documentation/devicetree/bindings/sound/ti,da830-evm-au= dio.yaml diff --git a/Documentation/devicetree/bindings/sound/davinci-evm-audio.txt = b/Documentation/devicetree/bindings/sound/davinci-evm-audio.txt deleted file mode 100644 index 963e100514c2..000000000000 --- a/Documentation/devicetree/bindings/sound/davinci-evm-audio.txt +++ /dev/null @@ -1,49 +0,0 @@ -* Texas Instruments SoC audio setups with TLV320AIC3X Codec - -Required properties: -- compatible : "ti,da830-evm-audio" : forDM365/DA8xx/OMAPL1x/AM33xx -- ti,model : The user-visible name of this sound complex. -- ti,audio-codec : The phandle of the TLV320AIC3x audio codec -- ti,mcasp-controller : The phandle of the McASP controller -- ti,audio-routing : A list of the connections between audio components. - Each entry is a pair of strings, the first being the connection's sink, - the second being the connection's source. Valid names for sources and - sinks are the codec's pins, and the jacks on the board: - -Optional properties: -- ti,codec-clock-rate : The Codec Clock rate (in Hz) applied to the Codec. -- clocks : Reference to the master clock -- clock-names : The clock should be named "mclk" -- Either codec-clock-rate or the codec-clock reference has to be defined. = If - the both are defined the driver attempts to set referenced clock to the - defined rate and takes the rate from the clock reference. - - Board connectors: - - * Headphone Jack - * Line Out - * Mic Jack - * Line In - - -Example: - -sound { - compatible =3D "ti,da830-evm-audio"; - ti,model =3D "DA830 EVM"; - ti,audio-codec =3D <&tlv320aic3x>; - ti,mcasp-controller =3D <&mcasp1>; - ti,codec-clock-rate =3D <12000000>; - ti,audio-routing =3D - "Headphone Jack", "HPLOUT", - "Headphone Jack", "HPROUT", - "Line Out", "LLOUT", - "Line Out", "RLOUT", - "MIC3L", "Mic Bias 2V", - "MIC3R", "Mic Bias 2V", - "Mic Bias 2V", "Mic Jack", - "LINE1L", "Line In", - "LINE2L", "Line In", - "LINE1R", "Line In", - "LINE2R", "Line In"; -}; diff --git a/Documentation/devicetree/bindings/sound/ti,da830-evm-audio.yam= l b/Documentation/devicetree/bindings/sound/ti,da830-evm-audio.yaml new file mode 100644 index 000000000000..b4a1cf67582b --- /dev/null +++ b/Documentation/devicetree/bindings/sound/ti,da830-evm-audio.yaml @@ -0,0 +1,83 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/ti,da830-evm-audio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments SoC audio setups with TLV320AIC3X Codec + +maintainers: + - Eduard Bostina + +properties: + compatible: + const: ti,da830-evm-audio + + ti,model: + $ref: /schemas/types.yaml#/definitions/string + description: The user-visible name of this sound complex. + + ti,audio-codec: + $ref: /schemas/types.yaml#/definitions/phandle + description: The phandle of the TLV320AIC3x audio codec + + ti,mcasp-controller: + $ref: /schemas/types.yaml#/definitions/phandle + description: The phandle of the McASP controller + + ti,audio-routing: + $ref: /schemas/types.yaml#/definitions/non-unique-string-array + description: + A list of the connections between audio components. Each entry is a + pair of strings, the first being the connection's sink, the second + being the connection's source. Valid names for sources and sinks + are the codec's pins, and the jacks on the board (Headphone Jack, + Line Out, Mic Jack, Line In). + + ti,codec-clock-rate: + $ref: /schemas/types.yaml#/definitions/uint32 + description: The Codec Clock rate (in Hz) applied to the Codec. + + clocks: + maxItems: 1 + description: Reference to the master clock + + clock-names: + const: mclk + +required: + - compatible + - ti,model + - ti,audio-codec + - ti,mcasp-controller + - ti,audio-routing + +anyOf: + - required: + - ti,codec-clock-rate + - required: + - clocks + +additionalProperties: false + +examples: + - | + sound { + compatible =3D "ti,da830-evm-audio"; + ti,model =3D "DA830 EVM"; + ti,audio-codec =3D <&tlv320aic3x>; + ti,mcasp-controller =3D <&mcasp1>; + ti,codec-clock-rate =3D <12000000>; + ti,audio-routing =3D + "Headphone Jack", "HPLOUT", + "Headphone Jack", "HPROUT", + "Line Out", "LLOUT", + "Line Out", "RLOUT", + "MIC3L", "Mic Bias 2V", + "MIC3R", "Mic Bias 2V", + "Mic Bias 2V", "Mic Jack", + "LINE1L", "Line In", + "LINE2L", "Line In", + "LINE1R", "Line In", + "LINE2R", "Line In"; + }; --=20 2.43.0