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

2020-05-03 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 v24 10/16] leds: lp55xx: Convert LED class registration to devm_*

2020-05-03 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 v24 05/16] dt: bindings: lp55xx: Be consistent in the document with LED acronym

2020-05-03 Thread Dan Murphy
Update the document to be consistent in case when using "LED". This acronym should be capital throughout the document. Acked-by: Pavel Machek Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy --- Documentation/devicetree/bindings/leds/leds-lp55xx.txt | 6 +++--- 1 file

[PATCH v24 02/16] leds: multicolor: Introduce a multicolor class definition

2020-05-03 Thread Dan Murphy
. Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy --- .../ABI/testing/sysfs-class-led-multicolor| 34 +++ Documentation/leds/index.rst | 1 + Documentation/leds/leds-class-multicolor.rst | 86 +++ MAINTAINERS | 8 + drivers

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

2020-05-03 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 v24 15/16] leds: lp5523: Fix checkpatch issues in the code

2020-05-03 Thread Dan Murphy
Fix checkpatch errors and warnings for the LP5523.c device driver. Acked-by: Pavel Machek Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy --- drivers/leds/leds-lp5523.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/leds/leds-lp5523.c b

[PATCH v24 00/16] Multicolor Framework v24

2020-05-03 Thread Dan Murphy
of LEDs Dan Dan Murphy (16): dt: bindings: Add multicolor class dt bindings documention leds: multicolor: Introduce a multicolor class definition dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers leds: lp50xx: Add the LP50XX family of the RGB LED driver dt: bindings: lp55xx

[PATCH v24 01/16] dt: bindings: Add multicolor class dt bindings documention

2020-05-03 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 Acked-by: Pavel Machek Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy --- .../bindings/leds/leds-class-multicolor.yaml | 71

[PATCH v24 03/16] dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers

2020-05-03 Thread Dan Murphy
to obtain different colors independent of the overall brightness of the LED grouping. Datasheet: http://www.ti.com/lit/ds/symlink/lp5012.pdf http://www.ti.com/lit/ds/symlink/lp5024.pdf http://www.ti.com/lit/ds/symlink/lp5036.pdf Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy

Re: [PATCH v23 02/16] leds: multicolor: Introduce a multicolor class definition

2020-05-03 Thread Dan Murphy
Jacek On 5/2/20 4:51 PM, Jacek Anaszewski wrote: Dan, I've converted drivers/leds/leds-an30259a.c to LED mc framework and tested it on Samsung Galaxy S3 (exysnos4412-trats2 board). Works as expected. And now the framework usability is indeed neater. One thing to improve: LED mc based drivers'

Re: [RESEND PATCH v5 0/3] BQ25150/155 Charger

2020-05-01 Thread Dan Murphy
Sebastian On 5/1/20 12:24 PM, Sebastian Reichel wrote: Hi, I don't see any PATCHv5 (with or without RESEND) for bq25150 and lore does not see anything either: https://lore.kernel.org/linux-pm/?q=PATCH+v5+0%2F3%5D+BQ25150%2F155+Charger I posted them for Ricardo.  Maybe he need a lore

[PATCH v5 2/3] Add the bindings for the bq25150 and bq25155 500mA charging ICs from Texas Instruments.

2020-05-01 Thread Dan Murphy
q2515x 500-mA Linear charger family + +maintainers: + - Dan Murphy + +description: | + The BQ2515x family is a highly integrated battery charge management IC that + integrates the most common functions for wearable devices, namely a charger, + an output voltage rail, ADC for battery and system

[PATCH v5 3/3] power: supply: bq25150 introduce the bq25150

2020-05-01 Thread Dan Murphy
) { + dev_err(dev, "Cannot initialize the chip.\n"); + goto err_out; + } + + return bq2515x_power_supply_register(bq); + +err_out: + mutex_destroy(>lock); + return ret; +} + +static const struct i2c_device_id bq2515x_i2c_ids[] = { + { "bq25150", BQ25150, }, + { "bq25155", BQ25155, }, + {}, +}; +MODULE_DEVICE_TABLE(i2c, bq2515x_i2c_ids); + +static const struct of_device_id bq2515x_of_match[] = { + { .compatible = "ti,bq25150", }, + { .compatible = "ti,bq25155", }, + { }, +}; +MODULE_DEVICE_TABLE(of, bq2515x_of_match); + +static struct i2c_driver bq2515x_driver = { + .driver = { + .name = "bq2515x-charger", + .of_match_table = bq2515x_of_match, + }, + .probe = bq2515x_probe, + .id_table = bq2515x_i2c_ids, +}; +module_i2c_driver(bq2515x_driver); + +MODULE_AUTHOR("Dan Murphy "); +MODULE_AUTHOR("Ricardo Rivera-Matos "); +MODULE_DESCRIPTION("BQ2515X charger driver"); +MODULE_LICENSE("GPL v2"); -- 2.25.1

[PATCH v5 0/3] BQ25150/155 Batter charger

2020-05-01 Thread Dan Murphy
Hello, Resending for Ricardo This v5 series picks up on the development that Dan Murphy began with the power_supply framework and bq2515x_charger driver. This series incorporates the changes suggested by Sebastien Reichel in v4. Datasheets for these devices can be found at: http://www.ti.com

[PATCH v5 1/3] power_supply: Add additional health properties to the header

2020-05-01 Thread Dan Murphy
Add HEALTH_WARM, HEALTH_COOL and HEALTH_HOT to the health enum. Tested-by: Guru Das Srinagesh Signed-off-by: Dan Murphy --- Documentation/ABI/testing/sysfs-class-power | 2 +- drivers/power/supply/power_supply_sysfs.c | 2 +- include/linux/power_supply.h| 3 +++ 3 files

[PATCH v2] dt-bindings: power: Convert power_supply text to yaml

2020-05-01 Thread Dan Murphy
Convert the power_supply.txt to power-supply.yaml. This conversion entailed fixing up the binding to being yaml and dt checker compliant. Added a note in the power_supply.txt to reference the power-supply.yaml Signed-off-by: Dan Murphy --- .../bindings/power/supply/power-supply.yaml | 40

Re: [PATCH] dt-bindings: power: Convert power_supply text to yaml

2020-05-01 Thread Dan Murphy
Sebastian On 5/1/20 11:58 AM, Sebastian Reichel wrote: Hi, On Thu, Apr 30, 2020 at 10:18:41AM -0500, Dan Murphy wrote: Convert the power_supply.txt to power-supply.yaml. This conversion entailed fixing up the binding to being yaml and dt checker compliant. Looks mostly good to me, thanks

[PATCH] dt-bindings: power: Convert power_supply text to yaml

2020-04-30 Thread Dan Murphy
Convert the power_supply.txt to power-supply.yaml. This conversion entailed fixing up the binding to being yaml and dt checker compliant. Added a note in the power_supply.txt to reference the power-supply.yaml CC: Rob Herring Signed-off-by: Dan Murphy --- .../bindings/power/supply/power

Re: [PATCH 1/2] dt-bindings: power: Add the BQ27561 fuel gauge bindings

2020-04-30 Thread Dan Murphy
Sebastien On 4/29/20 5:31 PM, Sebastian Reichel wrote: Hi, On Fri, Apr 17, 2020 at 12:22:26PM -0500, Dan Murphy wrote: Introduce the Texas Instrument BQ27561 and BQ27750 fuel gauge device tree bindings. Cc: Rob Herring Signed-off-by: Dan Murphy --- I think its best to just add them

Re: [PATCH 2/2] power: supply: Introduce the BQ27561 Fuel gauge driver

2020-04-30 Thread Dan Murphy
Sebastian On 4/29/20 5:05 PM, Sebastian Reichel wrote: Hi, On Fri, Apr 17, 2020 at 12:22:27PM -0500, Dan Murphy wrote: Introduce the BQ27561 Fuel gauge driver from Texas Instruments. The driver also supports the BQ27750 as it has the same register map and bit mask. Why a separate driver

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

2020-04-29 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 v23 11/16] leds: lp55xx: Add multicolor framework support to lp55xx

2020-04-29 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 | 1 + drivers/leds/leds-lp5521.c| 14 +- drivers/leds/leds-lp5523.c| 14

[PATCH v23 14/16] leds: lp55xx: Fix checkpatch file permissions issues

2020-04-29 Thread Dan Murphy
documentation. Acked-by: Pavel Machek Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy --- drivers/leds/leds-lp55xx-common.c | 22 ++ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/drivers/leds/leds-lp55xx-common.c b/drivers/leds/leds-lp55xx-common.c

[PATCH v23 16/16] dt: bindings: Update lp55xx binding to recommended LED naming

2020-04-29 Thread Dan Murphy
Update the LP55xx DT binding examples to the recommended node naming convention. There are no changes to the DT properties. Acked-by: Pavel Machek Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy CC: Rob Herring CC: Tony Lindgren CC: "Benoît Cousson" CC: Linus Walleij CC:

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

2020-04-29 Thread Dan Murphy
Add the reg property to each channel node. This update is to accomodate the multicolor framework. In addition to the accomodation 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 v23 10/16] leds: lp55xx: Convert LED class registration to devm_*

2020-04-29 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 v23 04/16] leds: lp50xx: Add the LP50XX family of the RGB LED driver

2020-04-29 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. Signed-off-by: Dan Murphy --- drivers/leds/Kconfig | 11 + drivers/leds/Makefile | 1

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

2020-04-29 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 v23 06/16] dt: bindings: lp55xx: Update binding for Multicolor Framework

2020-04-29 Thread Dan Murphy
Update the DT binding to include the properties to use the multicolor framework for the devices that use the LP55xx framework. Reviewed-by: Linus Walleij Signed-off-by: Dan Murphy CC: Tony Lindgren CC: "Benoît Cousson" CC: Linus Walleij CC: Shawn Guo CC: Sascha Hauer CC: Pengutro

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

2020-04-29 Thread Dan Murphy
Add the reg property to each channel node. This update is to accomodate the multicolor framework. In addition to the accomodation 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 v23 08/16] ARM: dts: imx6dl-yapp4: Add reg property to the lp5562 channel node

2020-04-29 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/arm

[PATCH v23 03/16] dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers

2020-04-29 Thread Dan Murphy
to obtain different colors independent of the overall brightness of the LED grouping. Datasheet: http://www.ti.com/lit/ds/symlink/lp5012.pdf http://www.ti.com/lit/ds/symlink/lp5024.pdf http://www.ti.com/lit/ds/symlink/lp5036.pdf Signed-off-by: Dan Murphy --- .../devicetree/bindings/leds/leds

[PATCH v23 01/16] dt: bindings: Add multicolor class dt bindings documention

2020-04-29 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 Acked-by: Pavel Machek Signed-off-by: Dan Murphy --- .../bindings/leds/leds-class-multicolor.yaml | 70 +++ drivers/leds/led-core.c

[PATCH v23 15/16] leds: lp5523: Fix checkpatch issues in the code

2020-04-29 Thread Dan Murphy
Fix checkpatch errors and warnings for the LP5523.c device driver. Acked-by: Pavel Machek Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy --- drivers/leds/leds-lp5523.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/leds/leds-lp5523.c b

[PATCH v23 02/16] leds: multicolor: Introduce a multicolor class definition

2020-04-29 Thread Dan Murphy
. Signed-off-by: Dan Murphy --- .../ABI/testing/sysfs-class-led-multicolor| 34 +++ Documentation/leds/index.rst | 1 + Documentation/leds/leds-class-multicolor.rst | 86 +++ MAINTAINERS | 8 + drivers/leds/Kconfig

[PATCH v23 00/16] Multicolor Framework v23

2020-04-29 Thread Dan Murphy
of LEDs Dan Dan Murphy (16): dt: bindings: Add multicolor class dt bindings documention leds: multicolor: Introduce a multicolor class definition dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers leds: lp50xx: Add the LP50XX family of the RGB LED driver dt: bindings: lp55xx

[PATCH v23 05/16] dt: bindings: lp55xx: Be consistent in the document with LED acronym

2020-04-29 Thread Dan Murphy
Update the document to be consistent in case when using "LED". This acronym should be capital throughout the document. Signed-off-by: Dan Murphy Acked-by: Pavel Machek --- Documentation/devicetree/bindings/leds/leds-lp55xx.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletion

Re: [PATCH v22 01/16] dt: bindings: Add multicolor class dt bindings documention

2020-04-29 Thread Dan Murphy
Jacek On 4/29/20 10:44 AM, Dan Murphy wrote: Jacek On 4/29/20 10:37 AM, Jacek Anaszewski wrote: Hi Dan, Thanks for the conversion, but now the binding example is missing. In Documentation/devicetree/bindings/leds/common.yaml we do have examples. I have looked at a few recent examples

Re: [PATCH v22 01/16] dt: bindings: Add multicolor class dt bindings documention

2020-04-29 Thread Dan Murphy
Jacek On 4/29/20 10:37 AM, Jacek Anaszewski wrote: Hi Dan, Thanks for the conversion, but now the binding example is missing. In Documentation/devicetree/bindings/leds/common.yaml we do have examples. I have looked at a few recent examples of yaml files (rohm,bd71828-leds and max77650) and

[PATCH v22 06/16] dt: bindings: lp55xx: Update binding for Multicolor Framework

2020-04-29 Thread Dan Murphy
Update the DT binding to include the properties to use the multicolor framework for the devices that use the LP55xx framework. Reviewed-by: Linus Walleij Signed-off-by: Dan Murphy CC: Tony Lindgren CC: "Benoît Cousson" CC: Linus Walleij CC: Shawn Guo CC: Sascha Hauer CC: Pengutro

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

2020-04-29 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 v22 09/16] ARM: dts: ste-href: Add reg property to the LP5521 channel nodes

2020-04-29 Thread Dan Murphy
Add the reg property to each channel node. This update is to accomodate the multicolor framework. In addition to the accomodation 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 v22 07/16] ARM: dts: n900: Add reg property to the LP5523 channel node

2020-04-29 Thread Dan Murphy
Add the reg property to each channel node. This update is to accomodate the multicolor framework. In addition to the accomodation 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 v22 11/16] leds: lp55xx: Add multicolor framework support to lp55xx

2020-04-29 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 | 1 + drivers/leds/leds-lp5521.c| 14 +- drivers/leds/leds-lp5523.c| 14

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

2020-04-29 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 v22 10/16] leds: lp55xx: Convert LED class registration to devm_*

2020-04-29 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 v22 14/16] leds: lp55xx: Fix checkpatch file permissions issues

2020-04-29 Thread Dan Murphy
documentation. Acked-by: Pavel Machek Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy --- drivers/leds/leds-lp55xx-common.c | 22 ++ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/drivers/leds/leds-lp55xx-common.c b/drivers/leds/leds-lp55xx-common.c

[PATCH v22 15/16] leds: lp5523: Fix checkpatch issues in the code

2020-04-29 Thread Dan Murphy
Fix checkpatch errors and warnings for the LP5523.c device driver. Acked-by: Pavel Machek Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy --- drivers/leds/leds-lp5523.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/leds/leds-lp5523.c b

[PATCH v22 16/16] dt: bindings: Update lp55xx binding to recommended LED naming

2020-04-29 Thread Dan Murphy
Update the LP55xx DT binding examples to the recommended node naming convention. There are no changes to the DT properties. Acked-by: Pavel Machek Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy CC: Rob Herring CC: Tony Lindgren CC: "Benoît Cousson" CC: Linus Walleij CC:

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

2020-04-29 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/arm

[PATCH v22 00/16] Multicolor Framework v22

2020-04-29 Thread Dan Murphy
of LEDs Dan Dan Murphy (16): dt: bindings: Add multicolor class dt bindings documention leds: multicolor: Introduce a multicolor class definition dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers leds: lp50xx: Add the LP50XX family of the RGB LED driver dt: bindings: lp55xx

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

2020-04-29 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. Signed-off-by: Dan Murphy --- drivers/leds/Kconfig | 11 + drivers/leds/Makefile | 1

[PATCH v22 05/16] dt: bindings: lp55xx: Be consistent in the document with LED acronym

2020-04-29 Thread Dan Murphy
Update the document to be consistent in case when using "LED". This acronym should be capital throughout the document. Signed-off-by: Dan Murphy Acked-by: Pavel Machek --- Documentation/devicetree/bindings/leds/leds-lp55xx.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletion

[PATCH v22 03/16] dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers

2020-04-29 Thread Dan Murphy
to obtain different colors independent of the overall brightness of the LED grouping. Datasheet: http://www.ti.com/lit/ds/symlink/lp5012.pdf http://www.ti.com/lit/ds/symlink/lp5024.pdf http://www.ti.com/lit/ds/symlink/lp5036.pdf Signed-off-by: Dan Murphy --- .../devicetree/bindings/leds/leds

[PATCH v22 01/16] dt: bindings: Add multicolor class dt bindings documention

2020-04-29 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 Acked-by: Pavel Machek Signed-off-by: Dan Murphy --- .../bindings/leds/leds-class-multicolor.yaml | 34 +++ drivers/leds/led-core.c

[PATCH v22 02/16] leds: multicolor: Introduce a multicolor class definition

2020-04-29 Thread Dan Murphy
. Signed-off-by: Dan Murphy --- .../ABI/testing/sysfs-class-led-multicolor| 34 +++ Documentation/leds/index.rst | 1 + Documentation/leds/leds-class-multicolor.rst | 86 +++ MAINTAINERS | 8 + drivers/leds/Kconfig

Re: [PATCH v21 01/16] dt: bindings: Add multicolor class dt bindings documention

2020-04-29 Thread Dan Murphy
Jacek On 4/28/20 3:30 PM, Jacek Anaszewski wrote: Dan, On 4/28/20 6:03 PM, Dan Murphy wrote: Add DT bindings for the LEDs multicolor class framework. Add multicolor ID to the color ID list for device tree bindings. CC: Rob Herring Acked-by: Pavel Machek Signed-off-by: Dan Murphy

Re: [PATCH v21 04/16] leds: lp50xx: Add the LP50XX family of the RGB LED driver

2020-04-29 Thread Dan Murphy
Jacek On 4/28/20 3:25 PM, Jacek Anaszewski wrote: Hi Dan, Thanks for the update. There is one remnant from the previous stages that you already scheduled for removal AFAIR. On 4/28/20 6:03 PM, Dan Murphy wrote: Introduce the LP5036/30/24/18/12/9 RGB LED driver. The difference in these parts

Re: [PATCH v21 11/16] leds: lp55xx: Add multicolor framework support to lp55xx

2020-04-29 Thread Dan Murphy
Jacek On 4/28/20 3:59 PM, Jacek Anaszewski wrote: Dan, On 4/28/20 6:03 PM, Dan Murphy wrote: Add multicolor framework support for the lp55xx family. Acked-by: Pavel Machek Signed-off-by: Dan Murphy ---   drivers/leds/Kconfig  |   1 +   drivers/leds/leds-lp5521.c

Re: [PATCH net v2 2/2] net: phy: DP83TC811: Fix WoL in config init to be disabled

2020-04-28 Thread Dan Murphy
David On 4/28/20 3:05 PM, David Miller wrote: From: Dan Murphy Date: Mon, 27 Apr 2020 16:21:12 -0500 + return phy_write_mmd(phydev, DP83822_DEVADDR, Please don't submit patches that have not even had

Re: [RESEND PATCH can-next 1/2] can: tcan4x5x: Rename parse_config function

2020-04-28 Thread Dan Murphy
Marc On 2/27/20 12:38 PM, Dan Murphy wrote: Rename the tcan4x5x_parse_config function to tcan4x5x_get_gpios since the function retrieves the gpio configurations from the firmware. Signed-off-by: Dan Murphy --- drivers/net/can/m_can/tcan4x5x.c | 4 ++-- 1 file changed, 2 insertions(+), 2

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

2020-04-28 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 Signed-off-by: Dan Murphy --- drivers/leds/leds-lp5523.c | 20 1 file changed, 20

[PATCH v21 11/16] leds: lp55xx: Add multicolor framework support to lp55xx

2020-04-28 Thread Dan Murphy
Add multicolor framework support for the lp55xx family. Acked-by: Pavel Machek Signed-off-by: Dan Murphy --- drivers/leds/Kconfig | 1 + drivers/leds/leds-lp5521.c| 14 +- drivers/leds/leds-lp5523.c| 14 +- drivers/leds/leds-lp5562.c

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

2020-04-28 Thread Dan Murphy
Add the reg property to each channel node. This update is to accomodate the multicolor framework. In addition to the accomodation 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 v21 13/16] leds: lp5521: Add multicolor framework multicolor brightness support

2020-04-28 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 Signed-off-by: Dan Murphy --- drivers/leds/leds-lp5521.c | 20 1 file changed, 20

[PATCH net v3 0/2] WoL fixes for DP83822 and DP83tc811

2020-04-28 Thread Dan Murphy
Hello The WoL feature for each device was enabled during boot or when the PHY was brought up which may be undesired. These patches disable the WoL in the config_init. The disabling and enabling of the WoL is now done though the set_wol call. Dan Dan Murphy (2): net: phy: DP83822: Fix WoL

[PATCH v21 16/16] dt: bindings: Update lp55xx binding to recommended LED naming

2020-04-28 Thread Dan Murphy
Update the LP55xx DT binding examples to the recommended node naming convention. There are no changes to the DT properties. Signed-off-by: Dan Murphy CC: Rob Herring CC: Tony Lindgren CC: "Benoît Cousson" CC: Linus Walleij CC: Shawn Guo CC: Sascha Hauer CC: Pengutronix Kerne

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

2020-04-28 Thread Dan Murphy
Add the reg property to each channel node. This update is to accomodate the multicolor framework. In addition to the accomodation 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 net v3 2/2] net: phy: DP83TC811: Fix WoL in config init to be disabled

2020-04-28 Thread Dan Murphy
pport for the DP83TC811 phy") Signed-off-by: Dan Murphy --- drivers/net/phy/dp83tc811.c | 21 - 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/drivers/net/phy/dp83tc811.c b/drivers/net/phy/dp83tc811.c index 06f08832ebcd..d73725312c7c 100644 --- a/drivers/net/phy

[PATCH v21 10/16] leds: lp55xx: Convert LED class registration to devm_*

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

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

2020-04-28 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/arm

[PATCH v21 15/16] leds: lp5523: Fix checkpatch issues in the code

2020-04-28 Thread Dan Murphy
Fix checkpatch errors and warnings for the LP5523.c device driver. Signed-off-by: Dan Murphy Acked-by: Pavel Machek --- drivers/leds/leds-lp5523.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/leds/leds-lp5523.c b/drivers/leds/leds-lp5523.c

[PATCH v21 06/16] dt: bindings: lp55xx: Update binding for Multicolor Framework

2020-04-28 Thread Dan Murphy
Update the DT binding to include the properties to use the multicolor framework for the devices that use the LP55xx framework. Reviewed-by: Linus Walleij Signed-off-by: Dan Murphy CC: Tony Lindgren CC: "Benoît Cousson" CC: Linus Walleij CC: Shawn Guo CC: Sascha Hauer CC: Pengutro

[PATCH v21 14/16] leds: lp55xx: Fix checkpatch file permissions issues

2020-04-28 Thread Dan Murphy
documentation. Signed-off-by: Dan Murphy Acked-by: Pavel Machek --- drivers/leds/leds-lp55xx-common.c | 22 ++ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/drivers/leds/leds-lp55xx-common.c b/drivers/leds/leds-lp55xx-common.c index 19872d1435b3..82c392afeef7

[PATCH v21 05/16] dt: bindings: lp55xx: Be consistent in the document with LED acronym

2020-04-28 Thread Dan Murphy
Update the document to be consistent in case when using "LED". This acronym should be capital throughout the document. Signed-off-by: Dan Murphy Acked-by: Pavel Machek --- Documentation/devicetree/bindings/leds/leds-lp55xx.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletion

[PATCH v21 03/16] dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers

2020-04-28 Thread Dan Murphy
to obtain different colors independent of the overall brightness of the LED grouping. Datasheet: http://www.ti.com/lit/ds/symlink/lp5012.pdf http://www.ti.com/lit/ds/symlink/lp5024.pdf http://www.ti.com/lit/ds/symlink/lp5036.pdf Signed-off-by: Dan Murphy --- .../devicetree/bindings/leds/leds

[PATCH v21 01/16] dt: bindings: Add multicolor class dt bindings documention

2020-04-28 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 Acked-by: Pavel Machek Signed-off-by: Dan Murphy --- .../bindings/leds/leds-class-multicolor.txt | 98 +++ drivers/leds/led-core.c

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

2020-04-28 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. Signed-off-by: Dan Murphy --- drivers/leds/Kconfig | 11 + drivers/leds/Makefile | 1

[PATCH v21 00/16] Multicolor Framework

2020-04-28 Thread Dan Murphy
Dan Murphy (16): dt: bindings: Add multicolor class dt bindings documention leds: multicolor: Introduce a multicolor class definition dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers leds: lp50xx: Add the LP50XX family of the RGB LED driver dt: bindings: lp55xx

[PATCH net v3 1/2] net: phy: DP83822: Fix WoL in config init to be disabled

2020-04-28 Thread Dan Murphy
ssion") Signed-off-by: Dan Murphy --- drivers/net/phy/dp83822.c | 30 ++ 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/drivers/net/phy/dp83822.c b/drivers/net/phy/dp83822.c index fe9aa3ad52a7..1dd19d0cb269 100644 --- a/drivers/net/phy/dp83822.c +++

[PATCH v21 02/16] leds: multicolor: Introduce a multicolor class definition

2020-04-28 Thread Dan Murphy
. Signed-off-by: Dan Murphy --- .../ABI/testing/sysfs-class-led-multicolor| 34 +++ Documentation/leds/index.rst | 1 + Documentation/leds/leds-class-multicolor.rst | 88 MAINTAINERS | 8 + drivers/leds/Kconfig

Re: [PATCH v20 02/17] leds: Add multicolor ID to the color ID list

2020-04-28 Thread Dan Murphy
Pavel On 4/28/20 3:43 AM, Pavel Machek wrote: On Mon 2020-04-27 12:12:18, Dan Murphy wrote: Pavel On 4/25/20 2:52 PM, Pavel Machek wrote: On Thu 2020-04-23 10:55:09, Dan Murphy wrote: Add a new color ID that is declared as MULTICOLOR as with the multicolor framework declaring a definitive

Re: [PATCH 3/3] power: supply: bq2515x: Introduce the bq2515x family

2019-10-23 Thread Dan Murphy
Sebastian On 10/20/19 7:15 AM, Sebastian Reichel wrote: Hi Dan, On Mon, Sep 30, 2019 at 09:31:37AM -0500, Dan Murphy wrote: [...] + +static int bq2515x_power_supply_register(struct bq2515x_device *bq2515x) +{ + struct power_supply_config psy_cfg = { .drv_data = bq2515x, }; + int

Re: [PATCH v14 13/19] leds: lp55xx: Add multicolor framework support to lp55xx

2019-10-23 Thread Dan Murphy
Jacek On 10/18/19 5:02 PM, Jacek Anaszewski wrote: Dan, I forgot to mention one thing below. On 10/18/19 2:25 PM, Dan Murphy wrote: Add multicolor framework support for the lp55xx family. Signed-off-by: Dan Murphy --- [...] - led->cdev.default_trigger = pdata->led_confi

Re: [PATCH v14 04/19] leds: multicolor: Introduce a multicolor class definition

2019-10-23 Thread Dan Murphy
On 10/18/19 4:44 PM, Jacek Anaszewski wrote: Dan, Thank you for the update. On 10/18/19 2:25 PM, Dan Murphy wrote: Introduce a multicolor class that groups colored LEDs within a LED node. The multi color class groups monochrome LEDs and allows controlling two aspects of the final combined

Re: [PATCH v14 13/19] leds: lp55xx: Add multicolor framework support to lp55xx

2019-10-23 Thread Dan Murphy
Jacek On 10/18/19 4:48 PM, Jacek Anaszewski wrote: Dan, On 10/18/19 2:25 PM, Dan Murphy wrote: Add multicolor framework support for the lp55xx family. Signed-off-by: Dan Murphy --- drivers/leds/Kconfig | 1 + drivers/leds/leds-lp55xx-common.c | 185

Re: [PATCH v14 13/19] leds: lp55xx: Add multicolor framework support to lp55xx

2019-10-22 Thread Dan Murphy
Jacek On 10/18/19 4:56 PM, Jacek Anaszewski wrote: On 10/18/19 11:48 PM, Jacek Anaszewski wrote: Dan, + ret = lp5xx_parse_channel_child(child, cfg, i); I went into details of this parsing and finally came up with the code which is a bit greater in size, but IMHO cleaner. Note

Re: [PATCH 2/3] dt: power: Add the bq2515x family dt bindings

2019-10-21 Thread Dan Murphy
Sebastian On 10/20/19 7:30 AM, Sebastian Reichel wrote: Hi Dan, On Mon, Sep 30, 2019 at 09:31:36AM -0500, Dan Murphy wrote: Add the bindings for the bq25150 and bq25155 500mA charging IC from Texas Instruments. Datasheet: http://www.ti.com/lit/ds/symlink/bq25150.pdf http://www.ti.com/lit

Re: [PATCH 1/3] power_supply: Add additional health properties to the header

2019-10-21 Thread Dan Murphy
Sebastian On 10/20/19 7:25 AM, Sebastian Reichel wrote: Hi, On Mon, Sep 30, 2019 at 09:31:35AM -0500, Dan Murphy wrote: Add HEALTH_WARM, HEALTH_COOL and HEALTH_HOT to the health enum. You used OVERHEAT instead of HOT in the implementation, which makes sense to me, so please drop HOT here

Re: [PATCH v14 12/19] leds: lp55xx: Convert LED class registration to devm_*

2019-10-18 Thread Dan Murphy
Jacek On 10/18/19 1:02 PM, Jacek Anaszewski wrote: Dan, Thank you for the patch. On 10/18/19 2:25 PM, Dan Murphy wrote: Convert the LED class registration calls to the LED devm_* registration calls. Signed-off-by: Dan Murphy --- drivers/leds/leds-lp5521.c| 9 +++-- drivers

[PATCH v14 07/19] dt: bindings: lp55xx: Be consistent in the document with LED acronym

2019-10-18 Thread Dan Murphy
Update the document to be consistent in case when using "LED". This acronym should be capital throughout the document. Signed-off-by: Dan Murphy --- Documentation/devicetree/bindings/leds/leds-lp55xx.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc

[PATCH v14 14/19] leds: lp5523: Update the lp5523 code to add multicolor brightness function

2019-10-18 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. Signed-off-by: Dan Murphy --- drivers/leds/leds-lp5523.c | 20 1 file changed, 20 insertions(+) diff --git

[PATCH v14 12/19] leds: lp55xx: Convert LED class registration to devm_*

2019-10-18 Thread Dan Murphy
Convert the LED class registration calls to the LED devm_* registration calls. Signed-off-by: Dan Murphy --- drivers/leds/leds-lp5521.c| 9 +++-- drivers/leds/leds-lp5523.c| 9 +++-- drivers/leds/leds-lp55xx-common.c | 15 +-- drivers/leds/leds-lp55xx

[PATCH v14 15/19] leds: lp5521: Add multicolor framework multicolor brightness support

2019-10-18 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. Signed-off-by: Dan Murphy --- drivers/leds/leds-lp5521.c | 20 1 file changed, 20 insertions(+) diff --git

[PATCH v14 04/19] leds: multicolor: Introduce a multicolor class definition

2019-10-18 Thread Dan Murphy
. Signed-off-by: Dan Murphy --- .../ABI/testing/sysfs-class-led-multicolor| 36 +++ Documentation/leds/index.rst | 1 + Documentation/leds/leds-class-multicolor.rst | 100 +++ drivers/leds/Kconfig | 10 + drivers/leds/Makefile

[PATCH v14 06/19] leds: lp50xx: Add the LP50XX family of the RGB LED driver

2019-10-18 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. Signed-off-by: Dan Murphy --- drivers/leds/Kconfig | 11 + drivers/leds/Makefile | 1

[PATCH v14 16/19] leds: lp55xx: Fix checkpatch file permissions issues

2019-10-18 Thread Dan Murphy
documentation. Signed-off-by: Dan Murphy --- drivers/leds/leds-lp55xx-common.c | 22 ++ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/drivers/leds/leds-lp55xx-common.c b/drivers/leds/leds-lp55xx-common.c index 197b87ca5ca2..0764520bc4a8 100644 --- a/drivers

[PATCH v14 00/19] MultiColor Framework v14

2019-10-18 Thread Dan Murphy
color_component to color_components ifdef out multicolor class code when CONFIG_MULTI_COLOR is not selected Removed devm_*_unregister code from LP55xx/21/23 and LP8501 n900: Fixed commit message Dan Dan Murphy (19): dt: bindings: Add multicolor class dt bindings documention dt-bindings: leds: Add

[PATCH v14 01/19] dt: bindings: Add multicolor class dt bindings documention

2019-10-18 Thread Dan Murphy
Add DT bindings for the LEDs multicolor class framework. Signed-off-by: Dan Murphy --- .../bindings/leds/leds-class-multicolor.txt | 98 +++ 1 file changed, 98 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/leds-class-multicolor.txt diff --git

[PATCH v14 03/19] leds: Add multicolor ID to the color ID list

2019-10-18 Thread Dan Murphy
Add a new color ID that is declared as MULTICOLOR as with the multicolor framework declaring a definitive color is not accurate as the node can contain multiple colors. Signed-off-by: Dan Murphy --- drivers/leds/led-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/leds/led

<    3   4   5   6   7   8   9   10   11   12   >