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: 161903 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1524664jan; Sat, 6 Apr 2019 04:22:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqyagJQhzQS/RIVJ1lAzu0/2x/a5fCkUX0VKKdTjcnuDMEtZfR4USIDSUJOT8THNSsstsudr X-Received: by 2002:a17:902:bb8f:: with SMTP id m15mr18481921pls.247.1554549749514; Sat, 06 Apr 2019 04:22:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554549749; cv=none; d=google.com; s=arc-20160816; b=epVFYWHMhpjFEAql2uck9b83soSDX1BlE7JHOWTjva4aefq4BRCT8SvJp4k7Tl4xPi 009WmUyN9/Gj/xzLcSsTwG3OP2N+bpirYWnpFqr55RKz4z0nHy68i6idp1An/Ly0qp8h LuLR6NnMcqwCUwwFTmCGtJvuZdxHvtqxLR0YuRxfL8VTgii4vakMiWsEEFZKBEZlb9lk 0Ac+wBUEVJxQzgrWLIsUkW590nbeTX4wtaCNFQdbicnbo0x8674sGhoVyIisNGGAJE7j S7lbmZAWO1fSKRKLMORxfAUjgZOQQXuOoqqXyR34WumNf+HPPImqeMP8cN3n0+PtmmRs s4lg== 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:dkim-signature; bh=gLR19HUc+gmFjS967MFA8MMpurGf3MGUCdDqqoTyKSg=; b=y7ta3CU06+644UXL3Nxa0v8tSIS2w3qrS6n2ddln2HxKQCtJzuGqa6WaNtbFp6XXfj LqwwYsOW8hrJ1LvO6Hh4T6TqgPXNfhXqaeKXyxEWaDJUY43tSAmEf7O06DzCnibya1Av G+y4WoG6cLiR/BWn9NoO6nNobdk4Bu3Sd+OJrcDHhISZg+gI0tdvUDH8idNSdl387nMk uQ/D5bzkvowQULeiGQ8Uu0Hg5u9iORuER343lod+Rw2xb10w9jEtdAgYzOUKCwBIC1uZ pQOjGGx+y2z68wfpGYCH38SUyHm+nJ2qkZeiGtfPFMHSO9cX958D6EoYJ+rsHi3bIHMG aIRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=coGSFv8K; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z186si19639082pgd.155.2019.04.06.04.22.29; Sat, 06 Apr 2019 04:22:29 -0700 (PDT) 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=pass header.i=@linaro.org header.s=google header.b=coGSFv8K; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726539AbfDFLW2 (ORCPT + 7 others); Sat, 6 Apr 2019 07:22:28 -0400 Received: from mail-yb1-f194.google.com ([209.85.219.194]:35001 "EHLO mail-yb1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726036AbfDFLW2 (ORCPT ); Sat, 6 Apr 2019 07:22:28 -0400 Received: by mail-yb1-f194.google.com with SMTP id e12so3405538ybq.2 for ; Sat, 06 Apr 2019 04:22:27 -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=jxwbWzYuYm0X2QoOWqAmqgklflhEzcGApK1wNtDD+yoeR9z9nWe67ByAmH8L2dCWxr PbrEOVW9Kg4LesDPAEqAGT3JDtm3aD5nP1ptnWf1iPRf6lzzDq27wzHeHjvIALQl2oRO FqmZobPIJvuhWXyxd0F3TsOeDBbHugJYC+zV4h/AvUw/oXRtkR32Nfa0LvF368RiG4zG x66ltmr9mEULjD/7DuZ6oE6QQPzQZxPb4fMf7Sk3ZH1dQSv+e6liVPuwbwvrsYOZtTwp M+Dv2Dzo+bW2M4TmFB7GXZd2/SoQcbSKy6XX1ZqxbH73sa6HOPGDPgOXyHe+riD9r1kR MLEQ== X-Gm-Message-State: APjAAAWw955t0rf2XkfePGmNArnQ8cWBfVZ3sBrqtOF9TAZToT0MleFp aGMJ6Oes57e1GDAVE3+kxOFw9Q== 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 Cc: Leo Yan 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> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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(-) -- 2.17.1 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,