]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i2c: designware: Add ACPI HID for DWAPB I2C controller on FUJITSU-MONAKA
authorYoshihiro Furudera <fj5100bi@fujitsu.com>
Thu, 24 Oct 2024 07:15:53 +0000 (07:15 +0000)
committerWolfram Sang <wsa+renesas@sang-engineering.com>
Sun, 24 Nov 2024 15:03:50 +0000 (16:03 +0100)
commit7c3a833a1da6ab1e29fcb4740edf770aea816c6f
tree65be0628831fa2217b8ef960beee2400e82a05bd
parent50b9d43e6ceaaaa59c54c95aca5f8dfc862fe48e
i2c: designware: Add ACPI HID for DWAPB I2C controller on FUJITSU-MONAKA

Enable DWAPB I2C controller support on FUJITSU-MONAKA.
This will be used in the FUJITSU-MONAKA server scheduled
for shipment in 2027.

The DSDT information obtained when verified using an
in-house simulator is presented below.

     Device (SMB0)
     {
         Name (_HID, "FUJI200B")  // _HID: Hardware ID
         Name (_UID, Zero)  // _UID: Unique ID
         ...
         Name (_CRS, ResourceTemplate ()
         {
             Memory32Fixed (ReadWrite,
                 0x2A4B0000,         // Address Base
                 0x00010000,         // Address Length
                 )
             Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive, ,, )
             {
                 0x00000159,
             }
         })
         ...
     }

The expression SMB0 is used to indicate SMBus HC#0,
a string of up to four characters.

Created the SMB0 object according to the following
specifications:

ACPI Specification
13.2. Accessing the SMBus from ASL Code
https://uefi.org/htmlspecs/ACPI_Spec_6_4_html/13_ACPI_System_Mgmt_Bus_Interface_Spec/accessing-the-smbus-from-asl-code.html

IPMI Specification
Example 4: SSIF Interface(P574)
https://www.intel.co.jp/content/www/jp/ja/products/docs/servers/ipmi/ipmi-second-gen-interface-spec-v2-rev1-1.html

Signed-off-by: Yoshihiro Furudera <fj5100bi@fujitsu.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
drivers/i2c/busses/i2c-designware-platdrv.c