21. 9. 27. 오후 3:46에 Chanho Park 이(가) 쓴 글: >>> #define PCLK_AVAIL_MIN 70000000 >>> -#define PCLK_AVAIL_MAX 133000000 >>> +#define PCLK_AVAIL_MAX 167000000 >>> >> >> I'm not sure but doesn't the maximum clock frequency depend on a given >> machine? Is it true for all machines using different SoC? > > Regarding pclk(sclk_unipro)of the ufs, it can be defined by mux(MUX_CLK_FSYS2_UFS_EMBD). > It can be either 167MHz or 160MHz. And it can be defined by OSCCLK(26MHz) as well. The value was up to 133Mhz in case of exynos7 but can be extended up to 167MHz for later SoCs, AFAIK. Oscillator clock frequency could be different according to machine. And what if UFS driver is enabled for other machine using Exynos7? Is it true to use a fixed 167MHz frequency for these machines? I think you could get a proper pclk frequency from device tree specific to machine. Thanks, Inki Dae > > Best Regards, > Chanho Park > >