From patchwork Mon Feb 4 09:10:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pankaj Bansal X-Patchwork-Id: 10795199 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 44A5613B5 for ; Mon, 4 Feb 2019 09:10:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 353B92ABF2 for ; Mon, 4 Feb 2019 09:10:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 330112AD0E; Mon, 4 Feb 2019 09:10:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C27682ABF2 for ; Mon, 4 Feb 2019 09:10:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-ID:In-Reply-To: References:Message-ID:Date:Subject:To:From:Reply-To:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=5nk6Wip1IKJAJp9X1Xqqquzxx+YJLgDx983HAxlQDVw=; b=jEchfvk8+QPcEA Mt/oy46OulEvJ6LPS2s082qKdhZ6AiiIOeNh6schy0fQCBKFELE54wDnyGOLW5ccN91etKdtkxkM3 fnCSFnbgniNRE9fbCE3EGKueYS9NUzKc5DSIWO7cMWjEdG8OLr0t0Y5rGTr39Lnrlx/kmknj6x2MF DFb5f+OdkMZ6DWPrdJxzddnHMhFY84G6BDRJeIX6ZLSZ0PY6vu/UPYvlX51AZ1NFHiwqpL1GA35f+ 2DhtGeu8L3k9as1AynLGs+xk+SvFGGgnANMl7BgXUl3A8iOB2Rsz1QxDgZY3EBS7J8sVIza0tvBof lzSCduoVHiQBnqFKzhng==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gqaGl-0005JC-7l; Mon, 04 Feb 2019 09:10:23 +0000 Received: from mail-eopbgr150050.outbound.protection.outlook.com ([40.107.15.50] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gqaGV-00040E-Oq for linux-arm-kernel@lists.infradead.org; Mon, 04 Feb 2019 09:10:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+xCn1TuqJK3ooi3+YgZ3ERaV+/AgrR/a1YnHqRGvXZs=; b=VzYAvzzvJvs4g7R6dMFD+eHpuypPwIwpOAwvNxTtycJls/c4pjQQBVX2eA4JrJo3kDqmLGmsB5pS0pLHhb0IDnApkj9o6C+OMubWPxFAuMWvgboGLT0Dgu4riR1q80oDmdQKmfwLMgAmyCV0FhaBcnNLMEBG7ReNrzx2wIV8DNM= Received: from VI1PR0401MB2496.eurprd04.prod.outlook.com (10.168.65.10) by VI1PR0401MB2640.eurprd04.prod.outlook.com (10.168.66.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1580.17; Mon, 4 Feb 2019 09:10:02 +0000 Received: from VI1PR0401MB2496.eurprd04.prod.outlook.com ([fe80::208f:755e:b057:2cfe]) by VI1PR0401MB2496.eurprd04.prod.outlook.com ([fe80::208f:755e:b057:2cfe%8]) with mapi id 15.20.1580.019; Mon, 4 Feb 2019 09:10:02 +0000 From: Pankaj Bansal To: Leo Li Subject: [PATCH v3 1/2] dt-bindings: soc: fsl: Document Qixis FPGA usage Thread-Topic: [PATCH v3 1/2] dt-bindings: soc: fsl: Document Qixis FPGA usage Thread-Index: AQHUvGlp8uj3aRTwvE2rsi77vi3Hgg== Date: Mon, 4 Feb 2019 09:10:02 +0000 Message-ID: <20190204143449.25040-2-pankaj.bansal@nxp.com> References: <20190204143449.25040-1-pankaj.bansal@nxp.com> In-Reply-To: <20190204143449.25040-1-pankaj.bansal@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BMXPR01CA0037.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:c::23) To VI1PR0401MB2496.eurprd04.prod.outlook.com (2603:10a6:800:56::10) authentication-results: spf=none (sender IP is ) smtp.mailfrom=pankaj.bansal@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [92.120.1.69] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR0401MB2640; 6:PxTxXbObeFy6uLRI2/mIF2m4jP1oKzmiY2O7h25six5uNCGuI6LfZ6z6HQmko3OloMh1cn9A4+AGp1ZHuyNOEqTQ7p8ai/KGLqBsW9KE6oYTKD2Z5K5XLAf83R8+UZFkx34RnA5r3dsZVubIh3eeIwhLG7OSrcIuCEN8rc/4HZ0EnrRQxdE4se3ttydtxkfP8k+isZ1QGm9M3qDSKshTCaGH6klqizFKW6T8SzjszKp/9wQRaKBA7yv3faXWQm5lmPvJRIyOJfH0PEPkuJBDEw+zemydcWfB2a8pr850fyyQ8rdTb9tbHikelWabARky4aCgEGk68Jn/dDkhe8dTcZS0AnmSYyfV4aTlmSDIWenoXWLqDbHZbp645N/YoK6gOgz/veCoIDAS3jhzpDgCKUjLW2dpJ9roNFOrTCgPswX6xbAzTTGbGXQb2QO4r4dLXn8Y3Pu3Qnb/EKM0ZBcJiA==; 5:InPSz1n5evyYfaZIVvd5F8ucMjBxkxzqd/zWa2zD/UcftljPh67dIC2vq/ONiUhRBSRqGgmIMJkyzdZEgWk3W4jJhY2LGRFCwix1+we9F7eNbhOoSyNEzLqs4OE2YcHnkKKrODUH0wdu87e354OiZ9u6P8EzhnDDODktLhQWZBEjLJVnK3r2vaLMun5Qdx3LggmP969V7oQDGlYvVf8+Ow==; 7:bCxK+ImMj72ySGrmdEhM58JFpRPC7l1dGOduzoxsV7qok0V5LGdnHE6ibp98K9gQ+mE40IZJ32n2Kni09U3P0H6SdYb8t0syXYX5M7zKIopxkArOkikPVbiCMvJgSji5Q+Q8Ba+nbtRFujzyPCjq6Q== x-ms-office365-filtering-correlation-id: 9249f6c5-8052-4a4e-a064-08d68a808b8a x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR0401MB2640; x-ms-traffictypediagnostic: VI1PR0401MB2640: x-microsoft-antispam-prvs: x-forefront-prvs: 0938781D02 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(136003)(396003)(366004)(39860400002)(346002)(189003)(199004)(66066001)(37006003)(316002)(6636002)(36756003)(99286004)(2906002)(54906003)(6512007)(53936002)(478600001)(14454004)(76176011)(256004)(52116002)(6486002)(6436002)(7736002)(6506007)(386003)(102836004)(186003)(26005)(68736007)(105586002)(97736004)(106356001)(305945005)(3846002)(6116002)(486006)(8936002)(44832011)(50226002)(11346002)(446003)(81166006)(81156014)(8676002)(476003)(2616005)(86362001)(6862004)(1076003)(25786009)(71200400001)(71190400001)(4326008); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0401MB2640; H:VI1PR0401MB2496.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: eFYoPeRKfZbjrm4ExEeemSB04C3bNvs0mbzif7aO7jdKIe3b/U9s+NffLNtrs0r+jFY6NS6LHQOarn6udNgPGSg0eBWVe3Bi0LmVxej+EN2sEWL5zm7IHfwXY8pMbXLZY7QkbGRNlQ/5fu8OagScb5iAukqAbuYaNc3xdfdx3nstrehfPm1dlpawNuaClMB9WDMhJ1nHxZ3OKvrfn5COD9kXOUl9WGagL5pgItLRlyKJNx2JDMYpbL2uyIV3KzyughDe3xBIlmlDUvMuxpp+IpUbfpjm493NGT+8IKkWlpxKysE28zdZmufdguAgVXhowy5f12e97Dm4Mai8cE6KulOTuvPuENBAkQ7aG6hJXKJRzCcXHksIrudAPFTvJUTquzbJDt2oTd6i3qcA21B6fwt4Kci/TFbiMwk5NfI7Vsc= Content-ID: MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9249f6c5-8052-4a4e-a064-08d68a808b8a X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Feb 2019 09:10:01.1600 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2640 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190204_011007_813708_AA31B144 X-CRM114-Status: GOOD ( 13.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Pankaj Bansal , "linuxppc-dev@lists.ozlabs.org" , "linux-arm-kernel@lists.infradead.org" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP an FPGA-based system controller, called “Qixis”, which manages several critical system features, including: • Reset sequencing • Power supply configuration • Board configuration • hardware configuration The qixis registers are accessible over one or more system-specific interfaces, typically I2C, JTAG or an embedded processor. Signed-off-by: Pankaj Bansal --- Notes: V3: - Added boardname based compatible field in bindings - Added bindings for MMIO based FPGA V2: - No change .../bindings/soc/fsl/qixis_ctrl.txt | 53 ++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/fsl/qixis_ctrl.txt b/Documentation/devicetree/bindings/soc/fsl/qixis_ctrl.txt new file mode 100644 index 000000000000..5d510df14be8 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/fsl/qixis_ctrl.txt @@ -0,0 +1,53 @@ +* QIXIS FPGA block + +an FPGA-based system controller, called “Qixis”, which +manages several critical system features, including: +• Configuration switch monitoring +• Power on/off sequencing +• Reset sequencing +• Power supply configuration +• Board configuration +• hardware configuration +• Background power data collection (DCM) +• Fault monitoring +• RCW bypass SRAM (replace flash RCW with internal RCW) (NOR only) +• Dedicated functional validation blocks (POSt/IRS, triggered event, and so on) +• I2C master for remote board control even with no DUT available + +The qixis registers are accessible over one or more system-specific interfaces, +typically I2C, JTAG or an embedded processor. + +FPGA connected to I2C: +Required properties: + + - compatible: should be a board-specific string followed by a string + indicating the type of FPGA. Example: + "fsl,-fpga", "fsl,fpga-qixis-i2c" + - reg : i2c address of the qixis device. + +Example (LX2160A-QDS): + /* The FPGA node */ + fpga@66 { + compatible = "fsl,lx2160aqds-fpga", "fsl,fpga-qixis-i2c"; + reg = <0x66>; + #address-cells = <1>; + #size-cells = <0>; + } + +* Freescale on-board FPGA + +This is the memory-mapped registers for on board FPGA. + +Required properties: +- compatible: should be a board-specific string followed by a string + indicating the type of FPGA. Example: + "fsl,-fpga", "fsl,fpga-qixis" +- reg: should contain the address and the length of the FPGA register set. + +Example (LS2080A-RDB): + + cpld@3,0 { + compatible = "fsl,ls2080ardb-fpga", "fsl,fpga-qixis"; + reg = <0x3 0 0x10000>; + }; +