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
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
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
.
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
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
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
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
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
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
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'
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
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
) {
+ 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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
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
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
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
-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
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
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
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
.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
-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
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
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
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
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
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
.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
-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
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
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
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
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
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
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
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
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
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
+++
.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
.
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
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
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
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
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
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
701 - 800 of 2241 matches
Mail list logo