2018-02-20 0:18 GMT+09:00 Ulf Magnusson :
>>
>> I'm not happy that we in one context can reference CONFIG variables
>> directly, but inside the $(call ...) and $(shell ...) needs the $ prefix.
>> But I could not come up with something un-ambigious where this could be
>> avoided.
>
> I think we sh
AIUI, the PWM framework already exposes a sysfs node with period
information. We should just use that instead of adding a new driver for
this.
In any case, we cannot add something like this to device tree since it's
not a hardware device.
Mikko
On 21.02.2018 08:58, Rajkumar Rampelli wrote:
Add support for pwm HW driver which has only capture functionality.
This helps to implement the PWM based Tachometer driver which reads
the PWM output signals from electronic fans.
PWM Tachometer captures the period and duty cycle of the PWM signal
Signed-off-by: Rajkumar Rampelli
---
drivers/p
The NVIDIA Tegra186 SoC has a PWM controller which is
used in FAN control use case.
Signed-off-by: Rajkumar Rampelli
---
arch/arm64/boot/dts/nvidia/tegra186.dtsi | 11 +++
1 file changed, 11 insertions(+)
diff --git a/arch/arm64/boot/dts/nvidia/tegra186.dtsi
b/arch/arm64/boot/dts/nvidi
Add DT binding details for the PWM based generic tachometer
driver which gets the period of the PWM tach-output from Fan
via PWM IP having capability of capturing the signal.
Signed-off-by: Rajkumar Rampelli
---
.../bindings/hwmon/generic-pwm-tachometer.txt | 25 ++
1 fi
Enable Generic PWM based Tachometer driver which implements a simple
interface for monitoring the speed of a fan in roatations per minute,
and exposes it to the user space by using the hwmon's sysfs interface.
Enable this driver as a module in the ARM64 defconfig.
Signed-off-by: Rajkumar Rampelli
Add generic PWM based tachometer driver via HWMON interface
to report the RPM of motor. This drivers get the period/duty
cycle from PWM IP which captures the motor PWM output.
This driver implements a simple interface for monitoring the speed of
a fan and exposes it in roatations per minute (RPM)
PWM Tachometer driver capture the PWM signal which is output of FAN
in general and provide the period of PWM signal which is converted to
RPM by SW.
Add Tegra Tachometer driver which implements the pwm-capture to
measure period.
Signed-off-by: Rajkumar Rampelli
Signed-off-by: Laxman Dewangan
--
Supply Device tree binding documentation for the NVIDIA
Tegra186 SoC's Tachometer Controller
Signed-off-by: Rajkumar Rampelli
---
.../bindings/pwm/pwm-tegra-tachometer.txt | 31 ++
1 file changed, 31 insertions(+)
create mode 100644
Documentation/devicetree/binding
The NVIDIA Tegra186 SoC has a Tachometer Controller that analyzes the
PWM signal of a Fan and reports the period value through pwm interface.
Signed-off-by: Rajkumar Rampelli
---
arch/arm64/boot/dts/nvidia/tegra186-p2771-.dts | 5 +
arch/arm64/boot/dts/nvidia/tegra186.dtsi | 1
Add PWM based Tachometer support on Tegra186 to measure
number of rotations of a Fan per minute by using PWM
capture interface
Signed-off-by: Rajkumar Rampelli
---
arch/arm64/boot/dts/nvidia/tegra186.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/nvidia/tegra1
Tegra Tachometer driver implements PWM capture to measure
period. Enable this driver as a module in the ARM64 defconfig.
Signed-off-by: Rajkumar Rampelli
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconf
The following patches adds support for PWM based Tegra Tachometer driver
which implements PWM capture interface to analyze the PWM signal of a
electronic fan and reports it in periods and duty cycles.
Generic PWM Tachometer implemented to monitor the speed of fan in rpms
using PWM interface. RPM o
On Thu, Nov 02, 2017 at 11:06:05AM -0700, Eric Biggers wrote:
> From: Eric Biggers
>
> When keyctl_read() is passed a buffer that is too small, the behavior is
> inconsistent. Some key types will fill as much of the buffer as
> possible, while others won't copy anything. Moreover, the in-kernel
On Fri, 2018-02-16 at 20:33 +, Taras Kondratiuk wrote:
> From: Victor Kamensky
>
> initramfs code supporting extended cpio format have ability to
> fill extended attributes from cpio archive, but if SELinux enabled
> and security server is not initialized yet, selinux callback would
> refuse
On Fri, 2018-02-16 at 20:33 +, Taras Kondratiuk wrote:
> From: Victor Kamensky
>
> With initramfs cpio format that supports extended attributes
> we need to skip sid population on sys_lsetxattr call from
> initramfs for rootfs if security server is not initialized yet.
>
> Otherwise callback
Currently there is no automated checking for kernel-doc comments except
running 'kernel-doc -v -none '. Mention the possibility to run
kernel-doc to verify formatting of the comments in the kernel-doc guide.
Signed-off-by: Mike Rapoport
---
v2:
* fix typo
* add a sentence about using 'make W=n'
On Tue, 20 Feb 2018 10:26:44 -0500
Steven Rostedt wrote:
> One it should be a separate patch. Two, how does SPDX deal with dual
> licenses?
Separate them with "OR" on a single line. See
Documentation/process/license-rules.rst for details.
jon
--
To unsubscribe from this list: send the line "un
On Tue, 20 Feb 2018 21:27:00 +0800
"Du, Changbin" wrote:
> > > @@ -0,0 +1,3332 @@
> > > +
> > > +ftrace - Function Tracer
> > > +
> > > +
> > > +Copyright 2008 Red Hat Inc.
> > > +
> > > +:Author: Steven Rostedt
> > > +:License: The GNU Free Doc
On Tue, Feb 20, 2018 at 04:54:44PM +0200, Mike Rapoport wrote:
> level.
>
> +Running the ``kernel-doc`` tool with increased verbosity and without actual
> +output generation may be used to verify proper formating of the
"formatting"
> +documentation comments. For example::
> +
> + scripts/
Currently there is no automated checking for kernel-doc comments except
running 'kernel-doc -v -none '. Mention the possibility to run
kernel-doc to verify formatting of the comments in the kernel-doc guide.
Signed-off-by: Mike Rapoport
---
Documentation/doc-guide/kernel-doc.rst | 6 ++
1 fi
Hi,
On Tue, Feb 20, 2018 at 08:28:24AM +0100, Philippe Ombredanne wrote:
> Changbin, Steven,
>
> On Sat, Feb 17, 2018 at 6:39 AM, wrote:
> > From: Changbin Du
> >
> > This converts the plain text documentation to reStructuredText format and
> > add it into Sphinx TOC tree. No essential content
On Mon, 19 Feb 2018 21:12:10 +,
Jayachandran C wrote:
>
> On Sun, Jan 21, 2018 at 11:35:34AM +, Marc Zyngier wrote:
> > On Sun, 21 Jan 2018 07:00:48 +,
> > Jayachandran C wrote:
> > >
> > > On Thu, Jan 18, 2018 at 10:58:20AM +0530, Ganapatrao Kulkarni wrote:
> > > > This erratum is ob
23 matches
Mail list logo