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: 9580593 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3D76F6043A for ; Fri, 17 Feb 2017 19:13:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2399D2873E for ; Fri, 17 Feb 2017 19:13:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 157E128762; Fri, 17 Feb 2017 19:13:44 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 A22802873E for ; Fri, 17 Feb 2017 19:13:43 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=r224JgbESFh1vIestmeDiBIdo9WSDwZUgaqUG25bWZA=; b=thV IQ6Xgd7nd3nXx66EV4jzMg+vugxeZbh1j8ALaeFOPZlyLFPsJb9GjeDoASSqO+CNE5uNUX2VUESDq 0D2LocrXAnmnk/02BgBUXRukccKqn1GwSDFERHeDBVdbuqKIMPbPBsslIsiwf8YZEZ4QxkSmRgngm 8vpDjhs78jOfJksjkVrH+YmHoeGkim9amHtpfmhnV/qCRuQKl1UF00POxBr8/f2lmbFC10rKNF+q5 JsAAsP8Eidz2JdtpCH0TPfVSkqFDgDb2zaPhSbK5fqGD9dKlkatm4ygDJA/xjzK1DD/BDaIEwujMI 5HVP9GPJXqFZf0qwCCmedeW7INZdSlg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cenyQ-0004kR-Tt; Fri, 17 Feb 2017 19:13:42 +0000 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cenyN-0004iS-4A for linux-arm-kernel@lists.infradead.org; Fri, 17 Feb 2017 19:13:40 +0000 Received: by mail-wm0-x232.google.com with SMTP id 196so11451949wmm.1 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=HIUVcaWDfMH8FrtCDv3PP63e+m4pJt4QJ8w4g16Hh6dw9+HCiIkbg0Jtu18pp8PodE V4z/tkQs1IjHO8aOV1/7OKCrHzJ9G9gHG92hHI5HMn6kin9GpFfnBef+Ai+e1wkgBOoa PXNnz7IEUDlSIXZXqyRXrVuLKu+PLmodUXbWDNMl3d9tVilQI+EP4Q4vE1R3WKYlTysl r+QHdNacyGuo3BBLrICJRlPVbYnbfS6z/sgQZs73J49YU0hu6FWM5uHIQ3kAfSlLOVa5 5PvMsb1Um5cFRF6lc0VPmeX3rx/+PZKGZuDEUVCiFpziNKC5vbnwYv2OSMLTXHuKXYQz /xQA== X-Gm-Message-State: AMke39lPxvqPvlKn7xqmQzGKjUTbGQtF9CTog/ZxmQ2Rog6rjzVv77A7IiCLZcQWWmbuHi7u 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170217_111339_327439_577322AE X-CRM114-Status: GOOD ( 11.32 ) 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: Mike Leach MIME-Version: 1.0 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 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 Tested-by: Mathieu Poirier Reviewed-by: Mathieu Poirier --- arch/arm64/boot/dts/arm/juno-base.dtsi | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) 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>;