Re: [PATCH v2] docs: Use make invocation's -j argument for parallelism

2019-09-24 Thread Jani Nikula
On Mon, 23 Sep 2019, Kees Cook wrote: > On Sun, Sep 22, 2019 at 02:03:31PM -0600, Jonathan Corbet wrote: >> On Thu, 19 Sep 2019 14:44:37 -0700 >> Kees Cook wrote: >> >> > While sphinx 1.7 and later supports "-jauto" for parallelism, this >> > effectively ignores the "-j" flag used in the "make"

Re: [RFC][PATCH] docs: Programmatically render MAINTAINERS into ReST

2019-09-24 Thread Jani Nikula
On Mon, 23 Sep 2019, Kees Cook wrote: > In order to have the MAINTAINERS file visible in the rendered ReST > output, this makes some small changes to the existing MAINTAINERS file > to allow for better machine processing, and adds a tool to perform the > rendering. > > Features include: > - Per-su

Re: [RFC][PATCH] docs: Programmatically render MAINTAINERS into ReST

2019-09-24 Thread Mauro Carvalho Chehab
Em Mon, 23 Sep 2019 15:43:45 -0700 Kees Cook escreveu: > In order to have the MAINTAINERS file visible in the rendered ReST > output, this makes some small changes to the existing MAINTAINERS file > to allow for better machine processing, and adds a tool to perform the > rendering. > > Features

[PATCH] media: v4l2-fwnode: fix location of acpi/dsd documentation

2019-09-24 Thread Mauro Carvalho Chehab
This got moved to the firmware-guide. Fixes: f2dde1ed0f28 ("Documentation: ACPI: move dsd/graph.txt to firmware-guide/acpi and convert to reST") Signed-off-by: Mauro Carvalho Chehab --- drivers/media/v4l2-core/v4l2-fwnode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dri

Re: [PATCH] media: v4l2-fwnode: fix location of acpi/dsd documentation

2019-09-24 Thread Sakari Ailus
Hi Mauro, On Tue, Sep 24, 2019 at 07:36:00AM -0300, Mauro Carvalho Chehab wrote: > This got moved to the firmware-guide. > > Fixes: f2dde1ed0f28 ("Documentation: ACPI: move dsd/graph.txt to > firmware-guide/acpi and convert to reST") > Signed-off-by: Mauro Carvalho Chehab > --- > drivers/media

[PATCH v2] media: v4l2-fwnode: fix location of acpi/dsd documentation

2019-09-24 Thread Mauro Carvalho Chehab
This got moved to the firmware-guide. Fixes: f2dde1ed0f28 ("Documentation: ACPI: move dsd/graph.txt to firmware-guide/acpi and convert to reST") Signed-off-by: Mauro Carvalho Chehab --- v2: - Also replace *.txt -> *.rst. I opted to place the full file names there, as this allows ./scripts/

Re: [PATCH v2] media: v4l2-fwnode: fix location of acpi/dsd documentation

2019-09-24 Thread Sakari Ailus
On Tue, Sep 24, 2019 at 09:03:56AM -0300, Mauro Carvalho Chehab wrote: > This got moved to the firmware-guide. > > Fixes: f2dde1ed0f28 ("Documentation: ACPI: move dsd/graph.txt to > firmware-guide/acpi and convert to reST") > Signed-off-by: Mauro Carvalho Chehab Acked-by: Sakari Ailus > --- >

[PATCH 2/3] hwmon: Add support for ltc2947

2019-09-24 Thread Nuno Sá
The ltc2947 is a high precision power and energy monitor with an internal sense resistor supporting up to +/- 30A. Three internal no Latency ADCs ensure accurate measurement of voltage and current, while high-bandwidth analog multiplication of voltage and current provides accurate power measurement

[PATCH 1/3] hwmon: Fix HWMON_P_MIN_ALARM mask

2019-09-24 Thread Nuno Sá
Both HWMON_P_MIN_ALARM and HWMON_P_MAX_ALARM were using BIT(hwmon_power_max_alarm). Fixes: aa7f29b07c870 ("hwmon: Add support for power min, lcrit, min_alarm and lcrit_alarm") CC: Signed-off-by: Nuno Sá --- include/linux/hwmon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 0/3] LTC2947 support

2019-09-24 Thread Nuno Sá
This series adds support for the LTC2947 hwmon device. The device supports power[1-*]_min_alarm, so that it makes use of the HWMON_P_MIN_ALARM mask. This brings me to the first patch, which is a fix on the hwmon subsystem for the HWMON_P_MIN_ALARM mask. It was defining the same mask as HWMON_P_MAX_

[PATCH 3/3] dt-bindings: iio: Add ltc2947 documentation

2019-09-24 Thread Nuno Sá
Document the LTC2947 device devicetree bindings. Signed-off-by: Nuno Sá --- .../bindings/hwmon/adi,ltc2947.yaml | 101 ++ MAINTAINERS | 1 + 2 files changed, 102 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmo

[PATCH 3/3] bindings: MAINTAINERS: fix references to Allwinner LRADC

2019-09-24 Thread Mauro Carvalho Chehab
The file got converted to yaml, but the reference at MAINTAINERS was not updated. Fixes: 5bf2845ece35 ("dt-bindings: input: Convert Allwinner LRADC to a schema") Signed-off-by: Mauro Carvalho Chehab --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b

[PATCH 1/3] docs: fix some broken references

2019-09-24 Thread Mauro Carvalho Chehab
There are a number of documentation files that got moved or renamed. update their references. Signed-off-by: Mauro Carvalho Chehab --- Documentation/devicetree/bindings/cpu/cpu-topology.txt| 2 +- Documentation/devicetree/bindings/timer/ingenic,tcu.txt | 2 +- Documentation/driver-api/gpio

[PATCH 2/3] bindings: rename links to mason USB2/USB3 DT files

2019-09-24 Thread Mauro Carvalho Chehab
Those files got renamed, but another DT file still points to the older places. Fixes: 87a55485f2fc ("dt-bindings: phy: meson-g12a-usb3-pcie-phy: convert to yaml") Fixes: da86d286cce8 ("dt-bindings: phy: meson-g12a-usb2-phy: convert to yaml") Signed-off-by: Mauro Carvalho Chehab --- Documentatio

Re: [PATCH v2 1/1] counter: cros_ec: Add synchronization sensor

2019-09-24 Thread Fabien Lahoudere
Hi all, After some discussions and investigation, the timestamp is very important for that sync driver. Google team uses that timestamp to compare with gyroscope timestamp. So the important data is timestamp and counter value is useless. Just the event of counter increment is important to get a t

Re: [PATCH v2 1/1] counter: cros_ec: Add synchronization sensor

2019-09-24 Thread William Breathitt Gray
On Tue, Sep 24, 2019 at 04:20:51PM +0200, Fabien Lahoudere wrote: > Hi all, > > After some discussions and investigation, the timestamp is very > important for that sync driver. > Google team uses that timestamp to compare with gyroscope timestamp. > > So the important data is timestamp and count

Re: [PATCH v2] docs: Use make invocation's -j argument for parallelism

2019-09-24 Thread Kees Cook
On Tue, Sep 24, 2019 at 10:12:22AM +0300, Jani Nikula wrote: > On Mon, 23 Sep 2019, Kees Cook wrote: > > On Sun, Sep 22, 2019 at 02:03:31PM -0600, Jonathan Corbet wrote: > >> On Thu, 19 Sep 2019 14:44:37 -0700 > >> Kees Cook wrote: > >> > >> > While sphinx 1.7 and later supports "-jauto" for par

Re: [PATCH] kbuild: remove ar-option and KBUILD_ARFLAGS

2019-09-24 Thread Nick Desaulniers
On Tue, Sep 24, 2019 at 9:38 AM Masahiro Yamada wrote: > > Commit 40df759e2b9e ("kbuild: Fix build with binutils <= 2.19") > introduced ar-option and KBUILD_ARFLAGS to cope with old binutils. > > According to Documentation/process/changes.rst, the current minimal > supported version of binutils is

Re: [PATCH v2] docs: Use make invocation's -j argument for parallelism

2019-09-24 Thread Mauro Carvalho Chehab
Em Mon, 23 Sep 2019 15:40:41 -0700 Kees Cook escreveu: > On Sun, Sep 22, 2019 at 02:03:31PM -0600, Jonathan Corbet wrote: > > On Thu, 19 Sep 2019 14:44:37 -0700 > > Kees Cook wrote: > > > > > While sphinx 1.7 and later supports "-jauto" for parallelism, this > > > effectively ignores the "-j"

Re: [RFC][PATCH] docs: Programmatically render MAINTAINERS into ReST

2019-09-24 Thread Kees Cook
On Tue, Sep 24, 2019 at 07:08:19AM -0300, Mauro Carvalho Chehab wrote: > It probably makes sense to change some things there, as, right now, it > is considering multiple lines as continuation. So, for example, if > it has multiple M: entries, it will produce this at MAINTAINERS.rst > output: > >

Re: [RFC][PATCH] docs: Programmatically render MAINTAINERS into ReST

2019-09-24 Thread Kees Cook
On Tue, Sep 24, 2019 at 10:16:18AM +0300, Jani Nikula wrote: > I'd suggest making convert-maintainers.py a Sphinx extension, and > handling all of this in Sphinx. That's an excellent idea. I've done this now -- it simplifies things quite a bit (though I had to beat my head against some odd behavio

[PATCH 1/2] doc-rst: Reduce CSS padding around Field

2019-09-24 Thread Kees Cook
Right now any ":Field Name: Field Contents" lines end up with significant padding due to CSS from the "table" CSS which rightly needs padding to make tables readable. However, field lists don't need this as they tend to be stacked together. The future heavy use of fields in the parsed MAINTAINERS f

[PATCH 0/2] docs: Programmatically render MAINTAINERS into ReST

2019-09-24 Thread Kees Cook
Commit log from Patch 2 repeated here for cover letter: In order to have the MAINTAINERS file visible in the rendered ReST output, this makes some small changes to the existing MAINTAINERS file to allow for better machine processing, and adds a new Sphinx directive "maintainers-include" to perform

[PATCH 2/2] doc-rst: Programmatically render MAINTAINERS into ReST

2019-09-24 Thread Kees Cook
In order to have the MAINTAINERS file visible in the rendered ReST output, this makes some small changes to the existing MAINTAINERS file to allow for better machine processing, and adds a new Sphinx directive "maintainers-include" to perform the rendering. Features include: - Per-subsystem refere

[PATCH v3] docs: Use make invocation's -j argument for parallelism

2019-09-24 Thread Kees Cook
While sphinx 1.7 and later supports "-jauto" for parallelism, this effectively ignores the "-j" flag used in the "make" invocation, which may cause confusion for build systems. Instead, extract the available parallelism from "make"'s job server (since it is not exposed in any special variables) and