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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 22414C0015E for ; Tue, 1 Aug 2023 10:34:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231689AbjHAKen (ORCPT ); Tue, 1 Aug 2023 06:34:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229832AbjHAKei (ORCPT ); Tue, 1 Aug 2023 06:34:38 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A073A1; Tue, 1 Aug 2023 03:34:37 -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-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=F1Sz0ae4nr5z1N2NijC/jAEv5RJWJxIOfwa338xwclg=; b=Us+lwVnb/LgpA8dbty/0XeNHRu /ZsdCPMPAMMyQgY18YVJaUmBz7DBcJxUJTvhONLvkm4MAPTiIViAvrWQtQqe2/PYnchcoYAwcun13 e0pxg36/GxLW7aMHGLvodGw2bLi+2F8kz/OozrgCcY7CG2e1Uag0KBAexqau2le6y10s=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qQmhr-002nBv-2P; Tue, 01 Aug 2023 12:34:23 +0200 Date: Tue, 1 Aug 2023 12:34:23 +0200 From: Andrew Lunn To: Herve Codina Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lee Jones , Linus Walleij , Qiang Zhao , Li Yang , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Shengjiu Wang , Xiubo Li , Fabio Estevam , Nicolin Chen , Christophe Leroy , Randy Dunlap , netdev@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, alsa-devel@alsa-project.org, Thomas Petazzoni Subject: Re: [PATCH v2 00/28] Add support for QMC HDLC, framer infrastruture and PEF2256 framer Message-ID: <4eef1cf6-ace4-417f-a0ba-ec13331c8eaf@lunn.ch> References: <20230726150225.483464-1-herve.codina@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230726150225.483464-1-herve.codina@bootlin.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > The generic framer has: > - 2 consumers (QMC HDLC drv and codec) > - 1 provider (PEF2256) > > So, the design is the following: > +------------------+ +---------+ > | QMC | <- TDM -> | PEF2256 | <-> E1 > +---------+ | +-------------+ | | | > | CPU DAI | <-data--> | QMC channel | | | | > +---------+ | +-------------+ | | | > +--------------+ | +-------------+ | | | > | QMC HDLC drv | <-data--> | QMC channel | | | | > +--------------+ | +-------------+ | | | > ^ +------------------+ | | > | +--------+ +-------------+ | | > +-> | framer | <-> | PEF2256 drv | <- local bus ->| | > | | | | +---------+ > +-> | | | | > | +--------+ | +-------+ | > +-------------------> | codec | | > | +-------+ | > +-------------+ Thanks for adding the framer framework. I did not look into all the details, but the basic design looks good. Andrew