From patchwork Sat Aug 10 21:46:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 13759640 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 ABFD5C3DA4A for ; Sat, 10 Aug 2024 21:47:08 +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:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=SY+5hEUb9MBcFzxg28MS4nYfH3IEnJ/CQ+k9CEV+sVY=; b=wc7S/Gwctdu0cHv78a3mDDoeza zX5owWC5PB0fZlZZJuhioFIaLPu5aMqEuS0oby/a1k+4zdt8tRPzhpptyaeRJCcYiPXEzTPHnEqaE +xffi7mrCGCDpZI369EyU0eXkFt6O5nobnKHXT0cMGU6pk3Sae5I+6G3I0Zmh+0SF/FIvUaNZP47b 7V79SXWuOzHrP1REe9zgM/yHIxgCCDglfPvB8IBq8srRRR64NXArkK5xdsF4sN1Nxp0vquKbx+HwJ RGvEZwEVXHF3i5qsW1oPKmnNeSOQrs/Glx240QD2ewYjQO3qtTS9xx1ES7gM3/5BuGzfbw+nVtjYV MrEgaYXg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sctvN-0000000Edzt-3idP; Sat, 10 Aug 2024 21:46:57 +0000 Received: from relay.smtp-ext.broadcom.com ([192.19.144.207]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sctuo-0000000Edv7-0iPi for linux-arm-kernel@lists.infradead.org; Sat, 10 Aug 2024 21:46:23 +0000 Received: from mail-lvn-it-01.lvn.broadcom.net (mail-lvn-it-01.lvn.broadcom.net [10.36.132.253]) by relay.smtp-ext.broadcom.com (Postfix) with ESMTP id 2BEC6C0000E4; Sat, 10 Aug 2024 14:46:20 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 relay.smtp-ext.broadcom.com 2BEC6C0000E4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com; s=dkimrelay; t=1723326380; bh=MUN8hJZBvUsv9hOuGxfHs6O/XXcOcIX7/oOxXRy/PG0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZHR5cSXrP8pWd9eAS9BmvQyflGczrTQJd8t7EcVZOLzSWwBgj/ixIvgajPG1VZhfP 4Zjt7D4PWUCB/AspQQaH5irmbfwKwVdVzih2HCbQ1wT+BCsIPwMyZc3ilX+a/bLHFB k0lhjqqq8yoSFlqP11tDC8SD+wniN4fu1Zg+Hpno= Received: from 7YHHR73.igp.broadcom.net (unknown [10.230.29.203]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail-lvn-it-01.lvn.broadcom.net (Postfix) with ESMTPSA id D0A8418041CAC6; Sat, 10 Aug 2024 14:46:16 -0700 (PDT) From: Florian Fainelli To: linux-arm-kernel@lists.infradead.org Cc: Florian Fainelli , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sudeep Holla , Cristian Marussi , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (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: [PATCH 1/2] dt-bindings: sram: Document reg-io-width property Date: Sat, 10 Aug 2024 14:46:20 -0700 Message-Id: <20240810214621.14417-2-florian.fainelli@broadcom.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240810214621.14417-1-florian.fainelli@broadcom.com> References: <20240810214621.14417-1-florian.fainelli@broadcom.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240810_144622_603325_66CC3DF5 X-CRM114-Status: GOOD ( 11.87 ) 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 Some SRAMs need to be accessed with a specific access width, define the 'reg-io-width' property specifying such access sizes. Signed-off-by: Florian Fainelli Reviewed-by: Krzysztof Kozlowski --- 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