Message ID | 1490369323-13866-3-git-send-email-jacopo+renesas@jmondi.org (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Geert Uytterhoeven |
Headers | show |
On 24/03/17 15:28, Jacopo Mondi wrote: > Add documentation for max9611 driver. > Document attributes describing value of shunt resistor installed between > RS+ and RS- voltage sense inputs. > > Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org> > --- > Documentation/ABI/testing/sysfs-bus-iio-adc-max9611 | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-adc-max9611 > > diff --git a/Documentation/ABI/testing/sysfs-bus-iio-adc-max9611 b/Documentation/ABI/testing/sysfs-bus-iio-adc-max9611 > new file mode 100644 > index 0000000..9c60824 > --- /dev/null > +++ b/Documentation/ABI/testing/sysfs-bus-iio-adc-max9611 > @@ -0,0 +1,16 @@ > +What: /sys/bus/iio/devices/iio:deviceX/in_shunt_resistor_power > +Date: March 2017 > +KernelVersion: 4.12 > +Contact: linux-iio@vger.kernel.org > +Description: The value of the shunt resistor used to compute power drain on > + common input voltage pin (RS+). In micro Ohms. Unfortunately this has ended up with a name that made me initially think it was the power rating of the resistor in question (why we'd want to know that I've no idea). We might need to make this even more explicit to avoid idiots like me ;) It's the shunt resistor for the power measurement so I think it should probably be... in_power_shunt_resistance > + > +What: /sys/bus/iio/devices/iio:deviceX/in_shunt_resistor_current > +Date: March 2017 > +KernelVersion: 4.12 > +Contact: linux-iio@vger.kernel.org > +Description: The value of the shunt resistor used to compute current flowing > + between RS+ and RS- voltage sense inputs. In micro Ohms. > + This attributes describe a single physical component, exposed > + as two distinct attributes as it is used to calculate two > + different values. > Same as above... Jonathan
On Fri, Mar 24, 2017 at 4:28 PM, Jacopo Mondi <jacopo+renesas@jmondi.org> wrote: > Add documentation for max9611 driver. > Document attributes describing value of shunt resistor installed between > RS+ and RS- voltage sense inputs. > > Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org> > --- > Documentation/ABI/testing/sysfs-bus-iio-adc-max9611 | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-adc-max9611 > > diff --git a/Documentation/ABI/testing/sysfs-bus-iio-adc-max9611 b/Documentation/ABI/testing/sysfs-bus-iio-adc-max9611 > new file mode 100644 > index 0000000..9c60824 > --- /dev/null > +++ b/Documentation/ABI/testing/sysfs-bus-iio-adc-max9611 > @@ -0,0 +1,16 @@ > +What: /sys/bus/iio/devices/iio:deviceX/in_shunt_resistor_power > +Date: March 2017 > +KernelVersion: 4.12 > +Contact: linux-iio@vger.kernel.org > +Description: The value of the shunt resistor used to compute power drain on > + common input voltage pin (RS+). In micro Ohms. > + > +What: /sys/bus/iio/devices/iio:deviceX/in_shunt_resistor_current > +Date: March 2017 > +KernelVersion: 4.12 > +Contact: linux-iio@vger.kernel.org > +Description: The value of the shunt resistor used to compute current flowing > + between RS+ and RS- voltage sense inputs. In micro Ohms. I'd add a blank line here, to make it clear the following paragraph applies to both attributes above. > + This attributes describe a single physical component, exposed These attributes > + as two distinct attributes as it is used to calculate two > + different values. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
diff --git a/Documentation/ABI/testing/sysfs-bus-iio-adc-max9611 b/Documentation/ABI/testing/sysfs-bus-iio-adc-max9611 new file mode 100644 index 0000000..9c60824 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-bus-iio-adc-max9611 @@ -0,0 +1,16 @@ +What: /sys/bus/iio/devices/iio:deviceX/in_shunt_resistor_power +Date: March 2017 +KernelVersion: 4.12 +Contact: linux-iio@vger.kernel.org +Description: The value of the shunt resistor used to compute power drain on + common input voltage pin (RS+). In micro Ohms. + +What: /sys/bus/iio/devices/iio:deviceX/in_shunt_resistor_current +Date: March 2017 +KernelVersion: 4.12 +Contact: linux-iio@vger.kernel.org +Description: The value of the shunt resistor used to compute current flowing + between RS+ and RS- voltage sense inputs. In micro Ohms. + This attributes describe a single physical component, exposed + as two distinct attributes as it is used to calculate two + different values.
Add documentation for max9611 driver. Document attributes describing value of shunt resistor installed between RS+ and RS- voltage sense inputs. Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org> --- Documentation/ABI/testing/sysfs-bus-iio-adc-max9611 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-adc-max9611