Skip to content

Integrate meta-seco-rk/linux-seco-rk/seco_5.10.110_drivers

Commit: edgehog/layers/seco/meta-seco-rk@19ef4bfe

Integrate linux-seco-rk/seco_5.10.110_drivers

--

Commit: edgehog/bsp/rockchip/linux-seco-rk@f6916d81

[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