Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2738133yba; Mon, 8 Apr 2019 03:44:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqxQWBcY4OSmdfbvttLGENdXWYGhgeemmYe/01Cjiww4z4V0YqLHXgAKG4cYYG28le9ODAvu X-Received: by 2002:a17:902:469:: with SMTP id 96mr29062370ple.46.1554720248908; Mon, 08 Apr 2019 03:44:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554720248; cv=none; d=google.com; s=arc-20160816; b=v2eZLg7BUOZQ4s5BP47+AE7aH8pB8lttEw5bdGrYTCIb/H4unbIrGLUB36XIOFKmh7 gXtEjhenAkES6gnHQh38bXiQrW0fDtNOAp0QZASDVwm5fCaNGgPtRdU/anNZeXVFBVAy t5ZN1/aARlQ7vD2VgGeXqduIJLfFHQtUXvYX/I8x5eyY7h2j05ZH+44SS6NxRMsnO/aU YARdwcA4tnyuLGhhSsMf85Ptg3LOv2uzp++O3VyMB/+NxSr2XYme5xRwZd32kXcG0p1N O/KOEPlF71twFJUhPAvHglWE9XA7O2InI4zFQM2hc/V/LrA5XQZOJZDYIHInj/EvmIif eqhQ== 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=yUkrU3UZRUnAAccqKn0xdkvYqHCUhN8M6tfWGI6KzGM=; b=Wfji4qgFPCgde9+/hdblew5l1Knl1WJnAAT3kgH2LOTfHEHYX47RjaXawTRzAtZbwr 0SfFbi9WwrtCewRoFixpSqbfk2RV2MlX4TQHvPLBfyU2BsAmTbGmz0twEFHSoeaXD/Rt SPyzGHNqpYLkY8oy2IHt5mCGdhq2WlJprzLbuK/IPLcZrbn8HXVq/XpeSnKdtov9IMHt /uGTnRqp9LoO1rNLCigcwxVM2Auf1oUppoQzRjMC4Fo7TI1MxQ6O3SXLIi6ZnK5htEZC T5F8ntJXUjUdUJYnPyOFx1PWjIiRr1kVDFlvQpgp42hiETB58UMtwGHBnGpKro/mRGdd r2Tg== 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 91si27054008ply.258.2019.04.08.03.43.53; Mon, 08 Apr 2019 03:44:08 -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 S1726668AbfDHKmn (ORCPT + 99 others); Mon, 8 Apr 2019 06:42:43 -0400 Received: from foss.arm.com ([217.140.101.70]:46120 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726189AbfDHKml (ORCPT ); Mon, 8 Apr 2019 06:42:41 -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 25E1315AD; Mon, 8 Apr 2019 03:42:41 -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 050D43F718; Mon, 8 Apr 2019 03:42:38 -0700 (PDT) Subject: Re: [PATCH v4 1/4] dt-bindings: arm: coresight: Add new compatible 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-2-leo.yan@linaro.org> From: Suzuki K Poulose Message-ID: Date: Mon, 8 Apr 2019 11:44:56 +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-2-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: > 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 To make it more obvious : s/obsolete/OBSOLETE/ > + the old DT bindings: > + "arm,coresight-replicator"; > + "arm,coresight-static-replicator"; nit: I would re-order the compatible strings to show the precedence of choice. e.g, - CoreSight non-configurable Replicator "arm,coresight-static-replicator"; "arm,coresight-replicator"; (OBSOLETE. For backward compatibility. Will be removed ) Also, please could we put a warning in the driver when we encounter it and request to update it ? Cheers Suzuki