On Friday 03 June 2016 05:41 PM, Jonathan Cameron wrote:
On 03/06/16 12:48, Laxman Dewangan wrote:
On Friday 03 June 2016 03:49 PM, Jonathan Cameron wrote:
+
+enable-power-monitor:Boolean, Enable power monitoring of the device.
Is this the power good stuff? description should
On Friday 03 June 2016 05:39 PM, Jonathan Cameron wrote:
On 03/06/16 12:26, Laxman Dewangan wrote:
On Friday 03 June 2016 03:36 PM, Jonathan Cameron wrote:
I thought that all ADC or monitors are going to be part of IIO device
framework. I saw the ina2xx which is same (single channel) which
On Friday 03 June 2016 05:39 PM, Jonathan Cameron wrote:
On 03/06/16 12:26, Laxman Dewangan wrote:
On Friday 03 June 2016 03:36 PM, Jonathan Cameron wrote:
I thought that all ADC or monitors are going to be part of IIO device
framework. I saw the ina2xx which is same (single channel) which
On Friday 03 June 2016 05:34 PM, Jonathan Cameron wrote:
On 03/06/16 12:31, Laxman Dewangan wrote:
On Friday 03 June 2016 03:46 PM, Jonathan Cameron wrote:
On 03/06/16 11:06, Jonathan Cameron wrote:
Code looks good, bu these more fundamental bits need sorting.
Another minor point - why do
On Friday 03 June 2016 05:34 PM, Jonathan Cameron wrote:
On 03/06/16 12:31, Laxman Dewangan wrote:
On Friday 03 June 2016 03:46 PM, Jonathan Cameron wrote:
On 03/06/16 11:06, Jonathan Cameron wrote:
Code looks good, bu these more fundamental bits need sorting.
Another minor point - why do
On Friday 03 June 2016 03:49 PM, Jonathan Cameron wrote:
On 03/06/16 03:07, Rob Herring wrote:
On Wed, Jun 01, 2016 at 06:04:12PM +0530, Laxman Dewangan wrote:
+
+Optional properties:
+--
+one-shot-average-sample: Integer, Number of sample to average before
On Friday 03 June 2016 03:49 PM, Jonathan Cameron wrote:
On 03/06/16 03:07, Rob Herring wrote:
On Wed, Jun 01, 2016 at 06:04:12PM +0530, Laxman Dewangan wrote:
+
+Optional properties:
+--
+one-shot-average-sample: Integer, Number of sample to average before
On Friday 03 June 2016 03:46 PM, Jonathan Cameron wrote:
On 03/06/16 11:06, Jonathan Cameron wrote:
Code looks good, bu these more fundamental bits need sorting.
Another minor point - why do the power calculations in driver?
no hardware support for it, so why not just leave it to userspace?
On Friday 03 June 2016 03:46 PM, Jonathan Cameron wrote:
On 03/06/16 11:06, Jonathan Cameron wrote:
Code looks good, bu these more fundamental bits need sorting.
Another minor point - why do the power calculations in driver?
no hardware support for it, so why not just leave it to userspace?
On Friday 03 June 2016 03:36 PM, Jonathan Cameron wrote:
On 01/06/16 13:34, Laxman Dewangan wrote:
Add support for INA3221 SW driver via IIO ADC interface. The device is
register as iio-device and provides interface for voltage/current and power
monitor. Also provide interface for setting
On Friday 03 June 2016 03:36 PM, Jonathan Cameron wrote:
On 01/06/16 13:34, Laxman Dewangan wrote:
Add support for INA3221 SW driver via IIO ADC interface. The device is
register as iio-device and provides interface for voltage/current and power
monitor. Also provide interface for setting
On Friday 03 June 2016 07:37 AM, Rob Herring wrote:
On Wed, Jun 01, 2016 at 06:04:12PM +0530, Laxman Dewangan wrote:
+
+enable-power-monitor: Boolean, Enable power monitoring of the device.
+
+enable-continuous-mode:Boolean. Device support oneshot and
continuous
On Friday 03 June 2016 07:37 AM, Rob Herring wrote:
On Wed, Jun 01, 2016 at 06:04:12PM +0530, Laxman Dewangan wrote:
+
+enable-power-monitor: Boolean, Enable power monitoring of the device.
+
+enable-continuous-mode:Boolean. Device support oneshot and
continuous
On Tuesday 31 May 2016 09:18 PM, Rob Herring wrote:
On Tue, May 31, 2016 at 8:44 AM, Laxman Dewangan <ldewan...@nvidia.com> wrote:
Hi Rob,
On Tuesday 31 May 2016 07:05 PM, Rob Herring wrote:
On Tue, May 31, 2016 at 2:35 AM, Chanwoo Choi <cw00.c...@samsung.com>
wrote:
The e
On Tuesday 31 May 2016 09:18 PM, Rob Herring wrote:
On Tue, May 31, 2016 at 8:44 AM, Laxman Dewangan wrote:
Hi Rob,
On Tuesday 31 May 2016 07:05 PM, Rob Herring wrote:
On Tue, May 31, 2016 at 2:35 AM, Chanwoo Choi
wrote:
The extcon-gpio.c driver can separate the kind of external connector
offers both critical and warning alerts to detect multiple
programmable out-of-range conditions for each channel.
Add DT binding details for INA3221 device for configuring device in
different modes and enable multiple functionalities from device.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.
offers both critical and warning alerts to detect multiple
programmable out-of-range conditions for each channel.
Add DT binding details for INA3221 device for configuring device in
different modes and enable multiple functionalities from device.
Signed-off-by: Laxman Dewangan
---
.../devicetree
offers both critical and warning alerts to detect multiple
programmable out-of-range conditions for each channel.
The device export the SW interface with IIO framework. Detail out the
all sysfs exposed by device for reference.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
---
Documen
oneshot/continuous mode and
critical/warning threshold for the shunt voltage drop.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
---
drivers/iio/adc/Kconfig | 12 +
drivers/iio/adc/Makefile |1 +
drivers/iio/adc/ina3221.c | 1175 ++
offers both critical and warning alerts to detect multiple
programmable out-of-range conditions for each channel.
The device export the SW interface with IIO framework. Detail out the
all sysfs exposed by device for reference.
Signed-off-by: Laxman Dewangan
---
Documentation/iio/adc/ina3221.txt | 81
oneshot/continuous mode and
critical/warning threshold for the shunt voltage drop.
Signed-off-by: Laxman Dewangan
---
drivers/iio/adc/Kconfig | 12 +
drivers/iio/adc/Makefile |1 +
drivers/iio/adc/ina3221.c | 1175 +
3 files changed, 1188
Hi Rob,
On Tuesday 31 May 2016 07:05 PM, Rob Herring wrote:
On Tue, May 31, 2016 at 2:35 AM, Chanwoo Choi wrote:
The extcon-gpio.c driver can separate the kind of external connector
by using the 'extcon-id' property.
This use of DT is just broken. Come up with another
Hi Rob,
On Tuesday 31 May 2016 07:05 PM, Rob Herring wrote:
On Tue, May 31, 2016 at 2:35 AM, Chanwoo Choi wrote:
The extcon-gpio.c driver can separate the kind of external connector
by using the 'extcon-id' property.
This use of DT is just broken. Come up with another way.
Can we have
Implement gpio_get_direction() callback for MAX77620 GPIO.
This is useful for debugfs and the userspace ABI.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
---
Changes from V1:
Earlier it was part of series to implement get_directiona dn set_single_mode.
Other patches are alreadya
Implement gpio_get_direction() callback for MAX77620 GPIO.
This is useful for debugfs and the userspace ABI.
Signed-off-by: Laxman Dewangan
---
Changes from V1:
Earlier it was part of series to implement get_directiona dn set_single_mode.
Other patches are alreadya pplied and hence making
. Assume ramp_delay is 1, current code sets slew register to 6mV/us.
Fix the logic to set slew register.
Setting register to nearest faster ramp side, the change looks fine.
Acked-by: Laxman Dewangan <ldewan...@nvidia.com>
. Assume ramp_delay is 1, current code sets slew register to 6mV/us.
Fix the logic to set slew register.
Setting register to nearest faster ramp side, the change looks fine.
Acked-by: Laxman Dewangan
On Monday 30 May 2016 08:33 PM, Linus Walleij wrote:
On Tue, May 24, 2016 at 3:13 PM, Laxman Dewangan <ldewan...@nvidia.com> wrote:
Implement gpio_get_direction() callback for MAX77620 GPIO.
This is useful for debugfs and the userspace ABI.
Signed-off-by: Laxman Dewangan &
On Monday 30 May 2016 08:33 PM, Linus Walleij wrote:
On Tue, May 24, 2016 at 3:13 PM, Laxman Dewangan wrote:
Implement gpio_get_direction() callback for MAX77620 GPIO.
This is useful for debugfs and the userspace ABI.
Signed-off-by: Laxman Dewangan
#include
+#include
variable.
Signed-off-by: Axel Lin <axel@ingics.com>
Reviewed-by: Laxman Dewangan <ldewan...@nvidia.com>
variable.
Signed-off-by: Axel Lin
Reviewed-by: Laxman Dewangan
() if GPIO
HW driver is having sleepable callback i.e. chip->can_sleep = 1.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
---
This is found when implementing the get_direction() of max77620 on 20160520
linux-next.
drivers/gpio/gpiolib.c | 10 +-
1 file changed, 9 inserti
() if GPIO
HW driver is having sleepable callback i.e. chip->can_sleep = 1.
Signed-off-by: Laxman Dewangan
---
This is found when implementing the get_direction() of max77620 on 20160520
linux-next.
drivers/gpio/gpiolib.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --
The MAX77620 have a GPIO pins which can act as open drain or
push pull mode. Implement support for controlling this from GPIO
descriptor tables or other hardware descriptions such as
device tree by implementing the .set_single_ended() callback.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.
The MAX77620 have a GPIO pins which can act as open drain or
push pull mode. Implement support for controlling this from GPIO
descriptor tables or other hardware descriptions such as
device tree by implementing the .set_single_ended() callback.
Signed-off-by: Laxman Dewangan
---
drivers/gpio
The GPIO sub modules of MAX77620 offers to configure the GPIO
interrupt trigger level as RISING and FALLING edge.
Pass this information to regmap-irg when registering for GPIO
interrupts.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
---
drivers/gpio/gpio-max77620.
The GPIO sub modules of MAX77620 offers to configure the GPIO
interrupt trigger level as RISING and FALLING edge.
Pass this information to regmap-irg when registering for GPIO
interrupts.
Signed-off-by: Laxman Dewangan
---
drivers/gpio/gpio-max77620.c | 67
Implement gpio_get_direction() callback for MAX77620 GPIO.
This is useful for debugfs and the userspace ABI.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
---
drivers/gpio/gpio-max77620.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/drivers/gpio/gpio-ma
Implement gpio_get_direction() callback for MAX77620 GPIO.
This is useful for debugfs and the userspace ABI.
Signed-off-by: Laxman Dewangan
---
drivers/gpio/gpio-max77620.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/drivers/gpio/gpio-max77620.c b/drivers/gpio/gpio
On Tuesday 24 May 2016 04:51 PM, Linus Walleij wrote:
On Fri, May 13, 2016 at 7:19 AM, Laxman Dewangan <ldewan...@nvidia.com> wrote:
MAXIM Semiconductor's PMIC, MAX77620/MAX20024 has 8 GPIO pins
which also act as the special function in alternate mode. Also
there is configuration lik
On Tuesday 24 May 2016 04:51 PM, Linus Walleij wrote:
On Fri, May 13, 2016 at 7:19 AM, Laxman Dewangan wrote:
MAXIM Semiconductor's PMIC, MAX77620/MAX20024 has 8 GPIO pins
which also act as the special function in alternate mode. Also
there is configuration like push-pull, open drain, FPS
On Tuesday 24 May 2016 04:45 PM, Linus Walleij wrote:
On Fri, May 13, 2016 at 7:19 AM, Laxman Dewangan <ldewan...@nvidia.com> wrote:
MAXIM Semiconductor's PMIC, MAX77620/MAX20024 has 8 GPIO
pins. It also supports interrupts from these pins.
Add GPIO driver for these pins to control vi
On Tuesday 24 May 2016 04:45 PM, Linus Walleij wrote:
On Fri, May 13, 2016 at 7:19 AM, Laxman Dewangan wrote:
MAXIM Semiconductor's PMIC, MAX77620/MAX20024 has 8 GPIO
pins. It also supports interrupts from these pins.
Add GPIO driver for these pins to control via GPIO APIs.
Signed-off
Use BIT macro for register field definition and make constant as U
when using in shift operator like (3 << 30) to (3U << 30)
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
Acked-by: Jon Hunter <jonath...@nvidia.com>
Changes from V1:
- Remove the indenting of l
Use BIT macro for register field definition and make constant as U
when using in shift operator like (3 << 30) to (3U << 30)
Signed-off-by: Laxman Dewangan
Acked-by: Jon Hunter
Changes from V1:
- Remove the indenting of line which is not for BIT macro usage.
Changes from V2:
- N
is applicable for all generation os Tegra SoC.
IO pads ID and information of bit field for power state and voltage
level controls are added for Tegra124, Tegra132 and Tegra210. The SOR
driver is modified to use the new APIs.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
---
Changes f
The function tegra_pmc_readl() returns the u32 type data and hence
change the data type of variable where this data is stored to u32
type.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
Reviewed-by: Jon Hunter <jonath...@nvidia.com>
---
Changes from V1:
-This is new in s
is applicable for all generation os Tegra SoC.
IO pads ID and information of bit field for power state and voltage
level controls are added for Tegra124, Tegra132 and Tegra210. The SOR
driver is modified to use the new APIs.
Signed-off-by: Laxman Dewangan
---
Changes from V1:
This is reworked
The function tegra_pmc_readl() returns the u32 type data and hence
change the data type of variable where this data is stored to u32
type.
Signed-off-by: Laxman Dewangan
Reviewed-by: Jon Hunter
---
Changes from V1:
-This is new in series as per discussion on V1 series to use u32
) is implemented in regmap irq as generic routine. For
step (1) and (3), add callbacks from regmap irq to client driver
to handle chip specific configurations.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
---
drivers/base/regmap/regmap-irq.c | 15 +++
include/linux/re
the hardware interrupt line by clearing
GLBLM.
Add the pre and post interrupt service handler for step (1) and (3)
as callback from regmap-irq.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
---
drivers/mfd/max77620.c | 55 +-
1 file chang
) is implemented in regmap irq as generic routine. For
step (1) and (3), add callbacks from regmap irq to client driver
to handle chip specific configurations.
Signed-off-by: Laxman Dewangan
---
drivers/base/regmap/regmap-irq.c | 15 +++
include/linux/regmap.h | 10 ++
2 files
the hardware interrupt line by clearing
GLBLM.
Add the pre and post interrupt service handler for step (1) and (3)
as callback from regmap-irq.
Signed-off-by: Laxman Dewangan
---
drivers/mfd/max77620.c | 55 +-
1 file changed, 46 insertions(+), 9
d case and refactor APIs to
convert io-pads to bit.
Changes from V7:
- Fix document format.
- Document public APIs.
- Fix teh bit check.
- Add check of pad ID validatity.
Laxman Dewangan (3):
soc/tegra: pmc: Use BIT macro for register field definition
soc/tegra: pmc: Correct type of va
d case and refactor APIs to
convert io-pads to bit.
Changes from V7:
- Fix document format.
- Document public APIs.
- Fix teh bit check.
- Add check of pad ID validatity.
Laxman Dewangan (3):
soc/tegra: pmc: Use BIT macro for register field definition
soc/tegra: pmc: Correct type of va
On Friday 20 May 2016 07:02 PM, Jon Hunter wrote:
On 20/05/16 12:59, Laxman Dewangan wrote:
+/* tegra_io_pads_config_info: Tegra IO pads bit config info.
+ * @dpd_config_bit: DPD configuration bit position. -1 if not supported.
+ * @voltage_config_bit: Voltage configuration bit position. -1
On Friday 20 May 2016 07:02 PM, Jon Hunter wrote:
On 20/05/16 12:59, Laxman Dewangan wrote:
+/* tegra_io_pads_config_info: Tegra IO pads bit config info.
+ * @dpd_config_bit: DPD configuration bit position. -1 if not supported.
+ * @voltage_config_bit: Voltage configuration bit position. -1
The function tegra_pmc_readl() returns the u32 type data and hence
change the data type of variable where this data is stored to u32
type.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
Reviewed-by: Jon Hunter <jonath...@nvidia.com>
---
Changes from V1:
-This is new in s
The function tegra_pmc_readl() returns the u32 type data and hence
change the data type of variable where this data is stored to u32
type.
Signed-off-by: Laxman Dewangan
Reviewed-by: Jon Hunter
---
Changes from V1:
-This is new in series as per discussion on V1 series to use u32
d case and refactor APIs to
convert io-pads to bit.
Laxman Dewangan (3):
soc/tegra: pmc: Use BIT macro for register field definition
soc/tegra: pmc: Correct type of variable for tegra_pmc_readl()
soc/tegra: pmc: Add support for IO pads power state and voltage
drivers/gpu/drm/tegra/sor.c
d case and refactor APIs to
convert io-pads to bit.
Laxman Dewangan (3):
soc/tegra: pmc: Use BIT macro for register field definition
soc/tegra: pmc: Correct type of variable for tegra_pmc_readl()
soc/tegra: pmc: Add support for IO pads power state and voltage
drivers/gpu/drm/tegra/sor.c
Use BIT macro for register field definition and make constant as U
when using in shift operator like (3 << 30) to (3U << 30)
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
Acked-by: Jon Hunter <jonath...@nvidia.com>
---
Changes from V1:
- Remove the indenting of l
is applicable for all generation os Tegra SoC.
IO pads ID and information of bit field for power state and voltage
level controls are added for Tegra124, Tegra132 and Tegra210. The SOR
driver is modified to use the new APIs.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
---
Changes f
Use BIT macro for register field definition and make constant as U
when using in shift operator like (3 << 30) to (3U << 30)
Signed-off-by: Laxman Dewangan
Acked-by: Jon Hunter
---
Changes from V1:
- Remove the indenting of line which is not for BIT macro usage.
Changes fro
is applicable for all generation os Tegra SoC.
IO pads ID and information of bit field for power state and voltage
level controls are added for Tegra124, Tegra132 and Tegra210. The SOR
driver is modified to use the new APIs.
Signed-off-by: Laxman Dewangan
---
Changes from V1:
This is reworked
On Friday 20 May 2016 03:32 PM, Jon Hunter wrote:
On 12/05/16 13:21, Laxman Dewangan wrote:
+#define TEGRA_IO_PADS_T124_T210(TEGRA_IO_PADS_T124 | \
+ TEGRA_IO_PADS_T210)
+
What about T30 and T114? The TRM includes the DPD REQ/STATUS
On Friday 20 May 2016 03:32 PM, Jon Hunter wrote:
On 12/05/16 13:21, Laxman Dewangan wrote:
+#define TEGRA_IO_PADS_T124_T210(TEGRA_IO_PADS_T124 | \
+ TEGRA_IO_PADS_T210)
+
What about T30 and T114? The TRM includes the DPD REQ/STATUS
On Friday 20 May 2016 10:01 AM, Keerthy wrote:
+ Lee Jones
On Saturday 07 May 2016 12:31 AM, Nishanth Menon wrote:
On 05/06/2016 12:14 PM, Mark Brown wrote:
On Fri, May 06, 2016 at 12:44:23PM +0530, Laxman Dewangan wrote:
When you are here, can you implement the dt parsing with the new
On Friday 20 May 2016 10:01 AM, Keerthy wrote:
+ Lee Jones
On Saturday 07 May 2016 12:31 AM, Nishanth Menon wrote:
On 05/06/2016 12:14 PM, Mark Brown wrote:
On Fri, May 06, 2016 at 12:44:23PM +0530, Laxman Dewangan wrote:
When you are here, can you implement the dt parsing with the new
On Thursday 19 May 2016 09:24 PM, Jon Hunter wrote:
On 12/05/16 13:21, Laxman Dewangan wrote:
The IO pins of Tegra SoCs are grouped for common control of IO
interface like setting voltage signal levels and power state of
the interface. The group is generally referred as IO pads. The
power
On Thursday 19 May 2016 09:24 PM, Jon Hunter wrote:
On 12/05/16 13:21, Laxman Dewangan wrote:
The IO pins of Tegra SoCs are grouped for common control of IO
interface like setting voltage signal levels and power state of
the interface. The group is generally referred as IO pads. The
power
Hi Jon/Thierry,
On Thursday 12 May 2016 05:51 PM, Laxman Dewangan wrote:
The IO pins of Tegra SoCs are grouped for common control of IO interface
like setting voltage signal levels and power state of the interface. The
group is generally referred as IO pads. The power state and voltage control
Hi Jon/Thierry,
On Thursday 12 May 2016 05:51 PM, Laxman Dewangan wrote:
The IO pins of Tegra SoCs are grouped for common control of IO interface
like setting voltage signal levels and power state of the interface. The
group is generally referred as IO pads. The power state and voltage control
Maxim Semiconductor's PMIC MAX77620/MAX20024 has 8 GPIO pins
which act as GPIO as well as special function mode.
Add DT binding document to configure pins in function mode as
well as pin configuration parameters.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
Acked-by: Rob Herr
Maxim Semiconductor's PMIC MAX77620/MAX20024 has 8 GPIO pins
which act as GPIO as well as special function mode.
Add DT binding document to configure pins in function mode as
well as pin configuration parameters.
Signed-off-by: Laxman Dewangan
Acked-by: Rob Herring
Acked-by: Linus Walleij
MAXIM Semiconductor's PMIC, MAX77620/MAX20024 has 8 GPIO
pins. It also supports interrupts from these pins.
Add GPIO driver for these pins to control via GPIO APIs.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
Reviewed-by: Linus Walleij <linus.wall...@linaro.org>
---
MAXIM Semiconductor's PMIC, MAX77620/MAX20024 has 8 GPIO
pins. It also supports interrupts from these pins.
Add GPIO driver for these pins to control via GPIO APIs.
Signed-off-by: Laxman Dewangan
Reviewed-by: Linus Walleij
---
This as part of the max77620 series and mfd patch are already
-by: Laxman Dewangan <ldewan...@nvidia.com>
Reviewed-by: Linus Walleij <linus.wall...@linaro.org>
---
This was part of the max77620 series and mfd is merged. So it
can go in subsystem wise.
Changes from V1:
- Cleanup code based on comment received on mfd/rtc.
- Avoid duplication on e
Maxim Semiconductor's PMIC MAX77620/MAX20024 has 8 GPIO pins
which act as GPIO as well as special function mode.
Add DT binding document to support these pins in GPIO
mode via GPIO framework.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
Acked-by: Rob Herring <r...@kernel.o
-by: Laxman Dewangan
Reviewed-by: Linus Walleij
---
This was part of the max77620 series and mfd is merged. So it
can go in subsystem wise.
Changes from V1:
- Cleanup code based on comment received on mfd/rtc.
- Avoid duplication on error message.
Changes form V2:
- Run coccicheck
Maxim Semiconductor's PMIC MAX77620/MAX20024 has 8 GPIO pins
which act as GPIO as well as special function mode.
Add DT binding document to support these pins in GPIO
mode via GPIO framework.
Signed-off-by: Laxman Dewangan
Acked-by: Rob Herring
Acked-by: Linus Walleij
---
This as part
_id == MAX77620, it will set
fps_[mix|max]_period but then fall through to the default switch case
and return -EINVAL. Returning this from max77620_config_fps() will
cause probe to fail.
Thanks for fixes.
Missed when converting if-else to switch.
Reviewed-by: Laxman Dewangan <ldewan...@nvidia.com>
_id == MAX77620, it will set
fps_[mix|max]_period but then fall through to the default switch case
and return -EINVAL. Returning this from max77620_config_fps() will
cause probe to fail.
Thanks for fixes.
Missed when converting if-else to switch.
Reviewed-by: Laxman Dewangan
Remove the use of parked_reg and use parked_bit for to know
whether field is supported or not.
This is fix for the patch
commit 1d18a3f0f0809f6c71f1f6e9e268ee904ce0b588
"pinctrl: tegra: avoid parked_reg and parked_bank
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
---
driv
Remove the use of parked_reg and use parked_bit for to know
whether field is supported or not.
This is fix for the patch
commit 1d18a3f0f0809f6c71f1f6e9e268ee904ce0b588
"pinctrl: tegra: avoid parked_reg and parked_bank
Signed-off-by: Laxman Dewangan
---
drivers/pinctrl/tegra/pinctrl-tegr
is applicable for all generation os Tegra SoC.
IO pads ID and information of bit field for power state and voltage
level controls are added for Tegra124, Tegra132 and Tegra210. The SOR
driver is modified to use the new APIs.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
---
Changes f
is applicable for all generation os Tegra SoC.
IO pads ID and information of bit field for power state and voltage
level controls are added for Tegra124, Tegra132 and Tegra210. The SOR
driver is modified to use the new APIs.
Signed-off-by: Laxman Dewangan
---
Changes from V1:
This is reworked
The function tegra_pmc_readl() returns the u32 type data and hence
change the data type of variable where this data is stored to u32
type.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
Reviewed-by: Jon Hunter <jonath...@nvidia.com>
---
Changes from V1:
-This is new in s
The function tegra_pmc_readl() returns the u32 type data and hence
change the data type of variable where this data is stored to u32
type.
Signed-off-by: Laxman Dewangan
Reviewed-by: Jon Hunter
---
Changes from V1:
-This is new in series as per discussion on V1 series to use u32
config
- Make the io pad tables common for all SoC.
- Make io_pads enums.
- Add enums for voltage.
- Drop patch of adding sub devs
Changes from V4:
- Change IO_PAD to IO_PADS.
- Change enum for voltage config
Laxman Dewangan (3):
soc/tegra: pmc: Use BIT macro for register field definition
soc
config
- Make the io pad tables common for all SoC.
- Make io_pads enums.
- Add enums for voltage.
- Drop patch of adding sub devs
Changes from V4:
- Change IO_PAD to IO_PADS.
- Change enum for voltage config
Laxman Dewangan (3):
soc/tegra: pmc: Use BIT macro for register field definition
soc
Use BIT macro for register field definition and make constant as U
when using in shift operator like (3 << 30) to (3U << 30)
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
Acked-by: Jon Hunter <jonath...@nvidia.com>
---
Changes from V1:
- Remove the indenting of l
Use BIT macro for register field definition and make constant as U
when using in shift operator like (3 << 30) to (3U << 30)
Signed-off-by: Laxman Dewangan
Acked-by: Jon Hunter
---
Changes from V1:
- Remove the indenting of line which is not for BIT macro usage.
Changes fro
On Wednesday 11 May 2016 09:05 PM, Jon Hunter wrote:
On 11/05/16 14:28, Laxman Dewangan wrote:
On Sunday 08 May 2016 05:43 PM, Jon Hunter wrote:
On 06/05/16 16:32, Laxman Dewangan wrote:
On Friday 06 May 2016 08:07 PM, Jon Hunter wrote:
On 06/05/16 11:45, Laxman Dewangan wrote
On Wednesday 11 May 2016 09:05 PM, Jon Hunter wrote:
On 11/05/16 14:28, Laxman Dewangan wrote:
On Sunday 08 May 2016 05:43 PM, Jon Hunter wrote:
On 06/05/16 16:32, Laxman Dewangan wrote:
On Friday 06 May 2016 08:07 PM, Jon Hunter wrote:
On 06/05/16 11:45, Laxman Dewangan wrote
On Sunday 08 May 2016 05:43 PM, Jon Hunter wrote:
On 06/05/16 16:32, Laxman Dewangan wrote:
On Friday 06 May 2016 08:07 PM, Jon Hunter wrote:
On 06/05/16 11:45, Laxman Dewangan wrote:
+
+/* Last entry */
+TEGRA_IO_PAD_MAX,
Nit should these be TEGRA_IO_PADS_xxx?
Because this was name
On Sunday 08 May 2016 05:43 PM, Jon Hunter wrote:
On 06/05/16 16:32, Laxman Dewangan wrote:
On Friday 06 May 2016 08:07 PM, Jon Hunter wrote:
On 06/05/16 11:45, Laxman Dewangan wrote:
+
+/* Last entry */
+TEGRA_IO_PAD_MAX,
Nit should these be TEGRA_IO_PADS_xxx?
Because this was name
On Friday 06 May 2016 08:07 PM, Jon Hunter wrote:
On 06/05/16 11:45, Laxman Dewangan wrote:
+
+ /* Last entry */
+ TEGRA_IO_PAD_MAX,
Nit should these be TEGRA_IO_PADS_xxx?
Because this was name of single pad and hence I said TEGRA_IO_PAD_XXX
On Friday 06 May 2016 08:07 PM, Jon Hunter wrote:
On 06/05/16 11:45, Laxman Dewangan wrote:
+
+ /* Last entry */
+ TEGRA_IO_PAD_MAX,
Nit should these be TEGRA_IO_PADS_xxx?
Because this was name of single pad and hence I said TEGRA_IO_PAD_XXX
is applicable for all generation os Tegra SoC.
IO pads ID and information of bit field for power state and voltage
level controls are added for Tegra124, Tegra132 and Tegra210. The SOR
driver is modified to use the new APIs.
Signed-off-by: Laxman Dewangan <ldewan...@nvidia.com>
---
Changes f
401 - 500 of 3619 matches
Mail list logo