shared-psy-info.h 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. /* SPDX-License-Identifier: GPL-2.0-or-later
  2. *
  3. * Shared psy info for X86 tablets which ship with Android as the factory image
  4. * and which have broken DSDT tables. The factory kernels shipped on these
  5. * devices typically have a bunch of things hardcoded, rather than specified
  6. * in their DSDT.
  7. *
  8. * Copyright (C) 2021-2023 Hans de Goede <hdegoede@redhat.com>
  9. */
  10. #ifndef __PDX86_SHARED_PSY_INFO_H
  11. #define __PDX86_SHARED_PSY_INFO_H
  12. struct bq24190_platform_data;
  13. struct gpiod_lookup_table;
  14. struct platform_device_info;
  15. struct software_node;
  16. extern const char * const tusb1211_chg_det_psy[];
  17. extern const char * const bq24190_psy[];
  18. extern const char * const bq25890_psy[];
  19. extern const struct software_node fg_bq24190_supply_node;
  20. extern const struct software_node fg_bq25890_supply_node;
  21. extern const struct software_node generic_lipo_hv_4v35_battery_node;
  22. extern struct bq24190_platform_data bq24190_pdata;
  23. extern const char * const bq24190_modules[];
  24. extern const struct platform_device_info int3496_pdevs[];
  25. extern struct gpiod_lookup_table int3496_reference_gpios;
  26. #endif