luca020400

Untitled

Mar 3rd, 2016
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. /* [email protected], 2015/03/02, add for alsps:36686. */
  2. capella@60 {
  3. compatible = "capella,cm36686";
  4. reg = <0x60>;
  5. interrupt-parent = <&msm_gpio>;
  6. interrupts = <9 0x2>;
  7. vdd-supply = <&pm8916_l17>;
  8. vio-supply = <&pm8916_l6>;
  9. capella,use-polling;
  10. capella,interrupt-gpio = <&msm_gpio 9 0x02>;
  11. capella,levels = <0x0A 0xA0 0xE1 0x140 0x280 0x500 0xA28 0x16A8 0x1F40 0x2800>;
  12. capella,ps_close_thd_set = <0xc8>; /* 200 */
  13. capella,ps_away_thd_set = <0xbe>; /* 190 */
  14. capella,als_gain = <500>; /* als gain */
  15. capella,ls_cmd = <0x44>; /* ALS_IT=160ms, INT_PERS=2*/
  16. capella,ps_conf1_val = <0x0058>; /*CM36686_PS_IT_1T | CM36686_PS_DR_1_40 | CM36686_PS_PERS_2*/
  17. capella,ps_conf3_val = <0x0202>; /* CM36686_PS_MS_NORMAL | CM36686_LED_I_100 | CM36686_PS_SMART_PERS_ENABLE, */
Advertisement
Add Comment
Please, Sign In to add comment