From nobody Sun Jun 14 09:57:15 2026 Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) (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 2903D35CBD6 for ; Thu, 2 Apr 2026 05:56:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775109403; cv=none; b=HFHXs0Tf+1+VcWnohTWp065+e/MWxFTjNXVJ5qESf8gQ1W5PyL5Sn0DjPnI3+JwymVl4gyVYJ1WzhE8P8ip7fmUZc5PfpRNn0ImMh5QNvTGokDrEKrBB91MX+Ru5GchJyYXO3tYRAWJoEXvaLMsTIwZ1ZFSl1WIZON51PNIq2GI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775109403; c=relaxed/simple; bh=XkR+zn4k/BCu8qKphCVhxX3i/GSEgiXeHl/XYDStLuI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SJkHscDSm0xlub0uM7SqXAg4jCmjtZUdF1LODyRejuEaZUVckTbHJJKgzGK6w2XpzDjO3aln82eSXQphtmwoePsTg86bbgw5BfZ5M6xCT/XcLKIgoC+xCc7ZEo+6/BhW3KSCPD+DZHtiIRkLNhcfFY0fuQPD5XGyUForTA6Cft0= 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=SAYUV7Sp; arc=none smtp.client-ip=209.85.210.179 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="SAYUV7Sp" Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-82c70e4654eso214835b3a.2 for ; Wed, 01 Apr 2026 22:56:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1775109401; x=1775714201; 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; bh=mPa2JorjoSVyHfMjtpIZG1uYQS3gSdgtgYbveNq9dMc=; b=SAYUV7Spk66xHyqjhCPymWce4P79LZ4jhthD3R1RfcuTouAxYVxMczfaK27SgaPksr aHdaNhujyXa4sqX13Qc/Dd0/wNOeS0sjHpBmCNAPz98ixwfYXAgagec8fS4WuV0jwYrL CQBw6KkO82lIo+KMnAUG9IqfuAxyxo1f4DMYMYXCD9XodLrj9c5kNZK4H3RbkMfhfVW/ C7J9jmrEPVtbX6+zmcLuYrOPdJvyYKlg/Gf5YZNlSwfshvFZqyVURwaiN8+yEDjhxKbJ Lrx2+xKUV4o/YlYbYFXe5GBO8XNwqOZZeJTXogQXsQuD307dp7937TLQk2JIZYm50VFE lroQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775109401; x=1775714201; 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; bh=mPa2JorjoSVyHfMjtpIZG1uYQS3gSdgtgYbveNq9dMc=; b=ncrtjE6tk5w5yroABpZMCZ9ax6fJd7jKezk9eYEv20OCy1SHTQgGITtdF+Milnr4BN T/L23JckQR17PJmCkrXTTG/T8zXx9SQBL+mSHuijF+uYYcpTPPKsnwYglZUrnvYaYV/g XHyFkAeMcmeX6vGb3P8Z+kYNsSdtFG2TyNRnYysyWe5YcK0+sY4L5OE2+7+FF3xmNuNT n5mHsF74cSSB94OskOnv/SLcrPZ7fqj9G7wPC/0jwwZWgblTOv75xZdqCpYsx6V7vWyZ vTJH1zjPXskD4JtJI+Ctp9+cDyjHCTIXC8h9REqKOi52mtej7mO4H85iZehIoOlSoWyA 0wAg== X-Forwarded-Encrypted: i=1; AJvYcCVaUcjXrMHRl5pe/sf4F1LGrO6hSA8bCqFSOiKDbUDDWVZ4+I7+FpPXq7fZ61H64Gi67GoM/gMMK6Q8rmo=@vger.kernel.org X-Gm-Message-State: AOJu0YwmO+XlRb58iSKjSmLcFKsH33tm29Ne3TDaqzR98iR4sUhaKIV2 aWGUw97r2dvJRgiUWRYlbQBqmb/ReYrr64rs5bY1I1uBW3YqAc2Q9zyC X-Gm-Gg: ATEYQzxNhAHTdf6AK6uCwGYWyzHLWsOhR0NJV641EbKG+07CEJ9G3xKfyh5JuzoHOjY xueQgP5C56nYW4sLYGIqc1NXQDrXHSwT53K58sJ9sX+i9waLh/03rUke1g6l6k1PL8GnOBYut52 +uF7uRP8YD+MIMWSwELBjaF4OOmT+0mEnVTsw4WfcMCM5TYYpXehv4umy8Ao/ZkynSebncf50Wq XdEYjxlYjsWJ1BzXJvFvdMn5xe9JGFL/UC91OEnjQmOhTGD58KBDaXlSmxvFoWwoHYhYcrMvV+/ STZU5kkusAdxwXw5PGMdXgH0W2GuiIGdS4UtkdGvbZecIY3yDG5S+XFl7A36Ot++A/8KRjj+02P 8rszbXZqo0j9JwJQXaplJu7FwYMBW32Lih7+Y14jOJK9/kUttOsGMZotbJe3y7pnqieGUOpRjNs gkA0mS+JPZY/r4DQlOX42p1sz9LWf9W4rU3gFqbg== X-Received: by 2002:a05:6a00:883:b0:823:3079:7c7 with SMTP id d2e1a72fcca58-82cfb9011ecmr2049074b3a.29.1775109401437; Wed, 01 Apr 2026 22:56:41 -0700 (PDT) Received: from localhost ([2401:4900:36c2:bd58:77d1:5e5f:850b:d2c]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-82cf9c41bc6sm1760623b3a.29.2026.04.01.22.56.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Apr 2026 22:56:41 -0700 (PDT) From: Anushka Badhe To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Anushka Badhe Subject: [PATCH] ASoC: dt-bindings: rockchip: Convert rk3399-gru-sound to YAML Date: Thu, 2 Apr 2026 11:26:35 +0530 Message-ID: <20260402055635.8798-1-anushkabadhe@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 rockchip,rk3399-gru-sound.txt DT binding to YAML Schema. During conversion, property rockchip,cpu was changed from phandle to phandle-array to properly validate existing DTS usage. Signed-off-by: Anushka Badhe --- This was the error reported by dtbs_check when rockchip,cpu was defined as = phandle: sound (rockchip,rk3399-gru-sound): rockchip,cpu:0: [211, 212] is too long from schema $id: http://devicetree.org/schemas/sound/rockchip,rk3399-gru-sound.yaml This error was found when verifying against rockchip/rk3399-gru-kevin.dtb .../sound/rockchip,rk3399-gru-sound.txt | 22 --------- .../sound/rockchip,rk3399-gru-sound.yaml | 47 +++++++++++++++++++ 2 files changed, 47 insertions(+), 22 deletions(-) delete mode 100644 Documentation/devicetree/bindings/sound/rockchip,rk3399= -gru-sound.txt create mode 100644 Documentation/devicetree/bindings/sound/rockchip,rk3399= -gru-sound.yaml diff --git a/Documentation/devicetree/bindings/sound/rockchip,rk3399-gru-so= und.txt b/Documentation/devicetree/bindings/sound/rockchip,rk3399-gru-sound= .txt deleted file mode 100644 index 72d3cf4c2606..000000000000 --- a/Documentation/devicetree/bindings/sound/rockchip,rk3399-gru-sound.txt +++ /dev/null @@ -1,22 +0,0 @@ -ROCKCHIP with MAX98357A/RT5514/DA7219 codecs on GRU boards - -Required properties: -- compatible: "rockchip,rk3399-gru-sound" -- rockchip,cpu: The phandle of the Rockchip I2S controller that's - connected to the codecs -- rockchip,codec: The phandle of the audio codecs - -Optional properties: -- dmic-wakeup-delay-ms : specify delay time (ms) for DMIC ready. - If this option is specified, which means it's required dmic need - delay for DMIC to ready so that rt5514 can avoid recording before - DMIC send valid data - -Example: - -sound { - compatible =3D "rockchip,rk3399-gru-sound"; - rockchip,cpu =3D <&i2s0>; - rockchip,codec =3D <&max98357a &rt5514 &da7219>; - dmic-wakeup-delay-ms =3D <20>; -}; diff --git a/Documentation/devicetree/bindings/sound/rockchip,rk3399-gru-so= und.yaml b/Documentation/devicetree/bindings/sound/rockchip,rk3399-gru-soun= d.yaml new file mode 100644 index 000000000000..10001fd2f886 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/rockchip,rk3399-gru-sound.yaml @@ -0,0 +1,47 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/rockchip,rk3399-gru-sound.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ROCKCHIP with MAX98357A/RT5514/DA7219 codecs on GRU boards + +maintainers: + - Heiko Stuebner + +properties: + compatible: + const: rockchip,rk3399-gru-sound + + rockchip,cpu: + $ref: /schemas/types.yaml#/definitions/phandle-array + description: + The phandle of the Rockchip I2S controller that's connected to the c= odecs + + rockchip,codec: + $ref: /schemas/types.yaml#/definitions/phandle-array + description: The phandle of the audio codecs + + dmic-wakeup-delay-ms: + description: + specify delay time (ms) for DMIC ready. + If this option is specified, which means it's required dmic need + delay for DMIC to ready so that rt5514 can avoid recording before + DMIC sends valid data + +required: + - compatible + - rockchip,cpu + - rockchip,codec + +additionalProperties: false + +examples: + - | + sound { + compatible =3D "rockchip,rk3399-gru-sound"; + rockchip,cpu =3D <&i2s0>; + rockchip,codec =3D <&max98357a &rt5514 &da7219>; + dmic-wakeup-delay-ms =3D <20>; + }; + --=20 2.43.0