From patchwork Fri Mar 20 17:46:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 244025 List-Id: U-Boot discussion From: andriy.shevchenko at linux.intel.com (Andy Shevchenko) Date: Fri, 20 Mar 2020 19:46:31 +0200 Subject: [PATCH v1] =?utf-8?q?x86=3A_acpi=3A_Add_I=C2=B2C_timings_to_Intel?= =?utf-8?q?_Merrifield_platform?= Message-ID: <20200320174631.33857-1-andriy.shevchenko@linux.intel.com> There is established way to provide I?C timings, or actually counters, to the OS via ACPI. Fill them for Intel Merrifield platform. Signed-off-by: Andy Shevchenko Reviewed-by: Simon Glass --- .../asm/arch-tangier/acpi/southcluster.asl | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/x86/include/asm/arch-tangier/acpi/southcluster.asl b/arch/x86/include/asm/arch-tangier/acpi/southcluster.asl index 95413c1112..aa1793b383 100644 --- a/arch/x86/include/asm/arch-tangier/acpi/southcluster.asl +++ b/arch/x86/include/asm/arch-tangier/acpi/southcluster.asl @@ -250,6 +250,16 @@ Device (PCI0) Return (STA_VISIBLE) } + Name (SSCN, Package () + { + 0x02F8, 0x037B, Zero, + }) + + Name (FMCN, Package () + { + 0x0087, 0x010A, Zero, + }) + Name (RBUF, ResourceTemplate() { FixedDMA(0x0009, 0x0000, Width32bit, ) @@ -270,6 +280,16 @@ Device (PCI0) { Return (STA_VISIBLE) } + + Name (SSCN, Package () + { + 0x02F8, 0x037B, Zero, + }) + + Name (FMCN, Package () + { + 0x0087, 0x010A, Zero, + }) } Device (GPIO)