Webextern struct regmap *syscon_regmap_lookup_by_phandle_optional(32: struct device_node *np, 33: const char *property); 34 # else: 35: static inline struct regmap *device_node_to_regmap(struct device_node *np) 36 {37: return ERR_PTR(-ENOTSUPP); 38} 39: 40: static inline struct regmap *syscon_node_to_regmap(struct device_node *np) 41 {42: WebMar 23, 2016 · In regmap_mmio_gen_context ctx->reg_read is set to regmap_mmio_read32le and ctx->reg_write to regmap_mmio_write32le respectively. I noticed that before that change map->reg_read = _regmap_bus_read and map- >reg_write = _regmap_bus_raw_write. After that change it is map->reg_read = _regmap_bus_reg_read …
drivers/leds/leds-syscon.c - kernel/quantenna - Git at Google
WebSep 11, 2014 · > syscon device phandle and the register offset within the GPBR block. > > When using non DT boards, we won't be able to retrieve the syscon regmap, > hence we need to create our own regmap using the memory region defined > in the 2nd memory resource assigned to the RTT platform device. > Webregmap = syscon_node_to_regmap(syscon_np); of_node_put(syscon_np); return regmap;} EXPORT_SYMBOL_GPL(syscon_regmap_lookup_by_compatible); struct regmap … lapiplasty bunion surgery training
linux/dw_hdmi-rockchip.c at master · torvalds/linux · GitHub
WebSep 17, 2024 · 1 There is the regmap API in the linux kernel which provides easy access for register based devices. My device (an ADC, which is currently not supported by the kernel … Websyscon regmap is needed in early boot (e.g. clocks), because using a platform driver at this point in boot is not an option. 2. It allows other drivers to use syscon_regmap_lookup_by_compatible() for both device tree and non-DT platforms instead of having to have WebJun 9, 2024 · * Call syscon_node_to_regmap () to get regmaps from LDB bridge helper driver and PXL2DPI bridger driver instead of syscon_regmap_lookup_by_phandle (). * Drop two macros from pixel link bridge driver which help define functions and define them directly. lapiplasty bunion surgery uk