Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp991032rwl; Thu, 10 Aug 2023 05:03:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IELMXpaoCo57iTrwGE9a9oe/laoJm5oo+zNOIGO+v23/GXjZPEQTslYqmskUp+nvlUFctiZ X-Received: by 2002:a17:902:ac97:b0:1bd:a50a:e2d0 with SMTP id h23-20020a170902ac9700b001bda50ae2d0mr1099206plr.66.1691668986827; Thu, 10 Aug 2023 05:03:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691668986; cv=none; d=google.com; s=arc-20160816; b=ApPLMKJXjo1IdsJsNd1ePhlyfgV1o2aN0PJmXrtqr0vMd/EugJSu1npr67dMlUiKAd SqP+7hFbAI1PLIQPJ4z/Ujq8G32JtnxPJDOkaJGAVQvY1Z3MVEZjwoDLOxKJBAAynyYo ooiDaEbBX79UdiCSUn4AaVIqAYyjfUdu3T1PoaOu6BF7gcTjHeMQXALJ2pIrSBAX80C2 32STFavCeIKGAeZ2F0sFp4GbwwMULlP/ezNCYhMB879GtigLTuUBNp3Wcr4fqV7DTZya KZMi5DT3ddml3X4AXQDPwFTNtR5zlvErjJ8ftirMbv256PpydNzUXib+rrKE8hJlmsVK T/6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=ADRnTf+HtriZ7mqwDU3wWvmXrT7FB+Ztxvgw7H2KXeU=; fh=XabGX/ztz3Q/NYRU7gNQKE5pkT4++ET/4VS+msxI0D8=; b=viumvZUcmCoi2BYQ+rzoZLDecmzy2h/7uM4XtCwyglt8VebY0mPJUMKmQxcPt1GOM6 A/qBK2uZLYUc2QI20QvzOA28XbjpYbcCOdFsOnHRloD6nU4adhtK7VbHFS1artA+U9GL 3gavPqGTD61vH6umMiwG3l8j5879roOz8/Juiq+mSo2kt2j0L8wIEu5MN8xm43wgezh/ Fh0FGO3l4Qwblw/1+ZJc64JdpiWkh+EjLY0wSzbR+JZ+/DhxCOtBShg7DO+hegMgLLwf EX8Y8rO42HNqR4PO/IYjA23BEKF1R871gIE8Wnhc0UOVUNEDuPXxOs3EXcOgxlJrhmoq v4ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QFhKu9tk; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b15-20020a170903228f00b001bc35017804si1381813plh.443.2023.08.10.05.02.51; Thu, 10 Aug 2023 05:03:06 -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=@linaro.org header.s=google header.b=QFhKu9tk; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230363AbjHJLRY (ORCPT + 99 others); Thu, 10 Aug 2023 07:17:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231330AbjHJLRW (ORCPT ); Thu, 10 Aug 2023 07:17:22 -0400 Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EAFE2684 for ; Thu, 10 Aug 2023 04:17:22 -0700 (PDT) Received: by mail-yb1-xb2c.google.com with SMTP id 3f1490d57ef6-d5d64d2961aso689174276.3 for ; Thu, 10 Aug 2023 04:17:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691666241; x=1692271041; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ADRnTf+HtriZ7mqwDU3wWvmXrT7FB+Ztxvgw7H2KXeU=; b=QFhKu9tkFZ+fkU1lcY4zVfF0dk/FWoUgZD0eH36Sz7H5E6vylleVAxrx4pnTaXqwhk 0+gy/gZj3JZk12Km6iz/EZoWzKbi128l5ProuMk6rD8PXzxfQdAWHaHfYFH+hT3tRM5T JhuEe8IlHx2uTiKvZWsgQrv6fkFqrBx0+2vETEZCqjNX/pWDMRwL/0BRd5MvDHtFVvKa BM/Lp+D9Uqm7WCUrVCer3WiE1OLLbVSPYEz4lyAydeXxxun5B/2ka3EMFk7a+ErH42db gw2/aA6IBStBu2S2LDjrdyts3q5jk/zxoySCSTATECPSlKOeat6hCKBGV6ZorzoWY9HV DN/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691666241; x=1692271041; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ADRnTf+HtriZ7mqwDU3wWvmXrT7FB+Ztxvgw7H2KXeU=; b=kQZa1uOl6xVAmR1MeF4HwTe8PeZGLwOqhJijq4K5Dmc4ouDDxv3upJU1Y3s5mWXsIP jsNLJSx5ejGd318lbs9b+UqikqpQC7EWXSWiFn0+Z5H5Wo2B81Kxr2U47teWt0rlERp0 EdoApFa5+KihItZjgIpaQS3k2T1WXZlhCyHOW1ZACcXrdbhRbvtIXZTJ/aqFyTniNjXT ogKWD2gn7XWxzTWqOxUQIuETuyKmCZMDUbtVGUPd6BWKSI7TErkXXtoM600gX5DKnfpz hbWICctsAfj7VeLjd2xeW5+e1Vtq4Gmp/iSWPOS+tKzYZPiWmNGvlfP5N2f5lVDtUHB/ TX8Q== X-Gm-Message-State: AOJu0YwBklj/rZGvFCnn01gAZoqRMGs2PdVAh6otGv+d8UpjVVSucrma R7b+4bgLN3E7KIpavrfwXRu30HWbgjJsnssz/6w5Jg== X-Received: by 2002:a25:250f:0:b0:cea:6760:d2c6 with SMTP id l15-20020a25250f000000b00cea6760d2c6mr2046852ybl.41.1691666241474; Thu, 10 Aug 2023 04:17:21 -0700 (PDT) MIME-Version: 1.0 References: <20230809132757.2470544-1-herve.codina@bootlin.com> <20230809132757.2470544-22-herve.codina@bootlin.com> In-Reply-To: <20230809132757.2470544-22-herve.codina@bootlin.com> From: Linus Walleij Date: Thu, 10 Aug 2023 13:17:09 +0200 Message-ID: Subject: Re: [PATCH v3 21/28] net: wan: Add framer framework support To: Herve Codina Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Andrew Lunn , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lee Jones , 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Hi Herve, On Wed, Aug 9, 2023 at 3:28=E2=80=AFPM Herve Codina wrote: > A framer is a component in charge of an E1/T1 line interface. > Connected usually to a TDM bus, it converts TDM frames to/from E1/T1 > frames. It also provides information related to the E1/T1 line. > > The framer framework provides a set of APIs for the framer drivers > (framer provider) to create/destroy a framer and APIs for the framer > users (framer consumer) to obtain a reference to the framer, and > use the framer. > > This basic implementation provides a framer abstraction for: > - power on/off the framer > - get the framer status (line state) > - be notified on framer status changes > - get/set the framer configuration > > Signed-off-by: Herve Codina > Reviewed-by: Christophe Leroy I love it, very clear commit message telling us what it is all about. The placement in the WAN subsystem also hints that this has something to do with long distance links (relative to something) so maybe mention that? > +menu "Framer Subsystem" > + > +config GENERIC_FRAMER > + bool "Framer Core" > + help > + Generic Framer support. > + > + This framework is designed to provide a generic interface for f= ramer > + devices present in the kernel. This layer will have the generic > + API by which framer drivers can create framer using the framer > + framework and framer users can obtain reference to the framer. > + All the users of this framework should select this config. But this description just says this is a framing framer that frames frames = ;) So please copy some of the nice description from the commit message into this Kconfig helptext. Is "long distance link time division multiplexing (TDM) framer" more to the point for example? Or is the ambition to frame other multiplexing techniques as well with this subsystem? Such as FDM? Then mention that. Yours, Linus Walleij