Message ID | 1461339219-15255-9-git-send-email-tthayer@opensource.altera.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
On Fri, Apr 22, 2016 at 10:33:36AM -0500, tthayer@opensource.altera.com wrote: > From: Thor Thayer <tthayer@opensource.altera.com> > > Add power supply alarm from the hwmon framework. hwmon framework is a Linuxism that has nothing to do with the h/w description. > Signed-off-by: Thor Thayer <tthayer@opensource.altera.com> > --- > .../devicetree/bindings/mfd/altera-a10sr.txt | 8 ++++++++ > 1 file changed, 8 insertions(+) Just squash this into the 1st patch. Rob -- To unsubscribe from this list: send the line "unsubscribe linux-hwmon" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 04/25/2016 07:57 AM, Rob Herring wrote: > On Fri, Apr 22, 2016 at 10:33:36AM -0500, tthayer@opensource.altera.com wrote: >> From: Thor Thayer <tthayer@opensource.altera.com> >> >> Add power supply alarm from the hwmon framework. > > hwmon framework is a Linuxism that has nothing to do with the h/w > description. > OK. I was careful to remove it in the binding and will remove it from the description as well. >> Signed-off-by: Thor Thayer <tthayer@opensource.altera.com> >> --- >> .../devicetree/bindings/mfd/altera-a10sr.txt | 8 ++++++++ >> 1 file changed, 8 insertions(+) > > Just squash this into the 1st patch. > > Rob > OK. Thank you for reviewing. -- To unsubscribe from this list: send the line "unsubscribe linux-hwmon" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/Documentation/devicetree/bindings/mfd/altera-a10sr.txt b/Documentation/devicetree/bindings/mfd/altera-a10sr.txt index 8e17d05..75c51ab 100644 --- a/Documentation/devicetree/bindings/mfd/altera-a10sr.txt +++ b/Documentation/devicetree/bindings/mfd/altera-a10sr.txt @@ -11,6 +11,7 @@ The A10SR consists of this varied group of sub-devices: Device Description ------ ---------- a10sr_gpio GPIO Controller +ps_alarm Power Supply Alarms Arria10 GPIO Required Properties: @@ -20,6 +21,9 @@ Required Properties: the second cell is used to specify flags. See ../gpio/gpio.txt for more information. +Arria10 Power Supply Alarms +- compatible : Should be "altr,a10sr-hwmon" + Example: resource-manager@0 { @@ -32,4 +36,8 @@ Example: gpio-controller; #gpio-cells = <2>; }; + + ps_alarm { + compatible = "altr,a10sr-hwmon"; + }; };