Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2736629rdb; Tue, 12 Sep 2023 10:26:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHLmuBTazETd3lF6SlLUcHyG+2nsJgU38JA5RoUsqtUnxvAONwW0oVRsGJfwoEpdx7BNrTe X-Received: by 2002:a05:6358:2820:b0:141:162:b0d8 with SMTP id k32-20020a056358282000b001410162b0d8mr322458rwb.30.1694539562318; Tue, 12 Sep 2023 10:26:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694539562; cv=none; d=google.com; s=arc-20160816; b=qhbewYub5xgFr1IHu3wmDtOmsWs0Sqjaau4u41mdRiWnvNS400/qYOcTmrp4gm1Vso e4i96JajGP/YVKe9SakjivX28d8vUtXz9cMmZFzisUxhGy4CIRnhvxdOFsjdKVRDOVMd n426CSJmBltJTx7y9PWAGacmSiS3NOd3cN3qBdTmf7G6AFNlWLPgQaj2lwM6aVRgmhQo I/Y8WdfI92hODGFiXKHBzkf6tUSDHbmkxM5VhTAlEk9c6nNxsbI6U6HkVDF6z7Guc3Fu BmpSM7bTl4qcIE0k6/B3d3c+tamV6x039GdWn1ly2PM5KD+zB2tQLBU/9JwrmOOzklc6 Whbw== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=9eixXquZ6/JtuOr7J3SyJab/zJbGn+9Po1ZhW6Zpjg4=; fh=AfKttACWq8jUtejPaPgJw/rEFv4T80l3OYHEtRFUuU0=; b=eSdEB337W15eghI0Mq3aDVIpQ42fS0zbBPjcG9eH4cQVtbMCPz+OjSUHPQbXT894TY MlARSo/DIDpmQqDe5/gZvgNo4FHOPBnYBkqMyNViAuaoZV4CZ8YUCZ3tmhaVWImv9uF+ HdMUKrFcBhweSXlgR7xbyVCWIv7pNqpbDB8IOLhnc7U/ctjfDrnRqaEnB3XpSVafdxI6 ij3B2C8xDmKZ9tWLQf8WsTrY34rYkXawS/VyfIGIgNacHdadaIpFKp7vL9sxweyYaAMe 0FvzbA/WFsEnt21NOXGEIWVzVkLi4MdHSypaxA/n/PHlK+h+rx0fPynG76NX2VtNu5zg H3GA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Iii5UWu1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id b11-20020a6567cb000000b005698cf29f75si8296503pgs.222.2023.09.12.10.25.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 10:26:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Iii5UWu1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 8E08D821121D; Tue, 12 Sep 2023 10:22:18 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233220AbjILRWL (ORCPT + 99 others); Tue, 12 Sep 2023 13:22:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232252AbjILRWL (ORCPT ); Tue, 12 Sep 2023 13:22:11 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4184810D9; Tue, 12 Sep 2023 10:22:07 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C5492C433C8; Tue, 12 Sep 2023 17:22:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694539326; bh=rRrJDnsPwd8jMYw4Teztqav9PlNugqhsqBqwAuwaVlo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Iii5UWu1mdHxD2eSbuXqs6kx4AHgW0/LoRft/f7lyOXJm52Rgi8Ss5jvrOQ7BrJTL HGjHS80pVjavTF4tfpykYr5T/7fkgKiE9YpmlWEPyBR3aNc+/hYiE191mnmhexl3o1 CRosDNzzFYjKhuhcjmbbUjN7j01k4T3tOUv4i5jUygNoHPfOGH8XZQUtk5OaNdJ9eW pYLBfVy1Flo6/FS3VYYYvSj35AGFS9ADHfByzFRZStVVmWm0ObNv49tZznX+1faQlU TpLaRb6QGs2E99A0+EPgis0PHVuXqBCvx2SRZ1SqYeDb/y2Uldr0StaNvnp99RkhVo nBx3TcaF+l1Gw== Date: Tue, 12 Sep 2023 18:21:58 +0100 From: Conor Dooley To: Herve Codina Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Andrew Lunn , 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, Simon Horman , Christophe JAILLET , Thomas Petazzoni Subject: Re: [PATCH v5 08/31] dt-bindings: soc: fsl: cpm_qe: cpm1-scc-qmc: Add support for QMC HDLC Message-ID: <20230912-capable-stash-c7a3e33078ac@spud> References: <20230912081527.208499-1-herve.codina@bootlin.com> <20230912101018.225246-1-herve.codina@bootlin.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bf5FPf5K5KaccQV9" Content-Disposition: inline In-Reply-To: <20230912101018.225246-1-herve.codina@bootlin.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 12 Sep 2023 10:22:18 -0700 (PDT) X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, 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 fry.vger.email --bf5FPf5K5KaccQV9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 12, 2023 at 12:10:18PM +0200, Herve Codina wrote: > The QMC (QUICC mutichannel controller) is a controller present in some > PowerQUICC SoC such as MPC885. > The QMC HDLC uses the QMC controller to transfer HDLC data. >=20 > Additionally, a framer can be connected to the QMC HDLC. > If present, this framer is the interface between the TDM bus used by the > QMC HDLC and the E1/T1 line. > The QMC HDLC can use this framer to get information about the E1/T1 line > and configure the E1/T1 line. >=20 > Signed-off-by: Herve Codina > --- > .../bindings/soc/fsl/cpm_qe/fsl,cpm1-scc-qmc.yaml | 13 +++++++++++++ > 1 file changed, 13 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,cpm1-sc= c-qmc.yaml b/Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,cpm1-scc-= qmc.yaml > index 82d9beb48e00..b5073531f3f1 100644 > --- a/Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,cpm1-scc-qmc.y= aml > +++ b/Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,cpm1-scc-qmc.y= aml > @@ -101,6 +101,16 @@ patternProperties: > Channel assigned Rx time-slots within the Rx time-slots routed= by the > TSA to this cell. > =20 > + compatible: > + const: fsl,qmc-hdlc > + > + fsl,framer: > + $ref: /schemas/types.yaml#/definitions/phandle > + description: > + phandle to the framer node. The framer is in charge of an E1/T= 1 line > + interface connected to the TDM bus. It can be used to get the = E1/T1 line > + status such as link up/down. Sounds like this fsl,framer property should depend on the compatible being present, no? Thanks, Conor. > + > required: > - reg > - fsl,tx-ts-mask > @@ -159,5 +169,8 @@ examples: > fsl,operational-mode =3D "hdlc"; > fsl,tx-ts-mask =3D <0x00000000 0x0000ff00>; > fsl,rx-ts-mask =3D <0x00000000 0x0000ff00>; > + > + compatible =3D "fsl,qmc-hdlc"; > + fsl,framer =3D <&framer>; > }; > }; > --=20 > 2.41.0 >=20 --bf5FPf5K5KaccQV9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZQCeNgAKCRB4tDGHoIJi 0iOYAQDpq19XBQVxAut3ryCZTWFRliPi5kerZHMkKGzgUwIbKwEA+gnc9IR2Iao6 Qt/bYjPuz9mjrBe0gcXcC3CDZicWwAE= =QoY/ -----END PGP SIGNATURE----- --bf5FPf5K5KaccQV9--