Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3799434pxf; Mon, 22 Mar 2021 15:51:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxTKPXNgRIdwkz+YYYnyEIbFn1hIqMcfBep+XTuMnrckQ+3UkJLji95F/TYxUw0ppx+HQ4 X-Received: by 2002:a17:906:110d:: with SMTP id h13mr1938559eja.357.1616453467778; Mon, 22 Mar 2021 15:51:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616453467; cv=none; d=google.com; s=arc-20160816; b=oxtFuYi5ZpoC95LROCUfN03nAU19sKxw1mMXj+hbBO9+zFV1yNr+b6mFsI+84SAcTG ObyLEFq0SsBsEPP4MTjm8M5fBwL58xzUVq7R3i4XUolk3Klif2qSrD18qkppVnMxwKwG SCcMTWsk2XElE9zSMOmBcrINYUhyu5mEmavbUsjXFUQApzDpZkOp+uZP9SL3Hb/dPby4 DJH5mFfItE9Wnp9tQ403mndLAxpGBHO1oVv8oSnwCL9htXuFN1yluUxUlk1sVfn2Qy7p SymfUi08h1dSw/5ze7mT0swBAkJEycrts0t0rQFAYevGWhGECdju0787OuQ3/4XUbUmA ZGHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=s0MEGvBhf8bZ8GQ9rvm1v6Ok6CdHhl+r5RFCheVogh8=; b=iiQXnUcDPJuDwcSErAKO5Pmsg5RAIQgWJ+VLQvxOKES5UWraYamSoULGb0c8NAJhBD oyILBBu/RYl3dk+VRBynng9WU9aUxxZek+wUmx4KEC8Ez8rKaJPtnRC66h1aqTZu8fdH kr6jLqLKDfL+y0M5bAMPtKvPz9Gzur3wrhBB1b7jxRRVJvO4hxLg5Yb4AwIfk5boN4Gb lvEiPlVL5E54OThIwG6mKyeRhQ4VLvKKXhX52cVbt3/W1U9qs4izvkFV18wEVyafBm5E ayqDB71liIvlM89fwyTBBuAK+UfTN6zEsaSk2MU38MRc4CmvhjG4NhgPLBCjbDoKR7X/ 36qA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s9si12257357edc.296.2021.03.22.15.50.45; Mon, 22 Mar 2021 15:51:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230158AbhCVWts (ORCPT + 99 others); Mon, 22 Mar 2021 18:49:48 -0400 Received: from foss.arm.com ([217.140.110.172]:38720 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229995AbhCVWth (ORCPT ); Mon, 22 Mar 2021 18:49:37 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 401841042; Mon, 22 Mar 2021 15:49:37 -0700 (PDT) Received: from [10.57.55.187] (unknown [10.57.55.187]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 034DD3F792; Mon, 22 Mar 2021 15:49:35 -0700 (PDT) Subject: Re: [PATCH v4 15/19] dts: bindings: Document device tree bindings for ETE To: Rob Herring Cc: linux-arm-kernel , "linux-kernel@vger.kernel.org" , Mathieu Poirier , Mike Leach , Anshuman Khandual , Leo Yan , devicetree@vger.kernel.org References: <20210225193543.2920532-1-suzuki.poulose@arm.com> <20210225193543.2920532-16-suzuki.poulose@arm.com> <20210306210627.GA1207387@robh.at.kernel.org> From: Suzuki K Poulose Message-ID: Date: Mon, 22 Mar 2021 22:49:34 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22/03/2021 17:28, Rob Herring wrote: > On Mon, Mar 22, 2021 at 10:53 AM Suzuki K Poulose > wrote: >> >> Hi Rob >> >> On 06/03/2021 21:06, Rob Herring wrote: >>> On Thu, Feb 25, 2021 at 07:35:39PM +0000, Suzuki K Poulose wrote: >>>> Document the device tree bindings for Embedded Trace Extensions. >>>> ETE can be connected to legacy coresight components and thus >>>> could optionally contain a connection graph as described by >>>> the CoreSight bindings. >>>> >>>> Cc: devicetree@vger.kernel.org >>>> Cc: Mathieu Poirier >>>> Cc: Mike Leach >>>> Cc: Rob Herring >>>> Signed-off-by: Suzuki K Poulose >>>> --- >>>> + out-ports: >>>> + description: | >>>> + Output connections from the ETE to legacy CoreSight trace bus. >>>> + $ref: /schemas/graph.yaml#/properties/port >>> >>> s/port/ports/ >> >> Ok. >> >>> >>> And then you need: >>> >>> properties: >>> port: >>> description: what this port is >>> $ref: /schemas/graph.yaml#/properties/port >> >> Isn't this already covered by the definition of ports ? There are no >> fixed connections for ETE. It is optional and could be connected to >> any legacy CoreSight component. i.e, a "ports" object can have port >> objects inside. > > 'properties/ports' only defines that you have 'port' nodes within it. > >> Given we have defined out-ports as an object "confirming to the ports" >> do we need to describe the individual port nodes ? > > Yes, you have to define what the 'port' nodes are. A port is a data > stream and you should know what your hardware has. What the data > stream is connected to is outside the scope of the binding. Ok, I have included the above changes for the next version. Thanks Suzuki