From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BD25FEE49A0 for ; Wed, 23 Aug 2023 12:39:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kRyKEznUsO5NDSI4IK0/X84uih86sywImOJzspbkL9o=; b=puB+EKC7tmAI3p VUJwBBwWScQLnQ2XZ8RfazWLHIDcTseOQ0v2lUmn2iQVO6t+GerfZCjQCb+zsR4QcLZarAZP+2tC1 pv8cyP4KqCWhz16FuwmQ6F83xUXy9lpzHn6RQnhg4lJ++GEFFOftY+IRezWPMj4i/Dk1DjS5W7ybM 2JO/7BZvZRVT2yIF6kA3uwJ/N3/0Vrc5j1X3gnL7ujNpUc3XHvlmeB62HC1o9stVu++rzHPzHJk/x CeNYxlz+Bxvg0lmQ1SAkcfuejrRmV7MDgPCiIsK3dTkIv9G2a7TJwDkLnfySQtTwMoBQd9gKigjNN iqrtvotxxOTmZFhe/2Rg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qYn8i-000Yg0-12; Wed, 23 Aug 2023 12:39:12 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qYn8a-000YfF-0l; Wed, 23 Aug 2023 12:39:10 +0000 Received: from i53875a83.versanet.de ([83.135.90.131] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qYn8T-0003UY-66; Wed, 23 Aug 2023 14:38:57 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Rob Herring , Krzysztof Kozlowski , Jakob Unterwurzacher Cc: jakob.unterwurzacher@theobroma-systems.com, Ermin Sunj , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] TSD: arm64: dts: rockchip: use codec as clock master Date: Wed, 23 Aug 2023 14:38:56 +0200 Message-ID: <3763479.7s5MMGUR32@diego> In-Reply-To: <20230823122000.585787-1-jakob.unterwurzacher@theobroma-systems.com> References: <20230823122000.585787-1-jakob.unterwurzacher@theobroma-systems.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230823_053904_271762_0D308A37 X-CRM114-Status: GOOD ( 22.87 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Jakob, the change itself looks ok, but there are some logistic changes needed. For one, please drop the local TSD prefix from patches submitted upstream. The patch subject should be something like arm64: dts: rockchip: use codec as clock master on px30-ringneck Am Mittwoch, 23. August 2023, 14:19:59 CEST schrieb Jakob Unterwurzacher: > From: Ermin Sunj > > If the codec is not the clock master, the MCLK needs to be > synchronous to both I2S_SCL ans I2S_LRCLK. We do not have that > on Haikou, causing distorted audio. > > Before: > > Running audioloopback.py script on Ringneck, 1kHz > output sine wave is not stable and shows distortion. > > After: > > 10h stress tests audioloopback.py failed only one time. > That is 0.00014% failure rate. > > Signed-off-by: Ermin Sunj As sender of the patch you need to add another Signed-off-by line of your own. With this you indicate that you were allowed to submit the patch. So this needs two SOB-lines, one for Ermin as the original author and one for you as the submitter. Probably same for the second patch. Thanks Heiko > --- > arch/arm64/boot/dts/rockchip/px30-ringneck-haikou.dts | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/rockchip/px30-ringneck-haikou.dts b/arch/arm64/boot/dts/rockchip/px30-ringneck-haikou.dts > index 3a447d03e2a8..dafeef0c2dab 100644 > --- a/arch/arm64/boot/dts/rockchip/px30-ringneck-haikou.dts > +++ b/arch/arm64/boot/dts/rockchip/px30-ringneck-haikou.dts > @@ -68,8 +68,10 @@ i2s0-sound { > simple-audio-card,format = "i2s"; > simple-audio-card,name = "Haikou,I2S-codec"; > simple-audio-card,mclk-fs = <512>; > + simple-audio-card,frame-master = <&sgtl5000_codec>; > + simple-audio-card,bitclock-master = <&sgtl5000_codec>; > > - simple-audio-card,codec { > + sgtl5000_codec: simple-audio-card,codec { > clocks = <&sgtl5000_clk>; > sound-dai = <&sgtl5000>; > }; > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel