Message ID | 20160625034511.7966-6-megous@megous.com |
---|---|
State | Changes Requested, archived |
Headers | show |
On Sat, Jun 25, 2016 at 05:45:02AM +0200, megous@megous.com wrote: > From: Ondrej Jirman <megous@megous.com> > > This patch adds the binding documentation for the > sy8106a regulator driver. Please submit patches using subject lines reflecting the style for the subsystem. This makes it easier for people to identify relevant patches.
On 26.6.2016 13:27, Mark Brown wrote: > On Sat, Jun 25, 2016 at 05:45:02AM +0200, megous@megous.com wrote: >> From: Ondrej Jirman <megous@megous.com> >> >> This patch adds the binding documentation for the >> sy8106a regulator driver. > > Please submit patches using subject lines reflecting the style for the > subsystem. This makes it easier for people to identify relevant > patches. > Hello, I assume that means "regulator: dt-bindings: ..." in this case. I'll keep that in mind in the future. Thank you. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Sun, Jun 26, 2016 at 05:10:06PM +0200, Ondřej Jirman wrote: > Hello, I assume that means "regulator: dt-bindings: ..." in this case. > I'll keep that in mind in the future. Thank you. Yes, or "regulator: sy8106a: " - as ever take a look at how other commits in the same file/directory are done.
diff --git a/Documentation/devicetree/bindings/regulator/sy8106a-regulator.txt b/Documentation/devicetree/bindings/regulator/sy8106a-regulator.txt new file mode 100644 index 0000000..1e623a34 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/sy8106a-regulator.txt @@ -0,0 +1,21 @@ +SY8106A Voltage regulator + +Required properties: +- compatible: Must be "silergy,sy8106a" +- reg: I2C slave address - must be <0x65> + +Any property defined as part of the core regulator binding, defined in +regulator.txt, can also be used. + +Example: + + sy8106a { + compatible = "silergy,sy8106a"; + reg = <0x65>; + regulator-name = "sy8106a-vdd"; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1400000>; + regulator-ramp-delay = <200>; + regulator-boot-on; + regulator-always-on; + };