Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1026352pxb; Tue, 14 Sep 2021 14:28:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxRgqMEO0GtfClViR7gnIiBRDFW3tm2KJv27KdDA44Ot5KwiV4yG7Kdp2DNyAJnESrqajMw X-Received: by 2002:a05:6512:3886:: with SMTP id n6mr15065509lft.279.1631654888810; Tue, 14 Sep 2021 14:28:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631654888; cv=none; d=google.com; s=arc-20160816; b=vRrFZS5BKNULPcQ2RP9U7CgzOisl/ek2Mkb84CGw9o2Vjjzinh0yQieuWLr3Ai/rM/ 6/vj/trqOcpOcLCYlk53Ar/zIvUcjJ76hWperImAqS9oGXmJw1pCJMJXayD4q81Pxy2i /UveGv99uK3Pt0LhQsGe3cuWU9LWl3kwy0hVoVYOa4hxCjr+mOBaXA47gPNFDiiQI1e8 l0ldlHFVDBx9ESjxJ4YYzmgdZDVLET/NSB7cVfixJufhhy2GLV6y7PPGSduv4Z39semk Li5s0c9uTNoUNVQYeHght5MC9Z7u5XUj7d9bZeH4X9+retfyGvPo9teJF18rQPoL+qyl w7tw== 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 :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=NI1s3fyUzKFnJoED0B09JtxVWEJcupkI0XVp/SgGAfw=; b=TCpOfgELI38GKSlmHFbd5IDuD73V2yvvtQxFViEotAc3hHpzbRZDiySP/povnUOEYT SZYImLxdSC7Wc/LGqJprsxD8iLmog26wg7mkojSlqcn88SG7XtHa18p83FlB+UM2zbIY v8SAei4Tvqb9CDZgehnE5E7+HjZ7cpsj7Z/G58ICXjvez6xlyADZ725nP/3bZrVBa6wp Tfc8/Onosu6wME0Xf8Q8JN9X57dAVnAwBjfpkUb6e42zewl6pgXfntSpwIXjvwTUk6L8 v3e0VRIdlFz079zfxJqjIsvKjLSjA4c6PBx6wBDAcNkGnCNWCTbrYSPHi4ySFNXZepUo XlXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@wp.pl header.s=1024a header.b=cCrJANci; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wp.pl Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v13si7158087lfq.615.2021.09.14.14.27.41; Tue, 14 Sep 2021 14:28:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@wp.pl header.s=1024a header.b=cCrJANci; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=wp.pl Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235405AbhINVW6 (ORCPT + 99 others); Tue, 14 Sep 2021 17:22:58 -0400 Received: from mx3.wp.pl ([212.77.101.9]:28705 "EHLO mx3.wp.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235074AbhINVWq (ORCPT ); Tue, 14 Sep 2021 17:22:46 -0400 Received: (wp-smtpd smtp.wp.pl 15615 invoked from network); 14 Sep 2021 23:21:24 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=1024a; t=1631654484; bh=NI1s3fyUzKFnJoED0B09JtxVWEJcupkI0XVp/SgGAfw=; h=From:To:Subject; b=cCrJANci5DZlDbkrA82osLhdrQPRxOHO8phkpAMptkt23yfUK3Oh3zYMFw5mUD2fF k3FJgLXCJ9/oDxckIVkzuMLpfIXRp9LnUEL3cE814flVUFyiNSlS21GCqw1ZxBREog dQSIg6x8/vafCqTmRZXILt5JUUqeRW7pqOsV25Vs= Received: from 46.204.52.243.nat.umts.dynamic.t-mobile.pl (HELO LAPTOP-OLEK.Free) (olek2@wp.pl@[46.204.52.243]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP for ; 14 Sep 2021 23:21:24 +0200 From: Aleksander Jan Bajkowski To: john@phrozen.org, tsbogend@alpha.franken.de, olek2@wp.pl, maz@kernel.org, ralf@linux-mips.org, ralph.hempel@lantiq.com, davem@davemloft.net, kuba@kernel.org, robh+dt@kernel.org, hauke@hauke-m.de, dev@kresin.me, arnd@arndb.de, jgg@ziepe.ca, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next 8/8] dt-bindings: net: lantiq: Add the burst length properties Date: Tue, 14 Sep 2021 23:21:05 +0200 Message-Id: <20210914212105.76186-8-olek2@wp.pl> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210914212105.76186-1-olek2@wp.pl> References: <20210914212105.76186-1-olek2@wp.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-WP-MailID: 3f16cb31ff38d9575689798d722fbd40 X-WP-AV: skaner antywirusowy Poczty Wirtualnej Polski X-WP-SPAM: NO 0000000 [4ZN0] Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The new added properties are used for configuring burst length. Signed-off-by: Aleksander Jan Bajkowski --- .../bindings/net/lantiq,etop-xway.yaml | 16 ++++++++++++++++ .../bindings/net/lantiq,xrx200-net.yaml | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/Documentation/devicetree/bindings/net/lantiq,etop-xway.yaml b/Documentation/devicetree/bindings/net/lantiq,etop-xway.yaml index 4412abfb4987..437502c5ca96 100644 --- a/Documentation/devicetree/bindings/net/lantiq,etop-xway.yaml +++ b/Documentation/devicetree/bindings/net/lantiq,etop-xway.yaml @@ -29,6 +29,18 @@ properties: - const: tx - const: rx + lantiq,tx-burst-length: + $ref: /schemas/types.yaml#/definitions/uint32 + description: | + TX programmable burst length. + enum: [2, 4, 8] + + lantiq,rx-burst-length: + $ref: /schemas/types.yaml#/definitions/uint32 + description: | + RX programmable burst length. + enum: [2, 4, 8] + phy-mode: true required: @@ -37,6 +49,8 @@ required: - interrupt-parent - interrupts - interrupt-names + - lantiq,tx-burst-length + - lantiq,rx-burst-length - phy-mode additionalProperties: false @@ -49,5 +63,7 @@ examples: interrupt-parent = <&icu0>; interrupts = <73>, <78>; interrupt-names = "tx", "rx"; + lantiq,tx-burst-length = <8>; + lantiq,rx-burst-length = <8>; phy-mode = "rmii"; }; diff --git a/Documentation/devicetree/bindings/net/lantiq,xrx200-net.yaml b/Documentation/devicetree/bindings/net/lantiq,xrx200-net.yaml index 7bc074a42369..16d831f22063 100644 --- a/Documentation/devicetree/bindings/net/lantiq,xrx200-net.yaml +++ b/Documentation/devicetree/bindings/net/lantiq,xrx200-net.yaml @@ -29,6 +29,18 @@ properties: - const: tx - const: rx + lantiq,tx-burst-length: + $ref: /schemas/types.yaml#/definitions/uint32 + description: | + TX programmable burst length. + enum: [2, 4, 8] + + lantiq,rx-burst-length: + $ref: /schemas/types.yaml#/definitions/uint32 + description: | + RX programmable burst length. + enum: [2, 4, 8] + '#address-cells': const: 1 @@ -41,6 +53,8 @@ required: - interrupt-parent - interrupts - interrupt-names + - lantiq,tx-burst-length + - lantiq,rx-burst-length - "#address-cells" - "#size-cells" @@ -56,4 +70,6 @@ examples: interrupt-parent = <&icu0>; interrupts = <73>, <72>; interrupt-names = "tx", "rx"; + lantiq,tx-burst-length = <8>; + lantiq,rx-burst-length = <8>; }; -- 2.30.2