Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp208433rdb; Mon, 22 Jan 2024 17:58:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IFRZDBb/Gq/NnCrLhpgFPH3xsiuGCgTOskG+tyamWtLo+kGrIMDug+l+cuf+o2zaD1Xjmsg X-Received: by 2002:a05:6808:6097:b0:3bd:95ce:5da6 with SMTP id de23-20020a056808609700b003bd95ce5da6mr6107068oib.74.1705975096420; Mon, 22 Jan 2024 17:58:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705975096; cv=pass; d=google.com; s=arc-20160816; b=OMdfrB0l2jF2PTTT5hvPztYGUv+PrqQxXUneVen5kcjQDHnDxLBAApKKsIbyxOtHYd 7IkLLTQDCGGDhLuwPm1g1heMotqdJv+UJWagJge2sWUiQx+nx2rA6SeFVHrRdA4mGmr+ u+jMUX8dJo9FqNKwg2OZDx/QV2CdDKYGQE5ZvJmx9vluqKLxqwA0NLq6y3OPUV0Yto4A 761giWbnfqUHsjZJneVJmLR0JRzLduOpL8L/vFvRmPCCLBHQF5a5vAWZQv5m16xvKPpM yyDQQ6s/AnyY//B66GdgnwpWO6yqWudZYjj5uG8e3OwRXzjYyd9Gv0VtMbDP2/Je/5yW vt6A== 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:organization:references :in-reply-to:message-id:subject:cc:to:from:date; bh=RIjoDGZhocsbMwxhk4tZ+nSTm0D0jx13P1n8YJ8h74I=; fh=UWiig1s3fmMOlTSMGWrEATJpXuAxUBcuTQXgzYQfeCg=; b=f+K2xKalYtT8hVG8eMkhld7Uxs6MzsEX9dq5LktRrGiWjVxowQadPgYubNObYb+Ws7 skAc4awt/XQfRB+BGq+rYr4Ljx9KyfvIn7mErnqTrdwhPH0Xts6BaEMqH5ns3BYeQcZM U+P8bDN3l2cGFuRUdI9sa8g6+XP43qLgbH3PNhYuFxv2+tUOy4JdBV8utQlzpsO0elsM erAanAO29HWN4LCmkJ7ipb7tqtWoy/wUquOU9iG4KEUdNkBFDfsHORZcdvVmKbIfZ/Uo JfV18vCq4pXU8OdVm8iPuSL6StqPZsoB6YSmrTDOhY4WuUjVy9roifzjgSHDDfbqOx9j 89/g== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-34529-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34529-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id e5-20020a63aa05000000b005ceb4a70188si8942488pgf.375.2024.01.22.17.58.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 17:58:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-34529-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-34529-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34529-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com 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 4308A292868 for ; Tue, 23 Jan 2024 01:35:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BD1A256B7C; Tue, 23 Jan 2024 00:39:52 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E10AA50A75; Tue, 23 Jan 2024 00:39:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705970392; cv=none; b=nW/1Chat5ysNXFeNvk+egfUHqv2zqbsPJVMl9bHheD+9z+nYW0l8ymA3lsQpr8/mVU41gTMatXUiQEEY6+EBJd7bRRvcmfL5dSfDVc5Qsio4GrvGnRlsiJh85GWBGfburiqPdQUbJpYr//DRF74ONPkY2SC+wAF/xcISi0RvoSU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705970392; c=relaxed/simple; bh=/c8wDG5UxtxoAwAuatiMUYKoX68PJuZG3V53bYgLges=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=JzdR2nZhzwYDaP5df9moU6W1A0DVEz8Hr+aLED6YVTzJrj+i71jG3JNyWco8/eGUqhIMrTvIq7tifAtPA4sDwwufFq/dib7oL/cJjx4Npmyqj8s1oWM8b34GPd8zKO3L5WOJZ+/JKwwu6FYqT8Z598dUouDLfQWizdvEf5QYQ5w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C93DE1FB; Mon, 22 Jan 2024 16:40:34 -0800 (PST) Received: from minigeek.lan (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C62203F73F; Mon, 22 Jan 2024 16:39:46 -0800 (PST) Date: Tue, 23 Jan 2024 00:38:53 +0000 From: Andre Przywara To: Chen-Yu Tsai Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jernej Skrabec , Samuel Holland , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Vinod Koul , 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: Re: [PATCH 3/7] ASoC: sunxi: sun4i-spdif: Add support for Allwinner H616 Message-ID: <20240123003853.3da2ff57@minigeek.lan> In-Reply-To: <20240122170518.3090814-4-wens@kernel.org> References: <20240122170518.3090814-1-wens@kernel.org> <20240122170518.3090814-4-wens@kernel.org> Organization: Arm Ltd. X-Mailer: Claws Mail 4.2.0 (GTK 3.24.31; x86_64-slackware-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 23 Jan 2024 01:05:14 +0800 Chen-Yu Tsai wrote: Hi Chen-Yu, thanks for posting this! > From: Chen-Yu Tsai > > The SPDIF hardware block found in the H616 SoC has the same layout as > the one found in the H6 SoC, except that it is missing the receiver > side. > > Since the driver currently only supports the transmit function, support > for the H616 is identical to what is currently done for the H6. I compared the OWA manual sections of the H6 and the H616 manuals, and can confirm that indeed the H616 is the same as the H6, minus the RX part: > Signed-off-by: Chen-Yu Tsai Reviewed-by: Andre Przywara Cheers, Andre > --- > sound/soc/sunxi/sun4i-spdif.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/sound/soc/sunxi/sun4i-spdif.c b/sound/soc/sunxi/sun4i-spdif.c > index 702386823d17..f41c30955857 100644 > --- a/sound/soc/sunxi/sun4i-spdif.c > +++ b/sound/soc/sunxi/sun4i-spdif.c > @@ -577,6 +577,11 @@ static const struct of_device_id sun4i_spdif_of_match[] = { > .compatible = "allwinner,sun50i-h6-spdif", > .data = &sun50i_h6_spdif_quirks, > }, > + { > + .compatible = "allwinner,sun50i-h616-spdif", > + /* Essentially the same as the H6, but without RX */ > + .data = &sun50i_h6_spdif_quirks, > + }, > { /* sentinel */ } > }; > MODULE_DEVICE_TABLE(of, sun4i_spdif_of_match);