From patchwork Fri Jul 22 18:41:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 12926752 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 E8BEAC433EF for ; Fri, 22 Jul 2022 18:42:59 +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=OB6NWwJw/CWAP05HBgR5e9m/B+HFZx5jcL+Zee/Gobk=; b=rYKk2m0J7tfBK1 /ex/2TFGvqnn5TbVYqyqaPpyqPZJEm5ZIhUYXYCRFDzG+j1bDYT7kxWDlmpAv821msk6OyDMTvyw7 47KBV6e2XxyVGSwfLs1Wv5QY5cxGRZ8KP18cFUKutz6drPANu96Lu2SjwVsRZO5hOyKWAdTbjLC0n +GGmqqRIGOkT8NO6XJbsDXYiFwlQEk0M74qOHhC0OVFCNEz8VDtUHcJuEncgfc6i8vV6J8Bkkp4mg /TTtuQcxf05mCR0/3N3f82S2DlZ/R61UG+/vxfjuMILZ0GT5QMrYuUPrMVRRN0Jk/YCbbGm0qayCj odIeDWlIba91QXWxU+kA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oExb4-0090kU-Ro; Fri, 22 Jul 2022 18:41:58 +0000 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oExar-0090d2-O4 for linux-arm-kernel@lists.infradead.org; Fri, 22 Jul 2022 18:41:47 +0000 Received: by mail-pj1-x1030.google.com with SMTP id d7-20020a17090a564700b001f209736b89so8941437pji.0 for ; Fri, 22 Jul 2022 11:41:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jofpAqecbdGgkYzZMNCG3YcniBpkLsYrCEk/bJeq2jo=; b=GBKqB6O9kXYaONhBo6rVzjwqjKkOq+RwSRcG8s+Z13pqae0x2+nNdfx+WSZWhzSUK/ gOwdostQNIlQrjHgtnEK7EZfk5bE1RyW+ZcwJ1E5XyHALjjy3HmOVUdObkApoErHP2a+ i1Plw+EGu7H5gG5ULKHEhGqjdChBBk9cTnpcYkdxHSaLFfSwNsR6Ik5/uJcZ5E/X0YN+ MZ4CBM8h/WOD3ZqTmGY5Q5sGuyacf2iBIaYptW67Tb6LEWbkSuJv/MNq9whE0Kxek0U/ zf9p0rnkGB0TFozR/0Yj3NktngM/8mNU2nflV78gR4bV37PCoSIE1Rq5aE5MZgf4lhlN 83Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jofpAqecbdGgkYzZMNCG3YcniBpkLsYrCEk/bJeq2jo=; b=TGOKjTtQLY7sBZevrUctTVWdscwATZKIQUEEFOXcCCY6WciblS46nG4kQ1D6zT1dbL raOU9D2nosqZ90C8csMPn1Qhc53uZiOqMkeJDElWHAoKFMTU1L06M4FlsPkf7C6D0YbE 8uUVGJPs1/QH010yjPgVlzrSwYLGDjCpfOB2o0ocF3hmpAg6ODgzBcUc1bfBSJU5XVxW HvrJDit/KiKnWfNTFUQ3sNplX/Gxa3qcM9rPFZYiHoHcCtIMFzemifz799bTGCsxXO7t WRGZZh8sQ0N1uh8UvNwX6UE8ponYdkT730C1L8ZecXRBS5wauI1Xt5SixTsFFTSJoiyZ 77BQ== X-Gm-Message-State: AJIora/VFD5Q54ufGB/fqbVFM366XV6JfsXYbSJrKNWIt5MO40SGgJPF aDumzMBDPaZr6uOAh9cXURc= X-Google-Smtp-Source: AGRyM1vaJyPY9HB20qdpQMq2mZVxyUFMAIfPg1DJF+L3ybnhQs9TCzD0nAv24ZFvyrIwX+ysckI82A== X-Received: by 2002:a17:902:d711:b0:16d:1665:1162 with SMTP id w17-20020a170902d71100b0016d16651162mr857242ply.5.1658515303257; Fri, 22 Jul 2022 11:41:43 -0700 (PDT) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id y12-20020a17090322cc00b0016c9e5f291bsm675976plg.111.2022.07.22.11.41.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jul 2022 11:41:42 -0700 (PDT) From: Florian Fainelli To: linux-kernel@vger.kernel.org Cc: Florian Fainelli , Rob Herring , Krzysztof Kozlowski , Broadcom internal kernel review list , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-arm-kernel@lists.infradead.org (moderated list:BROADCOM BCM7XXX ARM ARCHITECTURE) Subject: [PATCH 1/3] dt-bindings: memory-controller: Document Broadcom STB MEMC Date: Fri, 22 Jul 2022 11:41:36 -0700 Message-Id: <20220722184138.2666241-2-f.fainelli@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220722184138.2666241-1-f.fainelli@gmail.com> References: <20220722184138.2666241-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-20220722_114145_813523_3F7FA847 X-CRM114-Status: GOOD ( 14.90 ) 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 Broadcom STB memory controller which is a trivial binding for now with a set of compatible strings and single register. Signed-off-by: Florian Fainelli --- .../memory-controllers/brcm,memc.yaml | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/memory-controllers/brcm,memc.yaml diff --git a/Documentation/devicetree/bindings/memory-controllers/brcm,memc.yaml b/Documentation/devicetree/bindings/memory-controllers/brcm,memc.yaml new file mode 100644 index 000000000000..a629734f0cd0 --- /dev/null +++ b/Documentation/devicetree/bindings/memory-controllers/brcm,memc.yaml @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/memory-controllers/brcm,memc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Memory controller (MEMC) for Broadcom STB + +maintainers: + - Florian Fainelli + +properties: + compatible: + items: + - enum: + - brcm,brcmstb-memc-ddr-rev-b.1.x + - brcm,brcmstb-memc-ddr-rev-b.2.0 + - brcm,brcmstb-memc-ddr-rev-b.2.1 + - brcm,brcmstb-memc-ddr-rev-b.2.2 + - brcm,brcmstb-memc-ddr-rev-b.2.3 + - brcm,brcmstb-memc-ddr-rev-b.2.5 + - brcm,brcmstb-memc-ddr-rev-b.2.6 + - brcm,brcmstb-memc-ddr-rev-b.2.7 + - brcm,brcmstb-memc-ddr-rev-b.2.8 + - brcm,brcmstb-memc-ddr-rev-b.3.0 + - brcm,brcmstb-memc-ddr-rev-b.3.1 + - brcm,brcmstb-memc-ddr-rev-c.1.0 + - brcm,brcmstb-memc-ddr-rev-c.1.1 + - brcm,brcmstb-memc-ddr-rev-c.1.2 + - brcm,brcmstb-memc-ddr-rev-c.1.3 + - brcm,brcmstb-memc-ddr-rev-c.1.4 + - const: brcm,brcmstb-memc-ddr + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + memory-controller@9902000 { + compatible = "brcm,brcmstb-memc-ddr-rev-c.1.1", + "brcm,brcmstb-memc-ddr"; + reg = <0x9902000 0x600>; + };