Commit Graph

2 Commits

Author SHA1 Message Date
David Collins
33623ba803 dt-bindings: regulator: stub-regulator: fix dt_binding_check warning
make dt_binding_check outputs the following warning for the file
qcom,stub-regulator.yaml:

Documentation/devicetree/bindings/regulator/
qcom,stub-regulator.example.dtb:
  regulator-l1: 'regulator-max-microvolt', 'regulator-min-microvolt',
  'regulator-name' do not match any of the regexes: 'pinctrl-[0-9]+'

This occurs because both of these are specified:
 * allOf:
     - $ref: "regulator.yaml#"

 * additionalProperties: false

Fix this warning by switching the latter to:

  unevaluatedProperties: false

Change-Id: I5e0c9eb9e6a0638464db5d084bd008df357505d6
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-08-03 16:42:25 -07:00
Xubin Bai
c2a921677d dt-bindings: regulator: add stub regulator bindings
Add stub-regulator device bindings.  These devices can be used to
simulate any particular voltage regulator.

Change-Id: I5d15f825944747b6a0c95508219967bdd9590610
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2023-05-03 07:27:28 -07:00