public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] i2c: designware: Add ACPI HID for DWAPB I2C controller on Sophgo SG2044
@ 2025-03-04  7:02 Inochi Amaoto
  2025-03-04 11:43 ` Andy Shevchenko
  0 siblings, 1 reply; 5+ messages in thread
From: Inochi Amaoto @ 2025-03-04  7:02 UTC (permalink / raw)
  To: Jarkko Nikula, Andy Shevchenko, Mika Westerberg, Jan Dabros,
	Andi Shyti
  Cc: Inochi Amaoto, linux-i2c, linux-kernel, Yixun Lan, Longbin Li

Add ACPI ID for DWAPB I2C controller on Sophgo SG2044 so
the SoC can enumerated the device via ACPI.

Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
---
 drivers/i2c/busses/i2c-designware-platdrv.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/i2c/busses/i2c-designware-platdrv.c b/drivers/i2c/busses/i2c-designware-platdrv.c
index d6e1ee935399..46b2b972f679 100644
--- a/drivers/i2c/busses/i2c-designware-platdrv.c
+++ b/drivers/i2c/busses/i2c-designware-platdrv.c
@@ -360,6 +360,7 @@ static const struct acpi_device_id dw_i2c_acpi_match[] = {
 	{ "INT3432", 0 },
 	{ "INT3433", 0 },
 	{ "INTC10EF", 0 },
+	{ "SOPHO003", 0 },
 	{}
 };
 MODULE_DEVICE_TABLE(acpi, dw_i2c_acpi_match);
-- 
2.48.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] i2c: designware: Add ACPI HID for DWAPB I2C controller on Sophgo SG2044
  2025-03-04  7:02 [PATCH] i2c: designware: Add ACPI HID for DWAPB I2C controller on Sophgo SG2044 Inochi Amaoto
@ 2025-03-04 11:43 ` Andy Shevchenko
  2025-03-04 11:46   ` Inochi Amaoto
  2025-03-04 11:47   ` Andy Shevchenko
  0 siblings, 2 replies; 5+ messages in thread
From: Andy Shevchenko @ 2025-03-04 11:43 UTC (permalink / raw)
  To: Inochi Amaoto
  Cc: Jarkko Nikula, Mika Westerberg, Jan Dabros, Andi Shyti, linux-i2c,
	linux-kernel, Yixun Lan, Longbin Li

On Tue, Mar 04, 2025 at 03:02:11PM +0800, Inochi Amaoto wrote:
> Add ACPI ID for DWAPB I2C controller on Sophgo SG2044 so
> the SoC can enumerated the device via ACPI.

Same as per UART:

---8<---

This is fake ACPI ID. Please work with a vendor to issue the proper one.
Vendor ACPI ID registry has no records on Sophgo:
https://uefi.org/ACPI_ID_List?acpi_search=SophGo

NAK.

---8<---

But, it might be that is already in the process of getting proper ACPI vendor
ID, please provide an evidence in such a case.

Otherwise drag the representative of the vendor to this email thread to answer
the question why the heck they abuse ACPI specification.

-- 
With Best Regards,
Andy Shevchenko



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] i2c: designware: Add ACPI HID for DWAPB I2C controller on Sophgo SG2044
  2025-03-04 11:43 ` Andy Shevchenko
@ 2025-03-04 11:46   ` Inochi Amaoto
  2025-03-04 11:53     ` Andy Shevchenko
  2025-03-04 11:47   ` Andy Shevchenko
  1 sibling, 1 reply; 5+ messages in thread
From: Inochi Amaoto @ 2025-03-04 11:46 UTC (permalink / raw)
  To: Andy Shevchenko, Inochi Amaoto
  Cc: Jarkko Nikula, Mika Westerberg, Jan Dabros, Andi Shyti, linux-i2c,
	linux-kernel, Yixun Lan, Longbin Li

On Tue, Mar 04, 2025 at 01:43:27PM +0200, Andy Shevchenko wrote:
> On Tue, Mar 04, 2025 at 03:02:11PM +0800, Inochi Amaoto wrote:
> > Add ACPI ID for DWAPB I2C controller on Sophgo SG2044 so
> > the SoC can enumerated the device via ACPI.
> 
> Same as per UART:
> 
> ---8<---
> 
> This is fake ACPI ID. Please work with a vendor to issue the proper one.
> Vendor ACPI ID registry has no records on Sophgo:
> https://uefi.org/ACPI_ID_List?acpi_search=SophGo
> 
> NAK.
> 
> ---8<---
> 
> But, it might be that is already in the process of getting proper ACPI vendor
> ID, please provide an evidence in such a case.
> 
> Otherwise drag the representative of the vendor to this email thread to answer
> the question why the heck they abuse ACPI specification.
> 

OK, I will ask for the vendor and check whether there is some
evidence for it. Now let's pause these patch.

Thanks for your info.

Regards,
Inochi.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] i2c: designware: Add ACPI HID for DWAPB I2C controller on Sophgo SG2044
  2025-03-04 11:43 ` Andy Shevchenko
  2025-03-04 11:46   ` Inochi Amaoto
@ 2025-03-04 11:47   ` Andy Shevchenko
  1 sibling, 0 replies; 5+ messages in thread
From: Andy Shevchenko @ 2025-03-04 11:47 UTC (permalink / raw)
  To: Inochi Amaoto
  Cc: Jarkko Nikula, Mika Westerberg, Jan Dabros, Andi Shyti, linux-i2c,
	linux-kernel, Yixun Lan, Longbin Li

On Tue, Mar 04, 2025 at 01:43:27PM +0200, Andy Shevchenko wrote:
> On Tue, Mar 04, 2025 at 03:02:11PM +0800, Inochi Amaoto wrote:
> > Add ACPI ID for DWAPB I2C controller on Sophgo SG2044 so
> > the SoC can enumerated the device via ACPI.
> 
> Same as per UART:
> 
> ---8<---
> 
> This is fake ACPI ID. Please work with a vendor to issue the proper one.
> Vendor ACPI ID registry has no records on Sophgo:
> https://uefi.org/ACPI_ID_List?acpi_search=SophGo
> 
> NAK.
> 
> ---8<---
> 
> But, it might be that is already in the process of getting proper ACPI vendor
> ID, please provide an evidence in such a case.

Looking even closer to the ID, it is completely bogus as it uses CAPITAL O
instead of 0 in device ID part.

> Otherwise drag the representative of the vendor to this email thread to answer
> the question why the heck they abuse ACPI specification.

So, go and work with the vendor to fix their misunderstanding of ACPI and tell
them that they are free to contact me for the details. I will glad to help them
to make right things right.

Also read this success story of similar case:
https://andy-shev.dreamwidth.org/151340.html
and feel free to share with the vendor.

-- 
With Best Regards,
Andy Shevchenko



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] i2c: designware: Add ACPI HID for DWAPB I2C controller on Sophgo SG2044
  2025-03-04 11:46   ` Inochi Amaoto
@ 2025-03-04 11:53     ` Andy Shevchenko
  0 siblings, 0 replies; 5+ messages in thread
From: Andy Shevchenko @ 2025-03-04 11:53 UTC (permalink / raw)
  To: Inochi Amaoto
  Cc: Jarkko Nikula, Mika Westerberg, Jan Dabros, Andi Shyti, linux-i2c,
	linux-kernel, Yixun Lan, Longbin Li

On Tue, Mar 04, 2025 at 07:46:09PM +0800, Inochi Amaoto wrote:
> On Tue, Mar 04, 2025 at 01:43:27PM +0200, Andy Shevchenko wrote:
> > On Tue, Mar 04, 2025 at 03:02:11PM +0800, Inochi Amaoto wrote:
> > > Add ACPI ID for DWAPB I2C controller on Sophgo SG2044 so
> > > the SoC can enumerated the device via ACPI.
> > 
> > Same as per UART:
> > 
> > ---8<---
> > 
> > This is fake ACPI ID. Please work with a vendor to issue the proper one.
> > Vendor ACPI ID registry has no records on Sophgo:
> > https://uefi.org/ACPI_ID_List?acpi_search=SophGo
> > 
> > NAK.
> > 
> > ---8<---
> > 
> > But, it might be that is already in the process of getting proper ACPI vendor
> > ID, please provide an evidence in such a case.
> > 
> > Otherwise drag the representative of the vendor to this email thread to answer
> > the question why the heck they abuse ACPI specification.
> 
> OK, I will ask for the vendor and check whether there is some
> evidence for it. Now let's pause these patch.
> 
> Thanks for your info.

You're welcome! As I already replied in another mail, feel free to contact me
or give my contacts to the vendor in order to help them to follow the process.
I will be glad to help.

-- 
With Best Regards,
Andy Shevchenko



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-03-04 11:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-04  7:02 [PATCH] i2c: designware: Add ACPI HID for DWAPB I2C controller on Sophgo SG2044 Inochi Amaoto
2025-03-04 11:43 ` Andy Shevchenko
2025-03-04 11:46   ` Inochi Amaoto
2025-03-04 11:53     ` Andy Shevchenko
2025-03-04 11:47   ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox