···55CONFIG_LOG_BUF_SHIFT=1466CONFIG_BLK_DEV_INITRD=y77CONFIG_SLAB=y88-CONFIG_MODULES=y99-CONFIG_MODULE_UNLOAD=y1010-CONFIG_PARTITION_ADVANCED=y118# CONFIG_ARCH_MULTI_V7 is not set129CONFIG_ARCH_VERSATILE=y1310CONFIG_AEABI=y1411CONFIG_OABI_COMPAT=y1515-CONFIG_CMA=y1612CONFIG_ZBOOT_ROM_TEXT=0x01713CONFIG_ZBOOT_ROM_BSS=0x01814CONFIG_CMDLINE="root=1f03 mem=32M"1915CONFIG_FPE_NWFPE=y2016CONFIG_VFP=y1717+CONFIG_MODULES=y1818+CONFIG_MODULE_UNLOAD=y1919+CONFIG_PARTITION_ADVANCED=y2020+CONFIG_CMA=y2121CONFIG_NET=y2222CONFIG_PACKET=y2323CONFIG_UNIX=y···5959CONFIG_DRM=y6060CONFIG_DRM_PANEL_ARM_VERSATILE=y6161CONFIG_DRM_PANEL_SIMPLE=y6262+CONFIG_DRM_DUMB_VGA_DAC=y6263CONFIG_DRM_PL111=y6364CONFIG_FB_MODE_HELPERS=y6465CONFIG_BACKLIGHT_LCD_SUPPORT=y···9089CONFIG_NFSD_V3=y9190CONFIG_NLS_CODEPAGE_850=m9291CONFIG_NLS_ISO8859_1=m9292+CONFIG_FONTS=y9393+CONFIG_FONT_ACORN_8x8=y9494+CONFIG_DEBUG_FS=y9395CONFIG_MAGIC_SYSRQ=y9496CONFIG_DEBUG_KERNEL=y9597CONFIG_DEBUG_USER=y9698CONFIG_DEBUG_LL=y9797-CONFIG_FONTS=y9898-CONFIG_FONT_ACORN_8x8=y
+38-1
arch/arm/mach-omap2/omap_hwmod.c
···21612161}2162216221632163/**21642164+ * omap_hwmod_fix_mpu_rt_idx - fix up mpu_rt_idx register offsets21652165+ *21662166+ * @oh: struct omap_hwmod *21672167+ * @np: struct device_node *21682168+ *21692169+ * Fix up module register offsets for modules with mpu_rt_idx.21702170+ * Only needed for cpsw with interconnect target module defined21712171+ * in device tree while still using legacy hwmod platform data21722172+ * for rev, sysc and syss registers.21732173+ *21742174+ * Can be removed when all cpsw hwmod platform data has been21752175+ * dropped.21762176+ */21772177+static void omap_hwmod_fix_mpu_rt_idx(struct omap_hwmod *oh,21782178+ struct device_node *np,21792179+ struct resource *res)21802180+{21812181+ struct device_node *child = NULL;21822182+ int error;21832183+21842184+ child = of_get_next_child(np, child);21852185+ if (!child)21862186+ return;21872187+21882188+ error = of_address_to_resource(child, oh->mpu_rt_idx, res);21892189+ if (error)21902190+ pr_err("%s: error mapping mpu_rt_idx: %i\n",21912191+ __func__, error);21922192+}21932193+21942194+/**21642195 * omap_hwmod_parse_module_range - map module IO range from device tree21652196 * @oh: struct omap_hwmod *21662197 * @np: struct device_node *···22512220 size = be32_to_cpup(ranges);2252222122532222 pr_debug("omap_hwmod: %s %s at 0x%llx size 0x%llx\n",22542254- oh->name, np->name, base, size);22232223+ oh ? oh->name : "", np->name, base, size);22242224+22252225+ if (oh && oh->mpu_rt_idx) {22262226+ omap_hwmod_fix_mpu_rt_idx(oh, np, res);22272227+22282228+ return 0;22292229+ }2255223022562231 res->start = base;22572232 res->end = base + size - 1;
···498498499499/**500500 * syc_ioremap - ioremap register space for the interconnect target module501501- * @ddata: deviec driver data501501+ * @ddata: device driver data502502 *503503 * Note that the interconnect target module registers can be anywhere504504- * within the first child device address space. For example, SGX has505505- * them at offset 0x1fc00 in the 32MB module address space. We just506506- * what we need around the interconnect target module registers.504504+ * within the interconnect target module range. For example, SGX has505505+ * them at offset 0x1fc00 in the 32MB module address space. And cpsw506506+ * has them at offset 0x1200 in the CPSW_WR child. Usually the507507+ * the interconnect target module registers are at the beginning of508508+ * the module range though.507509 */508510static int sysc_ioremap(struct sysc *ddata)509511{510510- u32 size = 0;512512+ int size;511513512512- if (ddata->offsets[SYSC_SYSSTATUS] >= 0)513513- size = ddata->offsets[SYSC_SYSSTATUS];514514- else if (ddata->offsets[SYSC_SYSCONFIG] >= 0)515515- size = ddata->offsets[SYSC_SYSCONFIG];516516- else if (ddata->offsets[SYSC_REVISION] >= 0)517517- size = ddata->offsets[SYSC_REVISION];518518- else514514+ size = max3(ddata->offsets[SYSC_REVISION],515515+ ddata->offsets[SYSC_SYSCONFIG],516516+ ddata->offsets[SYSC_SYSSTATUS]);517517+518518+ if (size < 0 || (size + sizeof(u32)) > ddata->module_size)519519 return -EINVAL;520520-521521- size &= 0xfff00;522522- size += SZ_256;523520524521 ddata->module_va = devm_ioremap(ddata->dev,525522 ddata->module_pa,526526- size);523523+ size + sizeof(u32));527524 if (!ddata->module_va)528525 return -EIO;529526···12211224 if (!pm_runtime_status_suspended(dev)) {12221225 error = pm_generic_runtime_suspend(dev);12231226 if (error) {12241224- dev_err(dev, "%s error at %i: %i\n",12251225- __func__, __LINE__, error);12271227+ dev_warn(dev, "%s busy at %i: %i\n",12281228+ __func__, __LINE__, error);1226122912271227- return error;12301230+ return 0;12281231 }1229123212301233 error = sysc_runtime_suspend(ddata->dev);
···164164MODULE_AUTHOR("Stefan Wahren <stefan.wahren@i2se.com>");165165MODULE_DESCRIPTION("Raspberry Pi voltage sensor driver");166166MODULE_LICENSE("GPL v2");167167+MODULE_ALIAS("platform:raspberrypi-hwmon");
+1-1
drivers/memory/ti-aemif.c
···411411 if (ret < 0)412412 goto error;413413 }414414- } else {414414+ } else if (pdata) {415415 for (i = 0; i < pdata->num_sub_devices; i++) {416416 pdata->sub_devices[i].dev.parent = dev;417417 ret = platform_device_register(&pdata->sub_devices[i]);
+11
drivers/soc/fsl/qbman/bman_ccsr.c
···120120 */121121static dma_addr_t fbpr_a;122122static size_t fbpr_sz;123123+static int __bman_probed;123124124125static int bman_fbpr(struct reserved_mem *rmem)125126{···167166 return IRQ_HANDLED;168167}169168169169+int bman_is_probed(void)170170+{171171+ return __bman_probed;172172+}173173+EXPORT_SYMBOL_GPL(bman_is_probed);174174+170175static int fsl_bman_probe(struct platform_device *pdev)171176{172177 int ret, err_irq;···181174 struct resource *res;182175 u16 id, bm_pool_cnt;183176 u8 major, minor;177177+178178+ __bman_probed = -1;184179185180 res = platform_get_resource(pdev, IORESOURCE_MEM, 0);186181 if (!res) {···263254 0, bm_pool_cnt - 1, ret);264255 return ret;265256 }257257+258258+ __bman_probed = 1;266259267260 return 0;268261};
···126126 */127127int bman_acquire(struct bman_pool *pool, struct bm_buffer *bufs, u8 num);128128129129+/**130130+ * bman_is_probed - Check if bman is probed131131+ *132132+ * Returns 1 if the bman driver successfully probed, -1 if the bman driver133133+ * failed to probe or 0 if the bman driver did not probed yet.134134+ */135135+int bman_is_probed(void);136136+129137#endif /* __FSL_BMAN_H */
+8
include/soc/fsl/qman.h
···11861186 */11871187int qman_release_cgrid(u32 id);1188118811891189+/**11901190+ * qman_is_probed - Check if qman is probed11911191+ *11921192+ * Returns 1 if the qman driver successfully probed, -1 if the qman driver11931193+ * failed to probe or 0 if the qman driver did not probed yet.11941194+ */11951195+int qman_is_probed(void);11961196+11891197#endif /* __FSL_QMAN_H */