Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp524888rdh; Sat, 23 Sep 2023 23:55:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE2cldGUDLJq8sxFnWDwGzzcXfgTK/tl1N5Py2tTyaPBeuVmIs5CFj4LohrAFP3OsFAAn9X X-Received: by 2002:a17:90a:74c4:b0:261:2824:6b8c with SMTP id p4-20020a17090a74c400b0026128246b8cmr10624597pjl.13.1695538521858; Sat, 23 Sep 2023 23:55:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695538521; cv=none; d=google.com; s=arc-20160816; b=zr4+9qr6Hzi08J5o64y3sIEhlzk55UKIj/TBGg208UHPRBKwYLfQAZ5t6poxwAxqjy 1M7toVr6rmj6Qtz0zCZIVQgntScYUIzs3PYe8DDGALekg3fijVlUB5FbonJk3On6YI00 bHAlg689Sgchqp7tWEdrNyLE2qLeWCWezKNpHnu5lZN6KusUNKrqqbrlOpvBv7Mxt7UP U8OFxwDxjfQtFRpPHuQjSJ71jEwG4GRokdlvXYWP1LshK4sC34NXshDEiR0wLGWYpAX/ w34MBZJ0T9u2IXuoOnVy4xdsndNQ8WGLmU0KXV+VQRzfOJYWj4Qsicn+vDMAVHn+j03L GXFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=aZ65IqURCbrJh1H5SuytbArtgpPFyuR+P9xbkBzeh10=; fh=5rCQDomVZxLXb7yR2oN4iSS3zxUnzGJP2HoQaRzhQu0=; b=rcMq7JifK49VJOLORb04K4Ab1WUrNQZKpSOFFdBfDz/4JAMxaRg3Kx1eLv0aFUbksE M+2qo1AsHs1uivr7LRVDvWGeZiyNsteYYyQ/r4OEjUcJVdwY81F/a5O33LyDCq+KyIdB Y2hTKyzkodcZpBzcLEaI4Y2fR2ZyV7RWzNT1PmWydYeIlTvplsURALyq9xwjcrhAwr9b 9rvdOO9lzgzmAke3QwIWaEe7hhnOL0v9HJRKREg2sNydw01yzLX+S0YEBIY3+sX9+gdh YArltW+gFmopB7WNDsdnN5PDaaJ2t1q2omJhD0RJ+xtIOj53GGvn6G700xnNxrfOfvt7 /ouQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="uJ/s3kbP"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id x7-20020a17090a970700b00273ebc6a4dcsi9261039pjo.121.2023.09.23.23.55.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Sep 2023 23:55:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="uJ/s3kbP"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id C3ED180FCBEF; Sat, 23 Sep 2023 10:40:10 -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 S232026AbjIWRkC (ORCPT + 99 others); Sat, 23 Sep 2023 13:40:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230054AbjIWRkB (ORCPT ); Sat, 23 Sep 2023 13:40:01 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF8BE136 for ; Sat, 23 Sep 2023 10:39:54 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-4053c6f0db8so28482995e9.3 for ; Sat, 23 Sep 2023 10:39:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695490793; x=1696095593; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=aZ65IqURCbrJh1H5SuytbArtgpPFyuR+P9xbkBzeh10=; b=uJ/s3kbPNo01qhx582fOCmPyyJY40yciGxqwHXtvES3s0UB8aKPZclTk5x1ff9INxt Gg9lNrXqM19uBpcA/BfFr8G8997yMaG5RMirkA08WvBLVCsYJsJfgEqmS+s6DEceNY1m CaifcrX4jmVnNUC97lNI9FWL4siwlJSjq303yaPHhE9ORTBtZwfbJAbCgHNQKzfVlr7K G+XF6T1ElrWGDgZad/zZVoVNkUsn/WMSIahNu3Y3EGIClWU7+rkx/VAbQ/52mLO/ZpQr aYFDhOaBbZllhQVDEa0VJ47lLObT0S1+8aVCkuuQbD3sr25R7/wKUQ0waKKuKEKNF4S4 nheg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695490793; x=1696095593; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=aZ65IqURCbrJh1H5SuytbArtgpPFyuR+P9xbkBzeh10=; b=Al0n9KU/bjfPLOZGcDbgMskwZLHJ1tu5Ffjf764h0TNigxm+JaiSe1qRKBaVHjPv7a LArq7BxP56AhXgxH2UYot9SzZwy8l3TDuraG//gQBKURoGO+67zNlfotM6cMTzTo8zng /akEFOQqEmH49uF3Cd+n3znpJaXNpP4ksWuuyRWLH7ZS75vLh6C+7Tfcco7RQQIeCxzQ YYDqpCUX2Aveq3+yVwhUgeLeOBwYBIA34C8JHPL1XJsInwINH+yqrHw2bMeQRT77ZHap sOPX5coyA7IOr806iYexOrCTJ+ROPxVBx27RoANDtmsQZDKJKc+Zj+qWMMx1X2DYPTiy AU9g== X-Gm-Message-State: AOJu0YzaobHPf0pOWQ992JIScohhFPS+wrCwN6bw7W6yDrGSbvbEDGh5 jdo8w/ksQyTDdRFrghPrRnfjCmhSfd3G+HWhkBA= X-Received: by 2002:adf:ef11:0:b0:321:4ab6:9b28 with SMTP id e17-20020adfef11000000b003214ab69b28mr2382788wro.16.1695490793135; Sat, 23 Sep 2023 10:39:53 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.100]) by smtp.gmail.com with ESMTPSA id h16-20020adffd50000000b0031ad5fb5a0fsm7449654wrs.58.2023.09.23.10.39.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 23 Sep 2023 10:39:52 -0700 (PDT) Message-ID: <5efae150-3d92-81b8-5c25-68846d27132e@linaro.org> Date: Sat, 23 Sep 2023 19:39:49 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH v6 08/30] dt-bindings: soc: fsl: cpm_qe: cpm1-scc-qmc: Add support for QMC HDLC Content-Language: en-US To: Herve Codina , "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 Cc: 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 References: <20230922075913.422435-1-herve.codina@bootlin.com> <20230922075913.422435-9-herve.codina@bootlin.com> From: Krzysztof Kozlowski In-Reply-To: <20230922075913.422435-9-herve.codina@bootlin.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=1.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email 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]); Sat, 23 Sep 2023 10:40:10 -0700 (PDT) X-Spam-Level: * On 22/09/2023 09:58, 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. > > 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. > > Signed-off-by: Herve Codina > --- > .../soc/fsl/cpm_qe/fsl,cpm1-scc-qmc.yaml | 24 +++++++++++++++++++ > 1 file changed, 24 insertions(+) > > diff --git a/Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,cpm1-scc-qmc.yaml b/Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,cpm1-scc-qmc.yaml > index 82d9beb48e00..61dfd5ef7407 100644 > --- a/Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,cpm1-scc-qmc.yaml > +++ b/Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,cpm1-scc-qmc.yaml > @@ -101,6 +101,27 @@ patternProperties: > Channel assigned Rx time-slots within the Rx time-slots routed by the > TSA to this cell. > > + compatible: > + const: fsl,qmc-hdlc Why this is not a device/SoC specific compatible? > + > + fsl,framer: > + $ref: /schemas/types.yaml#/definitions/phandle > + description: > + phandle to the framer node. The framer is in charge of an E1/T1 line > + interface connected to the TDM bus. It can be used to get the E1/T1 line > + status such as link up/down. > + > + allOf: > + - if: > + properties: > + compatible: > + not: > + contains: > + const: fsl,qmc-hdlc > + then: > + properties: > + fsl,framer: false > + > required: > - reg > - fsl,tx-ts-mask > @@ -159,5 +180,8 @@ examples: > fsl,operational-mode = "hdlc"; > fsl,tx-ts-mask = <0x00000000 0x0000ff00>; > fsl,rx-ts-mask = <0x00000000 0x0000ff00>; > + > + compatible = "fsl,qmc-hdlc"; compatible is always the first property. > + fsl,framer = <&framer>; > }; > }; Best regards, Krzysztof