From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Google-Smtp-Source: AB8JxZoIG+zVMkJqxfIUxvX82R9/OMlPPRYD2/VBnbpjiCdpgyH3VDbPGvnKeBmbJNTTjJ/cEqRz ARC-Seal: i=1; a=rsa-sha256; t=1525967070; cv=none; d=google.com; s=arc-20160816; b=QYlGAULv1Qg7KY3TXBg2oHMTnHSKkqBNtbKGpJUj4jzhYHuqa2IRlUpzlAE+zOflvW qmbrA3qftcdEtYoh2xkt4d8quL2cv63x32dPZbQ02ZyLhflMOHnzZa/lh7m4MnOMbaKu VPm55yxWplPoTSyDai2E1PoGmt2uJ20ucxdSPHK9OIKoOHHHKSJ6lvB3eFH/crCqmkC/ 58argNjVYi4wyHOsBcAqzJXIykqkzpuAfP7mCmsIdfwBwjL5nNnFPjaU4OEB1GkDi+16 6Od+ZCJ4sae3qpCwmQrEG0JOcHBDZa90gv/CUfaY9QMu1igcq4vspDiSOlSFxgSRGf1E NIAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=CzYBVnvbEactmU7wBlT1aS9ML10BQdQhsO822/XePI8=; b=cgsS91+fzCyvNga4bcdJS+fNRj5NMuIfK3GCk6kUQwNhTbqYLOVMkcVStf10YJv0on WzIavNeqJlxqDiF1o5B9PaF3K8V4ZWhdy8qOFtOVWGfvz+ILvokz6BSbR/3PSRcMm019 kMzr6MxnYlUCSWH9u2Vy+4O8wpc/6kYsgF2ctjEuhhhqkoG6hFw56kBuJ89qbubIETNG NIw1jy6B4d1kn1Su4lktpJcD0kzoR6hbk3pWfSZAec9zePsiPNUi/bRC1X8BWYypYOS8 8aDF0KY3XqM8UqzUfjLxq9t3G82SZnj3ghfyQahYENyVi1GyHfJX7Ut3jCTog7bWBhNv /dTw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of oleksandrs@mellanox.com designates 193.47.165.129 as permitted sender) smtp.mailfrom=oleksandrs@mellanox.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Authentication-Results: mx.google.com; spf=pass (google.com: domain of oleksandrs@mellanox.com designates 193.47.165.129 as permitted sender) smtp.mailfrom=oleksandrs@mellanox.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mellanox.com From: Oleksandr Shamray To: gregkh@linuxfoundation.org, arnd@arndb.de Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, openbmc@lists.ozlabs.org, joel@jms.id.au, jiri@resnulli.us, tklauser@distanz.ch, linux-serial@vger.kernel.org, vadimp@mellanox.com, system-sw-low-level@mellanox.com, robh+dt@kernel.org, openocd-devel-owner@lists.sourceforge.net, linux-api@vger.kernel.org, davem@davemloft.net, mchehab@kernel.org, Oleksandr Shamray , Jiri Pirko Subject: [patch v19 3/4] Documentation: jtag: Add bindings for Aspeed SoC 24xx and 25xx families JTAG master driver Date: Thu, 10 May 2018 18:44:23 +0300 Message-Id: <1525967064-10760-4-git-send-email-oleksandrs@mellanox.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1525967064-10760-1-git-send-email-oleksandrs@mellanox.com> References: <1525967064-10760-1-git-send-email-oleksandrs@mellanox.com> X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: =?utf-8?q?1600092447338295361?= X-GMAIL-MSGID: =?utf-8?q?1600092447338295361?= X-Mailing-List: linux-kernel@vger.kernel.org List-ID: It has been tested on Mellanox system with BMC equipped with Aspeed 2520 SoC for programming CPLD devices. Signed-off-by: Oleksandr Shamray Signed-off-by: Jiri Pirko Acked-by: Rob Herring --- v17->v19 v17->v18 v16->v17 v15->v16 Comments pointed by Joel Stanley - change clocks = <&clk_apb> to proper clocks = <&syscon ASPEED_CLK_APB> - add reset descriptions in bndings file v14->v15 v13->v14 v12->v13 v11->v12 v10->v11 v9->v10 v8->v9 v7->v8 Comments pointed by pointed by Joel Stanley - Change compatible string to ast2400 and ast2000 V6->v7 Comments pointed by Tobias Klauser - Fix spell "Doccumentation" -> "Documentation" v5->v6 Comments pointed by Tobias Klauser - Small nit: s/documentation/Documentation/ v4->v5 V3->v4 Comments pointed by Rob Herring - delete unnecessary "status" and "reg-shift" descriptions in bndings file v2->v3 Comments pointed by Rob Herring - split Aspeed jtag driver and binding to sepatrate patches - delete unnecessary "status" and "reg-shift" descriptions in bndings file --- .../devicetree/bindings/jtag/aspeed-jtag.txt | 22 ++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/jtag/aspeed-jtag.txt diff --git a/Documentation/devicetree/bindings/jtag/aspeed-jtag.txt b/Documentation/devicetree/bindings/jtag/aspeed-jtag.txt new file mode 100644 index 0000000..7c36eb6 --- /dev/null +++ b/Documentation/devicetree/bindings/jtag/aspeed-jtag.txt @@ -0,0 +1,22 @@ +Aspeed JTAG driver for ast2400 and ast2500 SoC + +Required properties: +- compatible: Should be one of + - "aspeed,ast2400-jtag" + - "aspeed,ast2500-jtag" +- reg contains the offset and length of the JTAG memory + region +- clocks root clock of bus, should reference the APB + clock in the second cell +- resets phandle to reset controller with the reset number in + the second cell +- interrupts should contain JTAG controller interrupt + +Example: +jtag: jtag@1e6e4000 { + compatible = "aspeed,ast2500-jtag"; + reg = <0x1e6e4000 0x1c>; + clocks = <&syscon ASPEED_CLK_APB>; + resets = <&syscon ASPEED_RESET_JTAG_MASTER>; + interrupts = <43>; +}; -- 1.7.1