Home
last modified time | relevance | path

Searched +full:brcmstb +full:- +full:memc +full:- +full:ddr +full:- +full:rev +full:- +full:c (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/memory-controllers/
Dbrcm,brcmstb-memc-ddr.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/memory-controllers/brcm,brcmstb-memc-ddr.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Memory controller (MEMC) for Broadcom STB
10 - Florian Fainelli <f.fainelli@gmail.com>
15 - enum:
16 - brcm,brcmstb-memc-ddr-rev-b.1.x
17 - brcm,brcmstb-memc-ddr-rev-b.2.0
18 - brcm,brcmstb-memc-ddr-rev-b.2.1
[all …]
/linux-6.12.1/drivers/memory/
Dbrcmstb_memc.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * DDR Self-Refresh Power Down (SRPD) support for Broadcom STB SoCs
37 static int brcmstb_memc_uses_lpddr4(struct brcmstb_memc *memc) in brcmstb_memc_uses_lpddr4() argument
39 void __iomem *config = memc->ddr_ctrl + REG_MEMC_CNTRLR_CONFIG; in brcmstb_memc_uses_lpddr4()
47 static int brcmstb_memc_srpd_config(struct brcmstb_memc *memc, in brcmstb_memc_srpd_config() argument
50 void __iomem *cfg = memc->ddr_ctrl + memc->srpd_offset; in brcmstb_memc_srpd_config()
55 return -EINVAL; in brcmstb_memc_srpd_config()
57 memc->timeout_cycles = cycles; in brcmstb_memc_srpd_config()
73 struct brcmstb_memc *memc = dev_get_drvdata(dev); in frequency_show() local
75 return sprintf(buf, "%d\n", memc->frequency); in frequency_show()
[all …]