| /linux/arch/powerpc/include/asm/ |
| H A D | mpc52xx.h | 197 u32 jtag_id; /* CDM + 0x00 reg0 read only */ 198 u32 rstcfg; /* CDM + 0x04 reg1 read only */ 199 u32 breadcrumb; /* CDM + 0x08 reg2 */ 201 u8 mem_clk_sel; /* CDM + 0x0c reg3 byte0 */ 202 u8 xlb_clk_sel; /* CDM + 0x0d reg3 byte1 read only */ 203 u8 ipb_clk_sel; /* CDM + 0x0e reg3 byte2 */ 204 u8 pci_clk_sel; /* CDM + 0x0f reg3 byte3 */ 206 u8 ext_48mhz_en; /* CDM + 0x10 reg4 byte0 */ 207 u8 fd_enable; /* CDM + 0x11 reg4 byte1 */ 208 u16 fd_counters; /* CDM + 0x12 reg4 byte2,3 */ [all …]
|
| /linux/arch/powerpc/platforms/52xx/ |
| H A D | lite5200_pm.c | 14 static struct mpc52xx_cdm __iomem *cdm; variable 77 cdm = mbar + 0x200; in lite5200_pm_prepare() 102 _memcpy_fromio(&scdm, cdm, sizeof(*cdm)); in lite5200_save_regs() 137 /* CDM - Clock Distribution Module */ in lite5200_restore_regs() 138 out_8(&cdm->ipb_clk_sel, scdm.ipb_clk_sel); in lite5200_restore_regs() 139 out_8(&cdm->pci_clk_sel, scdm.pci_clk_sel); in lite5200_restore_regs() 141 out_8(&cdm->ext_48mhz_en, scdm.ext_48mhz_en); in lite5200_restore_regs() 142 out_8(&cdm->fd_enable, scdm.fd_enable); in lite5200_restore_regs() 143 out_be16(&cdm->fd_counters, scdm.fd_counters); in lite5200_restore_regs() 145 out_be32(&cdm->clk_enables, scdm.clk_enables); in lite5200_restore_regs() [all …]
|
| H A D | lite5200.c | 34 { .compatible = "fsl,mpc5200-cdm", }, 35 { .compatible = "mpc5200-cdm", }, 56 struct mpc52xx_cdm __iomem *cdm; in lite5200_fix_clock_config() local 59 cdm = of_iomap(np, 0); in lite5200_fix_clock_config() 61 if (!cdm) { in lite5200_fix_clock_config() 68 out_8(&cdm->ext_48mhz_en, 0x00); in lite5200_fix_clock_config() 69 out_8(&cdm->fd_enable, 0x01); in lite5200_fix_clock_config() 70 if (in_be32(&cdm->rstcfg) & 0x40) /* Assumes 33Mhz clock */ in lite5200_fix_clock_config() 71 out_be16(&cdm->fd_counters, 0x0001); in lite5200_fix_clock_config() 73 out_be16(&cdm->fd_counters, 0x5555); in lite5200_fix_clock_config() [all …]
|
| H A D | mpc52xx_pm.c | 21 static struct mpc52xx_cdm __iomem *cdm; variable 90 cdm = mbar + 0x200; in mpc52xx_pm_prepare() 140 out_8(&cdm->ccs_sleep_enable, 1); in mpc52xx_pm_enter() 141 out_8(&cdm->osc_sleep_enable, 1); in mpc52xx_pm_enter() 142 out_8(&cdm->ccs_qreq_test, 1); in mpc52xx_pm_enter() 145 clk_enables = in_be32(&cdm->clk_enables); in mpc52xx_pm_enter() 146 out_be32(&cdm->clk_enables, clk_enables & 0x00088000); in mpc52xx_pm_enter() 162 mpc52xx_deep_sleep(sram, sdram, cdm, intr); in mpc52xx_pm_enter() 173 out_be32(&cdm->clk_enables, clk_enables); in mpc52xx_pm_enter() 174 out_8(&cdm->ccs_sleep_enable, 0); in mpc52xx_pm_enter() [all …]
|
| H A D | mpc52xx_common.c | 115 { .compatible = "fsl,mpc5200-cdm", }, 116 { .compatible = "mpc5200-cdm", }, /* old */ 167 * mpc52xx_set_psc_clkdiv: Set clock divider in the CDM for PSC ports 170 * @clkdiv: clock divider value to put into CDM PSC register.
|
| H A D | mpc52xx_sleep.S | 10 mpc52xx_deep_sleep: /* args r3-r6: SRAM, SDRAM regs, CDM regs, INTR regs */ 90 lwz r8, 0x14(r5) /* cdm->clkenable */
|
| H A D | Kconfig | 18 - CDM configuration (clocking) is setup correctly by firmware,
|
| H A D | mpc5200_simple.c | 14 * - CDM configuration (clocking) is setup correctly by firmware,
|
| /linux/drivers/spi/ |
| H A D | spi-ppc4xx.c | 101 * SCPClkOut = OPBCLK/(4(CDM + 1)) 103 * CDM = (OPBCLK/4*SCPClkOut) - 1 106 u8 cdm; member 167 u8 cdm = 0; in spi_ppc4xx_setupxfer() local 194 cdm = min(scr, 0xff); in spi_ppc4xx_setupxfer() 196 dev_dbg(&spi->dev, "setting pre-scaler to %d (hz %d)\n", cdm, speed); in spi_ppc4xx_setupxfer() 198 if (in_8(&hw->regs->cdm) != cdm) in spi_ppc4xx_setupxfer() 199 out_8(&hw->regs->cdm, cdm); in spi_ppc4xx_setupxfer()
|
| /linux/drivers/net/can/mscan/ |
| H A D | mpc5xxx_can.c | 40 { .compatible = "fsl,mpc5200-cdm", }, 48 struct mpc52xx_cdm __iomem *cdm; in mpc52xx_can_get_clock() local 81 cdm = of_iomap(np_cdm, 0); in mpc52xx_can_get_clock() 82 if (!cdm) { in mpc52xx_can_get_clock() 88 if (in_8(&cdm->ipb_clk_sel) & 0x1) in mpc52xx_can_get_clock() 90 val = in_be32(&cdm->rstcfg); in mpc52xx_can_get_clock() 96 iounmap(cdm); in mpc52xx_can_get_clock()
|
| /linux/Documentation/devicetree/bindings/pci/ |
| H A D | snps,dw-pcie-common.yaml | 24 configuration space belongs to the Configuration-Dependent Module (CDM) 28 CDM/ELBI (dbi_cs) and CS2 (dbi_cs2) signals (selector bits). Such 255 snps,enable-cdm-check: 258 Enable automatic checking of CDM (Configuration Dependent Module) 259 registers for data corruption. CDM registers include standard PCIe
|
| H A D | snps,dw-pcie-ep.yaml | 46 CDM/ELBI = 0 and CS2 = 0 or is a contiguous memory region 53 by setting CDM/ELBI = 0 and CS2 = 1. This is an intermix of 63 can be selected by setting CDM/ELBI = 1 and CS2 = 0 wires or can 70 Unit and Enhanced DMA, which is selected by setting CDM/ELBI = 1
|
| H A D | snps,dw-pcie.yaml | 55 CDM/ELBI = 0 and CS2 = 0 or is a contiguous memory region 62 by setting CDM/ELBI = 0 and CS2 = 1. This is an intermix of 72 can be selected by setting CDM/ELBI = 1 and CS2 = 0 wires or can 79 Unit and Enhanced DMA, which is selected by setting CDM/ELBI = 1
|
| H A D | rcar-gen4-pci-host.yaml | 128 snps,enable-cdm-check;
|
| /linux/drivers/gpu/drm/imagination/ |
| H A D | pvr_rogue_fwif_shared.h | 29 * This is a generic limit imposed on any DM (GEOMETRY,FRAGMENT,CDM,TDM,2D,TRANSFER) 182 /* CDM resume controls */ 198 /* CDM registers for ctx switch */
|
| H A D | pvr_rogue_fwif_common.h | 43 /* Maximum number of DM in use: GP, 2D/TDM, GEOM, 3D, CDM, RAY, GEOM2, GEOM3, GEOM4 */
|
| H A D | pvr_rogue_fwif_client.h | 262 * Configuration registers which need to be loaded by the firmware before CDM 301 /* CDM registers */
|
| /linux/drivers/gpu/drm/msm/disp/dpu1/ |
| H A D | dpu_rm.c | 197 if (cat->cdm) { in dpu_rm_init() 200 hw = dpu_hw_cdm_init(dev, cat->cdm, mmio, cat->mdss_ver); in dpu_rm_init() 203 DPU_ERROR("failed cdm object creation: err %d\n", rc); in dpu_rm_init() 645 /* try allocating only one CDM block */ in _dpu_rm_reserve_cdm() 647 DPU_ERROR("CDM block does not exist\n"); in _dpu_rm_reserve_cdm() 652 DPU_ERROR("More than 1 INTF requesting CDM\n"); in _dpu_rm_reserve_cdm() 701 DPU_ERROR("unable to find CDM blk\n"); in _dpu_rm_make_reservation() 879 [DPU_HW_BLK_CDM] = "CDM",
|
| /linux/arch/powerpc/boot/dts/ |
| H A D | mpc5200b.dtsi | 50 cdm@200 { 51 compatible = "fsl,mpc5200b-cdm","fsl,mpc5200-cdm";
|
| H A D | tqm5200.dts | 49 cdm@200 { 50 compatible = "fsl,mpc5200-cdm";
|
| H A D | charon.dts | 52 cdm@200 { 53 compatible = "fsl,mpc5200-cdm";
|
| H A D | lite5200.dts | 49 cdm@200 { 50 compatible = "fsl,mpc5200-cdm";
|
| /linux/drivers/gpu/drm/msm/disp/mdp5/ |
| H A D | mdp5_cfg.c | 714 .cdm = { 908 .cdm = { 999 .cdm = { 1085 .cdm = { 1188 .cdm = { 1286 .cdm = { 1384 .cdm = {
|
| H A D | mdp5_cfg.h | 110 struct mdp5_sub_block cdm; member
|
| /linux/Documentation/devicetree/bindings/powerpc/fsl/ |
| H A D | mpc5200.txt | 76 cdm@<addr> fsl,mpc5200-cdm Clock Distribution
|