Skip to content

Integrate linux-seco-rk/seco_5.10.110_drivers

GitBot requested to merge linux-seco-rk/seco_5.10.110_drivers into kirkstone

Commit: https://git.seco.com/edgehog/bsp/rockchip/linux-seco-rk/-/commit/f6916d81293aa6f4b3cce32566086fc43707ae8f

[DRIVER] userspace-regulator: add dt_node interface for usage through device-tree

Originally, userspace-regulator driver works only via the old platform-driver interface. Now it uses also the device tree interface. A possible node is:

rs232-consumer {
	compatible          = "reg-userspace-consumer";
	regulator-name      = "rs232-consumer";
	regulator-supplies  = "reg_rs232_en";
	reg_rs232_en-supply = <&reg_rs232_en>;
	regulator-boot-on;
};

Where:

  • regulator-name: name of the particular istance, used also to create the file descriptor at user-space level;
  • regulator0supplies : name of the regulator it uses as interface;
  • -supply = variable node name. It is the node of the regulator that the particular istance uses;
  • regulator-boot-on : (default state: off) used to turn on the regulator at boot.

Merge request reports

Loading