Received: by 10.223.176.5 with SMTP id f5csp2941298wra; Mon, 29 Jan 2018 06:33:37 -0800 (PST) X-Google-Smtp-Source: AH8x225/yOwGcHK5mt0UbExgyU1plArEZwvSuzYUJSflgsrhjupnAozrWCnKovdTo5cylQLVKvCG X-Received: by 2002:a17:902:a9cb:: with SMTP id b11-v6mr2028962plr.315.1517236417406; Mon, 29 Jan 2018 06:33:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517236417; cv=none; d=google.com; s=arc-20160816; b=oiQ1gQCT2xPmpEUnJgHfoGGcpzSNhMy8VGw0ZFEVF6HccE2Qn5Il3W5yM8GRxgBmZA 36uBGbnJXqgwTpFlr1FN8hRplF7nI4aUhRFFk+br2tV3WStYvwHHC8N70jeFUFpJy/fP 1mbrCVXewn4e/qYn4AEoCIXieyBBwAhO24ad/h4b5YBfSC+bhYI6xBC1HciYLArBgVVE JgV3qbGrf5PoiUa4vfCaF+erdKSNrhdoS4pLZJZXAwDP0uU8Zk7xZC0qC8RAkkxuDsC+ Hx6h4LBk+iHzhyBqLvh3gjxB5ALu/5w/YjRv5YWo6n0xCqyG7ZrMXbHUXyZ8fRIFkHWF FJXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=pIGrqBn3wggs/v32kdjLOw+lazasZInIQ9YdSQ1tWDA=; b=CB+jyagDlCBDvQ8fiD4KY/HjJWeIPxpgaf+/9I2fY78r0vqur2y8CSWGNbWGLkZ76S dJtB3lj6kya8k/4Jb7XHMiRwkoUh3fHtQmSDTtWxIfQE19rFxZirXaip/tjD6GkXvcWw hqwYsSrPVe+HA/nSdyUt2C4tNF2yoaVO5nfL9nv0R21oWphryclAvKPweyroNmfMKj0D ii5t+fBt8Q9vAtFJ+WNJabe+kEJtIagtnvemy0BmIKVgUdfBu20nE3K4lViWAWOmJl1S CC2SaWQzmlaEGB0h2zHUceJYcCrqq6ZuV1uyQab1T7u4+VChwuFkQII9AEKMmDyneCLM rdYA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p25si1118909pgn.288.2018.01.29.06.33.23; Mon, 29 Jan 2018 06:33:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752105AbeA2Ocb (ORCPT + 99 others); Mon, 29 Jan 2018 09:32:31 -0500 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:38446 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751998AbeA2Obv (ORCPT ); Mon, 29 Jan 2018 09:31:51 -0500 Received: from Internal Mail-Server by MTLPINE1 (envelope-from oleksandrs@mellanox.com) with ESMTPS (AES256-SHA encrypted); 29 Jan 2018 16:31:47 +0200 Received: from r-vnc16.mtr.labs.mlnx (r-vnc16.mtr.labs.mlnx [10.208.0.16]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id w0TEVk3x006123; Mon, 29 Jan 2018 16:31:46 +0200 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 v18 3/4] Documentation: jtag: Add bindings for Aspeed SoC 24xx and 25xx families JTAG master driver Date: Mon, 29 Jan 2018 16:31:44 +0200 Message-Id: <1517236305-4880-4-git-send-email-oleksandrs@mellanox.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1517236305-4880-1-git-send-email-oleksandrs@mellanox.com> References: <1517236305-4880-1-git-send-email-oleksandrs@mellanox.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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->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