From patchwork Fri Mar 24 16:52:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 13187001 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 76D9FC6FD1C for ; Fri, 24 Mar 2023 16:53:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=1mfpK9V24OuLoC2vEv1QMA4W2AGniCXwjHyEkuwzGpY=; b=HjHJNw/tVdjfbg g71PmS/1Sv6PYEXUNheCRfG3Tk2tuZR29IZdYvZ93I6gIT7LUhL/Q95ahSKpoV02y54MPcIzD+b98 GGN4gE3SRojV5crf4AMrAiclPZjLijbIQT5kw/TACMUT7l+2hC80hkCNf31H/gKLsCklPFHNx6+zv XbskvpQjUf1Pu4kaqHQeSP7GaBsGxML8IriwbYUXeIVm1qhMWHfn3LdMQubynVY50Z6kLg00nT2MW i8dqSEFfOLAbQFrV1rbZWRNFudpcerPF7UKBZUIIlqrok5K/rm+QS6voiPsnYl0HI6NV4kar8rVFl daYS+TCwiKkZL8VpwCyw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pfkf0-0051XZ-0Q; Fri, 24 Mar 2023 16:53:02 +0000 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pfkek-0051Sa-0e for linux-arm-kernel@lists.infradead.org; Fri, 24 Mar 2023 16:52:47 +0000 Received: by mail-pl1-x62c.google.com with SMTP id kq3so2326664plb.13 for ; Fri, 24 Mar 2023 09:52:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679676763; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=1hAMVuew/XpfZidvZRKjun+NiVbRnaAGsA3f7GMnLNc=; b=gXTFgVCfp4dfhrjwiSjmzdJFjjbDr0XWRtyMeoXcEkHUnJLXWtzw7+90s/RtmAF7Lo k6NwP0A6A4weLIztatm+DDagdmP9IFQYg8Mx+4C6o+5iFvDBviV5TEQfPeBY6hTg2rzc nB9Q7+9bTkLO7gE8QlBu1ufQPCDGk67gyP6nz9JQMvu3u4yyL7ua/QML97fvk6y4hlso QOWmJRW4S6Zjhzk01o2kMDAPHQUd6swFkg7mVcr0CM9TY06FbiX2m2lvFHfN6pTKXE2c IJDsEuohFIshLmSAPblKmw0VThZ9NqxYr5MYyTgLjzDP1TLwGdlDDFcl8D0L2pnbGTTk SO2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679676763; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1hAMVuew/XpfZidvZRKjun+NiVbRnaAGsA3f7GMnLNc=; b=a0zuZYhFWb4rz+/6+2BYvIT8im5xNQ3jpmrqOQ02pGfscrt8Ndo21BFHeQCWeiTEnJ iKtB2DlHe5lT51AnQdLgT2QMVx54USVsUS1ObrpSkPnP29PfvIJgZ8g993jzzMVtKgQC OK28+Kk82su+j7Jz3mcW5zBzdrRF3NidstEKcpPGDpfr9m5uS9U/1QrI2vcHkr0hT59H w/Kr4nTptqq2FK1v7G7HS8E7OhoscsfN4jPfV7Nzd+8behSQYGqp8YGAYkToBZiV3uH/ qNhSubXgqNP26jXQnwEBBZ+SbSAKXA3z5YGWv1Lcbrr9dOoJ+USrTJPs35pqU6RxJr3U K9Bg== X-Gm-Message-State: AO0yUKXb0GoChqs4u8z7SRG51NHkuVxBlQjgE+BEPJBPasoYo7gBW8mZ N48mTsBnENTqX42wQu9sH3gDvM0FPFk= X-Google-Smtp-Source: AK7set+kSMmDMRXmTWJZtXu26zU7zy5hiq7SZCQudu5LW5A80adRBp8KrgUw8ykU8g2H8/aLlEDNmg== X-Received: by 2002:a05:6a20:c320:b0:dd:d1f2:f1a7 with SMTP id dk32-20020a056a20c32000b000ddd1f2f1a7mr3297441pzb.27.1679676763272; Fri, 24 Mar 2023 09:52:43 -0700 (PDT) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id a5-20020aa780c5000000b0062b5a55835dsm1420289pfn.213.2023.03.24.09.52.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Mar 2023 09:52:42 -0700 (PDT) From: Florian Fainelli To: linux-kernel@vger.kernel.org Cc: Florian Fainelli , Broadcom internal kernel review list , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org (moderated list:BROADCOM BCM7XXX ARM ARCHITECTURE) Subject: [PATCH 2/3] Documentation: sysfs: brcmstb-memc: Document new attributes Date: Fri, 24 Mar 2023 09:52:30 -0700 Message-Id: <20230324165231.3468069-3-f.fainelli@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230324165231.3468069-1-f.fainelli@gmail.com> References: <20230324165231.3468069-1-f.fainelli@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230324_095246_243966_2ABFB89E X-CRM114-Status: GOOD ( 11.03 ) 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 Document the DDR rank, size, total size, width and type attributes. Signed-off-by: Florian Fainelli --- .../ABI/testing/sysfs-platform-brcmstb-memc | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-platform-brcmstb-memc b/Documentation/ABI/testing/sysfs-platform-brcmstb-memc index 2f2b750ac2fd..bc969c02b85f 100644 --- a/Documentation/ABI/testing/sysfs-platform-brcmstb-memc +++ b/Documentation/ABI/testing/sysfs-platform-brcmstb-memc @@ -1,3 +1,42 @@ +What: /sys/bus/platform/devices/*/ddr_rank +Date: March 2023 +KernelVersion: 6.3 +Contact: Florian Fainelli +Description: + Displays whether the device is single or dual rank. + +What: /sys/bus/platform/devices/*/ddr_size +Date: March 2023 +KernelVersion: 6.3 +Contact: Florian Fainelli +Description: + This field specifies the size of each DRAM device in the first + (or only) rank + +What: /sys/bus/platform/devices/*/ddr_total_width +Date: March 2023 +KernelVersion: 6.3 +Contact: Florian Fainelli +Description: + This field specifies the total data width of all DRAM devices + (in each rank) + +What: /sys/bus/platform/devices/*/ddr_type +Date: March 2023 +KernelVersion: 6.3 +Contact: Florian Fainelli +Description: + This field specifies DRAM technology type. Possible values: + DDR2, DDR3, DDR4, GDDR5, GDDR5M, LPDDR4. + +What: /sys/bus/platform/devices/*/ddr_width +Date: March 2023 +KernelVersion: 6.3 +Contact: Florian Fainelli +Description: + This field specifies the data width of each DRAM device. + Possible values are: x8, x16, x32 + What: /sys/bus/platform/devices/*/srpd Date: July 2022 KernelVersion: 5.21