From patchwork Sat Jan 27 16:32:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 193060 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2395:b0:106:343:edcb with SMTP id gw21csp570703dyb; Sat, 27 Jan 2024 08:34:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IFwdcxPyDbS8IOFqjll7CEiWnbwrxaH359Zd1bgXSkLi0VzPyEALw0HqU+vF4uLSxd0wBAi X-Received: by 2002:a17:902:a60b:b0:1d7:1d1c:7645 with SMTP id u11-20020a170902a60b00b001d71d1c7645mr1435671plq.97.1706373257370; Sat, 27 Jan 2024 08:34:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706373257; cv=pass; d=google.com; s=arc-20160816; b=lzKtwXDMU4qt4zPZY89g6qFtD73N+WgQ5V0qZU0StwaDcqfn0yNiLKdV/YmyKHQrSL rVoTGmd1szzGwBU5AKHDbnyqzxQ3XGi4GjO8iMlUguB1P3xrfROCm5Acs0FgZPzDju9s XUhZQU9AOQvc/OAW8YylyEknB0A0hKY2EdlQWHTdB6Ou8R98/ioZ6K3LhWaHeMgx2VXM hr9A28mr2oZZLgzSYZVbqyNvRU6i+CsESsrCmJZADMcAWk4jH+ltmyPdbk2k/BCpGWUp ZaRebUq+gmsUIf/UcvyaWFQV4YC/T8z99Na+wlo+D2b82piyfywU3DGPEnispOc8ms6a zGrg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=5PhVOomsc5bzbWDNN4phqEblN4jH2lKo6mzIh69ceQE=; fh=4xJFWgtpG7z+OKjuH2NKx2L3FIQn9YPc3uJgVzfCiXI=; b=tAmsH02zGybGQezIrwSvQZ0jbvyfnBhAE+QRxTmivipbUtvLuAjRBEcnPRS/KovU1O jfPfWsrSHxRUqJiEs1w/QXLq3+RWL12xBJ/wp1QceIkdTE0ZB8DRJCf9xy8lmZQ9nM3u 4HmePircfjMVuoa0jgTMaXtaES5ryK0gfW0LolN92JzP1GOfq5G5ng3fFGYmlw+qTA5G FWMftZnbDzBFMZ3Lm1bC81kVx/w0kthGDbFdMS8W2u/uP/Cus1kwF0bDPvuVvC/FYNQw UK1LgfzPnlUboGxOe6j/TTArexUmUXmvFIvyTyJDJ76+Rq0LqRAEx/yR4q0GTmUzcb/P DwQA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=f5iClA6L; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-41308-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41308-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id y8-20020a170902d64800b001d76ae4c927si2913151plh.10.2024.01.27.08.34.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jan 2024 08:34:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41308-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=f5iClA6L; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-41308-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41308-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 29638282BE6 for ; Sat, 27 Jan 2024 16:34:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3990E31A6B; Sat, 27 Jan 2024 16:32:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="f5iClA6L" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 55C601B812; Sat, 27 Jan 2024 16:32:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706373175; cv=none; b=LKqKALkki6yiEn5jt+IYbulEPbaLif1Vf2mTKcOl91nBkwordNPPJKuxywoFN0YhQ1GiabUhLLoyUguMudBg7L+x12hp48PotpYgE2XplZywWocLGds+ZuVenjJFN6Uj4pyCoirJPGe8oeRXi7iVIBLwPlbI8OsBRFKSp43z6aE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706373175; c=relaxed/simple; bh=vsL0mbXsOusXWQQoLV0+ENppFAA94idE+K76ih4R3EY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=YuTRKB3xexFcgSKSCeqgGBhF6wLtIRY+HEtST01mnrj7Jf7wlG6IzLzADBb24utOmyH7BhfnvkJLenY7fG3BqeSouoAxtttg9FlGygqzK7l9Rtk+5ZPtTTinBgZ0qqsixMwDa5cRH2P50m3AzLskwKMpRDKAgSoaZIIUmrWJg9Y= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=f5iClA6L; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B36B6C433C7; Sat, 27 Jan 2024 16:32:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706373174; bh=vsL0mbXsOusXWQQoLV0+ENppFAA94idE+K76ih4R3EY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=f5iClA6LGijEWwjkd3JAyCqVl96GzTg73GnRC2fvLKT+m6IUiGiC3W0oDeF6N4z5d RQfxt4c2fXpZXqd9Cq6MJpMqH9QSuM8ueQPpnfDfi7TNAy3sHueUo7KCjAs/BM4MNd w5iqzM3q8A/GqmDmI1o74TiGz1I2JhH8htUq8djsqyDpOYwwXn6Bk0EvZI0xrjoTM1 OWOM7m7QRPaQnfcxwpBogHsvDWfiu4/+YVjtUSvDzVXheiJ4/byOV4lJqGQf0a5piF hvi1W1KfZPWkNqITxNhOB5R69uRMZR4Bm1igljypmNR4hP16HJ7N+31Ssfy53loYWU PnfYgW2gvwMSQ== Received: by wens.tw (Postfix, from userid 1000) id 4B4D15FA14; Sun, 28 Jan 2024 00:32:52 +0800 (CST) From: Chen-Yu Tsai To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jernej Skrabec , Samuel Holland , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Vinod Koul Cc: Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-sound@vger.kernel.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, Conor Dooley Subject: [PATCH v2 1/7] dt-bindings: sound: sun4i-spdif: Fix requirements for H6 Date: Sun, 28 Jan 2024 00:32:41 +0800 Message-Id: <20240127163247.384439-2-wens@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240127163247.384439-1-wens@kernel.org> References: <20240127163247.384439-1-wens@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789262044940882914 X-GMAIL-MSGID: 1789262044940882914 From: Chen-Yu Tsai When the H6 was added to the bindings, only the TX DMA channel was added. As the hardware supports both transmit and receive functions, the binding is missing the RX DMA channel and is thus incorrect. Also, the reset control was not made mandatory. Add the RX DMA channel for SPDIF on H6 by removing the compatible from the list of compatibles that should only have a TX DMA channel. And add the H6 compatible to the list of compatibles that require the reset control to be present. Fixes: b20453031472 ("dt-bindings: sound: sun4i-spdif: Add Allwinner H6 compatible") Signed-off-by: Chen-Yu Tsai Acked-by: Conor Dooley Reviewed-by: Jernej Skrabec --- .../devicetree/bindings/sound/allwinner,sun4i-a10-spdif.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-spdif.yaml b/Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-spdif.yaml index 8108c564dd78..98e2e053fa19 100644 --- a/Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-spdif.yaml +++ b/Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-spdif.yaml @@ -62,6 +62,7 @@ allOf: enum: - allwinner,sun6i-a31-spdif - allwinner,sun8i-h3-spdif + - allwinner,sun50i-h6-spdif then: required: @@ -73,7 +74,6 @@ allOf: contains: enum: - allwinner,sun8i-h3-spdif - - allwinner,sun50i-h6-spdif then: properties: