| /rk3399_ARM-atf/drivers/nxp/ddr/phy-gen2/ |
| H A D | phy.c | 70 static inline uint16_t *phy_io_addr(void *phy, uint32_t addr) in phy_io_addr() argument 72 return phy + (map_phy_addr_space(addr) << 2); in phy_io_addr() 75 static inline void phy_io_write16(uint16_t *phy, uint32_t addr, uint16_t data) in phy_io_write16() argument 77 mmio_write_16((uintptr_t)phy_io_addr(phy, addr), data); in phy_io_write16() 83 static inline uint16_t phy_io_read16(uint16_t *phy, uint32_t addr) in phy_io_read16() argument 85 uint16_t reg = mmio_read_16((uintptr_t) phy_io_addr(phy, addr)); in phy_io_read16() 99 static void read_phy_reg(uint16_t *phy, uint32_t addr, in read_phy_reg() argument 105 buf[i] = phy_io_read16(phy, (addr + i)); in read_phy_reg() 148 uint16_t *phy; in get_cdd_val() local 157 phy = phy_ptr[i]; in get_cdd_val() [all …]
|
| /rk3399_ARM-atf/plat/rockchip/rk3368/drivers/ddr/ |
| H A D | ddr_rk3368.c | 169 struct DDRPHY_SAVE_REG_TAG phy; member 315 p_ddr_reg->phy.PHY_REG0 = mmio_read_32(DDR_PHY_BASE + DDR_PHY_REG0); in ddr_reg_save() 316 p_ddr_reg->phy.PHY_REG1 = mmio_read_32(DDR_PHY_BASE + DDR_PHY_REG1); in ddr_reg_save() 317 p_ddr_reg->phy.PHY_REGB = mmio_read_32(DDR_PHY_BASE + DDR_PHY_REGB); in ddr_reg_save() 318 p_ddr_reg->phy.PHY_REGC = mmio_read_32(DDR_PHY_BASE + DDR_PHY_REGC); in ddr_reg_save() 319 p_ddr_reg->phy.PHY_REG11 = mmio_read_32(DDR_PHY_BASE + DDR_PHY_REG11); in ddr_reg_save() 320 p_ddr_reg->phy.PHY_REG13 = mmio_read_32(DDR_PHY_BASE + DDR_PHY_REG13); in ddr_reg_save() 321 p_ddr_reg->phy.PHY_REG14 = mmio_read_32(DDR_PHY_BASE + DDR_PHY_REG14); in ddr_reg_save() 322 p_ddr_reg->phy.PHY_REG16 = mmio_read_32(DDR_PHY_BASE + DDR_PHY_REG16); in ddr_reg_save() 323 p_ddr_reg->phy.PHY_REG20 = mmio_read_32(DDR_PHY_BASE + DDR_PHY_REG20); in ddr_reg_save() [all …]
|
| /rk3399_ARM-atf/plat/brcm/board/stingray/driver/ |
| H A D | usb_phy.c | 278 usb_phy_t *phy = phy_port->p; in u3h_u2drd_phy_reset() local 282 mmio_clrbits_32(phy->usb3hreg + USB3H_U2PHY_CTRL, in u3h_u2drd_phy_reset() 284 mmio_setbits_32(phy->usb3hreg + USB3H_U2PHY_CTRL, in u3h_u2drd_phy_reset() 288 mmio_clrbits_32(phy->drdu2reg + DRDU2_PHY_CTRL, in u3h_u2drd_phy_reset() 290 mmio_setbits_32(phy->drdu2reg + DRDU2_PHY_CTRL, in u3h_u2drd_phy_reset() 298 usb_phy_t *phy = phy_port->p; in u3drd_phy_reset() local 301 mmio_clrbits_32(phy->drdu3reg + DRDU3_U2PHY_CTRL, in u3drd_phy_reset() 303 mmio_setbits_32(phy->drdu3reg + DRDU3_U2PHY_CTRL, in u3drd_phy_reset() 310 usb_phy_t *phy = phy_port->p; in u3h_u2drd_phy_power_on() local 315 mmio_clrbits_32(phy->usb3hreg + USB3H_PHY_PWR_CTRL, in u3h_u2drd_phy_power_on() [all …]
|
| /rk3399_ARM-atf/plat/st/stm32mp2/ |
| H A D | platform.mk | 108 STM32MP_DDR_FW_PATH ?= drivers/st/ddr/phy/firmware/bin/stm32mp2 189 PLAT_INCLUDES += -Idrivers/st/ddr/phy/phyinit/include/ 190 PLAT_INCLUDES += -Idrivers/st/ddr/phy/firmware/include/ 237 BL2_SOURCES += drivers/st/ddr/phy/phyinit/src/ddrphy_phyinit_c_initphyconfig.c \ 238 drivers/st/ddr/phy/phyinit/src/ddrphy_phyinit_calcmb.c \ 239 drivers/st/ddr/phy/phyinit/src/ddrphy_phyinit_i_loadpieimage.c \ 240 drivers/st/ddr/phy/phyinit/src/ddrphy_phyinit_initstruct.c \ 241 drivers/st/ddr/phy/phyinit/src/ddrphy_phyinit_isdbytedisabled.c \ 242 drivers/st/ddr/phy/phyinit/src/ddrphy_phyinit_loadpieprodcode.c \ 243 drivers/st/ddr/phy/phyinit/src/ddrphy_phyinit_mapdrvstren.c \ [all …]
|
| /rk3399_ARM-atf/fdts/ |
| H A D | stm32mp15xx-dhcom-pdk2.dtsi | 28 phy-names = "usb2-phy"; 39 phy-supply = <&vdd_usb>; 43 phy-supply = <&vdd_usb>;
|
| H A D | stm32mp15xx-dhcor-avenger96.dtsi | 84 phy-names = "usb2-phy"; 95 phy-supply = <&vdd_usb>; 99 phy-supply = <&vdd_usb>;
|
| H A D | stm32mp25-ddr.dtsi | 124 st,phy-basic = < 146 st,phy-advanced = < 192 st,phy-mr = < 207 st,phy-swizzle = <
|
| H A D | stm32mp15-ddr.dtsi | 86 st,phy-reg = < 100 st,phy-timing = <
|
| H A D | stm32mp15xx-dkx.dtsi | 319 phy-names = "usb2-phy"; 329 phy-supply = <&vdd_usb>; 333 phy-supply = <&vdd_usb>;
|
| H A D | corstone700_fpga.dts | 17 phy-mode = "mii";
|
| H A D | corstone700_fvp.dts | 30 phy-mode = "mii";
|
| H A D | stm32mp13-ddr.dtsi | 80 st,phy-reg = < 92 st,phy-timing = <
|
| H A D | tc-fpga.dtsi | 43 phy-mode = "mii";
|
| /rk3399_ARM-atf/drivers/st/ddr/ |
| H A D | stm32mp1_ddr.c | 212 static void stm32mp1_ddrphy_idone_wait(struct stm32mp_ddrphy *phy) in stm32mp1_ddrphy_idone_wait() argument 219 pgsr = mmio_read_32((uintptr_t)&phy->pgsr); in stm32mp1_ddrphy_idone_wait() 222 (uintptr_t)&phy->pgsr, pgsr); in stm32mp1_ddrphy_idone_wait() 254 (uintptr_t)&phy->pgsr, pgsr); in stm32mp1_ddrphy_idone_wait() 257 static void stm32mp1_ddrphy_init(struct stm32mp_ddrphy *phy, uint32_t pir) in stm32mp1_ddrphy_init() argument 261 mmio_write_32((uintptr_t)&phy->pir, pir_init); in stm32mp1_ddrphy_init() 263 (uintptr_t)&phy->pir, pir_init, in stm32mp1_ddrphy_init() 264 mmio_read_32((uintptr_t)&phy->pir)); in stm32mp1_ddrphy_init() 270 stm32mp1_ddrphy_idone_wait(phy); in stm32mp1_ddrphy_init() 380 uint32_t mr1 = mmio_read_32((uintptr_t)&priv->phy->mr1); in stm32mp1_ddr3_dll_off() [all …]
|
| H A D | stm32mp1_ram.c | 146 priv->phy = (struct stm32mp_ddrphy *)stm32mp_ddrphyc_base(); in stm32mp1_ddr_probe()
|
| /rk3399_ARM-atf/drivers/nxp/ddr/nxp-ddr/ |
| H A D | ddr.mk | 9 PLAT_DDR_PHY_DIR := phy-gen2 29 PLAT_DDR_PHY_DIR := phy-gen1 82 $(PLAT_DRIVERS_PATH)/ddr/$(PLAT_DDR_PHY_DIR)/phy.c
|
| H A D | utility.c | 147 priv->phy[0] = priv->phy[0]; in disable_unused_ddrc() 148 priv->phy[1] = NULL; in disable_unused_ddrc() 154 priv->phy[1] = NULL; in disable_unused_ddrc()
|
| /rk3399_ARM-atf/docs/plat/marvell/armada/ |
| H A D | porting.rst | 101 Comphy Porting (phy-porting-layer.h or phy-default-porting-layer.h) 124 ``drivers/marvell/comphy/phy-default-porting-layer.h`` which contains the 126 phy-porting-layer.h file under: ``plat/marvell/armada/<soc 127 family>/<platform>/board/phy-porting-layer.h``. If the phy-porting-layer.h 128 exists, the phy-default-porting-layer.h is not going to be included. 138 …``plat/marvell/armada/a8k/a80x0/board/phy-porting-layer.h`` "plat/marvell/armada/<soc family>/<pla… 148 ``plat/marvell/armada/a8k/a80x0/board/phy-porting-layer.h`` 152 phy-porting-layer.h), the default values are used 153 (drivers/marvell/comphy/phy-default-porting-layer.h) and the user is
|
| /rk3399_ARM-atf/plat/nxp/soc-lx2160a/lx2160ardb/ |
| H A D | ddr_init.c | 188 info.phy[0] = (void *)NXP_DDR_PHY1_ADDR; in init_ddr() 189 info.phy[1] = (void *)NXP_DDR_PHY2_ADDR; in init_ddr()
|
| /rk3399_ARM-atf/include/drivers/st/ |
| H A D | stm32mp_ddr.h | 51 struct stm32mp_ddrphy *phy; member
|
| /rk3399_ARM-atf/include/drivers/nxp/ddr/ |
| H A D | ddr.h | 98 uint16_t *phy[MAX_DDRC_NUM]; member
|
| /rk3399_ARM-atf/plat/nxp/soc-lx2160a/ |
| H A D | ddr_fip.mk | 8 DDR_PHY_BIN_PATH ?= ./ddr-phy-binary/lx2160a
|
| /rk3399_ARM-atf/docs/plat/st/ |
| H A D | stm32mp2.rst | 161 …git clone https://github.com/STMicroelectronics/stm32-ddr-phy-binary.git drivers/st/ddr/phy/firmwa… 196 .. _STMicroelectronics DDR PHY github: https://github.com/STMicroelectronics/stm32-ddr-phy-binary
|
| /rk3399_ARM-atf/plat/nxp/soc-lx2160a/lx2160aqds/ |
| H A D | ddr_init.c | 323 info.phy[0] = (void *)NXP_DDR_PHY1_ADDR; in init_ddr() 324 info.phy[1] = (void *)NXP_DDR_PHY2_ADDR; in init_ddr()
|
| /rk3399_ARM-atf/plat/nxp/soc-lx2160a/lx2162aqds/ |
| H A D | ddr_init.c | 323 info.phy[0] = (void *)NXP_DDR_PHY1_ADDR; in init_ddr() 324 info.phy[1] = (void *)NXP_DDR_PHY2_ADDR; in init_ddr()
|