mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
media: atomisp: add Asus Transform T101HA ACPI vars
Those were extracted from an ACPI dump:
* Original Table Header:
* Signature "DSDT"
* Length 0x0001A0BD (106685)
* Revision 0x02
* Checksum 0x76
* OEM ID "_ASUS_"
* OEM Table ID "Notebook"
* OEM Revision 0x01072009 (17244169)
* Compiler ID "INTL"
* Compiler Version 0x20120913 (538052883)
*/
DefinitionBlock ("", "DSDT", 2, "_ASUS_", "Notebook", 0x01072009)
...
Local0 = Package (0x12)
{
"CamId",
"ov2680",
"CamType",
"1",
"CsiPort",
"0",
"CsiLanes",
"1",
"CsiFmt",
"15",
"CsiBayer",
"0",
"CamClk",
"1",
"Regulator1p8v",
"0",
"Regulator2p8v",
"0"
}
Note: the DMI_MATCH() line probably needs to be tweaked.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
c343a51e16
commit
0a76fd8e8d
1 changed files with 16 additions and 0 deletions
|
|
@ -269,6 +269,15 @@ static struct gmin_cfg_var i8880_vars[] = {
|
||||||
{},
|
{},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static struct gmin_cfg_var asus_vars[] = {
|
||||||
|
{"OVTI2680:00_CsiPort", "1"},
|
||||||
|
{"OVTI2680:00_CsiLanes", "1"},
|
||||||
|
{"OVTI2680:00_CsiFmt", "15"},
|
||||||
|
{"OVTI2680:00_CsiBayer", "0"},
|
||||||
|
{"OVTI2680:00_CamClk", "0"},
|
||||||
|
{},
|
||||||
|
};
|
||||||
|
|
||||||
static const struct dmi_system_id gmin_vars[] = {
|
static const struct dmi_system_id gmin_vars[] = {
|
||||||
{
|
{
|
||||||
.ident = "BYT-T FFD8",
|
.ident = "BYT-T FFD8",
|
||||||
|
|
@ -306,6 +315,13 @@ static const struct dmi_system_id gmin_vars[] = {
|
||||||
},
|
},
|
||||||
.driver_data = i8880_vars,
|
.driver_data = i8880_vars,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
.ident = "T101HA",
|
||||||
|
.matches = {
|
||||||
|
DMI_MATCH(DMI_BOARD_NAME, "T101HA"),
|
||||||
|
},
|
||||||
|
.driver_data = asus_vars,
|
||||||
|
},
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue