From patchwork Sat Apr 6 11:21:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 10888129 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D66B21515 for ; Sat, 6 Apr 2019 11:22:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 95A5328A1E for ; Sat, 6 Apr 2019 11:22:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8921F28AA5; Sat, 6 Apr 2019 11:22:28 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 235B328AAC for ; Sat, 6 Apr 2019 11:22:28 +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:References: In-Reply-To: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:List-Owner; bh=DXAs6+IVmVLO+dvic0LWvAXoYLqGrJL2xtDt2Yec/+I=; b=OzP4NfGlqq9+VS3WKcEonds0CK vURNDPuBGJCOTj0NGdUkUvTdphuylJZSfGUJ5OBJG96JYWVg4PpPwJ7nh4DCQmZ69SVHGolb1fAkv kqRFKqppTrZw49lOiTqfAIku5geC9gtg/I/IaXoXkNmbxCKwy53tVDXtu2nrsEdNn69yw37vRbkZd CI/TFteR3OdanYMrJI12vGZQKTdJ/YpbEsDQK27c8aevQRp/RX4aPPgZSVm5Z5BhrHSoTm1v8e+Qu urf1swk9balL7xZDgMVnB3gaD6l9eFz/C/NkicMrxGmgA7CIpjvkXyjfxLPNvvnsf8RxODDNi0F5L NsKgHJzg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hCjP1-0003Yy-8X; Sat, 06 Apr 2019 11:22:27 +0000 Received: from mail-yw1-xc44.google.com ([2607:f8b0:4864:20::c44]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hCjOw-0003SZ-Ok for linux-arm-kernel@lists.infradead.org; Sat, 06 Apr 2019 11:22:24 +0000 Received: by mail-yw1-xc44.google.com with SMTP id w66so3274114ywd.4 for ; Sat, 06 Apr 2019 04:22:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=zIWMF1R93QZItw73bSxup0eAGPLoi4yPEdVTTG3P0l8=; b=a20QgqD4uW4B3Rs+6cjMACWRmeB4oPCY/j9zmrWNWt42djjcOWINIptpdt7OniFRTs hCTf7GKg5bDurD9n4yyKFPyj3y3AwVVn0pFZ2U3aJfmqQXOmlyvMzilLMPHeoiQkENZG 1qPgKsJIZ+Z4OIhhjgrUZNhJSNTx/885ovv+3uq6Gifm5lvxnNBAPy/3DIkZuUUaW/Me cfsepwG7vyTr9bvLQit9BJrjvv5x4mgQn1m5srNmD5OTpgQhBHP5/KXCx43TInY7+phK 3QrpNJ4sdScZ0/g1d1Jq/W3CNMd9Iak0JU05Tg0av4pu83fwhpybOyBWW4f7Vx8nvQQb NVlQ== 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:in-reply-to :references; bh=zIWMF1R93QZItw73bSxup0eAGPLoi4yPEdVTTG3P0l8=; b=HQZaWEaxy727f2UXDSFOQP3SMB6j824Zt/WI1PNYU4yIVMTDKiX01DEULSAW28U9Lw 65viJTeCxiXwyZn95Lg+GPOaH0y1IHJ4a3FootR5qPJCavEfxVzu1KIemNWuQoRRZ2P3 Kzlx9XShqVi8S0nPg+2ioE4ca51orUeQ1IkRO3ot19hh6/3Iq30LGyfypo7q7k8Ja0gs B6GADWMLCmNFhQ1irPSaDfy6ukdT/dgEtVCM9p7TtEToAYXwgvzEebY9gj/1eAByggUi gaH8m80NZea/Y70DYSm2N1YupvgUQih22K2hgYCQsDb1CfiZEpcSoayPAdPlCUVflo+K 9f2Q== X-Gm-Message-State: APjAAAU+8MwKjvuf0oPDoV8vZvYmQcSNt46p5d5gAgiu+0sQSI5WCzNF mVNGncL0bDf7Hczd8oeFTM81dA== X-Google-Smtp-Source: APXvYqwgF+DBaVZpWvKYikGIZNq1CHKcP+h0/bYMEdXtStb9fERIdJp9VuYgiq+xcG++kR7KEjeEjw== X-Received: by 2002:a0d:fb87:: with SMTP id l129mr14992561ywf.432.1554549741641; Sat, 06 Apr 2019 04:22:21 -0700 (PDT) Received: from localhost.localdomain (li931-65.members.linode.com. [45.56.113.65]) by smtp.gmail.com with ESMTPSA id w22sm12729360yww.58.2019.04.06.04.22.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 06 Apr 2019 04:22:20 -0700 (PDT) From: Leo Yan To: Mathieu Poirier , Suzuki K Poulose , Rob Herring , Mark Rutland , Alexander Shishkin , Wanglai Shi , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 1/4] dt-bindings: arm: coresight: Add new compatible for static replicator Date: Sat, 6 Apr 2019 19:21:42 +0800 Message-Id: <20190406112145.15184-2-leo.yan@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190406112145.15184-1-leo.yan@linaro.org> References: <20190406112145.15184-1-leo.yan@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190406_042222_876971_5B3DD47B X-CRM114-Status: GOOD ( 13.64 ) 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: Leo Yan 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 CoreSight uses below bindings for replicator: Static replicator, aka. non-configurable replicator: "arm,coresight-replicator"; Dynamic replicator, aka. configurable replicator: "arm,coresight-dynamic-replicator", "arm,primecell"; The compatible string "arm,coresight-replicator" is not an explicit naming to express the replicator is 'static'. To unify the naming convention, this patch introduces a new compatible string "arm,coresight-static-replicator" for the static replicator; the compatible string "arm,coresight-replicator" is still kept thus we can support the old DT binding, but tag it as obsolete and suggest to use the new compatible string. As result CoreSight replicator have below bindings: Static replicator: "arm,coresight-replicator"; (obsolete) "arm,coresight-static-replicator"; Dynamic replicator: "arm,coresight-dynamic-replicator", "arm,primecell"; Signed-off-by: Leo Yan --- Documentation/devicetree/bindings/arm/coresight.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/coresight.txt b/Documentation/devicetree/bindings/arm/coresight.txt index f8aff65ab921..f8f794869af2 100644 --- a/Documentation/devicetree/bindings/arm/coresight.txt +++ b/Documentation/devicetree/bindings/arm/coresight.txt @@ -69,7 +69,11 @@ its hardware characteristcs. * compatible: Currently supported value is (note the absence of the AMBA markee): - - "arm,coresight-replicator" + - Coresight Non-configurable Replicator, the compatible string + "arm,coresight-replicator" is obsolete, keep it to support + the old DT bindings: + "arm,coresight-replicator"; + "arm,coresight-static-replicator"; * port or ports: see "Graph bindings for Coresight" below. @@ -169,7 +173,7 @@ Example: /* non-configurable replicators don't show up on the * AMBA bus. As such no need to add "arm,primecell". */ - compatible = "arm,coresight-replicator"; + compatible = "arm,coresight-static-replicator"; out-ports { #address-cells = <1>;