Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1931805rwo; Thu, 3 Aug 2023 01:59:08 -0700 (PDT) X-Google-Smtp-Source: APBJJlEhByNPxUPZU/D3qDb3D5LnI5V9l9DBvff0mQc44hHetK526lgK2fLY4PBGGFMYBAdEkd4O X-Received: by 2002:a17:906:7685:b0:99b:c8db:d92c with SMTP id o5-20020a170906768500b0099bc8dbd92cmr6636713ejm.30.1691053148556; Thu, 03 Aug 2023 01:59:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691053148; cv=none; d=google.com; s=arc-20160816; b=NUaAkcdp/BgktzouJCKiDSZDkyMFPY1Jtyzl3jpe+r0mzJb3GhWwSkg7/2rfybRftK x5AR8bOpWccqiI7ww1aInPgEbOyp5NSD0MQ64s43oIRjXfSyYxYaTHfQp6X0ehpJ+CK9 kAhBKIPCl55d6KYjYauBtOOS1xzb3y2J11/wRIVw15zWjkbwhhTCrPEBF2GYiZ1X9uRw WjG8YRlVIE1m1wOHhS0A4JsVisRMitwqjxrFYLrzO3fJ3JtTDHaEhyh6xBVswBGrSjMB 69xqCmMqQ4BANFobwVcvetVGiuGkVZh0wMVuIs+jrMMy02yoauK0XggpvaeVZBEwj9HI gOHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=SELzQVaBhYhBIwDx2p1Pj2orowZttNN9xEZBvwg3M2A=; fh=8ROXP10WGwNhiRGNV+dwRqn1Aklkzx0drQYnm89ysNM=; b=cnbqYcCfUN/RmRLHpI9xEVI1wdC/AYdaAaBLJVgJPtBs8J72ZBdUWiXZFgQrBD9giI 7ufAYN8febkleRAscsAcxXEsGm5/rI3rtcu4M0u5NY6DdYIBrIyR0ixietFAzTFZ4CLC 8/8lVrbRSJuoqA30wO3rF3n8JHDDEHEWqh8yLKbPB4PXNxqpQ911PY3RgeyaosP/vkVm sMCT8zVieNr+Gkwvc5e44vUPQBVZKcFP4IvThiFSCypU6K7X7YRzry3+6umStRPBb3/w qwnkO1q5RFyQWv6peotu8EkSsAoXSHugii/i6ZmpNGKDJxITNOdp2Z5pdGxwGSpmhTLp tZ3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=RVTarNgc; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r19-20020a170906351300b009934b1eb56dsi107679eja.11.2023.08.03.01.58.44; Thu, 03 Aug 2023 01:59:08 -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=@bootlin.com header.s=gm1 header.b=RVTarNgc; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234441AbjHCI12 (ORCPT + 99 others); Thu, 3 Aug 2023 04:27:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234311AbjHCI06 (ORCPT ); Thu, 3 Aug 2023 04:26:58 -0400 Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::221]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59A21DA; Thu, 3 Aug 2023 01:23:59 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id C2FEE240009; Thu, 3 Aug 2023 08:23:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1691051037; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SELzQVaBhYhBIwDx2p1Pj2orowZttNN9xEZBvwg3M2A=; b=RVTarNgcL5Lqc7frx4gWP/ChoTOIAY8Fu3KgXKvID229jSKmin5+L8FZS/XNa16aJHi1KY wz9mh3d+mtrD5kLKgg+Zutnd8XZuvlkIUEwQ0cq8fgICHjtlWk90qU3ll40vm9fQ6sgBYt jWUNMx5+8UL1/5UQkRIHvpUOLwbvW975dS7ytocUjT10MoEBEQuXo1vdX9F/n3IbVI7f5J fJGShMAO+3iod4LDPehoOxic7SeHcJ0ugCGHqhtjY6hpHJRwEvpXfWlNWLPRj5EpTue6Sy CurrNWc3DoqhLfQa+toQI/c+59kPiyF9gaOcm6Gmn3Ns706aP03UhG8j19SsWw== Date: Thu, 3 Aug 2023 10:23:47 +0200 From: Herve Codina To: Rob Herring Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Andrew Lunn , 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 27/28] dt-bindings: net: fsl,qmc-hdlc: Add framer support Message-ID: <20230803102347.74706421@bootlin.com> In-Reply-To: <20230803004259.GA1598510-robh@kernel.org> References: <20230726150225.483464-1-herve.codina@bootlin.com> <20230726150225.483464-28-herve.codina@bootlin.com> <20230803004259.GA1598510-robh@kernel.org> Organization: Bootlin X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-GND-Sasl: herve.codina@bootlin.com 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_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Hi Rob, On Wed, 2 Aug 2023 18:42:59 -0600 Rob Herring wrote: > On Wed, Jul 26, 2023 at 05:02:23PM +0200, Herve Codina wrote: > > A framer can be connected to the QMC HDLC. > > If present, this framer is the interface between the TDM used by the QMC > > HDLC and the E1/T1 line. > > The QMC HDLC can use this framer to get information about the line and > > configure the line. > > > > Add an optional framer property to reference the framer itself. > > > > Signed-off-by: Herve Codina > > --- > > Documentation/devicetree/bindings/net/fsl,qmc-hdlc.yaml | 5 +++++ > > 1 file changed, 5 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/net/fsl,qmc-hdlc.yaml b/Documentation/devicetree/bindings/net/fsl,qmc-hdlc.yaml > > index 8bb6f34602d9..bf29863ab419 100644 > > --- a/Documentation/devicetree/bindings/net/fsl,qmc-hdlc.yaml > > +++ b/Documentation/devicetree/bindings/net/fsl,qmc-hdlc.yaml > > @@ -27,6 +27,11 @@ properties: > > Should be a phandle/number pair. The phandle to QMC node and the QMC > > channel to use. > > > > + framer: > > + $ref: /schemas/types.yaml#/definitions/phandle > > Now you've defined this property twice. Please avoid doing that. I don't see what you mean. I previously defined the framer property at the framer-codec node as it is a framer consumer (it was a mistake because this framer-codec node is a child of the framer node but that's an other story). Here, at the qmc-hdlc node, I define this property in order to use the framer as a consumer too. What is wrong ? Best regards, Hervé > > > + description: > > + phandle to the framer node > > + > > required: > > - compatible > > - fsl,qmc-chan > > -- > > 2.41.0 > >