From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (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 DA90114A8B; Fri, 26 Dec 2025 08:38:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.75.126.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766738289; cv=none; b=ibXBTLd0XKiDEVITlyrjkS67xLY4jMU3jncGa8KX0Kfp1XrxDEPnwyVK9yYTf9v6xYDxU1vgn45R+ylba8Rdp8Cyv6TnxLZh2TpwkHariHACuca8FpEUQNoPjXNiAiAYKzhDFarxthdqESnYVfY9uP46YFzxpTeYrFC0emfg2cc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766738289; c=relaxed/simple; bh=LqxyURtloegT4m/zAMO9KjepBqGZM6jzaRvo+Psy7E0=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=MGntCptS1JIqlygq36+4K6GB9I8ukea9N+h82OIu+/a0gDZC2zbY9dbhkpXsNNvkK/UmLWDmemBClZvo9mWbVbUTp8jXdtfmvEtTgH8eHkJMCY3t3alc6G7Qn09yJ7zN8/k7Ivvsxwv41XEDKQHvjiaj72w+i7EYLwB4d+OZe5I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; dkim=pass (2048-bit key) header.d=realtek.com header.i=@realtek.com header.b=BYvH9uNa; arc=none smtp.client-ip=211.75.126.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=realtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=realtek.com header.i=@realtek.com header.b="BYvH9uNa" X-SpamFilter-By: ArmorX SpamTrap 5.80 with qID 5BQ8bnM433311957, This message is accepted by code: ctloc85258 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=realtek.com; s=dkim; t=1766738269; bh=z7Wwgy0d8I6voARKvl0a7KvTVnYk//mpi1lBYRvjR84=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:Content-Type; b=BYvH9uNasgr8uaxkIk31AkKIrdzs6w2jAHlgSunZnmW9t14i/XdKCojdXkjxPkjFo nE0qWIC+EDT111bUQXWdaxXNHaiCO5fWg+imUcRhrJ4ORvwmIZjUeNRaQ3XXO2Dkew Eb1XE9uZQHcbObGAxzc+cEw5VEI09a0YayL9Rn8JJiZYJ2hoxSXWfYS5+CUYrTStmF eNXqh5ZYk6n61roqr4zENV1EeZ3Abdw7uv2CIBESx4bG8EdjIA0Y2f+xjdImF4apGK SXTxvtzoDAtVdMKp55hC/0COARTX6mRkS8gOhHzmgvLa7K3JFtXvYFGdwvg5lc25MT qaY01VYgLBwTQ== Received: from mail.realtek.com (rtkexhmbs02.realtek.com.tw[172.21.6.41]) by rtits2.realtek.com.tw (8.15.2/3.21/5.94) with ESMTPS id 5BQ8bnM433311957 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 26 Dec 2025 16:37:49 +0800 Received: from RTKEXHMBS03.realtek.com.tw (10.21.1.53) by RTKEXHMBS02.realtek.com.tw (172.21.6.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1748.10; Fri, 26 Dec 2025 16:37:49 +0800 Received: from sw-server.localdomain (172.24.54.4) by RTKEXHMBS03.realtek.com.tw (10.21.1.53) with Microsoft SMTP Server id 15.2.1748.10 via Frontend Transport; Fri, 26 Dec 2025 16:37:49 +0800 From: Oder Chiou To: , , , , , CC: , , , , , , , , Oder Chiou Subject: [PATCH v11 3/4] ASoC: dt-bindings: realtek,rt5575: add support for ALC5575 Date: Fri, 26 Dec 2025 16:39:14 +0800 Message-ID: <20251226083914.1052653-1-oder_chiou@realtek.com> X-Mailer: git-send-email 2.52.0 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Audio codec with I2S, I2C and SPI. Signed-off-by: Oder Chiou Reviewed-by: Rob Herring (Arm) --- .../bindings/sound/realtek,rt5575.yaml | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/realtek,rt5575.yaml diff --git a/Documentation/devicetree/bindings/sound/realtek,rt5575.yaml b/Documentation/devicetree/bindings/sound/realtek,rt5575.yaml new file mode 100644 index 000000000000..981ebc39b195 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/realtek,rt5575.yaml @@ -0,0 +1,61 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/realtek,rt5575.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ALC5575 audio CODEC + +maintainers: + - Oder Chiou + +description: + The device supports both I2C and SPI. I2C is mandatory, while SPI is + optional depending on the hardware configuration. SPI is used for + firmware loading if present. + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: realtek,rt5575 + + reg: + maxItems: 1 + + spi-parent: + description: + Optional phandle reference to the SPI controller used for firmware + loading. The argument specifies the chip select. + $ref: /schemas/types.yaml#/definitions/phandle-array + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + # I2C-only node + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + codec@57 { + compatible = "realtek,rt5575"; + reg = <0x57>; + }; + }; + + # I2C + optional SPI node + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + codec@57 { + compatible = "realtek,rt5575"; + reg = <0x57>; + spi-parent = <&spi0 0>; /* chip-select 0 */ + }; + }; -- 2.52.0