Revert "Revert "[Tablet] Added missing APIs for TSL2771 Proximity driver""

This reverts commit 0273ac33786faa8bc229594a5f7c9f8c6a9185d9.
Revert "script: fix unused variable in textbox."

This reverts commit 4fc9ed1da979f1af9e81c34e7db6b494d44a8637.