Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3291889imm; Tue, 29 May 2018 04:50:11 -0700 (PDT) X-Google-Smtp-Source: AB8JxZptGCCVrR3DX0q2WJ3eHMgHIXYEnACizaOqK1qw11eG76BBiVIgX9pj4YkPrSOU+8Thbw1T X-Received: by 2002:a17:902:7686:: with SMTP id m6-v6mr17395809pll.340.1527594611606; Tue, 29 May 2018 04:50:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527594611; cv=none; d=google.com; s=arc-20160816; b=WrOhQejlWE2bu2p/xnt56UrnxrebHFCAPEYypzMiiBAH7oMUcLc50S1g03MPo41b4w SXz/EVIyocod3Ol4n8s3V/4GI5KYGc3KGtdl7xDnxb8ktX8AJxBSdHKW3+KXwPrexh7p J2pzBwPYkEtpNIZdGbb02FIvx99InzivCNzi+OjI+StPkScp4+JG5PnsZYyG86xAp9co qFRkOkdxV8H+IsiNq3HVWBwCAYdNWr0myfi+r+dOPb+z5HS36vihYOX8JsXYbH3GmkBH 6IkLd3xiCiFrgsEV4E/+VBipTRwyqL0LBKB9nLoRw6WIxArRFteoc1CUJ6lEy+uFi0/l GdxQ== 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=7lYlLoa1HDgkAzOPGbH7Gc/246IxXGeUv1nKE5TRT1c=; b=JMj3OhIjfv0FhNzoVFizbJkiiNT01eMasteKMb57cYBzDKKz6WZDT8GViykg5Dt4a8 dxDYY01+Y8TJyv8Q3/BnEcMWTI5suQZmz0imif47ah5CPCVDy8GiQP8aiGH92HU5aNKN qjocdD4SHN8S1VpDrOzf1HUYoihzrgKZCcDKJQeQ1ZONfM+/3B/gnh4WRT+xOcxGtGvy efJs4+ww0yV5//7GHj6sD1HOmbr5ZU5DFfjzNW2VRM6xFCY74BakXDo54BI7UZh7XFOQ pn1B+6jBU0Z2/1mLh6H7lhaVQlmWlhJwyUIuTwUCuPkoa/r5rwzkUaZCycH+e+JQseB2 mrFw== 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 m63-v6si30936779pld.429.2018.05.29.04.49.57; Tue, 29 May 2018 04:50:11 -0700 (PDT) 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 S933525AbeE2LtV (ORCPT + 99 others); Tue, 29 May 2018 07:49:21 -0400 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:50110 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933451AbeE2LtN (ORCPT ); Tue, 29 May 2018 07:49:13 -0400 Received: from Internal Mail-Server by MTLPINE1 (envelope-from oleksandrs@mellanox.com) with ESMTPS (AES256-SHA encrypted); 29 May 2018 14:51:12 +0300 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 w4TBn5wF002578; Tue, 29 May 2018 14:49:06 +0300 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 Subject: [patch v23 3/4] Documentation: jtag: Add bindings for Aspeed SoC 24xx and 25xx families JTAG master driver Date: Tue, 29 May 2018 14:49:04 +0300 Message-Id: <1527594545-19870-4-git-send-email-oleksandrs@mellanox.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1527594545-19870-1-git-send-email-oleksandrs@mellanox.com> References: <1527594545-19870-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 --- v21->v22 v20->v21 v19->v20 v18->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 ++++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 23 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>; +}; diff --git a/MAINTAINERS b/MAINTAINERS index e7b8b2c..a5e5f75 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7617,6 +7617,7 @@ S: Maintained F: include/linux/jtag.h F: include/uapi/linux/jtag.h F: drivers/jtag/ +F: Documentation/devicetree/bindings/jtag/ K10TEMP HARDWARE MONITORING DRIVER M: Clemens Ladisch -- 1.7.1