Add SmartMAX from maxwen's Oppo 8974 kernel

Change-Id: Iad1987f39cf165a250fae39caf203d7aa7cdcd0e