From patchwork Mon Dec 9 16:22:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jyri Sarha X-Patchwork-Id: 181061 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp4567047ile; Mon, 9 Dec 2019 08:22:26 -0800 (PST) X-Google-Smtp-Source: APXvYqzsGaq32b3/WAkFj1r+RNn3l+7bmsltYQHaTozslkWeuZkgCanrcHB+fO9bQbxuNffGYvDo X-Received: by 2002:a9d:470a:: with SMTP id a10mr22542434otf.370.1575908546311; Mon, 09 Dec 2019 08:22:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575908546; cv=none; d=google.com; s=arc-20160816; b=dWybgAMkgDix31ehunbl/B59SOcJKckvmoUSD+stsASGbs2FaWagX5x7arV4f93upc QSXHA/sj16ESD6YnYgdH/rchEsRMNFvLdCaH5bhHkj21W+AUeGkntpu/aUCGzhpuKu6p xFJMhPQK1EHow9VNq1r7axirH4TYLeB/MekqnZpUD/FPTy+OjZ7vlrD5k7I8FZEH9Did 23ztj0FdqR3FojJeUs63nCweIwwxC6hnEWcjFxJYNQjGcM2sUIDDE6+eAycDVxfuud8e IdoHDybJrD+avy1q0HSXUTZidiTMFysI9xumpniVnkO6Qar/T4gGs/4N22aQ+YWtCedP wG6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=11P/kNtBZr7To0mT7AsXhF9sB871Rf94OEck46/XMgI=; b=gqdMvPODG/aIsnUJxc57ylfdhW0JMs462zHue2ebPxQAh/YI8t3JcXnpqtjeP2+RZx l4R6KimUbnVHyRslIipYNNjbJ1FkeI7cgdHPJF38LLNe/04wb1Gbz5DFFfLqLQTpk5Jw +smrPVHbBJLFCusbP7PIuRIxZoD/oBewkFctYH0E+RNtePTVFgloHTs3FADkRWNlbXT7 Z9frhH2TDQsNtWPFMqG25BtDYWQVKEjncg0TVVbIFbn9jx8aFSWkDC+q0z27UJJVrMB7 ZkcZz2RNDdRd7frLgf9Fc4EIvg2+/GUqI2v/DTxkLi6+ikeuC3tZi+ULhZrHyUt80Njo ZxUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=dbzFKeQE; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j20si55204otp.147.2019.12.09.08.22.26; Mon, 09 Dec 2019 08:22:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=dbzFKeQE; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726843AbfLIQWX (ORCPT + 8 others); Mon, 9 Dec 2019 11:22:23 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:48286 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726265AbfLIQWV (ORCPT ); Mon, 9 Dec 2019 11:22:21 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id xB9GMI7Z104372; Mon, 9 Dec 2019 10:22:18 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1575908538; bh=11P/kNtBZr7To0mT7AsXhF9sB871Rf94OEck46/XMgI=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=dbzFKeQEGsD5elBkX4hgBjCcgUo8rksyXW9Z82/Lri6FFb7XVyWg90B7i3sbPe0VC AyOsptONJDCvWAIhaIYpEjhVJ1fxiEL/EXJYfzZE4ip0bcj2q2anZ99d6FcpR/rDzx kjPXOw/WLkhgGkZ3Grddwjkt3R0FadHMkrrwjgk8= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xB9GMINa093851 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 9 Dec 2019 10:22:18 -0600 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Mon, 9 Dec 2019 10:22:14 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Mon, 9 Dec 2019 10:22:14 -0600 Received: from jadmar.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id xB9GMBdO002331; Mon, 9 Dec 2019 10:22:12 -0600 From: Jyri Sarha To: , , , CC: , , , , , Subject: [PATCH 2/3] dt-bindings: phy: Add lane-mode property to WIZ (SERDES wrapper) Date: Mon, 9 Dec 2019 18:22:11 +0200 Message-ID: X-Mailer: git-send-email 2.17.1 In-Reply-To: References: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add property to indicate the usage of SERDES lane controlled by the WIZ wrapper. The wrapper configuration has some variation depending on how each lane is going to be used. Signed-off-by: Jyri Sarha --- .../devicetree/bindings/phy/ti,phy-j721e-wiz.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki diff --git a/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml b/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml index 94e3b4b5ed8e..399725f65278 100644 --- a/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml +++ b/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml @@ -97,6 +97,18 @@ patternProperties: Torrent SERDES should follow the bindings specified in Documentation/devicetree/bindings/phy/phy-cadence-dp.txt + "^lane[1-4]-mode$": + allOf: + - $ref: /schemas/types.yaml#/definitions/uint32 + - enum: [0, 1, 2, 3, 4, 5, 6] + description: | + Integer describing static lane usage for the lane indicated in + the property name. For Sierra there may be properties lane0 and + lane1, for Torrent all lane[1-4]-mode properties may be + there. The constants to indicate the lane usage are defined in + "include/dt-bindings/phy/phy.h". The lane is assumed to be unused + if its lane-use property does not exist. + required: - compatible - power-domains