Lines Matching +full:dwc +full:- +full:ahci
1 // SPDX-License-Identifier: GPL-2.0+
3 * DWC SATA platform driver
13 #include <ahci.h>
18 #include <generic-phy.h>
37 priv->base = map_physmem(devfdt_get_addr(dev), sizeof(void *), in dwc_ahci_ofdata_to_platdata()
42 priv->wrapper_base = map_physmem(addr, sizeof(void *), in dwc_ahci_ofdata_to_platdata()
45 priv->wrapper_base = NULL; in dwc_ahci_ofdata_to_platdata()
57 ret = generic_phy_get_by_name(dev, "sata-phy", &phy); in dwc_ahci_probe()
75 if (priv->wrapper_base) { in dwc_ahci_probe()
79 writel(val, priv->wrapper_base + TI_SATA_SYSCONFIG); in dwc_ahci_probe()
82 return ahci_probe_scsi(dev, (ulong)priv->base); in dwc_ahci_probe()
86 { .compatible = "snps,dwc-ahci" },