Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2738977yba; Mon, 8 Apr 2019 03:45:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqxA/T0Ld37zPAt81vy3xzptuatwCi/qN7HeZPVtFcCpc6LsOE5a4rlSWwEC7ft2f2W7pahC X-Received: by 2002:a17:902:7247:: with SMTP id c7mr29477360pll.255.1554720333320; Mon, 08 Apr 2019 03:45:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554720333; cv=none; d=google.com; s=arc-20160816; b=CBc/bRuKHcqAZ/4gqvropoxcB7qhdcV5QtpKY72njSfIpXpYmYbsCtDm7rWdfWnK1j TH+HASCyH72cW4tUtPvI/Lw/vSlSxTIgt60rSaggHD8JRfdQ+UgP4UXpLRtxuV2nzckR ADWSPf6zW16TBydZep2evxjwrUY/VEGiJ9Um8juq2E+bMBmB1fM/viLT3wsSL/He5gcq FRx6pjSh9ZB6CGoanMl3M363op4zGMVHT4qekn2lY3qd1nJNwDkjhOymFYmpA5q9Rn5s dz2ip2s1maixqdoZ7G7GHmYtYTKdO+RB1s6hhuUyCZP/0SP0BTCY182idIVWM7ISWjdS xAYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject; bh=9G0LWE9RQIWqMu8MUfLIhVm+QrG41oFrqd4CtTnkDFA=; b=lyyyDLcx3h/5GzksCujIv/WdUHA+X3GZ8P4cn3j9FKrsOeLEHkuu/dALn8YvPGmcQb 7gGtxkqAnRJ6V+UW8BPO1QbgP6tkV+lQWNIE966Hivm0l2vAqTsm3OBAHglzqXc8xm9G ScriRx4SmlIz0L8dRQgmDf/LjvKOMQhSXIvx8nbYz3Nw7mIY3jF9Mbg5Cp6aWQrDfSWR /vqnUD3N1RQ0RPe08BzBi9Q9T94mGMMapCR+bl7AniX4U7x2OBwOaQpv2y5mNShRilbX rv2HNWeAkY5AGSwkSAXmUSJoPzYehoVzXcG3emUo9//U0EWbmmfD9Cmi857mJf5RGrY4 qYNg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j8si22437036pgl.577.2019.04.08.03.45.18; Mon, 08 Apr 2019 03:45:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726656AbfDHKoh (ORCPT + 99 others); Mon, 8 Apr 2019 06:44:37 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:46198 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726606AbfDHKoh (ORCPT ); Mon, 8 Apr 2019 06:44:37 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 86D2C15AD; Mon, 8 Apr 2019 03:44:36 -0700 (PDT) Received: from [10.37.12.66] (unknown [10.37.12.66]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 742903F718; Mon, 8 Apr 2019 03:44:34 -0700 (PDT) Subject: Re: [PATCH v4 2/4] coresight: replicator: Add new device id for static replicator To: leo.yan@linaro.org, mathieu.poirier@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, shiwanglai@hisilicon.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20190406112145.15184-1-leo.yan@linaro.org> <20190406112145.15184-3-leo.yan@linaro.org> From: Suzuki K Poulose Message-ID: <6b862aa8-1b50-61bf-6894-978ecd1a964b@arm.com> Date: Mon, 8 Apr 2019 11:46:52 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20190406112145.15184-3-leo.yan@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/06/2019 12:21 PM, Leo Yan wrote: > 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"}, > {} As mentioned in the previous patch, please could you add a warning if you encounter the old binding, mentioning that it is OBSOLETE. pr_warn_once() is sufficient. Otherwise, looks good. Suzuki