[PATCH v2 1/2] dt-bindings: power: Add the bq25790 dt bindings

2020-08-17 Thread Dan Murphy
Add the bindings for the bq25790. Signed-off-by: Ricardo Rivera-Matos Signed-off-by: Dan Murphy --- v2 - Changed ti,watchdog property, documented the interrupts, fixed exxamples for input-current and input-voltage .../bindings/power/supply/bq25790.yaml| 95 +++ 1 file

[PATCH v2 2/2] power: supply: bq25790: Introduce the BQ25790 charger driver

2020-08-17 Thread Dan Murphy
BQ25790 is a highly integrated switch-mode buck-boost charger for 1-4 cell Li-ion battery and Li-polymer battery. Signed-off-by: Ricardo Rivera-Matos Signed-off-by: Dan Murphy --- v2 - Updated per yaml changes drivers/power/supply/Kconfig |8 + drivers/power/supply/Makefile

[PATCH v33 5/6] ARM: dts: imx6dl-yapp4: Add reg property to the lp5562 channel node

2020-08-12 Thread Dan Murphy
-by: Dan Murphy CC: Shawn Guo CC: Sascha Hauer CC: Pengutronix Kernel Team CC: Fabio Estevam CC: NXP Linux Team --- arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch

[PATCH v33 6/6] ARM: dts: ste-href: Add reg property to the LP5521 channel nodes

2020-08-12 Thread Dan Murphy
Add the reg property to each channel node. This update is to accommodate the multicolor framework. In addition to the accommodation this allows the LEDs to be placed on any channel and allow designs to skip channels as opposed to requiring sequential order. Signed-off-by: Dan Murphy CC: Linus

[PATCH v33 2/6] leds: lp50xx: Add the LP50XX family of the RGB LED driver

2020-08-12 Thread Dan Murphy
has the ability to group LED outputs into control banks so that multiple LED banks can be controlled with the same mixing and brightness. Or the LED outputs can also be controlled independently. Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy --- drivers/leds/Kconfig | 11 + drivers

[PATCH v33 4/6] ARM: dts: n900: Add reg property to the LP5523 channel node

2020-08-12 Thread Dan Murphy
Add the reg property to each channel node. This update is to accommodate the multicolor framework. In addition to the accommodation this allows the LEDs to be placed on any channel and allow designs to skip channels as opposed to requiring sequential order. Signed-off-by: Dan Murphy Acked

[PATCH v33 3/6] ARM: defconfig: u8500: Add LP55XX_COMMON config flag

2020-08-12 Thread Dan Murphy
-by: Dan Murphy --- arch/arm/configs/u8500_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/u8500_defconfig b/arch/arm/configs/u8500_defconfig index 28dd7cf56048..dea599e1c17e 100644 --- a/arch/arm/configs/u8500_defconfig +++ b/arch/arm/configs/u8500_defconfig @@ -113,6

[PATCH v33 1/6] dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers

2020-08-12 Thread Dan Murphy
Machek Signed-off-by: Dan Murphy --- .../devicetree/bindings/leds/leds-lp50xx.yaml | 130 ++ 1 file changed, 130 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/leds-lp50xx.yaml diff --git a/Documentation/devicetree/bindings/leds/leds-lp50xx.yaml b

[PATCH v33 0/6] LP50xx addition and remainder Multicolor patches

2020-08-12 Thread Dan Murphy
Hello These are the final patches from the original multicolor framework patchset. Changes made were to the LP50xx to rework regmap_defaults to eliminate used only once #defines. Also fixed putting the child node in the dt parsing and changed regmap regcache type to flat. Dan Dan Murphy (6

[PATCH] dt: bindings: lp55xx: Updte yaml examples with new color ID

2020-08-12 Thread Dan Murphy
Update the binding examples for the color ID to LED_COLOR_ID_RGB Signed-off-by: Dan Murphy --- Documentation/devicetree/bindings/leds/leds-lp55xx.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/leds/leds-lp55xx.yaml b/Documentation

Re: [PATCH v32 2/6] leds: lp50xx: Add the LP50XX family of the RGB LED driver

2020-08-12 Thread Dan Murphy
Pavel On 8/11/20 5:26 PM, Pavel Machek wrote: Hi! Well it depends on where we want to create the default cache values. Either we run through a for..loop during driver probe and delay device start up or we keep the simple arrays and increase the driver total size. for loop will be better.

Re: [PATCH v32 2/6] leds: lp50xx: Add the LP50XX family of the RGB LED driver

2020-08-11 Thread Dan Murphy
Pavel On 8/11/20 5:01 PM, Pavel Machek wrote: Hi! Actually... This is quite impressive ammount of code to zero-initialize few registers. Could the regmap be told to set the range to zero, or use loops to reduce ammount of code? I am not aware of any regmap calls that will set a range of

Re: [PATCH v32 2/6] leds: lp50xx: Add the LP50XX family of the RGB LED driver

2020-08-11 Thread Dan Murphy
Hello On 8/11/20 5:54 AM, Pavel Machek wrote: Hi! +/* LP5009 and LP5012 registers */ +#define LP5012_BNK_BRT 0x03 +#define LP5012_BNKA_CLR0x04 +#define LP5012_BNKB_CLR0x05 +#define LP5012_BNKC_CLR0x06 +#define LP5012_LED0_BRT

Re: [PATCH v32 1/6] dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers

2020-08-11 Thread Dan Murphy
Pavel On 8/11/20 5:20 AM, Pavel Machek wrote: Hi! On Wed 2020-07-22 10:31:41, Dan Murphy wrote: Introduce the bindings for the Texas Instruments LP5036, LP5030, LP5024, LP5018, LP5012 and LP5009 RGB LED device driver. The LP5036/30/24/18/12/9 can control RGB LEDs individually or as part

Re: [PATCH v32 1/6] dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers

2020-08-07 Thread Dan Murphy
Pavel On 8/4/20 2:55 PM, Dan Murphy wrote: Pavel On 7/28/20 8:39 AM, Dan Murphy wrote: Pavel On 7/22/20 10:31 AM, Dan Murphy wrote: Introduce the bindings for the Texas Instruments LP5036, LP5030, LP5024, LP5018, LP5012 and LP5009 RGB LED device driver.  The LP5036/30/24/18/12/9 can

Re: [PATCH 1/2] leds: is31fl319x: Add sdb pin and generate a 5ms low pulse when startup

2020-08-06 Thread Dan Murphy
Grant On 8/6/20 1:21 AM, Grant Feng wrote: generate a 5ms low pulse on sdb pin when startup, then the chip becomes more stable in the complex EM environment. Signed-off-by: Grant Feng --- drivers/leds/leds-is31fl319x.c | 12 1 file changed, 12 insertions(+) diff --git

Re: [PATCH v32 1/6] dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers

2020-08-04 Thread Dan Murphy
Pavel On 7/28/20 8:39 AM, Dan Murphy wrote: Pavel On 7/22/20 10:31 AM, Dan Murphy wrote: Introduce the bindings for the Texas Instruments LP5036, LP5030, LP5024, LP5018, LP5012 and LP5009 RGB LED device driver.  The LP5036/30/24/18/12/9 can control RGB LEDs individually or as part

Re: [PATCH 2/2] power: bq27xxx: Fix spacing style and white space issues

2020-07-30 Thread Dan Murphy
Andrew On 7/30/20 10:25 AM, Andrew F. Davis wrote: On 7/30/20 10:31 AM, Dan Murphy wrote: Fix spacing style issues with the chip data array. As well as fix missing new line after variable declaration. Signed-off-by: Dan Murphy --- drivers/power/supply/bq27xxx_battery.c | 63

[PATCH 1/2] dt-bindings: power: Add the bq25790 dt bindings

2020-07-30 Thread Dan Murphy
Add the bindings for the bq25790. Signed-off-by: Ricardo Rivera-Matos Signed-off-by: Dan Murphy --- .../bindings/power/supply/bq25790.yaml| 87 +++ 1 file changed, 87 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/supply/bq25790.yaml diff

[PATCH 2/2] power: supply: bq25790: Introduce the BQ25790 charger driver

2020-07-30 Thread Dan Murphy
BQ25790 is a highly integrated switch-mode buck-boost charger for 1-4 cell Li-ion battery and Li-polymer battery. Signed-off-by: Dan Murphy --- drivers/power/supply/Kconfig |8 + drivers/power/supply/Makefile |1 + drivers/power/supply/bq25790_charger.c | 1117

[PATCH 2/2] power: bq27xxx: Fix spacing style and white space issues

2020-07-30 Thread Dan Murphy
Fix spacing style issues with the chip data array. As well as fix missing new line after variable declaration. Signed-off-by: Dan Murphy --- drivers/power/supply/bq27xxx_battery.c | 63 ++ 1 file changed, 33 insertions(+), 30 deletions(-) diff --git a/drivers/power

[PATCH 1/2] power: bq27xxx: Update to SPDX licensing

2020-07-30 Thread Dan Murphy
Update the license to the SPDX licensing format. Signed-off-by: Dan Murphy --- drivers/power/supply/bq27xxx_battery.c | 9 + drivers/power/supply/bq27xxx_battery_hdq.c | 9 + drivers/power/supply/bq27xxx_battery_i2c.c | 10 +- 3 files changed, 3 insertions(+), 25

[PATCH 2/2] ASoC: tlv320adcx140: Move device reset to before programming

2020-07-30 Thread Dan Murphy
Reset the device before programming the registers or all programming will be lost as the device resets registers to default settings. Signed-off-by: Dan Murphy --- sound/soc/codecs/tlv320adcx140.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/soc/codecs

[PATCH 1/2] ASoC: tlv320adcx140: Fix GPO register start address

2020-07-30 Thread Dan Murphy
The header was updated to align with the data sheet to start the GPO_CFG at GPO_CFG0. The code was not updated to the change and therefore the GPO_CFG0 register was not written to. Fixes: 6617cff6a05e ("ASoC: tlv320adcx140: Add GPO configuration and drive output config") Signed-o

[PATCH v6 3/4] dt-bindings: power: Add BQ28z610 compatible

2020-07-29 Thread Dan Murphy
Add the Texas Instruments bq28z610 battery monitor to the bq27xxx binding. Acked-by: Rob Herring Signed-off-by: Dan Murphy --- Documentation/devicetree/bindings/power/supply/bq27xxx.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/power/supply

[PATCH v6 2/4] power: supply: bq27xxx_battery: Add the BQ27Z561 Battery monitor

2020-07-29 Thread Dan Murphy
Add the Texas Instruments BQ27Z561 battery monitor. The register address map is laid out the same as compared to other devices within the file. The battery status register has differing bits to determine if the battery is full, discharging or dead. Signed-off-by: Dan Murphy --- drivers/power

[PATCH v6 4/4] power: supply: bq27xxx_battery: Add the BQ28z610 Battery monitor

2020-07-29 Thread Dan Murphy
-by: Dan Murphy --- drivers/power/supply/bq27xxx_battery.c | 42 ++ drivers/power/supply/bq27xxx_battery_i2c.c | 2 ++ include/linux/power/bq27xxx_battery.h | 1 + 3 files changed, 45 insertions(+) diff --git a/drivers/power/supply/bq27xxx_battery.c b/drivers/power

[PATCH v6 1/4] dt-bindings: power: Add BQ27Z561 compatible

2020-07-29 Thread Dan Murphy
Add the Texas Instruments bq27z561 battery monitor to the bq27xxx binding. Acked-by: Rob Herring Signed-off-by: Dan Murphy --- Documentation/devicetree/bindings/power/supply/bq27xxx.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/power/supply

Re: [PATCH v5 2/4] power: supply: bq27xxx_battery: Add the BQ27z561 Battery monitor

2020-07-29 Thread Dan Murphy
Sebastian On 7/29/20 11:56 AM, Sebastian Reichel wrote: Hi, On Wed, Jul 29, 2020 at 10:55:54AM -0500, Dan Murphy wrote: +<<<<<<< HEAD Need to remove this artifact from a rebase. Not sure how this got here as it does not appear in my source. You don't see it in y

Re: [PATCH v5 2/4] power: supply: bq27xxx_battery: Add the BQ27z561 Battery monitor

2020-07-29 Thread Dan Murphy
Hello On 7/29/20 7:06 AM, Dan Murphy wrote: Add the Texas Instruments BQ27z561 battery monitor. The register address map is laid out the same as compared to other devices within the file. The battery status register has differing bits to determine if the battery is full, discharging or dead

[PATCH v5 4/4] power: supply: bq27xxx_battery: Add the BQ28z610 Battery monitor

2020-07-29 Thread Dan Murphy
-by: Dan Murphy --- drivers/power/supply/bq27xxx_battery.c | 43 +- drivers/power/supply/bq27xxx_battery_i2c.c | 2 + include/linux/power/bq27xxx_battery.h | 1 + 3 files changed, 45 insertions(+), 1 deletion(-) diff --git a/drivers/power/supply/bq27xxx_battery.c b

[PATCH v5 3/4] dt-bindings: power: Add BQ28z610 compatible

2020-07-29 Thread Dan Murphy
Add the Texas Instruments bq28z610 battery monitor to the bq27xxx binding. Acked-by: Rob Herring Signed-off-by: Dan Murphy --- Documentation/devicetree/bindings/power/supply/bq27xxx.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/power/supply

[PATCH v5 2/4] power: supply: bq27xxx_battery: Add the BQ27z561 Battery monitor

2020-07-29 Thread Dan Murphy
Add the Texas Instruments BQ27z561 battery monitor. The register address map is laid out the same as compared to other devices within the file. The battery status register has differing bits to determine if the battery is full, discharging or dead. Signed-off-by: Dan Murphy --- drivers/power

[PATCH v5 1/4] dt-bindings: power: Add BQ27z561 compatible

2020-07-29 Thread Dan Murphy
Add the Texas Instruments bq27z561 battery monitor to the bq27xxx binding. Acked-by: Rob Herring Signed-off-by: Dan Murphy --- v5 - Rebased on power-next and changed bq27561->bq27z561 Documentation/devicetree/bindings/power/supply/bq27xxx.yaml | 1 + 1 file changed, 1 insertion(+) d

Re: [PATCH v4 2/4] power: supply: bq27xxx_battery: Add the BQ27561 Battery monitor

2020-07-28 Thread Dan Murphy
Sebastian On 7/28/20 1:17 PM, Sebastian Reichel wrote: Hi, On Tue, Jul 28, 2020 at 09:11:11AM -0500, Dan Murphy wrote: Add the Texas Instruments BQ27561 battery monitor. The register address map is laid out the same as compared to other devices within the file. The battery status register

[PATCH] ASoC: tlv320adcx140: Fix various style errors and warnings

2020-07-28 Thread Dan Murphy
Fix white space issues and remove else case where it was not needed. Convert "static const char *" to "static const char * const" Fixes: 689c7655b50 ("ASoC: tlv320adcx140: Add the tlv320adcx140 codec driver family") Signed-off-by: Dan Murphy --- sound/s

[PATCH 1/2] dt-bindings: tlv320adcx140: Add GPO config and drive config

2020-07-28 Thread Dan Murphy
Add properties for configuring the General Purpose Outputs (GPO). The GPOs. There are 2 settings for each GPO, configuration and the output drive type. Signed-off-by: Dan Murphy --- .../bindings/sound/tlv320adcx140.yaml | 28 +++ 1 file changed, 28 insertions(+) diff

[PATCH 2/2] ASoC: tlv320adcx140: Add GPO configuration and drive output config

2020-07-28 Thread Dan Murphy
Add General Purpose Output (GPO) configuration and driver output configuration. The GPOs can be configured as a GPO, IRQ, SDOUT or a PDMCLK output. In addition the output drive can be configured with various configurations. Signed-off-by: Dan Murphy --- sound/soc/codecs/tlv320adcx140.c | 50

[PATCH v4 3/4] dt-bindings: power: Add BQ28z610 compatible

2020-07-28 Thread Dan Murphy
Add the Texas Instruments bq28z610 battery monitor to the bq27xxx binding. Acked-by: Rob Herring Signed-off-by: Dan Murphy --- Documentation/devicetree/bindings/power/supply/bq27xxx.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/power/supply

[PATCH v4 4/4] power: supply: bq27xxx_battery: Add the BQ28z610 Battery monitor

2020-07-28 Thread Dan Murphy
-by: Dan Murphy --- drivers/power/supply/bq27xxx_battery.c | 42 ++ drivers/power/supply/bq27xxx_battery_i2c.c | 2 ++ include/linux/power/bq27xxx_battery.h | 1 + 3 files changed, 45 insertions(+) diff --git a/drivers/power/supply/bq27xxx_battery.c b/drivers/power

[PATCH v4 2/4] power: supply: bq27xxx_battery: Add the BQ27561 Battery monitor

2020-07-28 Thread Dan Murphy
Add the Texas Instruments BQ27561 battery monitor. The register address map is laid out the same as compared to other devices within the file. The battery status register has differing bits to determine if the battery is full, discharging or dead. Signed-off-by: Dan Murphy --- drivers/power

[PATCH v4 1/4] dt-bindings: power: Add BQ27561 compatible

2020-07-28 Thread Dan Murphy
Add the Texas Instruments bq27561 battery monitor to the bq27xxx binding. Acked-by: Rob Herring Signed-off-by: Dan Murphy --- Documentation/devicetree/bindings/power/supply/bq27xxx.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/power/supply

Re: [PATCH v3 2/4] power: supply: bq27xxx_battery: Add the BQ27561 Battery monitor

2020-07-28 Thread Dan Murphy
Sebastian On 7/27/20 5:36 PM, Sebastian Reichel wrote: Hi, On Tue, Jul 21, 2020 at 11:32:04AM -0500, Dan Murphy wrote: Add the Texas Instruments BQ27561 battery monitor. The register address map is laid out the same as compared to other devices within the file. The battery status register

Re: [PATCH v32 1/6] dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers

2020-07-28 Thread Dan Murphy
Pavel On 7/22/20 10:31 AM, Dan Murphy wrote: Introduce the bindings for the Texas Instruments LP5036, LP5030, LP5024, LP5018, LP5012 and LP5009 RGB LED device driver. The LP5036/30/24/18/12/9 can control RGB LEDs individually or as part of a control bank group. These devices have the ability

Re: [PATCH v32 3/6] ARM: defconfig: u8500: Add LP55XX_COMMON config flag

2020-07-28 Thread Dan Murphy
Russel and Linus On 7/22/20 10:31 AM, Dan Murphy wrote: The dependencies for the LP55XX LED drivers have been updated so that the child devices (i.e. LP5521) now depends on the LP55XX_COMMON config flag as opposed to the device selecting the LP55XX_COMMON flag. The LP55XX_COMMON needs

Re: [PATCH v2 1/2] dt-bindings: tas2562: Convert the tas2562 binding to yaml

2020-07-23 Thread Dan Murphy
Rob On 7/23/20 3:18 PM, Rob Herring wrote: On Wed, Jul 22, 2020 at 10:47:05AM -0500, Dan Murphy wrote: Convert the TAS2562 text file to yaml format. Signed-off-by: Dan Murphy --- v2 - Updated the shutdown-gpio to shutdown-gpios and fixed licensing to be GPL-2.0-only. .../devicetree

[PATCH v3 2/2] ASoC: tas2562: Update shutdown GPIO property

2020-07-23 Thread Dan Murphy
Update the shutdown GPIO property to be shutdown from shut-down. Fixes: c173dba44c2d2 ("ASoC: tas2562: Introduce the TAS2562 amplifier") Signed-off-by: Dan Murphy --- sound/soc/codecs/tas2562.c | 23 ++- 1 file changed, 18 insertions(+), 5 deletions(-) diff --g

[PATCH v3 1/2] dt-bindings: tas2562: Convert the tas2562 binding to yaml

2020-07-23 Thread Dan Murphy
Convert the TAS2562 text file to yaml format. Signed-off-by: Dan Murphy --- .../devicetree/bindings/sound/tas2562.yaml| 69 +++ 1 file changed, 69 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/tas2562.yaml diff --git a/Documentation/devicetree

Re: [PATCH v2 2/2] ASoC: tas2562: Update shutdown GPIO property

2020-07-22 Thread Dan Murphy
Hello On 7/22/20 10:47 AM, Dan Murphy wrote: Update the shutdown GPIO property to be shutdown from shut-down. Fixes: c173dba44c2d2 ("ASoC: tas2562: Introduce the TAS2562 amplifier") Signed-off-by: Dan Murphy --- v2 - Set sdz_gpio to NULL if gpio property not present. sound/

Re: [PATCH v31 06/12] leds: lp55xx: Add multicolor framework support to lp55xx

2020-07-22 Thread Dan Murphy
Pavel On 7/21/20 4:11 PM, Pavel Machek wrote: Hi! Add multicolor framework support for the lp55xx family. Acked-by: Pavel Machek Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy Applied 4,5,6 and 8,9. config LEDS_LP55XX_COMMON tristate "Common Driver for TI/Nat

[PATCH v2 1/2] dt-bindings: tas2562: Convert the tas2562 binding to yaml

2020-07-22 Thread Dan Murphy
Convert the TAS2562 text file to yaml format. Signed-off-by: Dan Murphy --- v2 - Updated the shutdown-gpio to shutdown-gpios and fixed licensing to be GPL-2.0-only. .../devicetree/bindings/sound/tas2562.yaml| 69 +++ 1 file changed, 69 insertions(+) create mode 100644

[PATCH v2 2/2] ASoC: tas2562: Update shutdown GPIO property

2020-07-22 Thread Dan Murphy
Update the shutdown GPIO property to be shutdown from shut-down. Fixes: c173dba44c2d2 ("ASoC: tas2562: Introduce the TAS2562 amplifier") Signed-off-by: Dan Murphy --- v2 - Set sdz_gpio to NULL if gpio property not present. sound/soc/codecs/tas2562.c | 21 + 1 fi

[PATCH v32 3/6] ARM: defconfig: u8500: Add LP55XX_COMMON config flag

2020-07-22 Thread Dan Murphy
The dependencies for the LP55XX LED drivers have been updated so that the child devices (i.e. LP5521) now depends on the LP55XX_COMMON config flag as opposed to the device selecting the LP55XX_COMMON flag. The LP55XX_COMMON needs to be set in the defconfig. Signed-off-by: Dan Murphy --- arch

[PATCH v32 4/6] ARM: dts: n900: Add reg property to the LP5523 channel node

2020-07-22 Thread Dan Murphy
Add the reg property to each channel node. This update is to accommodate the multicolor framework. In addition to the accommodation this allows the LEDs to be placed on any channel and allow designs to skip channels as opposed to requiring sequential order. Signed-off-by: Dan Murphy Acked

[PATCH v32 6/6] ARM: dts: ste-href: Add reg property to the LP5521 channel nodes

2020-07-22 Thread Dan Murphy
Add the reg property to each channel node. This update is to accommodate the multicolor framework. In addition to the accommodation this allows the LEDs to be placed on any channel and allow designs to skip channels as opposed to requiring sequential order. Signed-off-by: Dan Murphy CC: Linus

[PATCH v32 5/6] ARM: dts: imx6dl-yapp4: Add reg property to the lp5562 channel node

2020-07-22 Thread Dan Murphy
-by: Dan Murphy CC: Shawn Guo CC: Sascha Hauer CC: Pengutronix Kernel Team CC: Fabio Estevam CC: NXP Linux Team --- arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch

[PATCH v32 1/6] dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers

2020-07-22 Thread Dan Murphy
-lp50xx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: LED driver for LP50XX RGB LED from Texas Instruments. + +maintainers: + - Dan Murphy + +description: | + The LP50XX is multi-channel, I2C RGB LED Drivers that can group RGB LEDs into + a LED group or control them

[PATCH v32 2/6] leds: lp50xx: Add the LP50XX family of the RGB LED driver

2020-07-22 Thread Dan Murphy
has the ability to group LED outputs into control banks so that multiple LED banks can be controlled with the same mixing and brightness. Or the LED outputs can also be controlled independently. Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy --- drivers/leds/Kconfig | 11 + drivers

[PATCH v32 0/6] Multicolor Framework v32

2020-07-22 Thread Dan Murphy
. Summary: Converted links from http->https Fixed comment style Fixed enable/disable function Refactored probe_dt code Fixed checkpatch style issues Fixed issues when building with W=1 C=1 Dan Murphy (6): dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers leds: lp50xx: Add the LP5

Re: [PATCH v31 03/12] leds: lp50xx: Add the LP50XX family of the RGB LED driver

2020-07-22 Thread Dan Murphy
Pavel On 7/22/20 2:10 AM, Pavel Machek wrote: Hi! + ret = fwnode_property_read_u32_array(child, +"reg", +led_banks, +

Re: [PATCH v31 03/12] leds: lp50xx: Add the LP50XX family of the RGB LED driver

2020-07-21 Thread Dan Murphy
Pavel On 7/21/20 4:05 PM, Pavel Machek wrote: Hi! The device has the ability to group LED output into control banks so that multiple LED banks can be controlled with the same mixing and brightness. Inversely the LEDs can also be controlled independently. Inversely? I will revise it. ---

Re: [PATCH v31 03/12] leds: lp50xx: Add the LP50XX family of the RGB LED driver

2020-07-21 Thread Dan Murphy
Pavel On 7/21/20 4:07 PM, Pavel Machek wrote: On Thu 2020-07-16 13:19:58, Dan Murphy wrote: Introduce the LP5036/30/24/18/12/9 RGB LED driver. The difference in these parts are the number of LED outputs where the: LP5036 can control 36 LEDs LP5030 can control 30 LEDs LP5024 can control 24

[PATCH v3 4/4] power: supply: bq27xxx_battery: Add the BQ28z610 Battery monitor

2020-07-21 Thread Dan Murphy
-by: Dan Murphy --- drivers/power/supply/bq27xxx_battery.c | 42 ++ drivers/power/supply/bq27xxx_battery_i2c.c | 2 ++ include/linux/power/bq27xxx_battery.h | 1 + 3 files changed, 45 insertions(+) diff --git a/drivers/power/supply/bq27xxx_battery.c b/drivers/power

[PATCH v3 1/4] dt-bindings: power: Add BQ27561 compatible

2020-07-21 Thread Dan Murphy
Add the Texas Instruments bq27561 battery monitor to the bq27xxx binding. Acked-by: Rob Herring Signed-off-by: Dan Murphy --- Documentation/devicetree/bindings/power/supply/bq27xxx.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/power/supply

[PATCH v3 3/4] dt-bindings: power: Add BQ28z610 compatible

2020-07-21 Thread Dan Murphy
Add the Texas Instruments bq28z610 battery monitor to the bq27xxx binding. Acked-by: Rob Herring Signed-off-by: Dan Murphy --- Documentation/devicetree/bindings/power/supply/bq27xxx.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/power/supply

[PATCH v3 2/4] power: supply: bq27xxx_battery: Add the BQ27561 Battery monitor

2020-07-21 Thread Dan Murphy
Add the Texas Instruments BQ27561 battery monitor. The register address map is laid out the same as compared to other devices within the file. The battery status register has differing bits to determine if the battery is full, discharging or dead. Signed-off-by: Dan Murphy --- drivers/power

Re: [PATCH] leds: Replace HTTP links with HTTPS ones

2020-07-21 Thread Dan Murphy
A. Klimov Acked-by: Dan Murphy Thanks for the update

Re: [PATCH v3 1/2] dt-bindings: tas2770: Convert tas2770 binding to yaml

2020-07-21 Thread Dan Murphy
Mark On 7/21/20 4:33 AM, Mark Brown wrote: On Mon, Jul 20, 2020 at 01:12:01PM -0500, Dan Murphy wrote: Convert the tas2770 binding to yaml format. Add in the reset-gpio to the binding as it is in the code but not documented in the binding. What's new about this version? The licensing

[PATCH] leds: multicolor: Fix camel case in documentation

2020-07-20 Thread Dan Murphy
Fix the camel case of MultiColor to Multicolor. Fixes: f5a6eb5c5e38 ("leds: multicolor: Introduce a multicolor class definition") Signed-off-by: Dan Murphy --- Documentation/leds/leds-class-multicolor.rst | 2 +- drivers/leds/Kconfig | 2 +- 2 files

Re: [PATCH 4/4] dt-bindings: tas2562: Convert the tas2562 binding to yaml

2020-07-20 Thread Dan Murphy
Rob On 7/15/20 3:15 PM, Rob Herring wrote: On Fri, Jun 26, 2020 at 10:41:43AM -0500, Dan Murphy wrote: Convert the TAS2562 text file to yaml format. Signed-off-by: Dan Murphy --- .../devicetree/bindings/sound/tas2562.txt | 37 - .../devicetree/bindings/sound/tas2562.yaml

[PATCH v3 2/2] ASoC: tas2770: Fix reset gpio property name

2020-07-20 Thread Dan Murphy
Fix the reset property name when allocating the GPIO descriptor. The gpiod_get_optional appends either the -gpio or -gpios suffix to the name. Fixes: 1a476abc723e6 ("tas2770: add tas2770 smart PA kernel driver") Signed-off-by: Dan Murphy --- sound/soc/codecs/tas2770.c | 3 +-- 1 file

[PATCH v3 1/2] dt-bindings: tas2770: Convert tas2770 binding to yaml

2020-07-20 Thread Dan Murphy
Convert the tas2770 binding to yaml format. Add in the reset-gpio to the binding as it is in the code but not documented in the binding. Reviewed-by: Rob Herring Signed-off-by: Dan Murphy --- .../devicetree/bindings/sound/tas2770.txt | 37 - .../devicetree/bindings/sound/tas2770

Re: [PATCH v31 01/12] leds: multicolor: Introduce a multicolor class definition

2020-07-20 Thread Dan Murphy
file and the latter is controlled via brightness file. Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy Thanks, applied and pushed out. Thank you. What about the patches for the users? + +MultiColor LED handling under Linux

[PATCH v31 12/12] ARM: dts: ste-href: Add reg property to the LP5521 channel nodes

2020-07-16 Thread Dan Murphy
Add the reg property to each channel node. This update is to accommodate the multicolor framework. In addition to the accommodation this allows the LEDs to be placed on any channel and allow designs to skip channels as opposed to requiring sequential order. Signed-off-by: Dan Murphy CC: Linus

[PATCH v31 10/12] ARM: dts: n900: Add reg property to the LP5523 channel node

2020-07-16 Thread Dan Murphy
Add the reg property to each channel node. This update is to accommodate the multicolor framework. In addition to the accommodation this allows the LEDs to be placed on any channel and allow designs to skip channels as opposed to requiring sequential order. Signed-off-by: Dan Murphy Acked

[PATCH v31 11/12] ARM: dts: imx6dl-yapp4: Add reg property to the lp5562 channel node

2020-07-16 Thread Dan Murphy
-by: Dan Murphy CC: Shawn Guo CC: Sascha Hauer CC: Pengutronix Kernel Team CC: Fabio Estevam CC: NXP Linux Team --- arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch

[PATCH v31 04/12] dt-bindings: leds: Convert leds-lp55xx to yaml

2020-07-16 Thread Dan Murphy
Convert the leds-lp55xx.txt to yaml binding. Reviewed-by: Rob Herring Signed-off-by: Dan Murphy --- .../devicetree/bindings/leds/leds-lp55xx.txt | 228 -- .../devicetree/bindings/leds/leds-lp55xx.yaml | 220 + 2 files changed, 220 insertions(+), 228 deletions

[PATCH v31 05/12] leds: lp55xx: Convert LED class registration to devm_*

2020-07-16 Thread Dan Murphy
Convert the LED class registration calls to the LED devm_* registration calls. Acked-by: Jacek Anaszewski Acked-by: Pavel Machek Signed-off-by: Dan Murphy --- drivers/leds/leds-lp5521.c| 9 +++-- drivers/leds/leds-lp5523.c| 9 +++-- drivers/leds/leds-lp5562.c

[PATCH v31 02/12] dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers

2020-07-16 Thread Dan Murphy
-lp50xx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: LED driver for LP50XX RGB LED from Texas Instruments. + +maintainers: + - Dan Murphy + +description: | + The LP50XX is multi-channel, I2C RGB LED Drivers that can group RGB LEDs into + a LED group or control them

[PATCH v31 07/12] ARM: defconfig: u8500: Add LP55XX_COMMON config flag

2020-07-16 Thread Dan Murphy
The dependencies for the LP55XX LED drivers have been updated so that the child devices (i.e. LP5521) now depends on the LP55XX_COMMON config flag as opposed to the device selecting the LP55XX_COMMON flag. The LP55XX_COMMON needs to be set in the defconfig. Signed-off-by: Dan Murphy --- arch

[PATCH v31 01/12] leds: multicolor: Introduce a multicolor class definition

2020-07-16 Thread Dan Murphy
. Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy --- .../ABI/testing/sysfs-class-led-multicolor| 35 +++ Documentation/leds/index.rst | 1 + Documentation/leds/leds-class-multicolor.rst | 86 drivers/leds/Kconfig | 10 + drivers

[PATCH v31 08/12] leds: lp5523: Update the lp5523 code to add multicolor brightness function

2020-07-16 Thread Dan Murphy
Add the multicolor brightness call back to support the multicolor framework. This call back allows setting brightness on grouped channels in a single function. Acked-by: Pavel Machek Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy --- drivers/leds/leds-lp5523.c | 20

[PATCH v31 09/12] leds: lp5521: Add multicolor framework multicolor brightness support

2020-07-16 Thread Dan Murphy
Add the multicolor brightness call back to support the multicolor framework. This function allows setting the brightness across grouped LED channels in a single call. Acked-by: Pavel Machek Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy --- drivers/leds/leds-lp5521.c | 20

[PATCH v31 06/12] leds: lp55xx: Add multicolor framework support to lp55xx

2020-07-16 Thread Dan Murphy
Add multicolor framework support for the lp55xx family. Acked-by: Pavel Machek Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy --- drivers/leds/Kconfig | 11 +- drivers/leds/leds-lp5521.c| 14 +- drivers/leds/leds-lp5523.c| 14

[PATCH v31 03/12] leds: lp50xx: Add the LP50XX family of the RGB LED driver

2020-07-16 Thread Dan Murphy
has the ability to group LED output into control banks so that multiple LED banks can be controlled with the same mixing and brightness. Inversely the LEDs can also be controlled independently. Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy --- drivers/leds/Kconfig | 11 + drivers

[PATCH v31 00/12] Multicolor Framework v31

2020-07-16 Thread Dan Murphy
of LEDs Globally changed multi color->multicolor. Simplified adding a new line. Updated testing doc to reflect 5.9 kernel. Rebased on LEDs for-next branch. Dan Dan Murphy (12): leds: multicolor: Introduce a multicolor class definition dt: bindings: lp50xx: Introduce the lp50xx family of

Re: [PATCH v30 05/16] leds: multicolor: Introduce a multicolor class definition

2020-07-16 Thread Dan Murphy
Pavel On 7/16/20 10:03 AM, Dan Murphy wrote: Pavel On 7/16/20 3:31 AM, Pavel Machek wrote: Hi! First, let's substitute multi.color -> multicolor globally, LEDS_CLASS_MULTI_COLOR is most visible example of this. Please also decide whether it is MultiColor or multicolor, and make it consist

Re: [PATCH v30 05/16] leds: multicolor: Introduce a multicolor class definition

2020-07-16 Thread Dan Murphy
Pavel On 7/16/20 3:31 AM, Pavel Machek wrote: Hi! First, let's substitute multi.color -> multicolor globally, LEDS_CLASS_MULTI_COLOR is most visible example of this. Please also decide whether it is MultiColor or multicolor, and make it consistent. Dictionary definition is multicolor no

Re: [PATCH net-next v2 2/2] net: phy: DP83822: Add ability to advertise Fiber connection

2020-07-13 Thread Dan Murphy
Andrew On 7/11/20 1:45 PM, Andrew Lunn wrote: +#define MII_DP83822_FIBER_ADVERTISE(SUPPORTED_AUI | SUPPORTED_FIBRE | \ +SUPPORTED_BNC | SUPPORTED_Pause | \ +SUPPORTED_Asym_Pause | \ +

Re: [PATCH net-next v2 2/2] net: phy: DP83822: Add ability to advertise Fiber connection

2020-07-13 Thread Dan Murphy
Andrew On 7/11/20 1:54 PM, Andrew Lunn wrote: @@ -302,6 +357,48 @@ static int dp83822_config_init(struct phy_device *phydev) } } + if (dp83822->fx_enabled) { + err = phy_modify(phydev, MII_DP83822_CTRL_2, +

[PATCH v30 15/16] ARM: dts: imx6dl-yapp4: Add reg property to the lp5562 channel node

2020-07-13 Thread Dan Murphy
-by: Dan Murphy CC: Shawn Guo CC: Sascha Hauer CC: Pengutronix Kernel Team CC: Fabio Estevam CC: NXP Linux Team --- arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch

[PATCH v30 13/16] leds: lp5521: Add multicolor framework multicolor brightness support

2020-07-13 Thread Dan Murphy
Add the multicolor brightness call back to support the multicolor framework. This function allows setting the brightness across grouped LED channels in a single call. Acked-by: Pavel Machek Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy --- drivers/leds/leds-lp5521.c | 20

[PATCH v30 16/16] ARM: dts: ste-href: Add reg property to the LP5521 channel nodes

2020-07-13 Thread Dan Murphy
Add the reg property to each channel node. This update is to accommodate the multicolor framework. In addition to the accommodation this allows the LEDs to be placed on any channel and allow designs to skip channels as opposed to requiring sequential order. Signed-off-by: Dan Murphy CC: Linus

[PATCH v30 14/16] ARM: dts: n900: Add reg property to the LP5523 channel node

2020-07-13 Thread Dan Murphy
Add the reg property to each channel node. This update is to accommodate the multicolor framework. In addition to the accommodation this allows the LEDs to be placed on any channel and allow designs to skip channels as opposed to requiring sequential order. Signed-off-by: Dan Murphy Acked

[PATCH v30 11/16] ARM: defconfig: u8500: Add LP55XX_COMMON config flag

2020-07-13 Thread Dan Murphy
The dependencies for the LP55XX LED drivers have been updated so that the child devices (i.e. LP5521) now depends on the LP55XX_COMMON config flag as opposed to the device selecting the LP55XX_COMMON flag. The LP55XX_COMMON needs to be set in the defconfig. Signed-off-by: Dan Murphy --- arch

[PATCH v30 09/16] leds: lp55xx: Convert LED class registration to devm_*

2020-07-13 Thread Dan Murphy
Convert the LED class registration calls to the LED devm_* registration calls. Acked-by: Jacek Anaszewski Acked-by: Pavel Machek Signed-off-by: Dan Murphy --- drivers/leds/leds-lp5521.c| 9 +++-- drivers/leds/leds-lp5523.c| 9 +++-- drivers/leds/leds-lp5562.c

[PATCH v30 08/16] dt-bindings: leds: Convert leds-lp55xx to yaml

2020-07-13 Thread Dan Murphy
Convert the leds-lp55xx.txt to yaml binding. Reviewed-by: Rob Herring Signed-off-by: Dan Murphy --- .../devicetree/bindings/leds/leds-lp55xx.txt | 228 -- .../devicetree/bindings/leds/leds-lp55xx.yaml | 220 + 2 files changed, 220 insertions(+), 228 deletions

[PATCH v30 03/16] dt: bindings: Add multicolor class dt bindings documention

2020-07-13 Thread Dan Murphy
Add DT bindings for the LEDs multicolor class framework. Add multicolor ID to the color ID list for device tree bindings. CC: Rob Herring Reviewed-by: Rob Herring Acked-by: Pavel Machek Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy --- .../bindings/leds/leds-class-multicolor.yaml

[PATCH v30 07/16] leds: lp50xx: Add the LP50XX family of the RGB LED driver

2020-07-13 Thread Dan Murphy
has the ability to group LED output into control banks so that multiple LED banks can be controlled with the same mixing and brightness. Inversely the LEDs can also be controlled independently. Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy --- drivers/leds/Kconfig | 11 + drivers

[PATCH v30 05/16] leds: multicolor: Introduce a multicolor class definition

2020-07-13 Thread Dan Murphy
. Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy --- .../ABI/testing/sysfs-class-led-multicolor| 35 +++ Documentation/leds/index.rst | 1 + Documentation/leds/leds-class-multicolor.rst | 86 drivers/leds/Kconfig | 10 + drivers

<    1   2   3   4   5   6   7   8   9   10   >