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 05A23C3DA7F for ; Mon, 12 Aug 2024 16:56:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc: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=37iptNEni+wXaz9zLhvq2oTe1cY2+x9gpDIBAV+ExIY=; b=Iy1GFNsM81V2SAUh44v/0rDzFN xunoNcI7zEBwJMV5vPDMGge6KHMZbCwO17lr+eFqPoEtfooycC4PJeH7l6joQwuVfSUby6a9B24Q3 Y1FIhrL9Vc1xdCpBYEo/hICpSN9tSYFYjSDpAjDHU0pooncgC019uHT8dln7Obu09zqR+ymCKY5PB nSU64q8wmEjMCbijRYmCN1KMqfLQc/SIm+7oYOlDza6XRBv823XSkWy23+c/bk0Whj5cmzYF3UgNy na6Exi+bSxQM9Xtw5QpreLftnIWgENZ7PX/dej2NfYv3hNsZWkZXsqs6yV9aI0RXqcre33ddqz5rX pBnnEmbg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdYKv-00000000xJF-26sv; Mon, 12 Aug 2024 16:56:01 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdYKJ-00000000x80-3P8o for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2024 16:55:25 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 09D09CE0F20; Mon, 12 Aug 2024 16:55:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DAB85C32782; Mon, 12 Aug 2024 16:55:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1723481721; bh=Vb2XtNRntq4/BfBGg/dDnr4sqyICgaky81/gFEhOMkg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=U3iWuxEkDmoLexaYQLRUxJslOKdQWcV3/VKx7OcEIEXDd+rUepBmMsmztAuFpC+VK V8bncF191dnbAwu8lk+gL1zzjOsr0IuCAP3DTWhVhLNavUNI0WYMa9M8u3gnTSahR1 ZMRx4q2Yn6fy4q+gZCn92wlF2iEmIAjUqsc6qk0d7WFg82KCRVKbCOGFK/vxTHpOjV DA6GEhO5Qol/QKrwvDwTm64UKbfIjtO5zLE3WwEhEYgy3wKjKEYQJkuCXxK2LezX3C neHZTNL8jJMD+ruJJesWflZ35TnyDzj2bUUDDn+qGAwvSdZXbIdJAnRSeae9E17e6p lk3PAQS4bjK9Q== Date: Mon, 12 Aug 2024 10:55:19 -0600 From: Rob Herring To: Florian Fainelli Cc: linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski , Conor Dooley , Sudeep Holla , Cristian Marussi , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list , arm-scmi@vger.kernel.org, james.quinlan@broadcom.com, justin.chen@broadcom.com, kapil.hali@broadcom.com, bcm-kernel-feedback-list@broadcom.com Subject: Re: [PATCH 1/2] dt-bindings: sram: Document reg-io-width property Message-ID: <20240812165519.GA1260568-robh@kernel.org> References: <20240810214621.14417-1-florian.fainelli@broadcom.com> <20240810214621.14417-2-florian.fainelli@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240810214621.14417-2-florian.fainelli@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240812_095524_044846_AF1D5499 X-CRM114-Status: GOOD ( 16.80 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sat, Aug 10, 2024 at 02:46:20PM -0700, Florian Fainelli wrote: > Some SRAMs need to be accessed with a specific access width, define > the 'reg-io-width' property specifying such access sizes. IMO, those SRAMs should have a specific compatible. That restriction makes them less usable. OTOH, it is a standard property. Shrug. > > Signed-off-by: Florian Fainelli > --- > Documentation/devicetree/bindings/sram/sram.yaml | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/sram/sram.yaml b/Documentation/devicetree/bindings/sram/sram.yaml > index 0922d1f71ba8..18e42fb36846 100644 > --- a/Documentation/devicetree/bindings/sram/sram.yaml > +++ b/Documentation/devicetree/bindings/sram/sram.yaml > @@ -101,6 +101,12 @@ patternProperties: > IO mem address range, relative to the SRAM range. > maxItems: 1 > > + reg-io-width: > + description: > + The size (in bytse) of the IO accesses that should be performed on the > + SRAM. > + enum: [1, 2, 4, 8] > + > pool: > description: > Indicates that the particular reserved SRAM area is addressable > -- > 2.25.1 >