[PATCH 1/2] platform/chrome: cros_ec_typec: Skip port partner check in configure_mux()

2021-02-05 Thread Rajmohan Mani
-by: Rajmohan Mani --- drivers/platform/chrome/cros_ec_typec.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/platform/chrome/cros_ec_typec.c b/drivers/platform/chrome/cros_ec_typec.c index e724a5eaef1c..3d8ff3f8a514 100644 --- a/drivers/platform/chrome/cros_ec_typec.c +++ b/drivers

[PATCH 2/2] platform/chrome: cros_ec_types: Support disconnect events without partners

2021-02-05 Thread Rajmohan Mani
There are certain scenarios, where a disconnect event might occur on a Type-C port with no port partners. This is required to enable communication to Burnside Bridge USB4 retimers. Signed-off-by: Rajmohan Mani --- drivers/platform/chrome/cros_ec_typec.c | 26 ++--- 1 file

[PATCH 0/2] Add support for Type-C mux events without port partners

2021-02-05 Thread Rajmohan Mani
flag partner-only") [1]: https://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/ linux.git/log/?h=cros-ec-typec-for-5.12 Rajmohan Mani (2): platform/chrome: cros_ec_typec: Skip port partner check in configure_mux() platform/chrome: cros_ec_types: Support disconnect events w

[PATCH v2 1/3] platform/x86: Add Intel Input Output Manager (IOM) driver

2020-08-21 Thread Rajmohan Mani
status and port activity type. Signed-off-by: Rajmohan Mani --- drivers/platform/x86/Kconfig| 16 drivers/platform/x86/Makefile | 1 + drivers/platform/x86/intel_iom.c| 95 + include/linux/platform_data/x86/intel_iom.h | 49

[PATCH v2 3/3] usb: typec: intel_pmc_mux: Support for device role (UFP)

2020-08-21 Thread Rajmohan Mani
is always only cached, so the driver does not support scenario where the role is set before orientation. It means the typec drivers must always set the orientation first before role. Signed-off-by: Heikki Krogerus Signed-off-by: Rajmohan Mani --- drivers/usb/typec/mux/intel_pmc_mux.c | 67

[PATCH v2 0/3] Add Intel Input Output Manager driver

2020-08-21 Thread Rajmohan Mani
connect usb: typec: intel_pmc_mux: Support for device role (UFP) Rajmohan Mani (1): platform/x86: Add Intel Input Output Manager (IOM) driver drivers/platform/x86/Kconfig| 16 +++ drivers/platform/x86/Makefile | 1 + drivers/platform/x86/intel_iom.c

[PATCH v2 2/3] usb: typec: intel_pmc_mux: Check the port status before connect

2020-08-21 Thread Rajmohan Mani
-off-by: Rajmohan Mani --- drivers/usb/typec/mux/Kconfig | 1 + drivers/usb/typec/mux/intel_pmc_mux.c | 75 +++ 2 files changed, 65 insertions(+), 11 deletions(-) diff --git a/drivers/usb/typec/mux/Kconfig b/drivers/usb/typec/mux/Kconfig index a4dbd11f8ee2

[PATCH 0/2] Add Intel Input Output Manager driver

2020-07-15 Thread Rajmohan Mani
modes Heikki Krogerus (1): usb: typec: intel_pmc_mux: Check the port status before connect Rajmohan Mani (1): platform/x86: Add Intel Input Output Manager (IOM) driver drivers/platform/x86/Kconfig| 16 +++ drivers/platform/x86/Makefile | 1 + drivers/platform

[PATCH 1/2] platform/x86: Add Intel Input Output Manager (IOM) driver

2020-07-15 Thread Rajmohan Mani
status and port activity type. Signed-off-by: Rajmohan Mani --- drivers/platform/x86/Kconfig| 16 +++ drivers/platform/x86/Makefile | 1 + drivers/platform/x86/intel_iom.c| 133 include/linux/platform_data/x86/intel_iom.h | 62

[PATCH 2/2] usb: typec: intel_pmc_mux: Check the port status before connect

2020-07-15 Thread Rajmohan Mani
From: Heikki Krogerus The PMC microcontroller that we use for configuration, does not supply any status information back. For port status we need to talk to another controller on the board called IOM (I/O manager). By checking the port status before configuring the muxes, we can make sure that

[PATCH] media: staging/intel-ipu3: Implement lock for stream on/off operations

2019-01-29 Thread Rajmohan Mani
stream on / off operations and the modification of streaming flag (in struct imgu_device), to prevent these issues. Reported-by: Laurent Pinchart Suggested-by: Laurent Pinchart Signed-off-by: Rajmohan Mani --- drivers/staging/media/ipu3/ipu3-v4l2.c | 6 ++ drivers/staging/media/ipu3/ipu3

[PATCH] media: dw9714: Update to SPDX license identifier

2018-02-20 Thread Rajmohan Mani
Remove the GPL v2 license boilerplate and update with the SPDX license identifier. Signed-off-by: Rajmohan Mani <rajmohan.m...@intel.com> --- drivers/media/i2c/dw9714.c | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/drivers/media/i2c/dw9714.c b/drivers

[PATCH] media: dw9714: Update to SPDX license identifier

2018-02-20 Thread Rajmohan Mani
Remove the GPL v2 license boilerplate and update with the SPDX license identifier. Signed-off-by: Rajmohan Mani --- drivers/media/i2c/dw9714.c | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/drivers/media/i2c/dw9714.c b/drivers/media/i2c/dw9714.c index

[PATCH 0/3] Update TPS68470 PMIC drivers with SPDX tags

2018-02-20 Thread Rajmohan Mani
This patch series update the TPS68470 PMIC drivers with SPDX license identifiers, while removing the GPL v2 boilerplate license text. Rajmohan Mani (3): mfd: Update to SPDX license identifier gpio: Update to SPDX license identifier ACPI / PMIC: Update to SPDX license identifier drivers

[PATCH 1/3] mfd: Update to SPDX license identifier

2018-02-20 Thread Rajmohan Mani
Remove the GPL v2 license boilerplate and update with the SPDX license identifier. Signed-off-by: Rajmohan Mani <rajmohan.m...@intel.com> --- drivers/mfd/tps68470.c | 10 +- include/linux/mfd/tps68470.h | 17 +++-- 2 files changed, 4 insertions(+), 23 deletions(-)

[PATCH 0/3] Update TPS68470 PMIC drivers with SPDX tags

2018-02-20 Thread Rajmohan Mani
This patch series update the TPS68470 PMIC drivers with SPDX license identifiers, while removing the GPL v2 boilerplate license text. Rajmohan Mani (3): mfd: Update to SPDX license identifier gpio: Update to SPDX license identifier ACPI / PMIC: Update to SPDX license identifier drivers

[PATCH 1/3] mfd: Update to SPDX license identifier

2018-02-20 Thread Rajmohan Mani
Remove the GPL v2 license boilerplate and update with the SPDX license identifier. Signed-off-by: Rajmohan Mani --- drivers/mfd/tps68470.c | 10 +- include/linux/mfd/tps68470.h | 17 +++-- 2 files changed, 4 insertions(+), 23 deletions(-) diff --git a/drivers/mfd

[PATCH 2/3] gpio: Update to SPDX license identifier

2018-02-20 Thread Rajmohan Mani
Remove the GPL v2 license boilerplate and update with the SPDX license identifier. Signed-off-by: Rajmohan Mani <rajmohan.m...@intel.com> --- drivers/gpio/gpio-tps68470.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/gpio/gpio-tps68470.c b/driver

[PATCH 2/3] gpio: Update to SPDX license identifier

2018-02-20 Thread Rajmohan Mani
Remove the GPL v2 license boilerplate and update with the SPDX license identifier. Signed-off-by: Rajmohan Mani --- drivers/gpio/gpio-tps68470.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/gpio/gpio-tps68470.c b/drivers/gpio/gpio-tps68470.c index

[PATCH 3/3] ACPI / PMIC: Update to SPDX license identifier

2018-02-20 Thread Rajmohan Mani
Remove the GPL v2 license boilerplate and update with the SPDX license identifier. Signed-off-by: Rajmohan Mani <rajmohan.m...@intel.com> --- drivers/acpi/pmic/tps68470_pmic.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/acpi/pmic/tps68470_pmi

[PATCH 3/3] ACPI / PMIC: Update to SPDX license identifier

2018-02-20 Thread Rajmohan Mani
Remove the GPL v2 license boilerplate and update with the SPDX license identifier. Signed-off-by: Rajmohan Mani --- drivers/acpi/pmic/tps68470_pmic.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/acpi/pmic/tps68470_pmic.c b/drivers/acpi/pmic

[PATCH v6 1/3] mfd: Add new mfd device TPS68470

2017-07-28 Thread Rajmohan Mani
-by: Rajmohan Mani <rajmohan.m...@intel.com> --- drivers/mfd/Kconfig | 18 drivers/mfd/Makefile | 1 + drivers/mfd/tps68470.c | 106 +++ include/linux/mfd/tps68470.h | 97 +++ 4 files c

[PATCH v6 1/3] mfd: Add new mfd device TPS68470

2017-07-28 Thread Rajmohan Mani
-by: Rajmohan Mani --- drivers/mfd/Kconfig | 18 drivers/mfd/Makefile | 1 + drivers/mfd/tps68470.c | 106 +++ include/linux/mfd/tps68470.h | 97 +++ 4 files changed, 222 insertions(+) create

[PATCH v6 0/3] TPS68470 PMIC drivers

2017-07-28 Thread Rajmohan Mani
direction() in the GPIO driver - Setup gpio_chip.names - Moved the GPIO lookup table code inside mfd driver - Added reasoning about the need of having GPIO driver as bool/builtin --- Rajmohan Mani (3): mfd: Add new mfd device TPS68470 gpio: Add support for TPS68470 GP

[PATCH v6 0/3] TPS68470 PMIC drivers

2017-07-28 Thread Rajmohan Mani
direction() in the GPIO driver - Setup gpio_chip.names - Moved the GPIO lookup table code inside mfd driver - Added reasoning about the need of having GPIO driver as bool/builtin --- Rajmohan Mani (3): mfd: Add new mfd device TPS68470 gpio: Add support for TPS68470 GP

[PATCH v6 3/3] ACPI / PMIC: Add TI PMIC TPS68470 operation region driver

2017-07-28 Thread Rajmohan Mani
region support to control voltage regulators and clocks for the TPS68470 PMIC. Signed-off-by: Rajmohan Mani <rajmohan.m...@intel.com> --- drivers/acpi/Kconfig | 16 ++ drivers/acpi/Makefile | 2 + drivers/acpi/pmic/tps68470_pmic.c

[PATCH v6 3/3] ACPI / PMIC: Add TI PMIC TPS68470 operation region driver

2017-07-28 Thread Rajmohan Mani
region support to control voltage regulators and clocks for the TPS68470 PMIC. Signed-off-by: Rajmohan Mani --- drivers/acpi/Kconfig | 16 ++ drivers/acpi/Makefile | 2 + drivers/acpi/pmic/tps68470_pmic.c | 455 ++ 3 files changed, 473

[PATCH v6 2/3] gpio: Add support for TPS68470 GPIOs

2017-07-28 Thread Rajmohan Mani
driver to configure these GPIOs, as requested by the platform firmware. Signed-off-by: Rajmohan Mani <rajmohan.m...@intel.com> Reviewed-by: Linus Walleij <linus.wall...@linaro.org> --- drivers/gpio/Kconfig | 15 drivers/gpio/Makefile| 1 + drivers/gpio/gpio-tps6

[PATCH v6 2/3] gpio: Add support for TPS68470 GPIOs

2017-07-28 Thread Rajmohan Mani
driver to configure these GPIOs, as requested by the platform firmware. Signed-off-by: Rajmohan Mani Reviewed-by: Linus Walleij --- drivers/gpio/Kconfig | 15 drivers/gpio/Makefile| 1 + drivers/gpio/gpio-tps68470.c | 176 +++ 3

[PATCH v5 2/3] gpio: Add support for TPS68470 GPIOs

2017-07-21 Thread Rajmohan Mani
driver to configure these GPIOs, as requested by the platform firmware. Signed-off-by: Rajmohan Mani <rajmohan.m...@intel.com> Reviewed-by: Linus Walleij <linus.wall...@linaro.org> --- drivers/gpio/Kconfig | 15 drivers/gpio/Makefile| 1 + drivers/gpio/gpio-tps6

[PATCH v5 2/3] gpio: Add support for TPS68470 GPIOs

2017-07-21 Thread Rajmohan Mani
driver to configure these GPIOs, as requested by the platform firmware. Signed-off-by: Rajmohan Mani Reviewed-by: Linus Walleij --- drivers/gpio/Kconfig | 15 drivers/gpio/Makefile| 1 + drivers/gpio/gpio-tps68470.c | 176 +++ 3

[PATCH v5 3/3] ACPI / PMIC: Add TI PMIC TPS68470 operation region driver

2017-07-21 Thread Rajmohan Mani
region support to control voltage regulators and clocks for the TPS68470 PMIC. Signed-off-by: Rajmohan Mani <rajmohan.m...@intel.com> --- drivers/acpi/Kconfig | 16 ++ drivers/acpi/Makefile | 2 + drivers/acpi/pmic/tps68470_pmic.c

[PATCH v5 3/3] ACPI / PMIC: Add TI PMIC TPS68470 operation region driver

2017-07-21 Thread Rajmohan Mani
region support to control voltage regulators and clocks for the TPS68470 PMIC. Signed-off-by: Rajmohan Mani --- drivers/acpi/Kconfig | 16 ++ drivers/acpi/Makefile | 2 + drivers/acpi/pmic/tps68470_pmic.c | 455 ++ 3 files changed, 473

[PATCH v5 1/3] mfd: Add new mfd device TPS68470

2017-07-21 Thread Rajmohan Mani
-by: Rajmohan Mani <rajmohan.m...@intel.com> --- drivers/mfd/Kconfig | 18 drivers/mfd/Makefile | 1 + drivers/mfd/tps68470.c | 106 +++ include/linux/mfd/tps68470.h | 97 +++ 4 files c

[PATCH v5 1/3] mfd: Add new mfd device TPS68470

2017-07-21 Thread Rajmohan Mani
-by: Rajmohan Mani --- drivers/mfd/Kconfig | 18 drivers/mfd/Makefile | 1 + drivers/mfd/tps68470.c | 106 +++ include/linux/mfd/tps68470.h | 97 +++ 4 files changed, 222 insertions(+) create

[PATCH v5 0/3] TPS68470 PMIC drivers

2017-07-21 Thread Rajmohan Mani
about the need of having GPIO driver as bool/builtin --- Rajmohan Mani (3): mfd: Add new mfd device TPS68470 gpio: Add support for TPS68470 GPIOs ACPI / PMIC: Add TI PMIC TPS68470 operation region driver drivers/acpi/Kconfig | 16 ++ drivers/acpi/Makefile

[PATCH v5 0/3] TPS68470 PMIC drivers

2017-07-21 Thread Rajmohan Mani
about the need of having GPIO driver as bool/builtin --- Rajmohan Mani (3): mfd: Add new mfd device TPS68470 gpio: Add support for TPS68470 GPIOs ACPI / PMIC: Add TI PMIC TPS68470 operation region driver drivers/acpi/Kconfig | 16 ++ drivers/acpi/Makefile

[PATCH v4 3/3] ACPI / PMIC: Add TI PMIC TPS68470 operation region driver

2017-07-19 Thread Rajmohan Mani
region support to control voltage regulators and clocks for the TPS68470 PMIC. Signed-off-by: Rajmohan Mani <rajmohan.m...@intel.com> --- drivers/acpi/Kconfig | 16 ++ drivers/acpi/Makefile | 2 + drivers/acpi/pmic/tps68470_pmic.c

[PATCH v4 3/3] ACPI / PMIC: Add TI PMIC TPS68470 operation region driver

2017-07-19 Thread Rajmohan Mani
region support to control voltage regulators and clocks for the TPS68470 PMIC. Signed-off-by: Rajmohan Mani --- drivers/acpi/Kconfig | 16 ++ drivers/acpi/Makefile | 2 + drivers/acpi/pmic/tps68470_pmic.c | 455 ++ 3 files changed, 473

[PATCH v4 2/3] gpio: Add support for TPS68470 GPIOs

2017-07-19 Thread Rajmohan Mani
driver to configure these GPIOs, as requested by the platform firmware. Signed-off-by: Rajmohan Mani <rajmohan.m...@intel.com> Reviewed-by: Linus Walleij <linus.wall...@linaro.org> --- drivers/gpio/Kconfig | 15 drivers/gpio/Makefile| 1 + drivers/gpio/gpio-tps6

[PATCH v4 2/3] gpio: Add support for TPS68470 GPIOs

2017-07-19 Thread Rajmohan Mani
driver to configure these GPIOs, as requested by the platform firmware. Signed-off-by: Rajmohan Mani Reviewed-by: Linus Walleij --- drivers/gpio/Kconfig | 15 drivers/gpio/Makefile| 1 + drivers/gpio/gpio-tps68470.c | 174 +++ 3

[PATCH v4 1/3] mfd: Add new mfd device TPS68470

2017-07-19 Thread Rajmohan Mani
-by: Rajmohan Mani <rajmohan.m...@intel.com> --- drivers/mfd/Kconfig | 18 +++ drivers/mfd/Makefile | 1 + drivers/mfd/tps68470.c | 110 +++ include/linux/mfd/tps68470.h | 97 ++ 4 files change

[PATCH v4 1/3] mfd: Add new mfd device TPS68470

2017-07-19 Thread Rajmohan Mani
-by: Rajmohan Mani --- drivers/mfd/Kconfig | 18 +++ drivers/mfd/Makefile | 1 + drivers/mfd/tps68470.c | 110 +++ include/linux/mfd/tps68470.h | 97 ++ 4 files changed, 226 insertions(+) create

[PATCH v4 0/3] TPS68470 PMIC drivers

2017-07-19 Thread Rajmohan Mani
- Added reasoning about the need of having GPIO driver as bool/builtin --- Rajmohan Mani (3): mfd: Add new mfd device TPS68470 gpio: Add support for TPS68470 GPIOs ACPI / PMIC: Add TI PMIC TPS68470 operation region driver drivers/acpi/Kconfig |

[PATCH v4 0/3] TPS68470 PMIC drivers

2017-07-19 Thread Rajmohan Mani
- Added reasoning about the need of having GPIO driver as bool/builtin --- Rajmohan Mani (3): mfd: Add new mfd device TPS68470 gpio: Add support for TPS68470 GPIOs ACPI / PMIC: Add TI PMIC TPS68470 operation region driver drivers/acpi/Kconfig |

[PATCH v3 1/3] mfd: Add new mfd device TPS68470

2017-06-12 Thread Rajmohan Mani
-by: Rajmohan Mani <rajmohan.m...@intel.com> --- drivers/mfd/Kconfig | 18 + drivers/mfd/Makefile | 1 + drivers/mfd/tps68470.c | 156 +++ include/linux/mfd/tps68470.h | 144 +++ 4 files change

[PATCH v3 1/3] mfd: Add new mfd device TPS68470

2017-06-12 Thread Rajmohan Mani
-by: Rajmohan Mani --- drivers/mfd/Kconfig | 18 + drivers/mfd/Makefile | 1 + drivers/mfd/tps68470.c | 156 +++ include/linux/mfd/tps68470.h | 144 +++ 4 files changed, 319 insertions(+) create mode

[PATCH v3 3/3] ACPI / PMIC: Add TI PMIC TPS68470 operation region driver

2017-06-12 Thread Rajmohan Mani
region support to control voltage regulators and clocks for the TPS68470 PMIC. Signed-off-by: Rajmohan Mani <rajmohan.m...@intel.com> --- drivers/acpi/Kconfig | 15 ++ drivers/acpi/Makefile | 2 + drivers/acpi/pmic/tps68470_pmic.c

[PATCH v3 3/3] ACPI / PMIC: Add TI PMIC TPS68470 operation region driver

2017-06-12 Thread Rajmohan Mani
region support to control voltage regulators and clocks for the TPS68470 PMIC. Signed-off-by: Rajmohan Mani --- drivers/acpi/Kconfig | 15 ++ drivers/acpi/Makefile | 2 + drivers/acpi/pmic/tps68470_pmic.c | 456 ++ 3 files changed, 473

[PATCH v3 2/3] gpio: Add support for TPS68470 GPIOs

2017-06-12 Thread Rajmohan Mani
This patch adds support for TPS68470 GPIOs. There are 7 GPIOs and a few sensor related GPIOs. These GPIOs can be requested and configured as appropriate. Signed-off-by: Rajmohan Mani <rajmohan.m...@intel.com> --- drivers/gpio/Kconfig | 14 drivers/gpio/Makefile

[PATCH v3 0/3] TPS68470 PMIC drivers

2017-06-12 Thread Rajmohan Mani
GPIO driver as bool/builtin --- Rajmohan Mani (3): mfd: Add new mfd device TPS68470 gpio: Add support for TPS68470 GPIOs ACPI / PMIC: Add TI PMIC TPS68470 operation region driver drivers/acpi/Kconfig | 15 ++ drivers/acpi/Makefile | 2 + drivers/a

[PATCH v3 2/3] gpio: Add support for TPS68470 GPIOs

2017-06-12 Thread Rajmohan Mani
This patch adds support for TPS68470 GPIOs. There are 7 GPIOs and a few sensor related GPIOs. These GPIOs can be requested and configured as appropriate. Signed-off-by: Rajmohan Mani --- drivers/gpio/Kconfig | 14 drivers/gpio/Makefile| 1 + drivers/gpio/gpio-tps68470.c

[PATCH v3 0/3] TPS68470 PMIC drivers

2017-06-12 Thread Rajmohan Mani
GPIO driver as bool/builtin --- Rajmohan Mani (3): mfd: Add new mfd device TPS68470 gpio: Add support for TPS68470 GPIOs ACPI / PMIC: Add TI PMIC TPS68470 operation region driver drivers/acpi/Kconfig | 15 ++ drivers/acpi/Makefile | 2 + drivers/a

[PATCH v2 2/3] gpio: Add support for TPS68470 GPIOs

2017-06-11 Thread Rajmohan Mani
This patch adds support for TPS68470 GPIOs. There are 7 GPIOs and a few sensor related GPIOs. These GPIOs can be requested and configured as appropriate. Signed-off-by: Rajmohan Mani <rajmohan.m...@intel.com> --- drivers/gpio/Kconfig | 14 drivers/gpio/Makefile

[PATCH v2 2/3] gpio: Add support for TPS68470 GPIOs

2017-06-11 Thread Rajmohan Mani
This patch adds support for TPS68470 GPIOs. There are 7 GPIOs and a few sensor related GPIOs. These GPIOs can be requested and configured as appropriate. Signed-off-by: Rajmohan Mani --- drivers/gpio/Kconfig | 14 drivers/gpio/Makefile| 1 + drivers/gpio/gpio-tps68470.c

[PATCH v2 1/3] mfd: Add new mfd device TPS68470

2017-06-11 Thread Rajmohan Mani
-by: Rajmohan Mani <rajmohan.m...@intel.com> --- drivers/mfd/Kconfig | 18 drivers/mfd/Makefile | 1 + drivers/mfd/tps68470.c | 192 +++ include/linux/mfd/tps68470.h | 144 4 files change

[PATCH v2 3/3] ACPI / PMIC: Add TI PMIC TPS68470 operation region driver

2017-06-11 Thread Rajmohan Mani
region support to control voltage regulators and clocks for the TPS68470 PMIC. Signed-off-by: Rajmohan Mani <rajmohan.m...@intel.com> --- drivers/acpi/Kconfig | 15 ++ drivers/acpi/Makefile | 2 + drivers/acpi/pmic/tps68470_pmic.c

[PATCH v2 0/3] TPS68470 PMIC drivers

2017-06-11 Thread Rajmohan Mani
iver as bool/builtin - GPIO driver: - Implemented get_direction() in the GPIO driver - Setup gpio_chip.names - Moved the GPIO lookup table code inside mfd driver - Added reasoning about the need of having GPIO driver as bool/builtin --- Rajmoha

[PATCH v2 0/3] TPS68470 PMIC drivers

2017-06-11 Thread Rajmohan Mani
iver as bool/builtin - GPIO driver: - Implemented get_direction() in the GPIO driver - Setup gpio_chip.names - Moved the GPIO lookup table code inside mfd driver - Added reasoning about the need of having GPIO driver as bool/builtin --- Rajmoha

[PATCH v2 1/3] mfd: Add new mfd device TPS68470

2017-06-11 Thread Rajmohan Mani
-by: Rajmohan Mani --- drivers/mfd/Kconfig | 18 drivers/mfd/Makefile | 1 + drivers/mfd/tps68470.c | 192 +++ include/linux/mfd/tps68470.h | 144 4 files changed, 355 insertions(+) create mode 100644

[PATCH v2 3/3] ACPI / PMIC: Add TI PMIC TPS68470 operation region driver

2017-06-11 Thread Rajmohan Mani
region support to control voltage regulators and clocks for the TPS68470 PMIC. Signed-off-by: Rajmohan Mani --- drivers/acpi/Kconfig | 15 ++ drivers/acpi/Makefile | 2 + drivers/acpi/pmic/tps68470_pmic.c | 456 ++ 3 files changed, 473

[PATCH v1 3/3] ACPI / PMIC: Add TI PMIC TPS68470 operation region driver

2017-06-06 Thread Rajmohan Mani
region support to control voltage regulators and clocks for the TPS68470 PMIC. Signed-off-by: Rajmohan Mani <rajmohan.m...@intel.com> --- drivers/acpi/Kconfig | 12 + drivers/acpi/Makefile | 2 + drivers/acpi/pmic/pmic_tps68470.c

[PATCH v1 3/3] ACPI / PMIC: Add TI PMIC TPS68470 operation region driver

2017-06-06 Thread Rajmohan Mani
region support to control voltage regulators and clocks for the TPS68470 PMIC. Signed-off-by: Rajmohan Mani --- drivers/acpi/Kconfig | 12 + drivers/acpi/Makefile | 2 + drivers/acpi/pmic/pmic_tps68470.c | 454 ++ 3 files changed, 468

[PATCH v1 2/3] gpio: Add support for TPS68470 GPIOs

2017-06-06 Thread Rajmohan Mani
This patch adds support for TPS68470 GPIOs. There are 7 GPIOs and a few sensor related GPIOs. These GPIOs can be requested and configured as appropriate. Signed-off-by: Rajmohan Mani <rajmohan.m...@intel.com> --- drivers/gpio/Kconfig | 10 +++ drivers/gpio/Makefile

[PATCH v1 2/3] gpio: Add support for TPS68470 GPIOs

2017-06-06 Thread Rajmohan Mani
This patch adds support for TPS68470 GPIOs. There are 7 GPIOs and a few sensor related GPIOs. These GPIOs can be requested and configured as appropriate. Signed-off-by: Rajmohan Mani --- drivers/gpio/Kconfig | 10 +++ drivers/gpio/Makefile| 1 + drivers/gpio/gpio-tps68470.c

[PATCH v1 1/3] mfd: Add new mfd device TPS68470

2017-06-06 Thread Rajmohan Mani
-by: Rajmohan Mani <rajmohan.m...@intel.com> --- drivers/mfd/Kconfig | 12 +++ drivers/mfd/Makefile | 1 + drivers/mfd/tps68470.c | 227 +++ include/linux/mfd/tps68470.h | 167 +++ 4 files changed, 407 inse

[PATCH v1 1/3] mfd: Add new mfd device TPS68470

2017-06-06 Thread Rajmohan Mani
-by: Rajmohan Mani --- drivers/mfd/Kconfig | 12 +++ drivers/mfd/Makefile | 1 + drivers/mfd/tps68470.c | 227 +++ include/linux/mfd/tps68470.h | 167 +++ 4 files changed, 407 insertions(+) create mode 100644

[PATCH v1 0/3] TPS68470 PMIC drivers

2017-06-06 Thread Rajmohan Mani
. --- Rajmohan Mani (3): mfd: Add new mfd device TPS68470 gpio: Add support for TPS68470 GPIOs ACPI / PMIC: Add TI PMIC TPS68470 operation region driver drivers/acpi/Kconfig | 12 + drivers/acpi/Makefile | 2 + drivers/acpi/pmic/pmic_tps68470.c | 454

[PATCH v1 0/3] TPS68470 PMIC drivers

2017-06-06 Thread Rajmohan Mani
. --- Rajmohan Mani (3): mfd: Add new mfd device TPS68470 gpio: Add support for TPS68470 GPIOs ACPI / PMIC: Add TI PMIC TPS68470 operation region driver drivers/acpi/Kconfig | 12 + drivers/acpi/Makefile | 2 + drivers/acpi/pmic/pmic_tps68470.c | 454