Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2478157lqo; Mon, 13 May 2024 22:49:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXqeMf1JBL1M5K3ETnoeEA36FEfV0fLhIomcwV05omUBrX+FgARfnKxxbPcfKn21616dlOvQeYDlLd3TfXa7ZPJDkR0p17B/EAdIrvI3A== X-Google-Smtp-Source: AGHT+IHz0dR523tXDN8nBS0Twjcw5IdTY0cEN9Nf5rDVtmSoL4DUhDzDGA/bcqyUNrd3Ua5aUlgS X-Received: by 2002:a17:902:d48d:b0:1ec:4cd7:6c7c with SMTP id d9443c01a7336-1ef43e2a1dcmr172012325ad.40.1715665762226; Mon, 13 May 2024 22:49:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715665762; cv=pass; d=google.com; s=arc-20160816; b=GlciDNghl5v4rFcIL/kcJ8jKYIluWus5zewwN7+u1vDhRqVo7ndKM1rzgIT+a/Kk3/ SBddCUgtlmSoqS/3JzSIotHsrI/R4SEin0TINcFE0mJ5+YMZUygkXCihbgVixexw44xi pKe8Y3h4CynNfhbDnrLUFA5nXsgMftz1IbAmlFYOc2O+qb6Dwipt5eCOWGTQs30AsljM vIiEz0ANYc+V/4mUNRexCneo3BGh+6yJTxknH//+Vh3qBv57xu8zSuFrGlvNpX24VWwP 64L3AC2H+tldQ+O0Aq71g2aZa8asxws5BmqBgLEkWpahe6Q5SrJTZK5dIF6KgWezv0d/ rCAQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=QkSC8tfDasMCgcVuKaxBBhub6zp3UOWi2j7PTS//D/g=; fh=zvFHI+K6MoMAq3yS49EYavpv/NO7hSPDXbxt6ieB51U=; b=ojQUI8Kr7bcYVY0O/UDty0e/TRaVBflDJnY5OT71SE2hCyXGwRLEDCGQV08OjGoElL rh3DZZFDthqKuXgIAX17JtoNh5cKoZjSASpPtbBHqcTrUieu44I9kJ05zRYybvzql1xe XXZfbhuHP0AT0FcdCMVseAM5tQuHWnow5q32d4fyUvQdlySBwPF/VxEdO4ZH2BjJhd8F qXYTrxdbzZaihMsZV5d3hm4Fwx/jfSWnws93q2K989CThDLrw00l4THw8P0bRXuMuNbK gxU7IpWhgk7Ny1eoxaCll+z/kFGcpQXdsnCseXsrrC97Sqf3uw2eDYc0Brn49oSriWpv Vklw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=zRqe3R7J; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-178334-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178334-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0bad8350si103412795ad.179.2024.05.13.22.49.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 22:49:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-178334-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=zRqe3R7J; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-178334-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178334-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 974FAB23AD1 for ; Tue, 14 May 2024 05:49:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7BECB1BF3F; Tue, 14 May 2024 05:49:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="zRqe3R7J" Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F0ECE1802E; Tue, 14 May 2024 05:49:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.141 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715665744; cv=none; b=YrFmP6Du0Ayxjufv+3z2XJY9A4YuHMHkmD3maWGsvrrBfjUhlFnQC+FJub6rk1XD6RooWI30GtG6+uNbP5TUhoV10kbfj79z8obmGhHmNSGpCvx6sCQdS/zxSyDoP4ad+ycs/DXCQMzqVGnZdmVfctO2TLqQI6XU+FhVVUSZDlI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715665744; c=relaxed/simple; bh=QEsA9rVW5PEd0GIZ939vlg+hTw7lyZxJmxlffqRFvYo=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=OHbJGgKaovkgZ7I0qaaS3z5VK/Sqp6jAgncKgZm1TQbyOoqWn/oiJhGI9c+lNdw28OSOunOY25UT2XzTi7AGy9JpRgeIHL2bCgSlgf51nojIBsjHO4IJRcD0P8lEXIyzYvksSkVTl0/GRP+VoqGnLdBnNSQ8LUrBY3xPJMk/lo8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=zRqe3R7J; arc=none smtp.client-ip=198.47.19.141 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 44E5melc116320; Tue, 14 May 2024 00:48:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1715665720; bh=QkSC8tfDasMCgcVuKaxBBhub6zp3UOWi2j7PTS//D/g=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=zRqe3R7Jirxm7EdWdg4qhWIO23t+ETRx3OxlZIuMq2pVCgJc+WcIFH9P4F82DxlBG mul7VJHG2S4lnwCrnslucpAtqQRVW+ZH1fn9B40ajVcx2jTt2f6VhYehm1tdByyOOi lzsxCabMPO4vvaAPH+nD/TWQC9yoJVFFAuLANU68= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 44E5mebX046157 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 14 May 2024 00:48:40 -0500 Received: from DLEE109.ent.ti.com (157.170.170.41) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 14 May 2024 00:48:40 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 14 May 2024 00:48:39 -0500 Received: from [10.24.69.25] (danish-tpc.dhcp.ti.com [10.24.69.25]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 44E5mYcY009227; Tue, 14 May 2024 00:48:35 -0500 Message-ID: Date: Tue, 14 May 2024 11:18:33 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next] dt-bindings: net: ti: icssg_prueth: Add documentation for PA_STATS support Content-Language: en-US To: Krzysztof Kozlowski , Conor Dooley , Krzysztof Kozlowski , Rob Herring , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" CC: , , , , , Vignesh Raghavendra , , Roger Quadros References: <20240430122403.1562769-1-danishanwar@ti.com> <8ce66e56-7f41-4f2d-ac10-1328784a51af@kernel.org> From: MD Danish Anwar In-Reply-To: <8ce66e56-7f41-4f2d-ac10-1328784a51af@kernel.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Hi Krzysztof, On 01/05/24 3:56 pm, Krzysztof Kozlowski wrote: > On 30/04/2024 14:24, MD Danish Anwar wrote: >> Add documentation for ti,pa-stats property which is syscon regmap for >> PA_STATS register. This will be used to dump statistics maintained by >> ICSSG firmware. >> >> Signed-off-by: MD Danish Anwar >> --- >> Documentation/devicetree/bindings/net/ti,icssg-prueth.yaml | 6 ++++++ >> 1 file changed, 6 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/net/ti,icssg-prueth.yaml b/Documentation/devicetree/bindings/net/ti,icssg-prueth.yaml >> index e253fa786092..abf372f7191b 100644 >> --- a/Documentation/devicetree/bindings/net/ti,icssg-prueth.yaml >> +++ b/Documentation/devicetree/bindings/net/ti,icssg-prueth.yaml >> @@ -55,6 +55,11 @@ properties: >> description: >> phandle to MII_RT module's syscon regmap >> >> + ti,pa-stats: >> + $ref: /schemas/types.yaml#/definitions/phandle >> + description: >> + phandle to PA_STATS module's syscon regmap > > One register needed? Then use phandle-array syntax - see examples. No this is not one register only. PA_STATS is a set of registers. My bad I should have mentioned *registers* in the commit description. Just like MII_RT and MII_G_RT modules, PA_STATS is also a set of registers where different statistics are dumped by ICSSG firmware. Moduling this as syscon will help the driver read/write those statistics using regmap_read() / write() just like the driver currently read / write registers from mii_rt and mii_g_rt regmaps. I have tried to describe this node *ti,pa-stats* the same way as "ti,mii-g-rt" and "ti,mii-rt" > Explain in description the purpose of this register in the context of > *this* device. > Sure will do that. > Best regards, > Krzysztof > -- Thanks and Regards, Danish