linux/drivers/platform/x86/x86-android-tablets/asus.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Board info for Asus X86 tablets which ship with Android as the factory image
 * and which have broken DSDT tables. The factory kernels shipped on these
 * devices typically have a bunch of things hardcoded, rather than specified
 * in their DSDT.
 *
 * Copyright (C) 2021-2023 Hans de Goede <[email protected]>
 */

#include <linux/gpio/machine.h>
#include <linux/input.h>
#include <linux/platform_device.h>

#include "shared-psy-info.h"
#include "x86-android-tablets.h"

/* Asus ME176C and TF103C tablets shared data */
static struct gpiod_lookup_table int3496_gpo2_pin22_gpios =;

static const struct x86_gpio_button asus_me176c_tf103c_lid __initconst =;

/* Asus ME176C tablets have an Android factory image with everything hardcoded */
static const char * const asus_me176c_accel_mount_matrix[] =;

static const struct property_entry asus_me176c_accel_props[] =;

static const struct software_node asus_me176c_accel_node =;

static const struct property_entry asus_me176c_bq24190_props[] =;

static const struct software_node asus_me176c_bq24190_node =;

static const struct property_entry asus_me176c_ug3105_props[] =;

static const struct software_node asus_me176c_ug3105_node =;

static const struct x86_i2c_client_info asus_me176c_i2c_clients[] __initconst =;

static const struct x86_serdev_info asus_me176c_serdevs[] __initconst =;

static struct gpiod_lookup_table asus_me176c_goodix_gpios =;

static struct gpiod_lookup_table * const asus_me176c_gpios[] =;

const struct x86_dev_info asus_me176c_info __initconst =;

/* Asus TF103C tablets have an Android factory image with everything hardcoded */
static const char * const asus_tf103c_accel_mount_matrix[] =;

static const struct property_entry asus_tf103c_accel_props[] =;

static const struct software_node asus_tf103c_accel_node =;

static const struct property_entry asus_tf103c_touchscreen_props[] =;

static const struct software_node asus_tf103c_touchscreen_node =;

static const struct property_entry asus_tf103c_battery_props[] =;

static const struct software_node asus_tf103c_battery_node =;

static const struct property_entry asus_tf103c_bq24190_props[] =;

static const struct software_node asus_tf103c_bq24190_node =;

static const struct property_entry asus_tf103c_ug3105_props[] =;

static const struct software_node asus_tf103c_ug3105_node =;

static const struct x86_i2c_client_info asus_tf103c_i2c_clients[] __initconst =;

static struct gpiod_lookup_table * const asus_tf103c_gpios[] =;

const struct x86_dev_info asus_tf103c_info __initconst =;