RE: [PATCH V2 1/2] hwmon: pwm-fan: Add profile support and add remove module support

2020-07-08 Thread Sandipan Patra
> From: Guenter Roeck On Behalf Of Guenter Roeck > Sent: Tuesday, June 2, 2020 7:58 PM > To: Sandipan Patra > Cc: Thierry Reding ; Jonathan Hunter > ; ka...@wypas.org; jdelv...@suse.com; > robh...@kernel.org; u.kleine-koe...@pengutronix.de; Bibek Basu > ; Bitan Biswas ;

[PATCH V2] soc/tegra: Add defines for Tegra186+ chip IDs

2020-06-26 Thread Sandipan Patra
Add the chip IDs for NVIDIA Tegra186, Tegra194 and Tegra234 SoC families. Signed-off-by: Sandipan Patra --- V2: - Precise commit message include/soc/tegra/fuse.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/soc/tegra/fuse.h b/include/soc/tegra/fuse.h index

RE: [PATCH] soc/tegra: Add Tegra Soc Version support

2020-06-26 Thread Sandipan Patra
> -Original Message- > From: Mikko Perttunen > Sent: Friday, June 26, 2020 4:20 PM > To: Sandipan Patra ; Thierry Reding > ; Jonathan Hunter > Cc: Bibek Basu ; Krishna Yarlagadda > ; linux-te...@vger.kernel.org; linux- > ker...@vger.kernel.org > Subject:

[PATCH] soc/tegra: Add Tegra Soc Version support

2020-06-26 Thread Sandipan Patra
Add the chip IDs for NVIDIA Tegra186, Tegra194 and Tegra234 SoC family. Signed-off-by: Sandipan Patra --- include/soc/tegra/fuse.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/soc/tegra/fuse.h b/include/soc/tegra/fuse.h index 252ea20..4a5236b 100644

RE: [PATCH V4] pwm: tegra: dynamic clk freq configuration by PWM driver

2020-06-08 Thread Sandipan Patra
Hi Uwe, > -Original Message- > From: Uwe Kleine-König > Sent: Wednesday, June 3, 2020 9:59 PM > To: Sandipan Patra > Cc: Thierry Reding ; Jonathan Hunter > ; Bibek Basu ; Laxman Dewangan > ; Krishna Yarlagadda ; > linux-...@vger.kernel.org; linux-te...@vger.

[PATCH V2 2/2] arm64: tegra: Add pwm-fan profile settings

2020-06-01 Thread Sandipan Patra
Add support for profiles in device tree to allow different fan settings for trip point temp/hyst/pwm. Signed-off-by: Sandipan Patra --- arch/arm64/boot/dts/nvidia/tegra194-p2972-.dts | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts

[PATCH V2 1/2] hwmon: pwm-fan: Add profile support and add remove module support

2020-06-01 Thread Sandipan Patra
Add support for profiles mode settings. This allows different fan settings for trip point temp/hyst/pwm. Tegra194 has multiple fan-profiles support. Signed-off-by: Sandipan Patra --- PATCH V2: Cleaned pwm_fan_remove support as it is not required. drivers/hwmon/pwm-fan.c | 92

[PATCH V4] pwm: tegra: dynamic clk freq configuration by PWM driver

2020-05-31 Thread Sandipan Patra
pwm-controller supporting multiple channels. But later chips have multiple pwm controller instances each having single channel support. Signed-off-by: Sandipan Patra --- PATCH V4: 1. Code comments fixes PATCH V3: 1. Return -EINVAL if requested period does not fall inside limit

RE: [PATCH 1/2] hwmon: pwm-fan: Add profile support and add remove module support

2020-05-26 Thread Sandipan Patra
Hi, > -Original Message- > From: Guenter Roeck On Behalf Of Guenter Roeck > Sent: Tuesday, May 26, 2020 5:12 PM > To: Sandipan Patra ; Thierry Reding > ; Jonathan Hunter ; u.kleine- > koe...@pengutronix.de; ka...@wypas.org; jdelv...@suse.com; > robh...@kernel

[PATCH V3] pwm: tegra: dynamic clk freq configuration by PWM driver

2020-05-26 Thread Sandipan Patra
pwm-controller supporting multiple channels. But later chips have multiple pwm controller instances each having single channel support. Signed-off-by: Sandipan Patra --- PATCH V3: 1. Return -EINVAL if requested period does not fall inside limit. 2. Store the new clock rate

RE: [PATCH 1/2] hwmon: pwm-fan: Add profile support and add remove module support

2020-05-26 Thread Sandipan Patra
Hi Uwe, > -Original Message- > From: Uwe Kleine-König > Sent: Tuesday, May 26, 2020 12:35 PM > To: Sandipan Patra > Cc: Thierry Reding ; Jonathan Hunter > ; ka...@wypas.org; jdelv...@suse.com; linux@roeck- > us.net; robh...@kernel.org; Bibek Basu ; B

[PATCH 2/2] arm64: tegra: Add pwm-fan profile settings

2020-05-25 Thread Sandipan Patra
Add support for profiles in device tree to allow different fan settings for trip point temp/hyst/pwm. Signed-off-by: Sandipan Patra --- arch/arm64/boot/dts/nvidia/tegra194-p2972-.dts | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts

[PATCH 1/2] hwmon: pwm-fan: Add profile support and add remove module support

2020-05-25 Thread Sandipan Patra
@@ -3,8 +3,10 @@ * pwm-fan.c - Hwmon driver for fans connected to PWM lines. * * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2020, NVIDIA Corporation. * * Author: Kamil Debski + * Author: Sandipan Patra */ #include @@ -21,6 +23,8 @@ #include #define MAX_PWM

RE: [PATCH V2] pwm: tegra: dynamic clk freq configuration by PWM driver

2020-05-22 Thread Sandipan Patra
Hi Jon, > -Original Message- > From: Jonathan Hunter > Sent: Friday, May 22, 2020 5:20 PM > To: Sandipan Patra ; Thierry Reding > ; robh...@kernel.org; u.kleine-koe...@pengutronix.de > Cc: Bibek Basu ; Laxman Dewangan > ; linux-...@vger.kernel.org; > devicet...@v

RE: [PATCH V2] pwm: tegra: dynamic clk freq configuration by PWM driver

2020-05-22 Thread Sandipan Patra
Thanks Jonathan, Please help reviewing further with my replies inline. Thanks & Regards, Sandipan > -Original Message- > From: Jonathan Hunter > Sent: Friday, May 22, 2020 3:54 PM > To: Sandipan Patra ; Thierry Reding > ; robh...@kernel.org; u.kleine-koe...@pengutr

RE: [PATCH V2] pwm: tegra: dynamic clk freq configuration by PWM driver

2020-05-14 Thread Sandipan Patra
Hello Uwe, Gentle reminder to review my replies. It will help me to push next cleaner patch. Thanks & Regards, Sandipan > -Original Message- > From: Sandipan Patra > Sent: Thursday, May 7, 2020 1:40 PM > To: Uwe Kleine-König > Cc: Thierry Reding ; robh...@kernel.org

RE: [PATCH V2] pwm: tegra: dynamic clk freq configuration by PWM driver

2020-05-07 Thread Sandipan Patra
Hello, > -Original Message- > From: Uwe Kleine-König > Sent: Tuesday, May 5, 2020 1:42 AM > To: Sandipan Patra > Cc: Thierry Reding ; robh...@kernel.org; Jonathan > Hunter ; Bibek Basu ; Laxman > Dewangan ; linux-...@vger.kernel.org; > devicet...@v

RE: [PATCH 2/2] hwmon: pwm-fan: Add profile support and add remove module support

2020-05-04 Thread Sandipan Patra
Gentle reminder. > -Original Message- > From: Sandipan Patra > Sent: Friday, April 17, 2020 7:03 PM > To: Thierry Reding ; robh...@kernel.org; u.kleine- > koe...@pengutronix.de; Jonathan Hunter > Cc: Bibek Basu ; Bitan Biswas ; > linux-...@vger.kernel.org; devic

RE: [PATCH 1/2] arm64: tegra: Add pwm-fan profile settings

2020-05-04 Thread Sandipan Patra
Gentle reminder. > -Original Message- > From: Sandipan Patra > Sent: Friday, April 17, 2020 7:03 PM > To: Thierry Reding ; robh...@kernel.org; u.kleine- > koe...@pengutronix.de; Jonathan Hunter > Cc: Bibek Basu ; Bitan Biswas ; > linux-...@vger.kernel.org; devic

RE: [PATCH V2] pwm: tegra: dynamic clk freq configuration by PWM driver

2020-05-04 Thread Sandipan Patra
Gentle reminder. > -Original Message- > From: Sandipan Patra > Sent: Monday, April 20, 2020 9:24 PM > To: Thierry Reding ; robh...@kernel.org; u.kleine- > koe...@pengutronix.de; Jonathan Hunter > Cc: Bibek Basu ; Laxman Dewangan > ; linux-...@vger.