From patchwork Mon Nov 9 17:04:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 320934 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1896434ilc; Mon, 9 Nov 2020 09:04:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJxEc6SbxtJKeKaxPg0TJPNihwFNny3UIBv3iwpEM7lkgbE9nnDMnJ09p6eNS3vZHJ/YAvuR X-Received: by 2002:aa7:de01:: with SMTP id h1mr16293042edv.269.1604941467293; Mon, 09 Nov 2020 09:04:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604941467; cv=none; d=google.com; s=arc-20160816; b=KnvnQe7eI3A61ABf15ay2kAFbWca7jBJJCEqetgLkNBMTFlVKpgMfPWsKO3vOtxA1c qsBYm+6r+twEqfQ94vjFzwHEaaWM0TEUVBOIhV4pVqwyTRKyQpgTsmpywfAJ8wdlCUcs Z8vuFSoUWfsTR2mA2Wb+F3bqAT8vg3B6Nz6ZHtxqXakNWnTPKFQSnpXYaLxFnbNWP+IK F4yKqPFoTHLXywi62HHOb7b6VvHa6KP+VC3envILIHD+dK6BUNbrgerBJCMXXDJVeF2h jkyf9IBUjx1js7qebkUvRVmoJkYESN0ZSNFLevXzo9+tcYiIJBQ5G2Wy1M9N6aHg9Ix+ V27A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=rez2nNITrchwUV9a5zJYzK2/jqQ1anb/jEJKp6emraU=; b=jlN6d4tGxAK4hw6RNbUoOjapOCNTJviwB9dtBVtyi1bHhJFx3z/zxDJMe0kY9OgE3N XgsFGUV/YvYbUo5XYyUlaEv8q61jBc/ODMS3GiN8yQUySVzYL1XwRVHv4Sq4Kc9OgtIt TrZNzelTEiJexkBe+9l7Y282Jl4Yfa29hf6FwFtPCVypGnXqbJ97cmQpREDgwY5UeZ2R +/2TOEpt7uw0L5W1qyn9pcMcBW21G2qQa31Y/3plwHxaJ9hEtYgku3Flfv63eJWAOawC mL0Ie5p9UjkfoK+TsBl1rqcr9MBhaFeRVfYRjqOsHdWmwyiWKbT+Rv0vpQY+96DDqz6R JguQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=wAvAQE03; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id pg11si7258347ejb.92.2020.11.09.09.04.27; Mon, 09 Nov 2020 09:04:27 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-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 header.i=@ti.com header.s=ti-com-17Q1 header.b=wAvAQE03; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 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 S1730914AbgKIREZ (ORCPT + 6 others); Mon, 9 Nov 2020 12:04:25 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:45148 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726410AbgKIREY (ORCPT ); Mon, 9 Nov 2020 12:04:24 -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 0A9H4JB4001539; Mon, 9 Nov 2020 11:04:19 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1604941459; bh=rez2nNITrchwUV9a5zJYzK2/jqQ1anb/jEJKp6emraU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=wAvAQE03fagBZdOGkqc3piNGnac0dMPgukPrSG7LG6ifYns6SuhgrXy6WbXVzGBJH b4W0NPesHDeCAQNy+Th+XZNf2KRzJV768XDn/AnbLPx28mG2vktl5p2zBLfwCiSM90 wJO/mYdWPHP6xYe4ayFWoUbOyoAssQPjtV4Wz7BM= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 0A9H4J5f096259 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 9 Nov 2020 11:04:19 -0600 Received: from DLEE106.ent.ti.com (157.170.170.36) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Mon, 9 Nov 2020 11:04:18 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Mon, 9 Nov 2020 11:04:18 -0600 Received: from a0393678-ssd.dal.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 0A9H4AwU036684; Mon, 9 Nov 2020 11:04:15 -0600 From: Kishon Vijay Abraham I To: Tero Kristo , Nishanth Menon , Rob Herring , Roger Quadros , Lee Jones CC: Kishon Vijay Abraham I , , , Bjorn Helgaas , , Subject: [PATCH v2 1/7] dt-bindings: mfd: ti, j721e-system-controller.yaml: Document "syscon" Date: Mon, 9 Nov 2020 22:34:03 +0530 Message-ID: <20201109170409.4498-2-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201109170409.4498-1-kishon@ti.com> References: <20201109170409.4498-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add binding documentation for "syscon" which should be a subnode of the system controller (scm-conf). Signed-off-by: Kishon Vijay Abraham I --- .../mfd/ti,j721e-system-controller.yaml | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) -- 2.17.1 diff --git a/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml b/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml index 19fcf59fd2fe..0b115b707ab2 100644 --- a/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml +++ b/Documentation/devicetree/bindings/mfd/ti,j721e-system-controller.yaml @@ -50,6 +50,38 @@ patternProperties: specified in Documentation/devicetree/bindings/mux/reg-mux.txt + "^syscon@[0-9a-f]+$": + type: object + description: | + This is the system controller configuration required to configure PCIe + mode, lane width and speed. + + properties: + compatible: + items: + - enum: + - ti,j721e-system-controller + - const: syscon + - const: simple-mfd + + reg: + maxItems: 1 + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + + ranges: true + + required: + - compatible + - reg + - "#address-cells" + - "#size-cells" + - ranges + required: - compatible - reg @@ -72,5 +104,13 @@ examples: compatible = "mmio-mux"; reg = <0x00004080 0x50>; }; + + pcie1_ctrl: syscon@4074 { + compatible = "ti,j721e-system-controller", "syscon", "simple-mfd"; + reg = <0x00004074 0x4>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x4074 0x4074 0x4>; + }; }; ...