Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp805047rwr; Fri, 5 May 2023 05:25:39 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5YMMcHM+gwN1k18M4vcNP/7vZelDgryu3XEabrmqz4/wUjhdUp330gc0C4Iki18fBhdgZc X-Received: by 2002:a17:90a:9112:b0:24e:2d3:a404 with SMTP id k18-20020a17090a911200b0024e02d3a404mr1407299pjo.4.1683289539674; Fri, 05 May 2023 05:25:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683289539; cv=none; d=google.com; s=arc-20160816; b=ZkSjJat/GHnSH5S71f0wJX9Uid5kjFrhYH2drfbn1nEdLrjkn4R0bo057u0BHsjosH G5i6TD5WKbTTP8g3iIyI9HWbhg4XuSlkBdMmbijqnCxGi2j63xZsbjykwVkuAMPBEVVk iQDK8nMcJ47eFnVdy5N9FsfjxA5H/VyvapFjjA6uhkOXmNRqwXukCCu60llG+MDozWB/ q6MIXvbAX+YiPog43yd+v5P8/zzaEgil9P5GGJopAjXtExDUiJhlApLwWonAt/y9MADO RR7J3ZcdT+y7GNMRHrOJOhJfpEDcBpta/c8hpvwhmv2cKyFknXijulN7tjZNuZi8G+iX 1U2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=NWXugzf9IwHfTkCjdGSHgOMZEK8Ay75ykttzhebpUiU=; b=zonpnGzuIDuelDEljIiiIznXwuY+bIaI1iRnrOH7YgQ9ICZm78aQyIWUVWTY+gNF+d lllC3FmTJAKfVw9Uee8bslHx68HU+STBO+zPIetgWOgImD5+gsH+0JX+dSdJcrm08jgN 8LELecrhl1ev3j/iGtkyGXcWgnkc6fgnCQsN0+vsN5p7JBx3lkWH2Zn7InsIwvBrRn0/ yquRPZLxmL4BFmm8qeX27/L3a4S9JOJrr+B7mcLsieL6mlheBZ21jGk1cGugA5CW40sk pIXaVgyZXq/aiBnQqYk4/A5flUowHF372G0X2eoEfoCFJCYx/DXfDr5BuhiT2I2DTVmM lZhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MoZOxXq9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l65-20020a639144000000b00525030ba5acsi1916650pge.279.2023.05.05.05.25.27; Fri, 05 May 2023 05:25:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MoZOxXq9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S232075AbjEEMFp (ORCPT + 99 others); Fri, 5 May 2023 08:05:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232073AbjEEMFo (ORCPT ); Fri, 5 May 2023 08:05:44 -0400 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B68EBAD1E for ; Fri, 5 May 2023 05:05:42 -0700 (PDT) Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1aaf21bb427so11970765ad.1 for ; Fri, 05 May 2023 05:05:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683288342; x=1685880342; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=NWXugzf9IwHfTkCjdGSHgOMZEK8Ay75ykttzhebpUiU=; b=MoZOxXq9olSI26ve+QVUvreFy9I9MRIXESMUrHNeIjgS5/+xdLE0FVbj59UlK0dXpo Q/e8zaee6rgmO4GHx5yoaRQGUspVlyNXRfRySTLh5DzY4a1E0UiK3Hv9jIJgi5T7e1Bk XR1H0/3hihiZr6fXhJIAYrynGI3y50rEivNnNauUJ9KPTPyuI518qRiUK/kIxhu+Pno9 vZxWBgZrNry2ERbCaYItbfH3or7E7rhUqbjHlLmAASiQvxgjEVX06jciXovgtZVhJxwK pmVNl4dz4CSr8gdfh6Sm6ut98FjZ9xhwd9aoWakMgBjWfQq8MPA043RTcNTW/J6tBVrx R0ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683288342; x=1685880342; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=NWXugzf9IwHfTkCjdGSHgOMZEK8Ay75ykttzhebpUiU=; b=TAB9NSvf3a8bmP1RUpI9vP8Xg5WHg62na5d8g/Ue2T0B9XhQbGDVFrXtKsAIxFhuv5 O28i+nLd8lePQk6BcXcaVX8OMz6SZXdPiWM0X1qnfOIBn7cgCKE04XrJENWUqmu5EXwk rrU8qe7KRo+qRNvWuTx2HvJQkw9jr9hh5Lf6H59rDgRIvZt61257d/wl7nFv+hTHPSbl mpnEkYRxDzR78Dsb0Gm9nvELkyt0VbE9IeAs7UmvVrX+hodiWbXAbSfwDDIEj1N0FcS2 AgUbwkkEP3KwyrWMLR2KKjKC0E+sMi+0/8SZheu2BZfDMlDvTkBhQi/8cRDFqwjge8iZ Xe+Q== X-Gm-Message-State: AC+VfDyw2nlgtTa7444lU/7xh0w0JN5xdl6BfBDLZ5AldZ3UAZ/fYb8E 0g9a9g8ILqXkR2JDkEW2WTFX0g== X-Received: by 2002:a17:902:6901:b0:1a1:956e:5417 with SMTP id j1-20020a170902690100b001a1956e5417mr985308plk.22.1683288341941; Fri, 05 May 2023 05:05:41 -0700 (PDT) Received: from leoy-yangtze.lan ([107.151.177.135]) by smtp.gmail.com with ESMTPSA id v24-20020a17090331d800b001a245b49731sm1623301ple.128.2023.05.05.05.05.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 May 2023 05:05:41 -0700 (PDT) Date: Fri, 5 May 2023 20:05:29 +0800 From: Leo Yan To: Suzuki K Poulose Cc: Hao Zhang , Mike Leach , Alexander Shishkin , Mathieu Poirier , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Andy Gross , Paul Walmsley , Palmer Dabbelt , Albert Ou , Jonathan Corbet , Greg Kroah-Hartman , coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Tingwei Zhang , Jinlong Mao , Yuanfang Zhang , Tao Zhang , Trilok Soni , linux-arm-msm@vger.kernel.org, Bjorn Andersson , linux-doc@vger.kernel.org Subject: Re: [PATCH v4 2/3] dt-bindings: arm: Add Coresight Dummy Trace Message-ID: <20230505120529.GB898031@leoy-yangtze.lan> References: <20230505092422.32217-1-quic_hazha@quicinc.com> <20230505092422.32217-3-quic_hazha@quicinc.com> <958ae925-dee2-3273-0cd6-b5edc891ba70@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <958ae925-dee2-3273-0cd6-b5edc891ba70@arm.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 05, 2023 at 11:54:03AM +0100, Suzuki Kuruppassery Poulose wrote: [...] > > +title: ARM Coresight Dummy component > > + > > +description: | > > + Coresight Dummy Trace Module is for the specific devices that kernel > > + don't have permission to access or configure, e.g., CoreSight TPDMs > > + on Qualcomm platforms. So there need driver to register dummy devices > > + as Coresight devices. It may also be used to define components that > > + may not have any programming interfaces (e.g, static links), so that > > + paths can be established in the driver. Provide Coresight API for > > + dummy device operations, such as enabling and disabling dummy devices. > > + Build the Coresight path for dummy sink or dummy source for debugging. > + > > + The primary use case of the coresight dummy is to build path in kernel > > + side for dummy sink and dummy source. > > + > > +maintainers: > > + - Mao Jinlong > > + - Tao Zhang > > + - Hao Zhang > > + - Yuanfang Zhang > > Given this is a generic "CoreSight" component, I would prefer to have the > CoreSight subsystem maintainers listed here (too). I don't mind > the entries above, but would like to make sure that the subsystem > people are aware of the changes happening here. Please use: > > Mike Leach > Suzuki K Poulose > Leo Yan Given I am spending little time on CoreSight reviewing, I'd like to use James Clark's email address to replace my own; I believe this would benefit long term maintenance. James Clark Thanks! > With the above: > > Acked-by: Suzuki K Poulose > > > + > > +properties: > > + compatible: > > + items: > > + - enum: > > + - arm,coresight-dummy-sink > > + - arm,coresight-dummy-source > > + > > + out-ports: > > + $ref: /schemas/graph.yaml#/properties/ports > > + > > + properties: > > + port: > > + description: Output connection from the source to Coresight > > + Trace bus. > > + $ref: /schemas/graph.yaml#/properties/port > > + > > + in-ports: > > + $ref: /schemas/graph.yaml#/properties/ports > > + > > + properties: > > + port: > > + description: Input connection from the Coresight Trace bus to > > + dummy sink, such as Embedded USB debugger(EUD). > > + $ref: /schemas/graph.yaml#/properties/port > > + > > +required: > > + - compatible > > + > > +if: > > + # If the compatible contains the below value > > + properties: > > + compatible: > > + contains: > > + const: arm,coresight-dummy-sink > > + > > +then: > > + required: > > + - in-ports > > + > > +else: > > + required: > > + - out-ports > > + > > +additionalProperties: false > > + > > +examples: > > + # Minimum dummy sink definition. Dummy sink connect to coresight replicator. > > + - | > > + sink { > > + compatible = "arm,coresight-dummy-sink"; > > + > > + in-ports { > > + port { > > + eud_in_replicator_swao: endpoint { > > + remote-endpoint = <&replicator_swao_out_eud>; > > + }; > > + }; > > + }; > > + }; > > + > > + # Minimum dummy source definition. Dummy source connect to coresight funnel. > > + - | > > + source { > > + compatible = "arm,coresight-dummy-source"; > > + > > + out-ports { > > + port { > > + dummy_riscv_out_funnel_swao: endpoint { > > + remote-endpoint = <&funnel_swao_in_dummy_riscv>; > > + }; > > + }; > > + }; > > + }; > > + > > +... >