]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/acpi/acpi_apd.c
Merge tag 'acpi-extra-4.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux.git] / drivers / acpi / acpi_apd.c
index 26696b693e634e665d4972bb1226c64fa1ab3acd..fc6c416f8724670aef2f29d4d81d373ed400dcd5 100644 (file)
@@ -106,6 +106,16 @@ static const struct apd_device_desc vulcan_spi_desc = {
        .setup = acpi_apd_setup,
        .fixed_clk_rate = 133000000,
 };
+
+static const struct apd_device_desc hip07_i2c_desc = {
+       .setup = acpi_apd_setup,
+       .fixed_clk_rate = 200000000,
+};
+
+static const struct apd_device_desc hip08_i2c_desc = {
+       .setup = acpi_apd_setup,
+       .fixed_clk_rate = 250000000,
+};
 #endif
 
 #else
@@ -169,6 +179,9 @@ static const struct acpi_device_id acpi_apd_device_ids[] = {
 #ifdef CONFIG_ARM64
        { "APMC0D0F", APD_ADDR(xgene_i2c_desc) },
        { "BRCM900D", APD_ADDR(vulcan_spi_desc) },
+       { "CAV900D",  APD_ADDR(vulcan_spi_desc) },
+       { "HISI0A21", APD_ADDR(hip07_i2c_desc) },
+       { "HISI0A22", APD_ADDR(hip08_i2c_desc) },
 #endif
        { }
 };