From patchwork Fri Feb 17 19:13:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Leach X-Patchwork-Id: 94169 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp311517qgi; Fri, 17 Feb 2017 11:13:19 -0800 (PST) X-Received: by 10.98.0.143 with SMTP id 137mr11031463pfa.173.1487358799606; Fri, 17 Feb 2017 11:13:19 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g8si11069445pli.126.2017.02.17.11.13.19; Fri, 17 Feb 2017 11:13:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753335AbdBQTNS (ORCPT + 7 others); Fri, 17 Feb 2017 14:13:18 -0500 Received: from mail-wm0-f47.google.com ([74.125.82.47]:37715 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752588AbdBQTNS (ORCPT ); Fri, 17 Feb 2017 14:13:18 -0500 Received: by mail-wm0-f47.google.com with SMTP id v77so16943130wmv.0 for ; Fri, 17 Feb 2017 11:13:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=KKQ2dfiYOYqoQedIHSzrAPJMQIst5/BWPooW932mq7E=; b=A8MYooqZOsfEpYNn8r1ihVH+D8Ssl6erFuhjG0Fu7zH5rwhxsnGGsR+KrsB9geIykP wgINmkpw2lRdVdMNhURZylQXRPTYM82FCP+bfDu6ZYiI2gOGEs8bKZUcp+SYfgQgx1wu NWPP9BKisa9v0Rdm5ChRf/LT4fNgQeFkyJHjo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=KKQ2dfiYOYqoQedIHSzrAPJMQIst5/BWPooW932mq7E=; b=NXpnREZnRs968466NALeXyL13rP/9HrFMhznNhZEJLjbQ7ckTdc3PJFJ7MBcYJuVns xZ/zVZorcFvaA93xUq0Iqbd/1pDVXVwSDZy/3we3ZDUguBeI697TGgV5/v24sDZx8l7S RBRw5hnsnbLBy7j/X4r5M3T77gJSkHQ/610JFZPqKtWRm8Ai5fB78KHHTsJriafXOUwf S4uPD76zsEqsWxkgk/dMIEWZ+KFkl69jw7NNmNjRj68wSZb4w00YPPH2V5LOFvXm4aGq sm1Qpz8wXoIcxyvW7AV7NFqZY7DQ+hyW19GjUMKZths4/UO82R38Ws3jQ0Je8hK1OsD9 11ZQ== X-Gm-Message-State: AMke39madRvhYKc8EuJJVJ89bKOIEVkWxczXoMpSbiVXFIoi0QzYR6C8+mKr53YdRqZvd8cw X-Received: by 10.28.227.84 with SMTP id a81mr3138586wmh.121.1487358796548; Fri, 17 Feb 2017 11:13:16 -0800 (PST) Received: from linaro.org (cpc80201-blbn11-2-0-cust167.10-1.cable.virginm.net. [86.6.126.168]) by smtp.gmail.com with ESMTPSA id o143sm2783802wmd.3.2017.02.17.11.13.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 17 Feb 2017 11:13:15 -0800 (PST) From: Mike Leach To: linux-arm-kernel@lists.infradead.org, mathieu.poirier@linaro.org, coresight@lists.linaro.org, robh+dt@kernel.org, sudeep.holla@arm.com, devicetree@vger.kernel.org Cc: Mike Leach Subject: [PATCH] arm64: dts: juno: update definition for programmable replicator. Date: Fri, 17 Feb 2017 19:13:10 +0000 Message-Id: <1487358790-2618-1-git-send-email-mike.leach@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Juno platforms have a programmable replicator splitting the trace output to TPIU and ETR. Currently this is not being programmed as it is being treated as a none-programmable replicator - which is the default operational mode for these devices. The TPIU in the system is enabled by default, and this combination is causing back-pressure in the trace system resulting in overflows at the source. Replaces the existing definition with one that defines the programmable replicator, using the "qcom,coresight-replicator1x" driver that provides the correct functionality for CoreSight programmable replicators. Signed-off-by: Mike Leach --- arch/arm64/boot/dts/arm/juno-base.dtsi | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Tested-by: Mathieu Poirier Reviewed-by: Mathieu Poirier diff --git a/arch/arm64/boot/dts/arm/juno-base.dtsi b/arch/arm64/boot/dts/arm/juno-base.dtsi index 9d799d9..6546e23 100644 --- a/arch/arm64/boot/dts/arm/juno-base.dtsi +++ b/arch/arm64/boot/dts/arm/juno-base.dtsi @@ -372,12 +372,14 @@ }; }; - coresight-replicator { - /* - * Non-configurable replicators don't show up on the - * AMBA bus. As such no need to add "arm,primecell". - */ - compatible = "arm,coresight-replicator"; + coresight-replicator@20120000 { + + compatible = "qcom,coresight-replicator1x", "arm,primecell"; + reg = <0 0x20120000 0 0x1000>; + + clocks = <&soc_smc50mhz>; + clock-names = "apb_pclk"; + power-domains = <&scpi_devpd 0>; ports { #address-cells = <1>;