> > > To support the fuction of writebooster by vendor. > The WB behavior that the vendor wants is slightly different. > But we have to support it I guess that mainly you are looking for other options than devfreq. Please add few lines how are you going to replace it. > > Signed-off-by: SEO HOYOUNG <hy50.seo@xxxxxxxxxxx> > --- > drivers/scsi/ufs/Makefile | 1 + > drivers/scsi/ufs/ufs-exynos.c | 6 + > drivers/scsi/ufs/ufs_ctmwb.c | 270 ++++++++++++++++++++++++++++++++++ > drivers/scsi/ufs/ufs_ctmwb.h | 26 ++++ > 4 files changed, 303 insertions(+) > create mode 100644 drivers/scsi/ufs/ufs_ctmwb.c > create mode 100644 drivers/scsi/ufs/ufs_ctmwb.h > > diff --git a/drivers/scsi/ufs/Makefile b/drivers/scsi/ufs/Makefile > index 9810963bc049..b1ba36c7d66f 100644 > --- a/drivers/scsi/ufs/Makefile > +++ b/drivers/scsi/ufs/Makefile > @@ -5,6 +5,7 @@ obj-$(CONFIG_SCSI_UFS_DWC_TC_PLATFORM) += tc-dwc- > g210-pltfrm.o ufshcd-dwc.o tc-d > obj-$(CONFIG_SCSI_UFS_CDNS_PLATFORM) += cdns-pltfrm.o > obj-$(CONFIG_SCSI_UFS_QCOM) += ufs-qcom.o > obj-$(CONFIG_SCSI_UFS_EXYNOS) += ufs-exynos.o > +obj-$(CONFIG_SCSI_UFS_VENDOR_WB) += ufs_ctmwb.o You need to define it first in Kconfig