Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp347691rwb; Mon, 26 Sep 2022 13:15:33 -0700 (PDT) X-Google-Smtp-Source: AMsMyM75WfkEsESvprPXRomoQENJaB/oCCX5r0Up/1v68kT8cSIG85sExuw3gFJ315Ql32xlDnqf X-Received: by 2002:a17:90b:4d0e:b0:1f7:ae99:4d7f with SMTP id mw14-20020a17090b4d0e00b001f7ae994d7fmr532264pjb.200.1664223333706; Mon, 26 Sep 2022 13:15:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664223333; cv=none; d=google.com; s=arc-20160816; b=d5vYq0LzxR7Xv0aPEmSha/XtxgJFYKKY2pXvgw5kB/E6kTZnUj4AYutm5Sec7tuEwq 23pya0Q9i/bYBDAUYVV3KCzLQfnhg1+uuQQVqRWYtuJvjWP1PFmEilfv6viI91Qs0LEu ceB0GEBCoR+pp8ulPqxXaKo0JR8dtLobMrzICkff5YZgIFW6eIWnXrdGa5exq6pfKUId xgguaLI/+0Si20PIb6uG4tR0ze41WbIOMu2lfsBVqj+iL6AkOMlNLq6E1LnNbmW2O6m1 dEnpunm53tYIR/g/gda1ll6V4DZu3SpjVWOyI/C0zggNHjun3Sy71sndd72aMOZVvo6I MxkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=BO41jb632AO2Bc9BLgoCYD5efImi2YwyYT9pGgQE7og=; b=ZI5ag95rzvdpOQlBaHbJDOoTKGsDQX20DehaZTu0jH2Thic3YRV0q83laanuNDXfNi 6b8OubVJLJz5ol24JZn1R9/8n7okB5UfnYLQ0N8KOWGR2rf45RpiEkbeX9h6ImcmxRm2 CnP461AIce399N+GcRixslzfoqHJOgoCULH2PP+TGY9nyKKKIi6R/SAOFuwdYPwo5TUY T6g/5qa2wHSp1W9yfdqWaQckoPFdkRsozfv6H1lwI4D7mLsIwbQp2lKRrl3IHm8RUQ5g MVEXbi5PZ/x3ZHkNB1exDHE0OAQXHRVT2kgOWqiXno8I5Lb+B9akyx9jNJA0i+BaXn/L DLKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=P88uiuSD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c4-20020a170902848400b0017543086eb4si11642193plo.421.2022.09.26.13.15.21; Mon, 26 Sep 2022 13:15:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=P88uiuSD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230102AbiIZUEc (ORCPT + 99 others); Mon, 26 Sep 2022 16:04:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229524AbiIZUEb (ORCPT ); Mon, 26 Sep 2022 16:04:31 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A66D97B16; Mon, 26 Sep 2022 13:04:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Transfer-Encoding:Content-Disposition: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:From: Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Content-Disposition: In-Reply-To:References; bh=BO41jb632AO2Bc9BLgoCYD5efImi2YwyYT9pGgQE7og=; b=P8 8uiuSD2+ubN4vwqv6s1SPc9Rxq53k4mdI4L3mMk6z78YdQVeiwmkVixTzfuDkJsbnNfd5DQudJiF6 TF5XCRN/T1P63gzgMhkJAnCjshmQEvssaPnVBRe3I7e6Rt0N/nyyuSAUXlrd0CkA4Aj40A0XZmzkP 4+eGFSHxDsICwtc=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1ocuKz-000L1E-80; Mon, 26 Sep 2022 22:04:21 +0200 Date: Mon, 26 Sep 2022 22:04:21 +0200 From: Andrew Lunn To: Rob Herring Cc: Pali =?iso-8859-1?Q?Roh=E1r?= , Liam Girdwood , Mark Brown , Gregory Clement , Sebastian Hesselbarth , Marcin Wojtas , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 1/5] ASoC: kirkwood: enable Kirkwood driver for Armada 38x platforms Message-ID: References: <20220920132648.2008-1-pali@kernel.org> <20220920132648.2008-2-pali@kernel.org> <20220926194832.GA2668987-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220926194832.GA2668987-robh@kernel.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 26, 2022 at 02:48:32PM -0500, Rob Herring wrote: > On Tue, Sep 20, 2022 at 03:26:44PM +0200, Pali Roh?r wrote: > > From: Marcin Wojtas > > > > The audio unit of Marvell Armada38x SoC is similar to the ones comprised by > > other Marvell SoCs (Kirkwood, Dove and Armada 370). Therefore KW audio > > driver can be used to support it and this commit adds new compatible string > > to identify Armada 38x variant. > > > > Two new memory regions are added: first one for PLL configuration and > > the second one for choosing one of audio I/O modes (I2S or S/PDIF). > > For the latter purpose a new optional DT property is added ('spdif-mode'). > > > > kirkwood-i2s driver is extended by adding a new init function for Armada > > 38x flavor and also a routine that enables PLL output (i.e. MCLK) > > configuration. > > > > Signed-off-by: Marcin Wojtas > > Tested-by: Star_Automation > > Reviewed-by: Nadav Haklai > > Reviewed-by: Lior Amsalem > > Tested-by: Lior Amsalem > > Signed-off-by: Hezi Shahmoon > > Reviewed-by: Neta Zur Hershkovits > > [pali: Fix support for pre-38x SoCs] > > Signed-off-by: Pali Roh?r > > --- > > .../devicetree/bindings/sound/mvebu-audio.txt | 14 +- > > sound/soc/kirkwood/kirkwood-i2s.c | 136 +++++++++++++++++- > > sound/soc/kirkwood/kirkwood.h | 2 + > > 3 files changed, 149 insertions(+), 3 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/sound/mvebu-audio.txt b/Documentation/devicetree/bindings/sound/mvebu-audio.txt > > index cb8c07c81ce4..4f5dec5cb3c2 100644 > > --- a/Documentation/devicetree/bindings/sound/mvebu-audio.txt > > +++ b/Documentation/devicetree/bindings/sound/mvebu-audio.txt > > @@ -6,9 +6,14 @@ Required properties: > > "marvell,kirkwood-audio" for Kirkwood platforms > > "marvell,dove-audio" for Dove platforms > > "marvell,armada370-audio" for Armada 370 platforms > > + "marvell,armada-380-audio" for Armada 38x platforms > > Perhaps be consistent with the 370 string above it. Hi Rob That was something i also considered. But actually, all 380 compatibles use armada-380-FOOBAR. So this is inconsistent with armada370-audio, but consistent with armada-380 in general. Andrew