Re: [PATCH v3 1/3] mmc: rockchip_sdhci: add phy and clock config for rk3399

2021-11-24 Thread Simon Glass
Hi Jack, On Fri, 29 Oct 2021 at 09:45, Jack Mitchell wrote: > > Hi, > > > snip > > > + > > +static int rk3399_emmc_get_phy(struct udevice *dev) > > +{ > > + struct rockchip_sdhc *priv = dev_get_priv(dev); > > + ofnode phy_node; > > + void *grf_base; > > + u32 grf_phy_offset, phand

Re: [PATCH v3 1/3] mmc: rockchip_sdhci: add phy and clock config for rk3399

2021-10-29 Thread Jack Mitchell
Hi, > snip > + > +static int rk3399_emmc_get_phy(struct udevice *dev) > +{ > + struct rockchip_sdhc *priv = dev_get_priv(dev); > + ofnode phy_node; > + void *grf_base; > + u32 grf_phy_offset, phandle; > + > + phandle = dev_read_u32_default(dev, "phys", 0); > + phy_node = o

Re: [PATCH v3 1/3] mmc: rockchip_sdhci: add phy and clock config for rk3399

2021-08-11 Thread Kever Yang
Yifeng Zhao 于2021年6月29日周二 下午7:40写道: > > Add clock, phy and other configuration, it is convenient to support > new controller. Here a short summary of the changes: > - Add mmc_of_parse to parse dts config. > - Remove OF_PLATDATA related code. > - Reorder header inclusion. > - Add phy ops. > - add o

Re: [PATCH v3 1/3] mmc: rockchip_sdhci: add phy and clock config for rk3399

2021-06-29 Thread Jaehoon Chung
On 6/29/21 5:24 PM, Yifeng Zhao wrote: > Add clock, phy and other configuration, it is convenient to support > new controller. Here a short summary of the changes: > - Add mmc_of_parse to parse dts config. > - Remove OF_PLATDATA related code. > - Reorder header inclusion. > - Add phy ops. > - add o

[PATCH v3 1/3] mmc: rockchip_sdhci: add phy and clock config for rk3399

2021-06-29 Thread Yifeng Zhao
Add clock, phy and other configuration, it is convenient to support new controller. Here a short summary of the changes: - Add mmc_of_parse to parse dts config. - Remove OF_PLATDATA related code. - Reorder header inclusion. - Add phy ops. - add ops set_ios_post to modify the parameters of phy when