Web+ Arnd, Kishon and Lee for their information. On Wednesday 24 January 2024 05:06 AM, David Lechner wrote: > This converts from using a platform device for the CFGCHIP syscon > regmap to using platform data to pass the regmap to consumers. > A lazy getter function is used so that the regmap will only be > created if it is actually used. This function will … WebYeah, I just noticed that too. syscon_regmap_lookup_by_pdevname has only two callers in kernel. The call from clps711x.c UART driver does not seem to be needed anymore after …
[PATCH v2 5/6] soc: xilinx: vcu: use vcu-settings syscon registers
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) { 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 … genesee country village and museum coupons
[1/6] mfd: syscon: Add syscon_register() function - Patchwork
WebMar 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 WebSince restart_handler is part of syscon_reboot_context, you do not need a static variable. You can use struct syscon_reboot_context *ctx = container_of(ctx, struct syscon_reboot_context, restart_handler); instead. Websyscon: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 … deathloop invasion reddit