From patchwork Mon Jan 22 17:05:12 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: 190258 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2bc4:b0:101:a8e8:374 with SMTP id hx4csp2731132dyb; Mon, 22 Jan 2024 09:44:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IF4K0um+Zr+RAcgtngzT+yuyGVuisv2g4eOlabwb1nllKZ6JBdegqX8HhhEV8a4VOc6ww0+ X-Received: by 2002:a05:6808:bc4:b0:3bd:b503:c641 with SMTP id o4-20020a0568080bc400b003bdb503c641mr2613726oik.11.1705945492350; Mon, 22 Jan 2024 09:44:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705945492; cv=pass; d=google.com; s=arc-20160816; b=n1o0CsMpJ6gBQUhVC3YrQ4fyIaVSVHBeMx6/LG+V+5qRsgYZDHUXD6BuSIAQ9fpkYK 5U3280Ww+kd6X/YWo/cdbGfiQmy0zzk647U+JOePXZ9r/RbxU6gk/qP1q6uGoNG/Z4wp WBpnwSXueMS7xzfnVrBFCvuX8oS/W0mFCSsZA336HmsL7LUv/OGT020EddmpxkkLJc2W qB2y78le0TJ22MCYIwRFU9Qm+J5GgmH/2TIVZ5cZqz2cWlOZDfXnLOUod7Bbr7dEZKMF D9nKDs5ymg9DEKMj2ifsfL5tORNfH40BfjyvLD3tZ9w4bofZJjlK9fSFn8MFg5JgBzc8 zjbg== 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=t1djKF3m6U+Af9/ZGWrqaGvBIKuqksw9obAztRj10CA=; fh=m1+VV4HTiGNm18uZzn/d6hCG96aBwlw9t3UKL+x124s=; b=lmzzmJZU6cUJKKeDcQ7PhmGdgE1O+AHaD5uD6dPF6XvUiF/0+j/m5LYgayP/1ACANn GbXVngsm0YxpYDtqewjH4tZSm71H4ThdTsmAlveOwxxBoWbKDVo2YxuqvrRpTrLdLA5n ItyTdqSUjdTL/jmbUHrFGBkuV2BLvVQKXV67UPnoatb0HBPVz1jrrFjE6ct5ItNNLeno EGZ6G/48+QUhg2uIt2X8nX7NEHqjG/Z8ypugekYk88C+Fuvj7fKsXskyDEGrpGzkF8iK MtJ4uZAcRX9J63slyJcz8gkXVOLt+/m1HU4vFVGDCoVpFGU0rWROTO1t+ilOXql0Gb70 nc5w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="p/7p2wvY"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-33746-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33746-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id n3-20020ac85a03000000b00429ea796bbfsi6148369qta.271.2024.01.22.09.44.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 09:44:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-33746-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="p/7p2wvY"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-33746-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33746-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 256161C26908 for ; Mon, 22 Jan 2024 17:44:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DB1285D742; Mon, 22 Jan 2024 17:05:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="p/7p2wvY" 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 1616B482FF; Mon, 22 Jan 2024 17:05:32 +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=1705943133; cv=none; b=uwZKOUlfpJR7PyylEiqAcRBa3w5N8CjJ+oes7cpSTIFz+tH+AcaTHg7JVZpRbnMo8IfsUsQLyZ3I4t5aEfA39ovfS5TAcOgMXjVMWDnJYMKhhC3Pf8L9wlsxMHwTV/69U1z+HZ+npW/UPM2rx1+RE902XEnXsTWK2Mdc3HQoFd4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705943133; c=relaxed/simple; bh=D4Sbqcpeq8NQUiUA6r8dDLIKkjJnY3txceHj/LWQjDU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=aTW+zg7adfxQqodeWQOe+RHYNY/IHGHJVCb2jnBlmQxqnfGEjhuzOVA5UR+sMTXhxAQf7WoqiSBbRw4fe+Ku2qlklLkPefU2sCJyKtQjTAdCySoejifM8sLSnPkEVQlZo2PIO7AUUjOXsP0S2AMVorTkN2eCHe3mgxtwVOjfAJI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=p/7p2wvY; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 60C5DC433C7; Mon, 22 Jan 2024 17:05:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705943132; bh=D4Sbqcpeq8NQUiUA6r8dDLIKkjJnY3txceHj/LWQjDU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=p/7p2wvYMlTdP94HXxpN1cEiiKF/xUKljKopS2B5leeAYirfrkCYsknZIuSgrRZgv D3sWInZ7PzgCccyg4TnjZrviuZr3ahcpMbeLqRQA1TOQBZbf38BUuSfIts6I9rhZVg Mj5MSDoRrFacqoQd085ezjmy62ud+/OxQc6lJrIaYivMX1ZJXXvJNqG5aHqs/IjULj wkrcsd1GAugkzQlFP5Mj8AQoazXQL5CvER2s3xaOgI0OUTUEBQXhv+vrg/NQJ+njPX 0adOkuWMtzCGnSn8ZUPYSamp9yZ49WERonkl1YoxhMxR6UiUgvFiubzIt5bfaF9MWi Ck4Lgwg52dJ+A== Received: by wens.tw (Postfix, from userid 1000) id BC7A35F725; Tue, 23 Jan 2024 01:05:29 +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 Subject: [PATCH 1/7] dt-bindings: sound: sun4i-spdif: Fix requirements for H6 Date: Tue, 23 Jan 2024 01:05:12 +0800 Message-Id: <20240122170518.3090814-2-wens@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240122170518.3090814-1-wens@kernel.org> References: <20240122170518.3090814-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: 1788813500578889217 X-GMAIL-MSGID: 1788813500578889217 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: