Lines Matching +full:i2c +full:- +full:scl +full:- +full:falling +full:- +full:time +full:- +full:ns
1 // SPDX-License-Identifier: GPL-2.0-only
20 #include "intel-lpss.h"
23 PROPERTY_ENTRY_U32("intel,spi-pxa2xx-type", LPSS_SPT_SSP),
37 PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 230),
51 PROPERTY_ENTRY_U32("reg-io-width", 4),
52 PROPERTY_ENTRY_U32("reg-shift", 2),
53 PROPERTY_ENTRY_BOOL("snps,uart-16550-compatible"),
68 PROPERTY_ENTRY_U32("intel,spi-pxa2xx-type", LPSS_BXT_SSP),
82 PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 42),
83 PROPERTY_ENTRY_U32("i2c-sda-falling-time-ns", 171),
84 PROPERTY_ENTRY_U32("i2c-scl-falling-time-ns", 208),
98 PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 207),
99 PROPERTY_ENTRY_U32("i2c-sda-falling-time-ns", 171),
100 PROPERTY_ENTRY_U32("i2c-scl-falling-time-ns", 208),
114 PROPERTY_ENTRY_U32("intel,spi-pxa2xx-type", LPSS_CNL_SSP),
176 id = acpi_match_device(intel_lpss_acpi_ids, &pdev->dev); in intel_lpss_acpi_probe()
178 return -ENODEV; in intel_lpss_acpi_probe()
180 info = devm_kmemdup(&pdev->dev, (void *)id->driver_data, sizeof(*info), in intel_lpss_acpi_probe()
183 return -ENOMEM; in intel_lpss_acpi_probe()
185 info->mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in intel_lpss_acpi_probe()
186 if (!info->mem) in intel_lpss_acpi_probe()
187 return -ENODEV; in intel_lpss_acpi_probe()
189 info->irq = platform_get_irq(pdev, 0); in intel_lpss_acpi_probe()
191 ret = intel_lpss_probe(&pdev->dev, info); in intel_lpss_acpi_probe()
195 pm_runtime_set_active(&pdev->dev); in intel_lpss_acpi_probe()
196 pm_runtime_enable(&pdev->dev); in intel_lpss_acpi_probe()
203 intel_lpss_remove(&pdev->dev); in intel_lpss_acpi_remove()
204 pm_runtime_disable(&pdev->dev); in intel_lpss_acpi_remove()
215 .name = "intel-lpss",