Syscon_regmap_lookup_by_name
WebIf this property is missing then default assumption is false. -vin-supply: Input supply name. +Only one of gpio/regmap should be specified. + Any property defined as part of the core regulator binding, defined in regulator.txt, ... As syscon_regmap_lookup_by_phandle() can only return -ENODEV or -ENOSYS as errors and -EPROBE_DEFER doesn't make ... Webregmap = syscon_node_to_regmap(syscon_np); for (index = 0; index < arg_count; index++) out_args[index] = args.args[index]; of_node_put(syscon_np); return regmap;} …
Syscon_regmap_lookup_by_name
Did you know?
http://events17.linuxfoundation.org/sites/events/files/slides/belloni-mfd-regmap-syscon_0.pdf WebApr 8, 2014 · Regmap is get via syscon_early_regmap_lookup_by_phandle () Regular device probes attach device to regmap via regmap_attach_dev (). For early syscon initialization …
WebGeneric SYSCON regmap reset driver modulename: syscon-reboot.ko configname: CONFIG_POWER_RESET_SYSCON Linux Kernel Configuration └─> Device Drivers └─> Board level reset or power off └─> Device Tree and Open Firmware support └─> Generic SYSCON regmap reset driver Reboot support for generic SYSCON mapped register reset. source … Webregmap_read (data->regmap, data->offset + SNVS_LPSRTCMR, &msb); regmap_read (data->regmap, data->offset + SNVS_LPSRTCLR, &lsb); return (u64)msb << 32 lsb; } /* Read the secure real time counter, taking care to deal with the cases of the * counter updating while being read. */ static u32 rtc_read_lp_counter (struct snvs_rtc_data *data) {
WebFeb 25, 2015 · Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type. ... In function `rdev_get_name': ... undefined reference to `syscon_regmap_lookup_by_phandle' WebApr 8, 2014 · Regmap is get via syscon_early_regmap_lookup_by_phandle () Regular device probes attach device to regmap via regmap_attach_dev (). For early syscon initialization is necessary to extend struct syscon and provide remove function which unmap all early init structures. Signed-off-by: Michal Simek --- Changes in v3:
WebInstead, use the regmap_init macros that generate a key and name * for each call. */ struct regmap * __regmap_init (struct device * dev, const struct regmap_bus * bus, void * bus_context, const struct regmap_config * config, struct lock_class_key * lock_key, const char * lock_name); struct regmap * __regmap_init_i2c (struct i2c_client * i2c ...
http://events17.linuxfoundation.org/sites/events/files/slides/belloni-mfd-regmap-syscon_0.pdf ram wired tow mode cameraWebApr 14, 2024 · Switch the "logicoreip" registers to the new xlnx,vcu-settings binding to be able to read the settings if the settings are specified in a separate device tree node that is shared with other drivers. If the driver is not able to find a node with the new binding, fall back to check for the logicore register bank to be backwards compatible. ram wiper recallWebsyscon:API extern struct regmap *syscon_node_to_regmap(struct device_node *np); extern struct regmap *syscon_regmap_lookup_by_compatible(const char *s); extern struct … overseas railwayWebThe whole reason we're duplicating it in regmap_set_name() is that we don't know how long it's going to be around so we don't want to reference it after having returned to the caller. … ram winnebago interiorWebDec 5, 2024 · The syscon_regmap_lookup_by_name() interface would >> > work just as well when passing a property name compared to >> > a name listed in another property, and this would still be more in >> > line with what we do on other SoCs. >> udx710-modem.dtsi:69: syscons = <&pmu_apb_regs 0x18 0x2000000>, ram win module programWebhlcdc->regmap = devm_regmap_init(dev, NULL, hregmap, &atmel_hlcdc_regmap_config); if (IS_ERR(hlcdc->regmap)) return PTR_ERR(hlcdc->regmap); dev_set_drvdata(dev, hlcdc); … ram wire coilWebMar 6, 2024 · Though it's called syscon_regmap_lookup_by_phandle () and it can be used to replace the entire pattern: "Parse property; Find node by phandle; Get regmap by node". Basically the of_parse_phandle () and syscon_node_to_regmap () methods invocation can be replaced with just a single function call. Thus there won't be need to worry about overseas qts