From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 80236C3064D for ; Fri, 28 Jun 2024 06:34:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To: Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To :Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Zbl6+jdr0qBzglazNEyciK6UzROimMizMiToNMNclqI=; b=eNqJps6G9Iei1M8SgT049XOe2P xhdIM+FEaTINnaSHyTyrRpPWEpCVDGjXwjsqLXkU1eq+tMYgMKYkgT1KAGl7hAaeCGqrRXvzddK7V Q2MH7dKalYT+weZd1KSYps+++q3qIKcQah67CUIwPJrsdyIibN/0WHpEA5KYddxSGckisTETzbLq2 rjPHCc6WUf6VsxU479VzaNxcDV3+g24FV4mDmFrZxBwElOcBIU6p8m55+jO9Q0u/YOWWl0+YX2LJl JFVT/4mX7YhYuy5jbGVtQvjH+hqlwI/BbLxtdK1fTQXdx87usF8TDofLM0XTfIWiniWsp9ZaHtv6o craQNdRA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sN5Bx-0000000CmAu-19wG; Fri, 28 Jun 2024 06:34:41 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sN5Bo-0000000Cm8M-0jxV for linux-arm-kernel@lists.infradead.org; Fri, 28 Jun 2024 06:34:34 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 45S6YOZC121275; Fri, 28 Jun 2024 01:34:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1719556464; bh=Zbl6+jdr0qBzglazNEyciK6UzROimMizMiToNMNclqI=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=LtuqRWhC+8ImISBfsAdkO+zr3RLMpQC+6Iq4+9OT6/farzfqPMvKkDkGsq3VlW0vw 24KAXg5Vxxxbw10dxrb98+eCmc1spDh5K/kz0SVnEPmvjUI8AkLUyPO5sx/mxXiiLn QUvb9KJ0QlElZDvFoph3fLR3RsAvMeEnObAvU/p8= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 45S6YOBI042515 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 28 Jun 2024 01:34:24 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) 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; Fri, 28 Jun 2024 01:34:23 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE101.ent.ti.com (157.170.170.31) 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; Fri, 28 Jun 2024 01:34:23 -0500 Received: from localhost (uda0133052.dhcp.ti.com [128.247.81.232]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 45S6YNwS082302; Fri, 28 Jun 2024 01:34:23 -0500 Date: Fri, 28 Jun 2024 01:34:23 -0500 From: Nishanth Menon To: MD Danish Anwar Subject: Re: [PATCH v3 2/2] dt-bindings: soc: ti: pruss: Add documentation for PA_STATS support Message-ID: <20240628063423.cprgwhatogc2dapo@stuffing> References: <20240625153319.795665-1-danishanwar@ti.com> <20240625153319.795665-3-danishanwar@ti.com> <20240627144538.mp7n2l7kupi7gt4l@straddle> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240627_233432_443593_5294F638 X-CRM114-Status: GOOD ( 32.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: srk@ti.com, Rob Herring , Conor Dooley , Vignesh Raghavendra , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Roger Quadros , Krzysztof Kozlowski , Santosh Shilimkar , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 10:56-20240628, MD Danish Anwar wrote: > > > On 27/06/24 8:15 pm, Nishanth Menon wrote: > > On 21:03-20240625, MD Danish Anwar wrote: > >> Add documentation for pa-stats node which is syscon regmap for > >> PA_STATS registers. This will be used to dump statistics maintained by > >> ICSSG firmware. > >> > >> Reviewed-by: Krzysztof Kozlowski > >> Signed-off-by: MD Danish Anwar > >> --- > >> .../devicetree/bindings/soc/ti/ti,pruss.yaml | 20 +++++++++++++++++++ > >> 1 file changed, 20 insertions(+) > >> > >> diff --git a/Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml b/Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml > >> index c402cb2928e8..3cb1471cc6b6 100644 > >> --- a/Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml > >> +++ b/Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml > >> @@ -278,6 +278,26 @@ patternProperties: > >> > >> additionalProperties: false > >> > >> + ^pa-stats@[a-f0-9]+$: > >> + description: | > >> + PA-STATS sub-module represented as a SysCon. PA_STATS is a set of > >> + registers where different statistics related to ICSSG, are dumped by > >> + ICSSG firmware. This syscon sub-module will help the device to > >> + access/read/write those statistics. > >> + > >> + type: object > >> + > >> + additionalProperties: false > >> + > >> + properties: > >> + compatible: > >> + items: > >> + - const: ti,pruss-pa-st > >> + - const: syscon > >> + > >> + reg: > >> + maxItems: 1 > >> + > > > > Is this a patch in a driver series? I do not see the driver part.. > > No Nishant, this is not a part of driver series. This binding patch is > related to [1] which is merged to net-next. The regmap will not be used > by drivers/soc/ti driver instead once both binding are in, the driver > changes will be needed in drivers/net/ethernet/ti/icssg/icssg_prueth.c > as there is no driver changes needed in drivers/soc/ti, I posted this > patch as stand alone. Considering this binding and [1] they both go to > different tree, I decided to get the bindings in first and in next > kernel cycle when they both are part of mainline linux, I can post the > driver changes. This is indicating some strong coupling that is sounding a bit suspicious. Please add in the full series so that folks can see the inter dependencies. > > > if this is a memory map, why doesn't bus model work? > > > > I am just trying to maintain consistency here. pa-stats sub-module is > similar to mii-g-rt and mii-rt. I am adding pa-stats in the same way as > mii-g-rt and mii-rt. > > All these three modules are eventually mapping a memory region so that > the icssg driver can use them and read / configure registers. Sounds like mapping a bus is more appropriate? I dont seem to see it though. > > > > >> interrupt-controller@[a-f0-9]+$: > >> description: | > >> PRUSS INTC Node. Each PRUSS has a single interrupt controller instance > >> -- > >> 2.34.1 > >> > > > > [1] https://lore.kernel.org/all/20240529115225.630535-1-danishanwar@ti.com/ > > -- > Thanks and Regards, > Danish -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D