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 X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2E08EC0650E for ; Wed, 3 Jul 2019 13:58:43 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 00632218A3 for ; Wed, 3 Jul 2019 13:58:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="FFGKX+fN"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=akkea.ca header.i=@akkea.ca header.b="SpfH1iV5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 00632218A3 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=akkea.ca Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-ID:References:In-Reply-To:From:Date: MIME-Version:Subject:To:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=OmMKvi6AtDndgjsxOmm3vZQfL1Jp86fVUWCjGpDKKOc=; b=FFGKX+fN0xdLOApCOUIESJPLH E7VHS0n2NBZ7qSQ8LKtbxZrTIcAMb9MI0R74xoAbuR27JjIU67WWOU3PXsEO/ZP+6f2BcJyr7UpUo tmAmKXFBw0DAuXz3PESMUqjWB614pJzmRIlPBNWeivVI6tRiKfKWofIEZGyCo0GPdJ7BNZWUvNI5l vMcK6aZNlFtp+kI4kWODKRwqH6BtYrW1M+wGGUvG2eTQlY3rbYQfB3csdA/3kBJtvZ7FibrxK3bOV cKsnzqeYvhayVsBgXPaKBKP/JxjUEiRaRUdkXnCj2j2mrKWCEVlVA/mZNVmSmWrUlS8QKioz7eiiY 1DPgJi6CA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hifmO-0006YO-Fv; Wed, 03 Jul 2019 13:58:36 +0000 Received: from node.akkea.ca ([192.155.83.177]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hifmL-0006Xp-Gg for linux-arm-kernel@lists.infradead.org; Wed, 03 Jul 2019 13:58:34 +0000 Received: by node.akkea.ca (Postfix, from userid 33) id B606E4E204B; Wed, 3 Jul 2019 13:58:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1562162312; bh=UHIUaVsVDuz0yZjRB09x+PshwKLK6UHG+Qvlw7TIC58=; h=To:Subject:Date:From:Cc:In-Reply-To:References; b=SpfH1iV5gPGx0vLKUhzKfEvLCQNmPLkUyJlyLG3cW8wfWxKgAPFOR+aGMwiCtP5qV S+TSC/nxxbenLnoRMlQrsfUB2MXIUMeQmR2zwJ5dfti+3LJyKCNajnNEm6XcjeReqg E8fKNY+j2dOhPI2vMmPmQD/ssHXJFGIGur51ElBA= To: Daniel Baluta Subject: Re: [PATCH v3] arm64: dts: imx8mq: Add sai3 and sai6 nodes X-PHP-Originating-Script: 1000:rcube.php MIME-Version: 1.0 Date: Wed, 03 Jul 2019 07:58:32 -0600 From: Angus Ainslie In-Reply-To: References: <20190702132353.18632-1-andradanciu1997@gmail.com> <9ea5109f8645c3f27a9e350c5f9b2d4c@www.akkea.ca> <9e196ce51eac9ce9c327198c4a2911a8@www.akkea.ca> Message-ID: <8ebfeaae8541132ad39e4109d135cd5f@www.akkea.ca> X-Sender: angus@akkea.ca User-Agent: Roundcube Webmail/1.1.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190703_065833_597379_8CB80885 X-CRM114-Status: GOOD ( 23.06 ) 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: Mark Rutland , Devicetree List , Andra Danciu , Abel Vesa , Anson Huang , Carlo Caione , andrew.smirnov@gmail.com, Fabio Estevam , Sascha Hauer , Linux Kernel Mailing List , Rob Herring , dl-linux-imx , Pengutronix Kernel Team , Shawn Guo , =?UTF-8?Q?Guido_G=C3=BCnther?= , linux-arm-kernel , Lucas Stach Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Daniel, On 2019-07-03 07:25, Daniel Baluta wrote: > On Wed, Jul 3, 2019 at 4:12 PM Angus Ainslie wrote: >> >> Hi Daniel, >> >> On 2019-07-03 07:10, Daniel Baluta wrote: >> > On Wed, Jul 3, 2019 at 4:01 PM Angus Ainslie wrote: >> >> >> >> Hi Andra, >> >> >> >> I tried this out on linux-next and I'm not able to record or play >> >> sound. >> >> >> >> I also added the sai2 entry to test out our devkit and get a PCM >> >> timeout >> >> with that. >> > >> > Hi Angus, >> > >> > There are still lots of SAI patches that need to be upstream. Me and >> > Andra >> > will be working on that over this summer. >> > >> >> >> >> On 2019-07-02 07:23, Andra Danciu wrote: >> >> > SAI3 and SAI6 nodes are used to connect to an external codec. >> >> > They have 1 Tx and 1 Rx dataline. >> >> > >> >> > Cc: Daniel Baluta >> >> > Signed-off-by: Andra Danciu >> >> > --- >> >> > Changes since v2: >> >> > - removed multiple new lines >> >> > >> >> > Changes since v1: >> >> > - Added sai3 node because we need it to enable audio on pico-pi-8m >> >> > - Added commit description >> >> > >> >> > arch/arm64/boot/dts/freescale/imx8mq.dtsi | 29 >> >> > +++++++++++++++++++++++++++++ >> >> > 1 file changed, 29 insertions(+) >> >> > >> >> > diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi >> >> > b/arch/arm64/boot/dts/freescale/imx8mq.dtsi >> >> > index d09b808eff87..736cf81b695e 100644 >> >> > --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi >> >> > +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi >> >> > @@ -278,6 +278,20 @@ >> >> > #size-cells = <1>; >> >> > ranges = <0x30000000 0x30000000 0x400000>; >> >> > >> >> > + sai6: sai@30030000 { >> >> > + compatible = "fsl,imx8mq-sai", >> >> >> >> I don't find this compatible string in sound/soc/fsl/fsl_sai.c. Aren't >> >> the registers at a different offset from "fsl,imx6sx-sai". >> > >> > Yes, you are right on this. We are trying to slowly push all our >> > internal-tree >> > patches to mainline. Obviously, with started with low hanging fruits, >> > DTS >> > nodes and small SAI fixes. >> > >> > Soon, we will start to send patches for SAI IP ipgrade for imx8. >> > >> >> >> >> How is this supposed to work ? >> >> >> > >> > For the moment it won't work unless we will upstream all our SAI >> > internal patches. >> > But we will get there hopefully this summer. >> > >> >> Shouldn't a working driver be upstream before enabling it in the >> devicetree ? > > I see your point here and maybe your suggestion is the ideal > way to do things. > > Anyhow, I don't see a problem with adding the node in dts > because CONFIG_FSL_SAI is not set in the default config. > I think the assumption is that devices in the devicetree are tested and working. That's not currently the case for sai on imx8mq. > We try to speedup the upstreaming process giving the fact > that SAI patches will go through audio maintainer's tree and > the DTS patches will most likely go through Shawn's tree. > Ok I can see them being committed concurrently but I haven't even seen a v1 of the sai patches. Thanks Angus > thanks, > Daniel. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel