phytium-acpi-hid.diff 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. diff --git a/drivers/acpi/acpi_apd.c b/drivers/acpi/acpi_apd.c
  2. index bed74949d..3f4b9a5f0 100644
  3. --- a/drivers/acpi/acpi_apd.c
  4. +++ b/drivers/acpi/acpi_apd.c
  5. @@ -241,6 +241,7 @@ static const struct acpi_device_id acpi_apd_device_ids[] = {
  6. { "HISI02A1", APD_ADDR(hip07_i2c_desc) },
  7. { "HISI02A2", APD_ADDR(hip08_i2c_desc) },
  8. { "PHYT0003", APD_ADDR(phytium_i2c_desc) },
  9. + { "FTI20001", APD_ADDR(phytium_i2c_desc) },
  10. #endif
  11. { }
  12. };
  13. diff --git a/drivers/clk/clk-scpi.c b/drivers/clk/clk-scpi.c
  14. index 13903a418..d7de3b0fe 100644
  15. --- a/drivers/clk/clk-scpi.c
  16. +++ b/drivers/clk/clk-scpi.c
  17. @@ -435,6 +435,7 @@ static int scpi_clocks_probe(struct platform_device *pdev)
  18. #ifdef CONFIG_ACPI
  19. static const struct acpi_device_id scpi_clocks_acpi_match[] = {
  20. { "PHYT8001", 0 },
  21. + { "FTCK0001", 0 },
  22. { }
  23. };
  24. MODULE_DEVICE_TABLE(acpi, scpi_acpi_clocks_match);
  25. diff --git a/drivers/firmware/arm_scpi.c b/drivers/firmware/arm_scpi.c
  26. index d4633ec4c..1103ac8d2 100644
  27. --- a/drivers/firmware/arm_scpi.c
  28. +++ b/drivers/firmware/arm_scpi.c
  29. @@ -1152,6 +1152,7 @@ static int scpi_probe(struct platform_device *pdev)
  30. #ifdef CONFIG_ACPI
  31. static const struct acpi_device_id scpi_acpi_match[] = {
  32. { "PHYT0008", 0 },
  33. + { "FTSC0001", 0 },
  34. { },
  35. };
  36. MODULE_DEVICE_TABLE(acpi, scpi_acpi_match);
  37. diff --git a/drivers/gpio/gpio-phytium.c b/drivers/gpio/gpio-phytium.c
  38. index f9140c684..dd3ab04a5 100644
  39. --- a/drivers/gpio/gpio-phytium.c
  40. +++ b/drivers/gpio/gpio-phytium.c
  41. @@ -328,6 +328,7 @@ MODULE_DEVICE_TABLE(of, phytium_gpio_of_match);
  42. static const struct acpi_device_id phytium_gpio_acpi_match[] = {
  43. { "PHYT0001", 0 },
  44. + { "FTGP0001", 0 },
  45. { }
  46. };
  47. MODULE_DEVICE_TABLE(acpi, phytium_gpio_acpi_match);
  48. diff --git a/drivers/hwmon/scpi-hwmon.c b/drivers/hwmon/scpi-hwmon.c
  49. index be305ffcd..ebe8a4881 100644
  50. --- a/drivers/hwmon/scpi-hwmon.c
  51. +++ b/drivers/hwmon/scpi-hwmon.c
  52. @@ -128,6 +128,7 @@ static const struct thermal_zone_of_device_ops scpi_sensor_ops = {
  53. #ifdef CONFIG_ACPI
  54. static const struct acpi_device_id scpi_acpi_match[] = {
  55. { "PHYT000D", 0 },
  56. + { "FTEC0003", 0 },
  57. { }
  58. };
  59. MODULE_DEVICE_TABLE(acpi, scpi_acpi_match);
  60. diff --git a/drivers/i2c/busses/i2c-designware-platdrv.c b/drivers/i2c/busses/i2c-designware-platdrv.c
  61. index 3818b7a0a..09221d5b8 100644
  62. --- a/drivers/i2c/busses/i2c-designware-platdrv.c
  63. +++ b/drivers/i2c/busses/i2c-designware-platdrv.c
  64. @@ -152,6 +152,7 @@ static const struct acpi_device_id dw_i2c_acpi_match[] = {
  65. { "HISI02A1", 0 },
  66. { "HISI02A2", 0 },
  67. { "PHYT0003", 0 },
  68. + { "FTI20001", 0 },
  69. { }
  70. };
  71. MODULE_DEVICE_TABLE(acpi, dw_i2c_acpi_match);
  72. diff --git a/drivers/mailbox/phytium_mailbox.c b/drivers/mailbox/phytium_mailbox.c
  73. index c797d4b47..e13f018c2 100644
  74. --- a/drivers/mailbox/phytium_mailbox.c
  75. +++ b/drivers/mailbox/phytium_mailbox.c
  76. @@ -114,6 +114,7 @@ static const struct mbox_chan_ops phytium_mbox_ops = {
  77. static const struct acpi_device_id phytium_mbox_acpi_match[] = {
  78. { "PHYT0009", 0 },
  79. + { "FTMB0001", 0 },
  80. { },
  81. };
  82. MODULE_DEVICE_TABLE(acpi, phytium_mbox_acpi_match);
  83. diff --git a/drivers/mmc/host/phytium-sdci.c b/drivers/mmc/host/phytium-sdci.c
  84. index effa50bc5..48be04b63 100644
  85. --- a/drivers/mmc/host/phytium-sdci.c
  86. +++ b/drivers/mmc/host/phytium-sdci.c
  87. @@ -1415,6 +1415,7 @@ MODULE_DEVICE_TABLE(of, phytium_sdci_of_ids);
  88. #ifdef CONFIG_ACPI
  89. static const struct acpi_device_id phytium_sdci_acpi_ids[] = {
  90. { .id = "PHYT0005" },
  91. + { .id = "FTSD0001" },
  92. { }
  93. };
  94. diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-generic.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-generic.c
  95. index 8241d670f..aad6feb4f 100644
  96. --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-generic.c
  97. +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-generic.c
  98. @@ -94,6 +94,7 @@ MODULE_DEVICE_TABLE(of, dwmac_generic_match);
  99. #ifdef CONFIG_ACPI
  100. static const struct acpi_device_id dwmac_acpi_ids[] = {
  101. { .id = "PHYT0004" },
  102. + { .id = "FTGM0001" },
  103. {},
  104. };
  105. diff --git a/sound/pci/hda/hda_phytium.c b/sound/pci/hda/hda_phytium.c
  106. index e98fc654b..40f7c4730 100644
  107. --- a/sound/pci/hda/hda_phytium.c
  108. +++ b/sound/pci/hda/hda_phytium.c
  109. @@ -1190,6 +1190,7 @@ MODULE_DEVICE_TABLE(of, hda_ft_of_match);
  110. #ifdef CONFIG_ACPI
  111. static const struct acpi_device_id hda_ft_acpi_match[] = {
  112. { .id = "PHYT0006" },
  113. + { .id = "FTHD0001" },
  114. {}
  115. };
  116. MODULE_DEVICE_TABLE(acpi, hda_ft_acpi_match);