Re: [PATCH] PCI: dwc/intel-gw: Fix enabling the legacy PCI interrupt lines

2021-04-09 Thread Rahul Tanwar
NTD)) > > > + PCIE_APP_IRN_INTA | PCIE_APP_IRN_INTB | \ > > > + PCIE_APP_IRN_INTC | PCIE_APP_IRN_INTD) > > > > > > #define BUS_IATU_OFFSET SZ_256M > > > #define RESET_INTERVAL_MS 100 > > > > This looks like a significant bug - which i

[PATCH v2 0/1] leds: lgm: Address review concerns

2021-03-25 Thread Rahul Tanwar
- Fix few code quality related review concerns (Randy Dunlap). - Further improve Kconfig help text (Pavel). - Switch back to original copyright (pavel). v1: - Initial version. Rahul Tanwar (1): leds: lgm: Improve Kconfig help drivers/leds/Kconfig | 5 ++--- drivers/led

[PATCH v2 1/1] leds: lgm: Improve Kconfig help

2021-03-25 Thread Rahul Tanwar
Remove unnecessary Kconfig symbol LEDS_BLINK Improve Kconfig help text to make it more useful. Signed-off-by: Rahul Tanwar --- drivers/leds/Kconfig | 5 ++--- drivers/leds/Makefile | 2 +- drivers/leds/blink/Kconfig| 28 +--- drivers

Re: [PATCH 1/1] leds: lgm: Improve Kconfig help

2021-03-18 Thread Rahul Tanwar
Hi Pavel, On 19/3/2021 4:37 am, Pavel Machek wrote: > Hi! > > > > > > help > > > > - Parallel to serial conversion, which is also called SSO > > > > controller, > > > > - can drive external shift register for LED outputs. > > > > - This enables LED support for Serial Shift Output

Re: [PATCH 1/1] leds: lgm: Improve Kconfig help

2021-03-18 Thread Rahul Tanwar
Hi Pavel, On 18/3/2021 3:55 pm, Pavel Machek wrote: > Hi! > > > Remove unnecessary Kconfig symbol LEDS_BLINK > > Improve Kconfig help text to make it more useful. > > > > Signed-off-by: Rahul Tanwar > > > +++ b/drivers/leds/blink/Kconfig > >

Re: [PATCH 1/1] leds: lgm: Improve Kconfig help

2021-03-18 Thread Rahul Tanwar
one tab, > while help text should be indented with one tab + 2 spaces. > Hmm, facing some IT issues with git send-email so i had to send it by other means. I will fix it in V1 by ensuring that i send using git. > > On 3/17/21 3:04 AM, Rahul Tanwar wrote: >> Remove unnecessary

[PATCH 0/1] leds: lgm: Address review concerns

2021-03-17 Thread Rahul Tanwar
Address below review concerns from Pavel: 1. Remove LEDS_BLINK Kconfig symbol. 2. Provide useful Kconfig help text for the driver. This patch is based on "for-next" branch of kernel from below git tree: git git://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-leds.git for-next Ra

[PATCH 1/1] leds: lgm: Improve Kconfig help

2021-03-17 Thread Rahul Tanwar
Remove unnecessary Kconfig symbol LEDS_BLINK Improve Kconfig help text to make it more useful. Signed-off-by: Rahul Tanwar --- drivers/leds/Kconfig | 5 ++--- drivers/leds/Makefile | 2 +- drivers/leds/blink/Kconfig| 28

Re: MaxLinear, please maintain your drivers was Re: [PATCH] leds: lgm: fix gpiolib dependency

2021-03-16 Thread Rahul Tanwar
Hi Arnd, On 11/3/2021 6:01 pm, Arnd Bergmann wrote: > This email was sent from outside of MaxLinear. > > On Thu, Mar 11, 2021 at 6:48 AM Rahul Tanwar wrote: > > Hi Arnd, Pavel, > > > > Sorry for the hiccup due to missing email address in the email chain > d

Re: [PATCH] leds: lgm: fix gpiolib dependency

2021-03-16 Thread Rahul Tanwar
On 15/3/2021 5:44 pm, Rahul Tanwar wrote: > From: Arnd Bergmann > To: Pavel Machek, > Amireddy Mallikarjuna reddy > > Cc: Arnd Bergmann, Dan Murphy, > linux-l...@vger.kernel.org,linux-kernel@vger.kernel.org > Subject:[PATCH] leds: lgm: fix gpiolib

TEST EMAIL - PLEASE IGNORE

2021-03-16 Thread Rahul Tanwar
On 15/3/2021 5:44 pm, Rahul Tanwar wrote: > From: Arnd Bergmann > To: Pavel Machek, > Amireddy Mallikarjuna reddy > > Cc: Arnd Bergmann, Dan Murphy, > linux-l...@vger.kernel.org,linux-kernel@vger.kernel.org > Subject:[PATCH] leds: lgm: fix gpiolib

TEST - please ignore

2021-03-10 Thread Rahul Tanwar

[PATCH v15 1/2] Add DT bindings YAML schema for PWM fan controller of LGM SoC

2020-11-04 Thread Rahul Tanwar
Intel's LGM(Lightning Mountain) SoC contains a PWM fan controller which is only used to control the fan attached to the system. This PWM controller does not have any other consumer other than fan. Add DT bindings documentation for this PWM fan controller. Signed-off-by: Rahul Tanwar Reviewed

[PATCH v15 2/2] Add PWM fan controller driver for LGM SoC

2020-11-04 Thread Rahul Tanwar
Intel Lightning Mountain(LGM) SoC contains a PWM fan controller. This PWM controller does not have any other consumer, it is a dedicated PWM controller for fan attached to the system. Add driver for this PWM fan controller. Signed-off-by: Rahul Tanwar Reviewed-by: Andy Shevchenko --- drivers

[PATCH v15 0/2] pwm: intel: Add PWM driver for a new SoC

2020-11-04 Thread Rahul Tanwar
ure to lgm_pwm_* * Readjust space aligninment in structure fields to single space. * Switch to using apply instead of config/enable/disable. * Address other code quality related concerns. * Rebase to 5.8-rc1. - Address review concerns in dt binding YAML from Rob Herring. v1: - Initial version.

[PATCH v5 0/2] Add hwmon driver for Moortec PVT controller

2020-10-05 Thread Rahul Tanwar
robe. - Resolve make dt_binding_check error. - Add MODULE_LICENSE v1: - Initial version. Rahul Tanwar (2): Add DT bindings schema for PVT controller Add hardware monitoring driver for Moortec MR75203 PVT controller .../devicetree/bindings/hwmon/moortec,mr75203.yaml | 71 +++ drivers/hwmon/Kco

[PATCH v5 1/2] Add DT bindings schema for PVT controller

2020-10-05 Thread Rahul Tanwar
PVT controller (MR75203) is used to configure & control Moortec embedded analog IP which contains temprature sensor(TS), voltage monitor(VM) & process detector(PD) modules. Add DT bindings schema for PVT controller. Signed-off-by: Rahul Tanwar --- .../devicetree/bindings/hwmon/moortec

[PATCH v5 2/2] Add hardware monitoring driver for Moortec MR75203 PVT controller

2020-10-05 Thread Rahul Tanwar
PVT controller (MR75203) is used to configure & control Moortec embedded analog IP which contains temprature sensor(TS), voltage monitor(VM) & process detector(PD) modules. Add hardware monitoring driver to support MR75203 PVT controller. Signed-off-by: Rahul Tanwar Reviewed-by: Guent

[PATCH v4 1/2] Add DT bindings schema for PVT controller

2020-10-02 Thread Rahul Tanwar
PVT controller (MR75203) is used to configure & control Moortec embedded analog IP which contains temprature sensor(TS), voltage monitor(VM) & process detector(PD) modules. Add DT bindings schema for PVT controller. Signed-off-by: Rahul Tanwar --- .../devicetree/bindings/hwmon/moortec

[PATCH v4 2/2] Add hardware monitoring driver for Moortec MR75203 PVT controller

2020-10-02 Thread Rahul Tanwar
PVT controller (MR75203) is used to configure & control Moortec embedded analog IP which contains temprature sensor(TS), voltage monitor(VM) & process detector(PD) modules. Add hardware monitoring driver to support MR75203 PVT controller. Signed-off-by: Rahul Tanwar --- drivers/hwmon

[PATCH v4 0/2] Add hwmon driver for Moortec PVT controller

2020-10-02 Thread Rahul Tanwar
ment. - Address below review concerns from Philipp Zabel * Switch to devm_reset_control_get_exclusive(). * Move reset_deassert at the last after clk_enable in probe. - Resolve make dt_binding_check error. - Add MODULE_LICENSE v1: - Initial version. Rahul Tanwar (2): Add DT bindings schema for

[PATCH v3 1/2] Add DT bindings schema for PVT controller

2020-09-29 Thread Rahul Tanwar
PVT controller (MR75203) is used to configure & control Moortec embedded analog IP which contains temprature sensor(TS), voltage monitor(VM) & process detector(PD) modules. Add DT bindings schema for PVT controller. Signed-off-by: Rahul Tanwar --- .../devicetree/bindings/hwmon/moortec

[PATCH v3 0/2] Add hwmon driver for Moortec PVT controller

2020-09-29 Thread Rahul Tanwar
olve make dt_binding_check error. - Add MODULE_LICENSE v1: - Initial version. Rahul Tanwar (2): Add DT bindings schema for PVT controller Add hardware monitoring driver for Moortec MR75203 PVT controller .../devicetree/bindings/hwmon/moortec,mr75203.yaml | 71 +++ drivers/hwmon/Kco

[PATCH v3 2/2] Add hardware monitoring driver for Moortec MR75203 PVT controller

2020-09-29 Thread Rahul Tanwar
PVT controller (MR75203) is used to configure & control Moortec embedded analog IP which contains temprature sensor(TS), voltage monitor(VM) & process detector(PD) modules. Add hardware monitoring driver to support MR75203 PVT controller. Signed-off-by: Rahul Tanwar --- drivers/hwmon

[PATCH v2 2/2] Add hardware monitoring driver for Moortec MR75203 PVT controller

2020-09-28 Thread Rahul Tanwar
PVT controller (MR75203) is used to configure & control Moortec embedded analog IP which contains temprature sensor(TS), voltage monitor(VM) & process detector(PD) modules. Add hardware monitoring driver to support MR75203 PVT controller. Signed-off-by: Rahul Tanwar --- drivers/hwmon

[PATCH v2 1/2] Add DT bindings schema for PVT controller

2020-09-28 Thread Rahul Tanwar
PVT controller (MR75203) is used to configure & control Moortec embedded analog IP which contains temprature sensor(TS), voltage monitor(VM) & process detector(PD) modules. Add DT bindings schema for PVT controller. Signed-off-by: Rahul Tanwar --- .../devicetree/bindings/hwmon/moortec

[PATCH v2 0/2] Add hwmon driver for Moortec PVT controller

2020-09-28 Thread Rahul Tanwar
erns from Philipp Zabel * Switch to devm_reset_control_get_exclusive(). * Move reset_deassert at the last after clk_enable in probe. - Resolve make dt_binding_check error. - Add MODULE_LICENSE v1: - Initial version. Rahul Tanwar (2): Add DT bindings schema for PVT controller Add hard

[PATCH v14 2/2] Add PWM fan controller driver for LGM SoC

2020-09-28 Thread Rahul Tanwar
Intel Lightning Mountain(LGM) SoC contains a PWM fan controller. This PWM controller does not have any other consumer, it is a dedicated PWM controller for fan attached to the system. Add driver for this PWM fan controller. Signed-off-by: Rahul Tanwar Reviewed-by: Andy Shevchenko --- drivers

[PATCH v14 1/2] Add DT bindings YAML schema for PWM fan controller of LGM SoC

2020-09-28 Thread Rahul Tanwar
Intel's LGM(Lightning Mountain) SoC contains a PWM fan controller which is only used to control the fan attached to the system. This PWM controller does not have any other consumer other than fan. Add DT bindings documentation for this PWM fan controller. Signed-off-by: Rahul Tanwar Reviewed

[PATCH v13 2/2] Add PWM fan controller driver for LGM SoC

2020-09-15 Thread Rahul Tanwar
Intel Lightning Mountain(LGM) SoC contains a PWM fan controller. This PWM controller does not have any other consumer, it is a dedicated PWM controller for fan attached to the system. Add driver for this PWM fan controller. Signed-off-by: Rahul Tanwar Reviewed-by: Andy Shevchenko --- drivers

[PATCH v13 1/2] Add DT bindings YAML schema for PWM fan controller of LGM SoC

2020-09-15 Thread Rahul Tanwar
Intel's LGM(Lightning Mountain) SoC contains a PWM fan controller which is only used to control the fan attached to the system. This PWM controller does not have any other consumer other than fan. Add DT bindings documentation for this PWM fan controller. Signed-off-by: Rahul Tanwar Reviewed

[PATCH v12 1/2] Add DT bindings YAML schema for PWM fan controller of LGM SoC

2020-09-09 Thread Rahul Tanwar
Intel's LGM(Lightning Mountain) SoC contains a PWM fan controller which is only used to control the fan attached to the system. This PWM controller does not have any other consumer other than fan. Add DT bindings documentation for this PWM fan controller. Signed-off-by: Rahul Tanwar Reviewed

[PATCH v12 2/2] Add PWM fan controller driver for LGM SoC

2020-09-09 Thread Rahul Tanwar
Intel Lightning Mountain(LGM) SoC contains a PWM fan controller. This PWM controller does not have any other consumer, it is a dedicated PWM controller for fan attached to the system. Add driver for this PWM fan controller. Signed-off-by: Rahul Tanwar Reviewed-by: Andy Shevchenko --- drivers

[PATCH 2/2] Add driver for Moortec MR75203 PVT controller

2020-09-09 Thread Rahul Tanwar
PVT controller (MR75203) is used to configure & control Moortec embedded analog IP which contains temprature sensor(TS), voltage monitor(VM) & process detector(PD) modules. Add driver to support MR75203 PVT controller. Signed-off-by: Rahul Tanwar --- drivers/hwmon/Kconfig | 10 +

[PATCH 1/2] Add DT bindings schema for PVT controller

2020-09-09 Thread Rahul Tanwar
PVT controller (MR75203) is used to configure & control Moortec embedded analog IP which contains temprature sensor(TS), voltage monitor(VM) & process detector(PD) modules. Add DT bindings schema for PVT controller. Signed-off-by: Rahul Tanwar --- .../devicetree/bindings/hwmon/moortec

[PATCH 0/2] Add driver for Moortec PVT controller

2020-09-09 Thread Rahul Tanwar
Patch 1 adds DT bindings schema in YAML format. Patch 2 adds driver for MR75203 PVT controller. Rahul Tanwar (2): Add DT bindings schema for PVT controller Add driver for Moortec MR75203 PVT controller .../devicetree/bindings/hwmon/moortec,mr75203.yaml | 70 +++ drivers/hwmon/Kconfig

[PATCH v11 2/2] Add PWM fan controller driver for LGM SoC

2020-08-24 Thread Rahul Tanwar
Intel Lightning Mountain(LGM) SoC contains a PWM fan controller. This PWM controller does not have any other consumer, it is a dedicated PWM controller for fan attached to the system. Add driver for this PWM fan controller. Signed-off-by: Rahul Tanwar --- drivers/pwm/Kconfig | 11

[PATCH v11 1/2] Add DT bindings YAML schema for PWM fan controller of LGM SoC

2020-08-24 Thread Rahul Tanwar
Intel's LGM(Lightning Mountain) SoC contains a PWM fan controller which is only used to control the fan attached to the system. This PWM controller does not have any other consumer other than fan. Add DT bindings documentation for this PWM fan controller. Signed-off-by: Rahul Tanwar

[PATCH v11 0/2] pwm: intel: Add PWM driver for a new SoC

2020-08-24 Thread Rahul Tanwar
able. * Address other code quality related concerns. * Rebase to 5.8-rc1. - Address review concerns in dt binding YAML from Rob Herring. v1: - Initial version. Rahul Tanwar (2): Add DT bindings YAML schema for PWM fan controller of LGM SoC Add PWM fan controller driver for LGM SoC .../d

[PATCH v10 2/2] Add PWM fan controller driver for LGM SoC

2020-08-23 Thread Rahul Tanwar
Intel Lightning Mountain(LGM) SoC contains a PWM fan controller. This PWM controller does not have any other consumer, it is a dedicated PWM controller for fan attached to the system. Add driver for this PWM fan controller. Signed-off-by: Rahul Tanwar --- drivers/pwm/Kconfig | 11

[PATCH v10 0/2] pwm: intel: Add PWM driver for a new SoC

2020-08-23 Thread Rahul Tanwar
to single space. * Switch to using apply instead of config/enable/disable. * Address other code quality related concerns. * Rebase to 5.8-rc1. - Address review concerns in dt binding YAML from Rob Herring. v1: - Initial version. Rahul Tanwar (2): Add DT bindings YAML schema for PWM fan c

[PATCH v10 1/2] Add DT bindings YAML schema for PWM fan controller of LGM SoC

2020-08-23 Thread Rahul Tanwar
Intel's LGM(Lightning Mountain) SoC contains a PWM fan controller which is only used to control the fan attached to the system. This PWM controller does not have any other consumer other than fan. Add DT bindings documentation for this PWM fan controller. Signed-off-by: Rahul Tanwar

[PATCH v9 0/2] pwm: intel: Add PWM driver for a new SoC

2020-08-21 Thread Rahul Tanwar
s other code quality related concerns. * Rebase to 5.8-rc1. - Address review concerns in dt binding YAML from Rob Herring. v1: - Initial version. Rahul Tanwar (2): Add DT bindings YAML schema for PWM fan controller of LGM SoC Add PWM fan controller driver for LGM SoC .../devicetree/bindings/p

[PATCH v9 2/2] Add PWM fan controller driver for LGM SoC

2020-08-21 Thread Rahul Tanwar
Intel Lightning Mountain(LGM) SoC contains a PWM fan controller. This PWM controller does not have any other consumer, it is a dedicated PWM controller for fan attached to the system. Add driver for this PWM fan controller. Signed-off-by: Rahul Tanwar --- drivers/pwm/Kconfig | 11

[PATCH v9 1/2] Add DT bindings YAML schema for PWM fan controller of LGM SoC

2020-08-21 Thread Rahul Tanwar
Intel's LGM(Lightning Mountain) SoC contains a PWM fan controller which is only used to control the fan attached to the system. This PWM controller does not have any other consumer other than fan. Add DT bindings documentation for this PWM fan controller. Signed-off-by: Rahul Tanwar

[PATCH v8 0/2] pwm: intel: Add PWM driver for a new SoC

2020-08-19 Thread Rahul Tanwar
tial version. Rahul Tanwar (2): Add DT bindings YAML schema for PWM fan controller of LGM SoC Add PWM fan controller driver for LGM SoC .../devicetree/bindings/pwm/intel,lgm-pwm.yaml | 44 drivers/pwm/Kconfig| 11 + drivers/

[PATCH v8 2/2] Add PWM fan controller driver for LGM SoC

2020-08-19 Thread Rahul Tanwar
Intel Lightning Mountain(LGM) SoC contains a PWM fan controller. This PWM controller does not have any other consumer, it is a dedicated PWM controller for fan attached to the system. Add driver for this PWM fan controller. Signed-off-by: Rahul Tanwar --- drivers/pwm/Kconfig | 11

[PATCH v8 1/2] Add DT bindings YAML schema for PWM fan controller of LGM SoC

2020-08-19 Thread Rahul Tanwar
Intel's LGM(Lightning Mountain) SoC contains a PWM fan controller which is only used to control the fan attached to the system. This PWM controller does not have any other consumer other than fan. Add DT bindings documentation for this PWM fan controller. Signed-off-by: Rahul Tanwar

[PATCH v7 1/2] Add DT bindings YAML schema for PWM fan controller of LGM SoC

2020-08-17 Thread Rahul Tanwar
Intel's LGM(Lightning Mountain) SoC contains a PWM fan controller which is only used to control the fan attached to the system. This PWM controller does not have any other consumer other than fan. Add DT bindings documentation for this PWM fan controller. Signed-off-by: Rahul Tanwar

[PATCH v7 2/2] Add PWM fan controller driver for LGM SoC

2020-08-17 Thread Rahul Tanwar
Intel Lightning Mountain(LGM) SoC contains a PWM fan controller. This PWM controller does not have any other consumer, it is a dedicated PWM controller for fan attached to the system. Add driver for this PWM fan controller. Signed-off-by: Rahul Tanwar --- drivers/pwm/Kconfig | 11

[PATCH v7 0/2] pwm: intel: Add PWM driver for a new SoC

2020-08-17 Thread Rahul Tanwar
code quality related concerns. * Rebase to 5.8-rc1. - Address review concerns in dt binding YAML from Rob Herring. v1: - Initial version. Rahul Tanwar (2): Add DT bindings YAML schema for PWM fan controller of LGM SoC Add PWM fan controller driver for LGM SoC .../devicetree/bindings/p

[PATCH v6 1/2] Add DT bindings YAML schema for PWM fan controller of LGM SoC

2020-07-28 Thread Rahul Tanwar
Intel's LGM(Lightning Mountain) SoC contains a PWM fan controller which is only used to control the fan attached to the system. This PWM controller does not have any other consumer other than fan. Add DT bindings documentation for this PWM fan controller. Signed-off-by: Rahul Tanwar

[PATCH v6 0/2] pwm: intel: Add PWM driver for a new SoC

2020-07-28 Thread Rahul Tanwar
to lgm_pwm_* * Readjust space aligninment in structure fields to single space. * Switch to using apply instead of config/enable/disable. * Address other code quality related concerns. * Rebase to 5.8-rc1. - Address review concerns in dt binding YAML from Rob Herring. v1: - Initial versi

[PATCH v6 2/2] Add PWM fan controller driver for LGM SoC

2020-07-28 Thread Rahul Tanwar
Intel Lightning Mountain(LGM) SoC contains a PWM fan controller. This PWM controller does not have any other consumer, it is a dedicated PWM controller for fan attached to the system. Add driver for this PWM fan controller. Signed-off-by: Rahul Tanwar --- drivers/pwm/Kconfig | 11

[PATCH v5 2/2] Add PWM fan controller driver for LGM SoC

2020-07-23 Thread Rahul Tanwar
Intel Lightning Mountain(LGM) SoC contains a PWM fan controller. This PWM controller does not have any other consumer, it is a dedicated PWM controller for fan attached to the system. Add driver for this PWM fan controller. Signed-off-by: Rahul Tanwar --- drivers/pwm/Kconfig | 11

[PATCH v5 1/2] Add DT bindings YAML schema for PWM fan controller of LGM SoC

2020-07-23 Thread Rahul Tanwar
Intel's LGM(Lightning Mountain) SoC contains a PWM fan controller which is only used to control the fan attached to the system. This PWM controller does not have any other consumer other than fan. Add DT bindings documentation for this PWM fan controller. Signed-off-by: Rahul Tanwar

[PATCH v5 0/2] pwm: intel: Add PWM driver for a new SoC

2020-07-23 Thread Rahul Tanwar
lity related concerns. * Rebase to 5.8-rc1. - Address review concerns in dt binding YAML from Rob Herring. v1: - Initial version. Rahul Tanwar (2): Add DT bindings YAML schema for PWM fan controller of LGM SoC Add PWM fan controller driver for LGM SoC .../devicetree/bindings/pwm/intel,

[PATCH v2 2/3] clk: intel: Improve locking in the driver

2020-07-16 Thread Rahul Tanwar
Remove/reduce unnecessary spin locking of the code. Signed-off-by: Rahul Tanwar --- drivers/clk/x86/clk-cgu.c | 17 + 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/drivers/clk/x86/clk-cgu.c b/drivers/clk/x86/clk-cgu.c index 88ebeb53b109..c379fedfb9f2 100644

[PATCH v2 3/3] clk: intel: Avoid unnecessary memset by improving code

2020-07-16 Thread Rahul Tanwar
memset can be avoided in a loop if the variables used are declared inside the loop. Move such variables declaration inside the loop to avoid memset. Signed-off-by: Rahul Tanwar --- drivers/clk/x86/clk-cgu.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/clk

[PATCH v2 1/3] clk: intel: Use devm_clk_hw_register() instead of clk_hw_register()

2020-07-16 Thread Rahul Tanwar
To ensure that clks are unregistered in case of any failure, use devm_clk_hw_register() instead of clk_hw_register(). Signed-off-by: Rahul Tanwar --- drivers/clk/x86/clk-cgu-pll.c | 2 +- drivers/clk/x86/clk-cgu.c | 8 2 files changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH v1] clk: intel: Address pending review concerns

2020-07-14 Thread Rahul Tanwar
Use devm_clk_hw_register() instead of clk_hw_register(). Remove unnecessary locking. Avoid memset by improving code. Signed-off-by: Rahul Tanwar --- drivers/clk/x86/clk-cgu-pll.c | 2 +- drivers/clk/x86/clk-cgu.c | 32 2 files changed, 13 insertions(+), 21

[PATCH v4 2/2] Add PWM fan controller driver for LGM SoC

2020-06-30 Thread Rahul Tanwar
Intel Lightning Mountain(LGM) SoC contains a PWM fan controller. This PWM controller does not have any other consumer, it is a dedicated PWM controller for fan attached to the system. Add driver for this PWM fan controller. Signed-off-by: Rahul Tanwar --- drivers/pwm/Kconfig | 11

[PATCH v4 1/2] Add DT bindings YAML schema for PWM fan controller of LGM SoC

2020-06-30 Thread Rahul Tanwar
Intel's LGM(Lightning Mountain) SoC contains a PWM fan controller which is only used to control the fan attached to the system. This PWM controller does not have any other consumer other than fan. Add DT bindings documentation for this PWM fan controller. Signed-off-by: Rahul Tanwar

[PATCH v4 0/2] pwm: intel: Add PWM driver for a new SoC

2020-06-30 Thread Rahul Tanwar
single space. * Switch to using apply instead of config/enable/disable. * Address other code quality related concerns. * Rebase to 5.8-rc1. - Address review concerns in dt binding YAML from Rob Herring. v1: - Initial version. Rahul Tanwar (2): Add DT bindings YAML schema for PWM fan controlle

[PATCH v3 2/2] Add PWM fan controller driver for LGM SoC

2020-06-29 Thread Rahul Tanwar
Intel Lightning Mountain(LGM) SoC contains a PWM fan controller. This PWM controller does not have any other consumer, it is a dedicated PWM controller for fan attached to the system. Add driver for this PWM fan controller. Signed-off-by: Rahul Tanwar --- drivers/pwm/Kconfig | 9

[PATCH v3 0/2] pwm: intel: Add PWM driver for a new SoC

2020-06-29 Thread Rahul Tanwar
n dt binding YAML from Rob Herring. v1: - Initial version. Rahul Tanwar (2): Add DT bindings YAML schema for PWM fan controller of LGM SoC Add PWM fan controller driver for LGM SoC .../devicetree/bindings/pwm/intel,lgm-pwm.yaml | 51 drivers/pwm/Kco

[PATCH v3 1/2] Add DT bindings YAML schema for PWM fan controller of LGM SoC

2020-06-29 Thread Rahul Tanwar
Intel's LGM(Lightning Mountain) SoC contains a PWM fan controller which is only used to control the fan attached to the system. This PWM controller does not have any other consumer other than fan. Add DT bindings documentation for this PWM fan controller. Signed-off-by: Rahul Tanwar

[PATCH v2 2/2] Add PWM fan controller driver for LGM SoC

2020-06-18 Thread Rahul Tanwar
Intel Lightning Mountain(LGM) SoC contains a PWM fan controller. This PWM controller does not have any other consumer, it is a dedicated PWM controller for fan attached to the system. Add driver for this PWM fan controller. Signed-off-by: Rahul Tanwar --- drivers/pwm/Kconfig | 9

[PATCH v2 1/2] Add DT bindings YAML schema for PWM fan controller of LGM SoC

2020-06-18 Thread Rahul Tanwar
Intel's LGM(Lightning Mountain) SoC contains a PWM fan controller which is only used to control the fan attached to the system. This PWM controller does not have any other consumer other than fan. Add DT bindings documentation for this PWM fan controller. Signed-off-by: Rahul Tanwar

[PATCH v2 0/2] pwm: intel: Add PWM driver for a new SoC

2020-06-18 Thread Rahul Tanwar
to lgm_pwm_* * Readjust space aligninment in structure fields to single space. * Switch to using apply instead of config/enable/disable. * Address other code quality related concerns. * Rebase to 5.8-rc1. - Address review concerns in dt binding YAML from Rob Herring. v1: - Initial version. Rahul

[PATCH v1 0/2] pwm: intel: Add PWM driver for new SoC

2020-05-22 Thread Rahul Tanwar
Patch 1 adds dt binding document in YAML format. Patch 2 add PWM driver for LGM SoC. Rahul Tanwar (2): Add YAML schema for a new PWM driver Add PWM driver for LGM .../devicetree/bindings/pwm/pwm-intel-lgm.yaml | 43 +++ drivers/pwm/Kconfig| 9

[PATCH v1 1/2] Add YAML schema for a new PWM driver

2020-05-22 Thread Rahul Tanwar
Add DT bindings YAML schema for PWM controller driver of Lightning Mountain(LGM) SoC. Signed-off-by: Rahul Tanwar --- .../devicetree/bindings/pwm/pwm-intel-lgm.yaml | 43 ++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/pwm

[PATCH v1 2/2] Add PWM driver for LGM

2020-05-22 Thread Rahul Tanwar
Add PWM controller driver for Intel's Lightning Mountain(LGM) SoC. Signed-off-by: Rahul Tanwar --- drivers/pwm/Kconfig | 9 ++ drivers/pwm/Makefile| 1 + drivers/pwm/pwm-intel-lgm.c | 356 3 files changed, 366 insertions

[PATCH v3 0/2] serial: lantiq: Make driver modular & console configurable

2020-05-10 Thread Rahul Tanwar
driver. (Greg KH) v1: - Initial version. Rahul Tanwar (2): serial: lantiq: Make UART's use as console selectable serial: lantiq: Make driver modular drivers/tty/serial/Kconfig | 13 +++-- drivers/tty/serial/lantiq.c | 40 +++- 2 files changed

[PATCH v3 1/2] serial: lantiq: Make UART's use as console selectable

2020-05-10 Thread Rahul Tanwar
Lantiq UART driver can be used for system console. Add changes to make this driver's use as console selectable/configurable. Signed-off-by: Rahul Tanwar --- drivers/tty/serial/Kconfig | 9 - drivers/tty/serial/lantiq.c | 11 ++- 2 files changed, 18 insertions(+), 2 deletions

[PATCH v3 2/2] serial: lantiq: Make driver modular

2020-05-10 Thread Rahul Tanwar
Add changes so Lantiq serial driver can be compiled as a module. Signed-off-by: Rahul Tanwar --- drivers/tty/serial/Kconfig | 4 +++- drivers/tty/serial/lantiq.c | 29 + 2 files changed, 28 insertions(+), 5 deletions(-) diff --git a/drivers/tty/serial/Kconfig b

[PATCH v2 1/2] serial: lantiq: Make UART's use as console selectable

2020-05-09 Thread Rahul Tanwar
Lantiq UART driver can be used for system console. Add changes to make this driver's use as console selectable/configurable. Signed-off-by: Rahul Tanwar --- drivers/tty/serial/Kconfig | 9 - drivers/tty/serial/lantiq.c | 11 ++- 2 files changed, 18 insertions(+), 2 deletions

[PATCH v2 2/2] serial: lantiq: Make driver modular

2020-05-09 Thread Rahul Tanwar
Add changes so Lantiq serial driver can be compiled as a module. Signed-off-by: Rahul Tanwar --- drivers/tty/serial/Kconfig | 4 +++- drivers/tty/serial/lantiq.c | 26 -- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/drivers/tty/serial/Kconfig b

[PATCH] serial: lantiq: Make driver modular and console configurable

2020-05-08 Thread Rahul Tanwar
Add changes so Lantiq serial driver can be compiled as a module. Also, make this driver's use as console selectable/configurable. Signed-off-by: Rahul Tanwar --- drivers/tty/serial/Kconfig | 13 +++-- drivers/tty/serial/lantiq.c | 43 --- 2 files

[PATCH] serial: lantiq: Add x86 in Kconfig dependencies for Lantiq serial driver

2020-05-04 Thread Rahul Tanwar
Lantiq serial driver/IP is reused for a x86 based SoC as well. Update the Kconfig accordingly. Signed-off-by: Rahul Tanwar --- drivers/tty/serial/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index

[PATCH v3 1/1] x86/init: Noop get/set wallclock when platform doesn't support RTC

2019-10-10 Thread Rahul Tanwar
Use wallclock_init() op to detect platforms which does not support RTC and noop get/set wallclock ops for such platforms. Suggested-by: Andy Shevchenko Signed-off-by: Rahul Tanwar --- arch/x86/kernel/x86_init.c | 26 +- 1 file changed, 25 insertions(+), 1 deletion

[PATCH v3 0/1] x86/init: Add option to skip using RTC

2019-10-10 Thread Rahul Tanwar
ad/write functions and skip RTC read/write if not applicable. Rahul Tanwar (1): x86/init: Noop get/set wallclock when platform doesn't support RTC arch/x86/kernel/x86_init.c | 26 +- 1 file changed, 25 insertions(+), 1 deletion(-) -- 2.11.0

[PATCH v1 2/2] dt-bindings: pinctrl: intel: Add for new SoC

2019-09-12 Thread Rahul Tanwar
Add dt bindings document & include file for pinmux & GPIO controller driver of Intel Lightning Mountain SoC. Signed-off-by: Rahul Tanwar --- .../bindings/pinctrl/intel,lgm-pinctrl.yaml| 131 + include/dt-bindings/pinctrl/intel,equilibrium.h| 23

[PATCH v1 1/2] pinctrl: Add pinmux & GPIO controller driver for new SoC

2019-09-12 Thread Rahul Tanwar
Intel Lightning Mountain SoC has a pinmux controller & GPIO controller IP which controls pin multiplexing & configuration including GPIO functions selection & GPIO attributes configuration. Add GPIO & pin control framework based driver for this IP. Signed-off-by: Rahul Tanw

[PATCH v1 0/2] pinctrl: Add new pinctrl/GPIO driver

2019-09-12 Thread Rahul Tanwar
linusw/linux-pinctrl.git Rahul Tanwar (2): pinctrl: Add pinmux & GPIO controller driver for new SoC dt-bindings: pinctrl: intel: Add for new SoC .../bindings/pinctrl/intel,lgm-pinctrl.yaml| 131 ++ drivers/pinctrl/Kconfig| 13 + drivers/

[tip: x86/cpu] x86/cpu: Add new Airmont variant to Intel family

2019-09-05 Thread tip-bot2 for Rahul Tanwar
The following commit has been merged into the x86/cpu branch of tip: Commit-ID: 855fa1f362cab2dc7574acb853b0963dd01d6b8d Gitweb: https://git.kernel.org/tip/855fa1f362cab2dc7574acb853b0963dd01d6b8d Author:Rahul Tanwar AuthorDate:Thu, 05 Sep 2019 12:30:19 -07:00 Committer

[tip: x86/cpu] x86/cpu: Update init data for new Airmont CPU model

2019-09-05 Thread tip-bot2 for Rahul Tanwar
The following commit has been merged into the x86/cpu branch of tip: Commit-ID: 0cc5359d8fd45bc410906e009117e78e2b5b2322 Gitweb: https://git.kernel.org/tip/0cc5359d8fd45bc410906e009117e78e2b5b2322 Author:Rahul Tanwar AuthorDate:Thu, 05 Sep 2019 12:30:20 -07:00 Committer

[PATCH v3 1/1] x86/init: Noop get/set wallclock when platform doesn't support RTC

2019-09-03 Thread Rahul Tanwar
Use wallclock_init() op to detect platforms which does not support RTC and noop get/set wallclock ops for such platforms. Reported-by: kbuild test robot Fixes: 1461badd03e7 ("x86/init: Noop get/set wallclock when platform doesn't support RTC") Suggested-by: Andy Shevchenko Signed-off

[PATCH v3 0/1] Add option to skip using RTC

2019-09-03 Thread Rahul Tanwar
per review feedback, do not hack RTC read/write functions directly. Instead, override get/set wallclock ops during setup_arch init sequence. v1: * Detect platforms with no RTC in RTC read/write functions and skip RTC read/write if not applicable. Rahul Tanwar (1): x86/init: Noop get

[PATCH v1 1/2] clk: intel: Add CGU clock driver for a new SoC

2019-08-28 Thread Rahul Tanwar
From: rtanwar Clock Generation Unit(CGU) is a new clock controller IP of a forthcoming Intel network processor SoC. It provides programming interfaces to control & configure all CPU & peripheral clocks. Add common clock framework based clock controller driver for CGU. Signed-off-b

[PATCH v1 2/2] dt-bindings: clk: intel: Add bindings document & header file for CGU

2019-08-28 Thread Rahul Tanwar
Clock generation unit(CGU) is a clock controller IP of Intel's Lightning Mountain(LGM) SoC. Add DT bindings include file and document for CGU clock controller driver of LGM. Signed-off-by: Rahul Tanwar --- .../devicetree/bindings/clock/intel,cgu-lgm.yaml | 61 + include/dt-bindings

[PATCH v1 0/2] clk: intel: Add a new driver for a new clock controller IP

2019-08-28 Thread Rahul Tanwar
ches are baselined upon Linux 5.3-rc1 at below Git link: git git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git Rahul Tanwar (1): dt-bindings: clk: intel: Add bindings document & header file for CGU rtanwar (1): clk: intel: Add CGU clock driver for a new SoC .../devicetree/bindings/clo

[PATCH v2 0/1] Add option to skip using RTC

2019-08-27 Thread Rahul Tanwar
ions directly. Instead, override get/set wallclock ops during setup_arch init sequence. v1: * Detect platforms with no RTC in RTC read/write functions and skip RTC read/write if not applicable. Rahul Tanwar (1): x86/init: Noop get/set wallclock when platform doesn't support RTC arch/x86/ke

[PATCH v2 1/1] x86/init: Noop get/set wallclock when platform doesn't support RTC

2019-08-27 Thread Rahul Tanwar
Use wallclock_init() op to detect platforms which does not support RTC and noop get/set wallclock ops for such platforms. Suggested-by: Andy Shevchenko Signed-off-by: Rahul Tanwar --- arch/x86/kernel/x86_init.c | 26 +- 1 file changed, 25 insertions(+), 1 deletion

[PATCH v1 2/2] dt-bindings: rtc: Add optional status property

2019-08-22 Thread Rahul Tanwar
Some products may not support MC146818 RTC CMOS device. Introduce a optional 'status' standard property for RTC-CMOS to indicate if the MC146818 RTC device is available (status="okay") or not (status="disabled") Signed-off-by: Rahul Tanwar --- Documentation/devicetree/bindi

[PATCH v1 0/2] x86/rtc: Add option to skip using RTC

2019-08-22 Thread Rahul Tanwar
ndicates "okay", proceed same as before. Patch 2: Update dt bindings document to add status property. These patches are baselined upon Linux 5.3-rc5 at below Git tree: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/core Rahul Tanwar (2): x86/rtc: Add option to skip using RTC

[PATCH v1 1/2] x86/rtc: Add option to skip using RTC

2019-08-22 Thread Rahul Tanwar
ested-by: Alan Cox Signed-off-by: Rahul Tanwar --- arch/x86/kernel/rtc.c | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/x86/kernel/rtc.c b/arch/x86/kernel/rtc.c index 586f718b8e95..f9f760a8e76a 100644 --- a/arch/x86/kernel/rtc.c +++ b/arch/x86/kernel/rtc.c @@ -32,6 +32

[PATCH] x86/apic: Update virtual irq base for DT/OF based system as well

2019-08-21 Thread Rahul Tanwar
end of hardware IRQ numbers when IOAPIC configuration comes from devicetree. Signed-off-by: Rahul Tanwar --- arch/x86/kernel/apic/io_apic.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c index c7bb6c69f21c..fe50cd91

[PATCH v3 1/2] dt-bindings: serial: lantiq: Convert to YAML schema

2019-08-21 Thread Rahul Tanwar
Convert the existing DT binding document for Lantiq SoC ASC serial controller from txt format to YAML format. Signed-off-by: Rahul Tanwar --- .../devicetree/bindings/serial/lantiq,asc.yaml | 55 ++ .../devicetree/bindings/serial/lantiq_asc.txt | 31 2

[PATCH v3 0/2] dt-bindings: serial: lantiq: Convert to YAML & add support for new SoC

2019-08-21 Thread Rahul Tanwar
/git/gregkh/tty.git v3: * Use compatible name for filename. * Use if/then schema to describe a property which is different for each compatibles. * Address other review concerns about YAML format. v2: * Update license to GPL-2.0-only. * Fix trailing whitespace error. Rahul Tanwar (2): dt

  1   2   >