Skip to contentSkip to conversation

i2c: designware: Add a new ACPI HID for GOOG5000 I2C controller

PATCH Applied Moritz Fischer 3 participants 3 messages Mar 26 – Mar 27

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 i2c: designware: Add a new ACPI HID for GOOG5000 I2C controller

Define a new ACPI HID for GOOG5000 as used on Google Axion.

This has been validated on Silicon.

---
 drivers/i2c/busses/i2c-designware-platdrv.c | 1 +
 1 file changed, 1 insertion(+)

---

Changelog from v1:
- Added Mika's Acked-by

Cc Andy Shevchenko <[email protected]>
Cc Jan Dabros <[email protected]>

A DSDT excerpt is here:

    Device (I2C0)                                                                                                                                                                            
    {                                                                                                                                                                                        
      Name (_HID, "GOOG5000")                                                                                                                                                                
      Name (_UID, 0x00)                                                                                                                                                                      
      Method (_STA) {                                                                                                                                                                        
        Return (0xf)                                                                                                                                                                         
      }                                                                                                                                                                                      
      Name (_CRS, ResourceTemplate ()                                                                                                                                                        
      {                                                                                                                                                                                      
        QWordMemory (                                                                                                                                                                        
          ResourceProducer,                                                                                                                                                                  
          PosDecode,                                                                                                                                                                         
          MinFixed,                                                                                                                                                                          
          MaxFixed,                                                                                                                                                                          
          NonCacheable,                                                                                                                                                                      
          ReadWrite,                                                                                                                                                                         
          0x0,                                                                                                                                                                               
          0xA02048000,                                                                                                                                                                       
          0xA020480FF,                                                                                                                                                                       
          0x000000000,                                                                                                                                                                       
          0x000000100                                                                                                                                                                        
        )                                                                                                                                                                                    
        Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive)                                                                                                                           
      {                                                                                                                                                                                      
          109                                                                                                                                                                                
        }                                                                                                                                                                                    
      })                                                                                                                                                                                     
      ...                                                                                                                                                                                    
    }                                                                                                                                                                                        

This is being used by SoCs powering Google's Axion product line.

drivers/i2c/busses/i2c-designware-platdrv.c +1 -0
index 426ffec06e22..3351c4a9ef11 100644
@@ -268,6 +268,7 @@ static const struct acpi_device_id dw_i2c_acpi_match[] = {
 	{ "AMDI0510", 0 },
 	{ "APMC0D0F", 0 },
 	{ "FUJI200B", 0 },
+	{ "GOOG5000", 0 },
 	{ "HISI02A1", 0 },
 	{ "HISI02A2", 0 },
 	{ "HISI02A3", 0 },
Signature · 1 line
2.53.0.1018.g2bb0e51243-goog
reviewer Reviewed-by on v2 1/1
#1 lore raw
Quoted 3 lines · Moritz Fischer

Define a new ACPI HID for GOOG5000 as used on Google Axion.

This has been validated on Silicon.

Signature · 2 lines
With Best Regards,
Andy Shevchenko