From patchwork Sat Apr 6 11:21:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 10888131 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 EF79E1515 for ; Sat, 6 Apr 2019 11:22:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AB31320453 for ; Sat, 6 Apr 2019 11:22:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9FAFB28A1E; Sat, 6 Apr 2019 11:22:49 +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 485B020453 for ; Sat, 6 Apr 2019 11:22:49 +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=9JI3hlOKL3UY2M/noOQ0GL9ecjswgCoDQggFc8oEnO8=; b=PoUMF+lFtyTWiczNK/vtiuVcEU f6H9xfOWOvd2+AZyGQfSBHr5pj+XYcppGfV5lkcOT6RplslfeXvAppr5+e/Tat3bcuPc+rIRJ2REg DoNmTY8V/WeyJkx5u3TMigDWuvKYBQsRIOcCRo8wEfLwDqSsteooqYKobru6KttWKTF96rBvo/sdV xd3D5fBiJYeYZe7x1f6w/K7yemlwQC+Uc9XRWsCKB2J6TfM1hjY0Ln9g2dNiG8XCOQs9uh96gJHc8 ugCzMi34T1CMzcfpltYgZq7Gl7WkH9V4qA/0f0ZHznMPgl6N5aFF7ToZ2aHCnjBi/Y/4u03qAhig+ zovzHX8g==; 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 1hCjPH-0003x4-IY; Sat, 06 Apr 2019 11:22:43 +0000 Received: from mail-yb1-xb42.google.com ([2607:f8b0:4864:20::b42]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hCjP2-0003ah-Ku for linux-arm-kernel@lists.infradead.org; Sat, 06 Apr 2019 11:22:33 +0000 Received: by mail-yb1-xb42.google.com with SMTP id l124so1899134ybf.9 for ; Sat, 06 Apr 2019 04:22:28 -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=gLR19HUc+gmFjS967MFA8MMpurGf3MGUCdDqqoTyKSg=; b=coGSFv8K1L/KQk7yOFkkw+BoZ0QXgZirUaQOqnqT4WFiK6AKev8A8EPZC/iZyVSxJY 6H8ZBBzuJa75AwcskBk+kv0slv1O4R9yOcfbmxgafT+xtHf+PKXMTufk5TX5CtGkJsmJ bpb9NasXW1OJ2FFAJNDU17PI6T9vkGLO9++s72KTiZcl/sbpLBQ1z0uUH96tkpfJTOPD BpQzHOtGErPnSYLVzvFtNFK4jzrib5YVi/JXvATqj8/4lTn3JHLSRRx8qrNhaYDh6zFG /sU/42o41b64q3vSuXyS62FC/8K2X99daZLHdPmJegW8qQ4U0Iw7fjRZD6UGZbgQtMfr MDRw== 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=gLR19HUc+gmFjS967MFA8MMpurGf3MGUCdDqqoTyKSg=; b=g6TVGkROSNxueQp11uQQwImcqw6kw/X69mPhcpWB2lpsAfLBS4X+A766Z/D59b4JHr tpxoaFOvghMJUBDIKC1q2aJRbukXTuBbyCBhmEPEt1mUQPTai1kaEPc9vWG77qi5Eqvg rwDP8ATtOmI0Bw1h2vP/ZvThg/dxXqXboahpuavWPQ3yIgvZHKUx7PqEO3OUJtpjz0c3 tY1EnxLRx//SUtPcO23PxCxUd07/OJ066ojbqjgqMihjsV5NmAYLDJ66n306dFyqISoG PtLlipOc92hFocZRpviJ+VbeqCfqqWnPna6q4WXI3CYcSZBEILtLXGohQMiM9MH86ryQ okRA== X-Gm-Message-State: APjAAAWIzcZ3JKTPyZY6vhKejFol3w7KAgk9FiPfg6QjMh67ZT4QiZFJ DlQE1R/4Gxbela68HpN30jR6Yg== X-Google-Smtp-Source: APXvYqwmNU3mGjBEISnJD2cFa6v/OnnTtU19DfRUI5IV7Rwsb8LE1oGJ7ixqz7IP0SpUkcbjDn2ORQ== X-Received: by 2002:a25:cc86:: with SMTP id l128mr4507046ybf.266.1554549747464; Sat, 06 Apr 2019 04:22:27 -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.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 06 Apr 2019 04:22:26 -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 2/4] coresight: replicator: Add new device id for static replicator Date: Sat, 6 Apr 2019 19:21:43 +0800 Message-Id: <20190406112145.15184-3-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_042228_979412_4B0A7D05 X-CRM114-Status: GOOD ( 13.89 ) 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 This patch adds a device id for the new static replicator compatible string; it changes the driver name from "coresight-replicator" to "coresight-static-replicator" as well. Signed-off-by: Leo Yan --- drivers/hwtracing/coresight/coresight-replicator.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/hwtracing/coresight/coresight-replicator.c b/drivers/hwtracing/coresight/coresight-replicator.c index 4e0da85efd2d..e6a03642bbdb 100644 --- a/drivers/hwtracing/coresight/coresight-replicator.c +++ b/drivers/hwtracing/coresight/coresight-replicator.c @@ -285,13 +285,14 @@ static const struct dev_pm_ops replicator_dev_pm_ops = { static const struct of_device_id static_replicator_match[] = { {.compatible = "arm,coresight-replicator"}, + {.compatible = "arm,coresight-static-replicator"}, {} }; static struct platform_driver static_replicator_driver = { .probe = static_replicator_probe, .driver = { - .name = "coresight-replicator", + .name = "coresight-static-replicator", .of_match_table = static_replicator_match, .pm = &replicator_dev_pm_ops, .suppress_bind_attrs = true,