History

Merge tag 'mfd-fixes-4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd

Lee writes: "MFD fixes for v4.19 - Fix Dialog DA9063 regulator constraints issue causing failure in probe - Fix OMAP Device Tree compatible strings to match DT" * tag 'mfd-fixes-4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: mfd: omap-usb-host: Fix dts probe of children mfd: da9063: Fix DT probing with constraints

Greg Kroah-Hartman committed 8 years ago

Commit d02771f2 parents 18d49ec 10492ee2 files · +15 −12Browse files

Unified · Split

2 files
  1. drivers/mfd/omap-usb-host.c +6 −5
  2. include/linux/mfd/da9063/pdata.h +9 −7
drivers/mfd/omap-usb-host.c+6−5
@@ -528,8 +528,8 @@ static int usbhs_omap_get_dt_pdata(struct device *dev, · 527 unmodified lines
528528 }
529529
530530 static const struct of_device_id usbhs_child_match_table[] = {
531− { .compatible = "ti,omap-ehci", },
532− { .compatible = "ti,omap-ohci", },
531+ { .compatible = "ti,ehci-omap", },
532+ { .compatible = "ti,ohci-omap3", },
533533 { }
534534 };
535535
@@ -855,6 +855,7 @@ static struct platform_driver usbhs_omap_driver = { · 319 unmodified lines
855855 .pm = &usbhsomap_dev_pm_ops,
856856 .of_match_table = usbhs_omap_dt_ids,
857857 },
858+ .probe = usbhs_omap_probe,
858859 .remove = usbhs_omap_remove,
859860 };
860861
@@ -864,9 +865,9 @@ MODULE_ALIAS("platform:" USBHS_DRIVER_NAME); · 3 unmodified lines
864865 MODULE_LICENSE("GPL v2");
865866 MODULE_DESCRIPTION("usb host common core driver for omap EHCI and OHCI");
866867
867−static int __init omap_usbhs_drvinit(void)
868+static int omap_usbhs_drvinit(void)
868869 {
869− return platform_driver_probe(&usbhs_omap_driver, usbhs_omap_probe);
870+ return platform_driver_register(&usbhs_omap_driver);
870871 }
871872
872873 /*
@@ -878,7 +879,7 @@ static int __init omap_usbhs_drvinit(void) · 5 unmodified lines
878879 */
879880 fs_initcall_sync(omap_usbhs_drvinit);
880881
881−static void __exit omap_usbhs_drvexit(void)
882+static void omap_usbhs_drvexit(void)
882883 {
883884 platform_driver_unregister(&usbhs_omap_driver);
884885 }
include/linux/mfd/da9063/pdata.h+9−7
@@ -21,7 +21,7 @@ · 20 unmodified lines
2121 /*
2222 * Regulator configuration
2323 */
24−/* DA9063 regulator IDs */
24+/* DA9063 and DA9063L regulator IDs */
2525 enum {
2626 /* BUCKs */
2727 DA9063_ID_BCORE1,
@@ -37,18 +37,20 @@ enum { · 9 unmodified lines
3737 DA9063_ID_BMEM_BIO_MERGED,
3838 /* When two BUCKs are merged, they cannot be reused separately */
3939
40− /* LDOs */
40+ /* LDOs on both DA9063 and DA9063L */
41+ DA9063_ID_LDO3,
42+ DA9063_ID_LDO7,
43+ DA9063_ID_LDO8,
44+ DA9063_ID_LDO9,
45+ DA9063_ID_LDO11,
46+
47+ /* DA9063-only LDOs */
4148 DA9063_ID_LDO1,
4249 DA9063_ID_LDO2,
43− DA9063_ID_LDO3,
4450 DA9063_ID_LDO4,
4551 DA9063_ID_LDO5,
4652 DA9063_ID_LDO6,
47− DA9063_ID_LDO7,
48− DA9063_ID_LDO8,
49− DA9063_ID_LDO9,
5053 DA9063_ID_LDO10,
51− DA9063_ID_LDO11,
5254 };
5355
5456 /* Regulators platform data */