public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
From: Moritz Fischer <moritzf@google.com>
To: linux-i2c@vger.kernel.org, andi.shyti@kernel.org
Cc: linux-kernel@vger.kernel.org, mdf@kernel.org, ovt@google.com,
	 Moritz Fischer <moritzf@google.com>,
	Mika Westerberg <mika.westerberg@linux.intel.com>,
	 Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	Jan Dabros <jsd@semihalf.com>
Subject: [PATCH v2] i2c: designware: Add a new ACPI HID for GOOG5000 I2C controller
Date: Thu, 26 Mar 2026 20:04:51 +0000	[thread overview]
Message-ID: <20260326200451.2904375-1-moritzf@google.com> (raw)

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

This has been validated on Silicon.

Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Moritz Fischer <moritzf@google.com>
---
 drivers/i2c/busses/i2c-designware-platdrv.c | 1 +
 1 file changed, 1 insertion(+)

---

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

Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Jan Dabros <jsd@semihalf.com>

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.   

diff --git a/drivers/i2c/busses/i2c-designware-platdrv.c b/drivers/i2c/busses/i2c-designware-platdrv.c
index 426ffec06e22..3351c4a9ef11 100644
--- a/drivers/i2c/busses/i2c-designware-platdrv.c
+++ b/drivers/i2c/busses/i2c-designware-platdrv.c
@@ -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 },
-- 
2.53.0.1018.g2bb0e51243-goog


             reply	other threads:[~2026-03-26 20:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-26 20:04 Moritz Fischer [this message]
2026-03-27  9:21 ` [PATCH v2] i2c: designware: Add a new ACPI HID for GOOG5000 I2C controller Andy Shevchenko
2026-03-27 13:22 ` Andi Shyti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260326200451.2904375-1-moritzf@google.com \
    --to=moritzf@google.com \
    --cc=andi.shyti@kernel.org \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=jsd@semihalf.com \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mdf@kernel.org \
    --cc=mika.westerberg@linux.intel.com \
    --cc=ovt@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox