From patchwork Sat Jul 4 11:38:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= X-Patchwork-Id: 11643531 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6F6CA618 for ; Sat, 4 Jul 2020 11:41:21 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 491692084C for ; Sat, 4 Jul 2020 11:41:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="DElCtOnj"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="meZHio9k" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 491692084C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=OnPBoolnA68heL/rc5rKETirVwztfcJBtb6D4Tnb6dw=; b=DElCtOnjviNRhMRo1agwRHxnaO jcE1/HfN9Orhg5FitxXkAe9LKE1KIxrZZcLOF8zy54vLFiWxi+Ufx3EG+hBQPgb+NEbwa022m27OY zIO+nyF+8MrMdPtFzDwBuHSr84UN+JlSo/H3ZkAlc98cciioozKKw/MQTYhqkYFD8nSompvZBzBNu NaFDIDMw81Ikx7cKiGmhcWPTLAIpKvNpFmQ4HF5vHLcrGgH42AW4b8yl9ne191qG+S6pxJ+etuMDm jd4SH8veW0nLmkJnmb4urLhEjD61wxAHyXn6Ug6Rca6/gM/uTU7HV4vFpjS3xVNoXH0u1iU9OKnli yNJAjriw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jrgVj-0005Jo-F4; Sat, 04 Jul 2020 11:39:11 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jrgVg-0005IA-Nj for linux-arm-kernel@lists.infradead.org; Sat, 04 Jul 2020 11:39:09 +0000 Received: by mail-wr1-x444.google.com with SMTP id q5so35410136wru.6 for ; Sat, 04 Jul 2020 04:39:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=huTZWc4WX2Vk6rlBo+W/npzq0ocSqctPFM6mvDyKzhI=; b=meZHio9kKgmPtzv7j7dRdrQkTdsN+PUWTJgQrVGZfSrAh8bO7SmdtsxUZjgewfgm+t KQwupF83sh/tOwBQV2oDQvmEfzbCBdFbhiUvgFkafu1hc5+9tgW7oPWeKLcGMlf0xwYg S2JDTsTmYO3/pqZqdM/qTRYEVSI36OaSmC5Ong+8WOPeDVX9ZMkGa4DKmN21UFyjZThT z1Ufia2+HHra4ZoTt2B6k5q8aIFfPVb1u5oySe6l7B16SF3ZGJ1EV0X+UGaGHshmlZNL qOyl/wjerLE2dV4cjbW8EykX/AWIQolAs6de3MRZaDBSi0bHrWY0IY6DD2Bidzdc6jho 8fdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=huTZWc4WX2Vk6rlBo+W/npzq0ocSqctPFM6mvDyKzhI=; b=lhdPZSRf4IC9SUNtdcg3q+Fkn+g5wA5C8H+yNgUjkIKkvYYS98ODEfdF4b4WU4lz9p /HJ/to9usatW///ZqbrhKs/c2WU/wbADzLdQliP4sVlPGwmjiz3cVZo0Vseb0KPtiooH F3YK0JSCMHDsQyxP+Hj9SCrX8WVDEa+FT6eCdcWJZEdkJMQX67ebgvvQiWWbSgV93l3V 4qjrO73R2CqNNzDWdoyWjfrNMbG3+mzn+eltq42d1bNH2Ca+Hki4qp9ZH+0ZuoQnb4Ya P3++zL9tagdO7tc0IxGhX5EfwFfIYo0V7qnrqIaSCJbdAIt83uelEfjkSV27I74TIKa5 kibA== X-Gm-Message-State: AOAM530O9Ry+CIBleDwL4xcJCSIWsTgEIjA57f8+azatt5Ph2qAOn5mx /JJYeT6roTXx+oGaxUDqJDk= X-Google-Smtp-Source: ABdhPJxCjhh8TckSSIgRr6CJvS63LYfsRrgWAUQSGAQuTFPXEG/R05nSp234vtwv/LzOsRt4HrNb7Q== X-Received: by 2002:adf:fc90:: with SMTP id g16mr40188744wrr.42.1593862745973; Sat, 04 Jul 2020 04:39:05 -0700 (PDT) Received: from clement-Latitude-7490.numericable.fr (213-245-241-245.rev.numericable.fr. [213.245.241.245]) by smtp.gmail.com with ESMTPSA id j24sm18657373wrd.43.2020.07.04.04.39.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Jul 2020 04:39:05 -0700 (PDT) From: =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= To: Maxime Ripard , Chen-Yu Tsai , Rob Herring , Mark Brown , Liam Girdwood Subject: [PATCH 00/16] Add Allwinner H3/H5/H6/A64 HDMI audio Date: Sat, 4 Jul 2020 13:38:46 +0200 Message-Id: <20200704113902.336911-1-peron.clem@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200704_073908_808828_B3114711 X-CRM114-Status: GOOD ( 14.94 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:444 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [peron.clem[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Jernej Skrabec , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Takashi Iwai , Jaroslav Kysela , Marcus Cooper , linux-sunxi@googlegroups.com, =?utf-8?b?Q2zDqW1lbnQgUMOpcm9u?= , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Hi, This a merge of serie: - Add Add H6 I2S support https://patchwork.kernel.org/cover/11497007/ - Add Allwinner H3/H5/A64 HDMI audio https://patchwork.kernel.org/cover/11510511/ I merge both serie because there is a similar issue regarding the I2S polarity. This need to be investigated under a scope and see if the comment is still true for Allwinner H6 and previous SoC. LibreElec team found that we have to introduce the "simple-audio-card,frame-inversion" property with recent mainline change. In order to make HDMI audio work. Maybe the I2S polarity is good or maybe the silicium has an issue but not present for HDMI I2S or not present in TDM mode... I cannot do it myself, so if someone want to to do it please feel free. Regarding the discussion we had here: https://patchwork.kernel.org/patch/11510521/ I didn't switch to generic hdmi card-name and used name like: sun8i-h3-hdmi, sun50i-h6-hdmi, etc.... Despite this wrong comment the rest of the serie introduce some fix that should be merged even if it's without the H6 support. Regards Clement Change since v1: - drop allwinner,playback-channels property - use coherent hdmi,card-name - indentation fix - collect tags Clément Péron (2): ASoC: sun4i-i2s: Fix sun8i volatile regs arm64: dts: allwinner: h6: Enable HDMI sound for Beelink GS1 Jernej Skrabec (3): ASoC: sun4i-i2s: Add support for H6 I2S dt-bindings: ASoC: sun4i-i2s: Add H6 compatible arm64: dts: allwinner: h6: Add HDMI audio node Marcus Cooper (11): ASoC: sun4i-i2s: Adjust LRCLK width ASoC: sun4i-i2s: Set sign extend sample ASoc: sun4i-i2s: Add 20 and 24 bit support ASoC: sun4i-i2s: Adjust regmap settings arm: dts: sunxi: h3/h5: Add DAI node for HDMI arm: dts: sunxi: h3/h5: Add HDMI audio arm64: dts: allwinner: a64: Add DAI node for HDMI arm64: dts: allwinner: a64: Add HDMI audio arm: sun8i: h3: Add HDMI audio to Orange Pi 2 arm: sun8i: h3: Add HDMI audio to Beelink X2 arm64: dts: allwinner: a64: Add HDMI audio to Pine64 .../sound/allwinner,sun4i-a10-i2s.yaml | 2 + arch/arm/boot/dts/sun8i-h3-beelink-x2.dts | 8 + arch/arm/boot/dts/sun8i-h3-orangepi-2.dts | 8 + arch/arm/boot/dts/sunxi-h3-h5.dtsi | 33 ++ .../boot/dts/allwinner/sun50i-a64-pine64.dts | 8 + arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 35 +++ .../dts/allwinner/sun50i-h6-beelink-gs1.dts | 8 + arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 33 ++ sound/soc/sunxi/sun4i-i2s.c | 281 +++++++++++++++++- 9 files changed, 410 insertions(+), 6 deletions(-)