[PATCH 9/9] ASoC: tas2770: Refactor sample rate function

2020-09-18 Thread Dan Murphy
Refactor the tas2770_set_samplerate to simplify the code and access the I2C bus only once per rate request. The ramp rate and sample rate bits are contained in the same register so a single call to the snd_soc_update_bits function is all that is needed Signed-off-by: Dan Murphy --- sound/soc

Re: [PATCH] dt-bindings: tas2770: Fix I2C addresses for the TAS2770

2020-09-18 Thread Dan Murphy
All On 9/18/20 11:43 AM, Dan Murphy wrote: The I2C addresses listed in the yaml are not correct. The addresses can range from 0x41 through 0x48 based on register configurations. Fix the example and the description. Please ignore this patch I added this patch intp a different patch series

[PATCH net-next v2 3/3] net: phy: dp83822: Update the fiber advertisement for speed

2020-09-18 Thread Dan Murphy
Update the fiber advertisement for speed and duplex modes with the 100base-FX full and half linkmode entries. Signed-off-by: Dan Murphy --- drivers/net/phy/dp83822.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/drivers/net/phy/dp83822.c b/drivers/net/phy

[PATCH net-next v2 2/3] net: dp83869: Add ability to advertise Fiber connection

2020-09-18 Thread Dan Murphy
Add the ability to advertise the Fiber connection if the strap or the op-mode is configured for 100Base-FX. Auto negotiation is not supported on this PHY when in fiber mode. Signed-off-by: Dan Murphy --- drivers/net/phy/dp83869.c | 73 +++ 1 file changed, 73

[PATCH net-next v2 0/3] 100base Fx link modes

2020-09-18 Thread Dan Murphy
100Mbps. Corresponding user land ethtool patches are available but rely on these patches to be applied first. Dan Dan Murphy (3): ethtool: Add 100base-FX link mode entries net: dp83869: Add ability to advertise Fiber connection net: phy: dp83822: Update the fiber advertisement for speed

[PATCH net-next v2 1/3] ethtool: Add 100base-FX link mode entries

2020-09-18 Thread Dan Murphy
PHYAD: 1 Transceiver: external Supports Wake-on: gs Wake-on: d SecureOn password: 00:00:00:00:00:00 Current message level: 0x (0) Link detected: yes Signed-off-by: Dan Murphy --- v2 - Updated ethtool example in the commit message

[PATCH] dt-bindings: tas2770: Mark ti,asi-format to deprecated

2020-09-24 Thread Dan Murphy
Mark the property ti,asi-format to deprecated as it is no longer supported. Signed-off-by: Dan Murphy --- Documentation/devicetree/bindings/sound/tas2770.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/sound/tas2770.yaml b/Documentation/devicetree

[PATCH net-next v4 1/2] net: phy: dp83869: support Wake on LAN

2020-09-24 Thread Dan Murphy
This adds WoL support on TI DP83869 for magic, magic secure, unicast and broadcast. Signed-off-by: Dan Murphy --- v4 - Added checking error on phy_read drivers/net/phy/dp83869.c | 176 ++ 1 file changed, 176 insertions(+) diff --git a/drivers/net/phy

[PATCH net-next v4 2/2] net: phy: dp83869: Add speed optimization feature

2020-09-24 Thread Dan Murphy
connected instead of the standard cabling with eight wires (four twisted pairs). The number of failed link attempts before falling back to 100M operation is configurable. By default, four failed link attempts are required before falling back to 100M. Signed-off-by: Dan Murphy --- v4 - Fixed error from

[PATCH net-next v4 0/2] DP83869 WoL and Speed optimization

2020-09-24 Thread Dan Murphy
Hello Add the WoL and Speed Optimization (aka downshift) support for the DP83869 Ethernet PHY. Dan Dan Murphy (2): net: phy: dp83869: support Wake on LAN net: phy: dp83869: Add speed optimization feature drivers/net/phy/dp83869.c | 292 ++ 1 file

Re: [PATCH] MAINTAINERS: move Milo Kim to credits

2020-09-22 Thread Dan Murphy
this year to fix random bugs. Since I have worked in these other subsystems if replacing the Maintainer is desired over removal then my name and email can be added like I did with Andrews. Dan Murphy Dan

[PATCH] ASoC: tas2562: Remove duplicate code for I/V sense

2020-09-22 Thread Dan Murphy
Remove duplicate code for programming the I/V sense the call to update the register was duplicated in commit 09ed395b05feb ("ASoC: tas2562: Add voltage sense slot configuration"). Fixes: 09ed395b05feb ("ASoC: tas2562: Add voltage sense slot configuration") Signed-off-by: Da

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

2020-09-22 Thread Dan Murphy
Hello On 8/17/20 10:16 AM, Dan Murphy wrote: BQ25790 is a highly integrated switch-mode buck-boost charger for 1-4 cell Li-ion battery and Li-polymer battery. Gentle bump

Re: [PATCH 2/2] power: bq25980: Add support for the BQ259xx family

2020-09-22 Thread Dan Murphy
Hello On 8/31/20 11:48 AM, Dan Murphy wrote: Add support for the BQ25980, BQ25975 and BQ25960 family of flash chargers. Gentle Bump

[PATCH 2/2] leds: lm36274: Fix warning for undefined parameters

2020-09-22 Thread Dan Murphy
Fix warnings for undefined parameters when building with W=1. Fixes: 11e1bbc116a75 ("leds: lm36274: Introduce the TI LM36274 LED driver") Signed-off-by: Dan Murphy --- drivers/leds/leds-lm36274.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/leds/le

[PATCH 1/2] leds: lm3552: Fix warnings for undefined parameters

2020-09-22 Thread Dan Murphy
Fix warnings for undefined parameters when W=1 is used. Fixes: bc1b8492c764f ("leds: lm3532: Introduce the lm3532 LED driver") Signed-off-by: Dan Murphy --- drivers/leds/leds-lm3532.c | 50 +++--- 1 file changed, 25 insertions(+), 25 deletions(-)

Re: [EXTERNAL] Re: [PATCH v3 1/2] dt-bindings: power: Add the bq256xx dt bindings

2020-09-22 Thread Dan Murphy
RIcardo On 9/22/20 5:56 PM, Ricardo Rivera-Matos wrote: Rob On 9/22/20 5:22 PM, Rob Herring wrote: On Thu, Sep 10, 2020 at 11:45:33AM -0500, Ricardo Rivera-Matos wrote: Add the bindings for the bq256xx series of battery charging ICs. Datasheets: -

[PATCH 4/6] dt-bindings: tas2770: Remove ti,asi-format property

2020-09-23 Thread Dan Murphy
Remove the property ti,asi-format as the driver only reads this property and performs no action against it. Signed-off-by: Dan Murphy --- Documentation/devicetree/bindings/sound/tas2770.yaml | 7 --- 1 file changed, 7 deletions(-) diff --git a/Documentation/devicetree/bindings/sound

[PATCH 5/6] ASoC: tas2770: Remove ti,asi-format code

2020-09-23 Thread Dan Murphy
is done by checking the DAI_FMT_INV_MASK. Signed-off-by: Dan Murphy --- sound/soc/codecs/tas2770.c | 11 --- sound/soc/codecs/tas2770.h | 1 - 2 files changed, 12 deletions(-) diff --git a/sound/soc/codecs/tas2770.c b/sound/soc/codecs/tas2770.c index c42e653cd653..c7a6f7e8200c 100644

[PATCH 2/6] ASoC: tas2770: Add shutdown capability via a GPIO

2020-09-23 Thread Dan Murphy
Add the hardware shutdown mechanism to shutdown and wake up the device via a GPIO. Signed-off-by: Dan Murphy --- sound/soc/codecs/tas2770.c | 53 -- sound/soc/codecs/tas2770.h | 1 + 2 files changed, 40 insertions(+), 14 deletions(-) diff --git a/sound/soc

[PATCH 1/6] dt-bindings: tas2770: Add shutdown gpio property

2020-09-23 Thread Dan Murphy
Add the shutdown-gpios property to the yaml to define the GPIO that can be used to place the device in shutdown mode or wake the device up. Signed-off-by: Dan Murphy --- Documentation/devicetree/bindings/sound/tas2770.yaml | 4 1 file changed, 4 insertions(+) diff --git a/Documentation

[PATCH 3/6] ASoC: tas2770: Set regcache when shutting down and waking device

2020-09-23 Thread Dan Murphy
Set the regcache to cache data and mark cache as dirty when the device is shutdown when suspend is called. When the device is woken up then sync the cache and set to not caching the data. Signed-off-by: Dan Murphy --- sound/soc/codecs/tas2770.c | 14 ++ 1 file changed, 10 insertions

[PATCH 6/6] ASoC: tas2770: Remove unused variables

2020-09-23 Thread Dan Murphy
Remove unused variables in the private struct and the code as these variables are initially set and then there is no additional code utilizing these variables. Signed-off-by: Dan Murphy --- sound/soc/codecs/tas2770.c | 11 --- sound/soc/codecs/tas2770.h | 8 ++-- 2 files changed, 2

Re: [PATCH] leds: lp50xx: Fix an error handling path in 'lp50xx_probe_dt()'

2020-09-23 Thread Dan Murphy
oto child_out; + } fwnode_for_each_child_node(child, led_node) { ret = fwnode_property_read_u32(led_node, "color", Thanks for the patch Acked-by: Dan Murphy

Re: [PATCH 4/6] dt-bindings: tas2770: Remove ti,asi-format property

2020-09-23 Thread Dan Murphy
Mark On 9/23/20 10:51 AM, Mark Brown wrote: On Wed, Sep 23, 2020 at 08:25:58AM -0500, Dan Murphy wrote: Remove the property ti,asi-format as the driver only reads this property and performs no action against it. We should probably leave the property as documented and move it to deprecated

Re: [PATCH v2] MAINTAINERS: add Dan Murphy as TP LP8xxx drivers maintainer

2020-09-23 Thread Dan Murphy
Hello On 9/22/20 10:28 AM, Krzysztof Kozlowski wrote: Milo Kim's email in TI bounces with permanent error (550: Invalid recipient). Last email from him on LKML was in 2017. Move Milo Kim to credits and add Dan Murphy from TI to look after: - TI LP855x backlight driver, - TI LP8727 charger

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

2020-09-23 Thread Dan Murphy
Mark and Wolfgang On 4/28/20 2:48 PM, Dan Murphy wrote: 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

[PATCH net-next v5 1/2] net: phy: dp83869: support Wake on LAN

2020-09-28 Thread Dan Murphy
This adds WoL support on TI DP83869 for magic, magic secure, unicast and broadcast. Signed-off-by: Dan Murphy --- v5 - Fixed 0-day warning for u16 arch/arm/configs/ti_sdk_omap2_debug_defconfig | 2335 + drivers/net/phy/dp83869.c | 176 ++ 2 files changed

[PATCH net-next v5 2/2] net: phy: dp83869: Add speed optimization feature

2020-09-28 Thread Dan Murphy
connected instead of the standard cabling with eight wires (four twisted pairs). The number of failed link attempts before falling back to 100M operation is configurable. By default, four failed link attempts are required before falling back to 100M. Signed-off-by: Dan Murphy --- drivers/net/phy

[PATCH net-next v5 0/2] DP83869 WoL and Speed optimization

2020-09-28 Thread Dan Murphy
Hello Add the WoL and Speed Optimization (aka downshift) support for the DP83869 Ethernet PHY. Dan Dan Murphy (2): net: phy: dp83869: support Wake on LAN net: phy: dp83869: Add speed optimization feature arch/arm/configs/ti_sdk_omap2_debug_defconfig | 2335 + drivers/net

Re: [PATCH net-next v5 1/2] net: phy: dp83869: support Wake on LAN

2020-09-28 Thread Dan Murphy
Hello On 9/28/20 9:46 AM, Dan Murphy wrote: This adds WoL support on TI DP83869 for magic, magic secure, unicast and broadcast. Signed-off-by: Dan Murphy --- v5 - Fixed 0-day warning for u16 arch/arm/configs/ti_sdk_omap2_debug_defconfig | 2335 + I have to repost

[RESEND PATCH net-next v5 0/2] DP83869 WoL and Speed optimization

2020-09-28 Thread Dan Murphy
Hello Add the WoL and Speed Optimization (aka downshift) support for the DP83869 Ethernet PHY. Dan Dan Murphy (2): net: phy: dp83869: support Wake on LAN net: phy: dp83869: Add speed optimization feature drivers/net/phy/dp83869.c | 292 ++ 1 file

[RESEND PATCH net-next v5 1/2] net: phy: dp83869: support Wake on LAN

2020-09-28 Thread Dan Murphy
This adds WoL support on TI DP83869 for magic, magic secure, unicast and broadcast. Signed-off-by: Dan Murphy --- v5 - Fixed 0-day warning for u16, removed defconfig drivers/net/phy/dp83869.c | 176 ++ 1 file changed, 176 insertions(+) diff --git a/drivers

[RESEND PATCH net-next v5 2/2] net: phy: dp83869: Add speed optimization feature

2020-09-28 Thread Dan Murphy
connected instead of the standard cabling with eight wires (four twisted pairs). The number of failed link attempts before falling back to 100M operation is configurable. By default, four failed link attempts are required before falling back to 100M. Signed-off-by: Dan Murphy --- drivers/net/phy

Re: [PATCH 1/6] dt-bindings: leds: choose correct color value of multi-led

2020-10-13 Thread Dan Murphy
Zhen On 10/13/20 11:08 AM, Zhen Lei wrote: The color value of multi-led is fixed to "const: 8 #LED_COLOR_ID_MULTI", which is required by leds-class-multicolor.yaml. Signed-off-by: Zhen Lei --- Documentation/devicetree/bindings/leds/leds-lp55xx.yaml | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH 6/6] dt-bindings: misc: correct the property name cmd-gpios to cmd-gpio

2020-10-13 Thread Dan Murphy
Zhen On 10/13/20 11:08 AM, Zhen Lei wrote: The property name used in arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts is cmd-gpio. arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts:235: cmd-gpio = < 155 GPIO_ACTIVE_HIGH>; Signed-off-by: Zhen Lei --- Documentation/devicetree/bindings/misc/olpc,xo1.75-ec.yaml

[PATCH] dt-bindings: leds: Update devicetree documents for ID_RGB

2020-10-13 Thread Dan Murphy
Update the leds/common.yaml to indicate that the max color ID is 9. Reflect the same change in the leds-class-multicolor.yaml Reported-by: Zhen Lei Signed-off-by: Dan Murphy --- Documentation/devicetree/bindings/leds/common.yaml | 2 +- .../devicetree/bindings/leds/leds-class

Re: [PATCH 2/6] dt-bindings: mfd: google,cros-ec: explicitly allow additional properties

2020-10-13 Thread Dan Murphy
Zhen On 10/13/20 11:08 AM, Zhen Lei wrote: There are so many properties have not been described in this yaml file, and a lot of errors will be reported. Especially, some yaml files such as google,cros-ec-typec.yaml, extcon-usbc-cros-ec.yaml can not pass the self-check, because of the examples.

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

2020-10-13 Thread Dan Murphy
Sebastian On 10/9/20 9:41 AM, Dan Murphy wrote: Add the bindings for the bq25790. Also any updates on this series? Dan

Re: [PATCH] power: supply: bq25980: Fix uninitialized wd_reg_val and overrun

2020-10-13 Thread Dan Murphy
Sebastian On 10/9/20 7:12 AM, Dan Murphy wrote: Fix the issue when 'i' is equal to array size then array index over runs the array when checking for the watch dog value. This also fixes the uninitialized wd_reg_val if the for..loop was not successful in finding an appropriate match. Might

Re: [PATCH net-next v3 2/4] dt-bindings: net: Add Rx/Tx output configuration for 10base T1L

2020-11-03 Thread Dan Murphy
Andrew On 10/30/20 2:56 PM, Andrew Lunn wrote: On Fri, Oct 30, 2020 at 12:29:48PM -0500, Dan Murphy wrote: Per the 802.3cg spec the 10base T1L can operate at 2 different differential voltages 1v p2p and 2.4v p2p. The abiility of the PHY to drive that output is dependent on the PHY's on board

Re: [PATCH net-next v3 4/4] net: phy: dp83td510: Add support for the DP83TD510 Ethernet PHY

2020-11-03 Thread Dan Murphy
Andrew On 10/30/20 3:15 PM, Andrew Lunn wrote: +static int dp83td510_config_init(struct phy_device *phydev) +{ + struct dp83td510_private *dp83td510 = phydev->priv; + int mst_slave_cfg; + int ret = 0; + + if (phy_interface_is_rgmii(phydev)) { + if

Re: [PATCH net-next v3 4/4] net: phy: dp83td510: Add support for the DP83TD510 Ethernet PHY

2020-11-03 Thread Dan Murphy
Hello On 10/30/20 6:03 PM, Jakub Kicinski wrote: On Fri, 30 Oct 2020 12:29:50 -0500 Dan Murphy wrote: The DP83TD510E is an ultra-low power Ethernet physical layer transceiver that supports 10M single pair cable. The device supports both 2.4-V p2p and 1-V p2p output voltage as defined by IEEE

Re: [PATCH net-next v3 4/4] net: phy: dp83td510: Add support for the DP83TD510 Ethernet PHY

2020-11-03 Thread Dan Murphy
Andrew On 11/3/20 11:21 AM, Andrew Lunn wrote: On Tue, Nov 03, 2020 at 11:09:44AM -0600, Dan Murphy wrote: Hello On 10/30/20 6:03 PM, Jakub Kicinski wrote: On Fri, 30 Oct 2020 12:29:50 -0500 Dan Murphy wrote: The DP83TD510E is an ultra-low power Ethernet physical layer transceiver

Re: [PATCH net-next v3 4/4] net: phy: dp83td510: Add support for the DP83TD510 Ethernet PHY

2020-11-03 Thread Dan Murphy
Andrew On 11/3/20 11:18 AM, Andrew Lunn wrote: On Tue, Nov 03, 2020 at 11:07:00AM -0600, Dan Murphy wrote: Andrew On 10/30/20 3:15 PM, Andrew Lunn wrote: +static int dp83td510_config_init(struct phy_device *phydev) +{ + struct dp83td510_private *dp83td510 = phydev->priv; +

Re: [PATCH v7 0/6] Add support for the IEI WT61P803 PUZZLE MCU

2020-11-02 Thread Dan Murphy
Hello On 11/1/20 3:56 AM, Luka Kovacic wrote: Hello Pavel, On Thu, Oct 29, 2020 at 7:01 PM Pavel Machek wrote: Hi! +What: /sys/bus/serial/devices/.../iei_wt61p803_puzzle_core/power_status +Date:September 2020 +Contact: Luka Kovacic +Description: (RO)

Re: [PATCH v7 0/6] Add support for the IEI WT61P803 PUZZLE MCU

2020-11-02 Thread Dan Murphy
Hello On 11/2/20 1:03 PM, Pavel Machek wrote: On Mon 2020-11-02 12:29:59, Dan Murphy wrote: Hello On 11/1/20 3:56 AM, Luka Kovacic wrote: Hello Pavel, On Thu, Oct 29, 2020 at 7:01 PM Pavel Machek wrote: Hi! +What: /sys/bus/serial/devices/.../iei_wt61p803_puzzle_core

Re: [PATCH] Boottime: A tool for automatic measurement of kernel/bootloader boot time

2012-10-12 Thread Dan Murphy
On a note on testing. OK this at least compiles on my system with 3.4. The weird thing is that I get the same exact kernel boot time for two different machines. When I cat the summary for the kernel. I am not profiling the bootloader time here as it is neglible so no ATAG argument. kernel:

Re: [PATCH] Boottime: A tool for automatic measurement of kernel/bootloader boot time

2012-10-12 Thread Dan Murphy
On 10/12/2012 09:01 AM, Lee Jones wrote: On Fri, 12 Oct 2012, Arnd Bergmann wrote: On Friday 12 October 2012, Russell King - ARM Linux wrote: root@ME:/ cat /sys/kernel/debug/boottime/bootgraph [0.185254] calling splash+0x0/0x0 [2.984335] initcall splash+0x0/0x0 returned 0 after 2799

Re: [PATCH] Boottime: A tool for automatic measurement of kernel/bootloader boot time

2012-10-15 Thread Dan Murphy
On 10/12/2012 11:42 AM, Lee Jones wrote: On Fri, 12 Oct 2012, Dan Murphy wrote: On 10/12/2012 09:01 AM, Lee Jones wrote: On Fri, 12 Oct 2012, Arnd Bergmann wrote: On Friday 12 October 2012, Russell King - ARM Linux wrote: root@ME:/ cat /sys/kernel/debug/boottime/bootgraph [0.185254

Re: [PATCH 2/2] leds: lp50xx: remove unused regulator

2021-02-03 Thread Dan Murphy
Pavel On 2/3/21 3:02 AM, Pavel Machek wrote: On Wed 2021-02-03 08:34:08, Sven Schuchmann wrote: The regulator for vled-supply is unused in the driver. It is just assigned from DT and disabled in lp50xx_remove. So the code can be removed from the driver. Dan, what is going on here? Do we need

Re: [PATCH 2/2] leds: lp50xx: remove unused regulator

2021-02-03 Thread Dan Murphy
Pavel On 2/3/21 8:23 AM, Pavel Machek wrote: On Wed 2021-02-03 07:49:35, Dan Murphy wrote: Pavel On 2/3/21 3:02 AM, Pavel Machek wrote: On Wed 2021-02-03 08:34:08, Sven Schuchmann wrote: The regulator for vled-supply is unused in the driver. It is just assigned from DT and disabled

Re: [PATCH v2 1/2] dt-bindings: leds: document the "power-supply" property

2019-07-15 Thread Dan Murphy
indicate its state. E.g. USB 2.0 @@ -106,6 +111,7 @@ gpio-leds { label = "Status"; linux,default-trigger = "heartbeat"; gpios = < 0 GPIO_ACTIVE_HIGH>; + power-supply = <_regulator>; }; usb { Reviewed-by: Dan Murphy

Re: [PATCH v2 2/2] leds: Add control of the voltage/current regulator to the LED core

2019-07-15 Thread Dan Murphy
gulator_state != new_state; +} + +static int __led_handle_regulator(struct led_classdev *led_cdev, + int brightness) +{ + int rc; Should there be a check for the regulator pointer. If (!led_cdev->regulator)     return 0; Otherwise Reviewed-by: Dan Murphy

Re: [RFT][PATCH 1/2] regulator: lm363x: Fix off-by-one n_voltages for lm3632 ldo_vpos/ldo_vneg

2019-07-16 Thread Dan Murphy
Axel On 7/7/19 9:02 PM, Axel Lin wrote: Axel Lin 於 2019年6月26日 週三 下午11:12寫道: Dan Murphy 於 2019年6月26日 週三 下午11:07寫道: Hello On 6/26/19 8:26 AM, Axel Lin wrote: According to the datasheet https://www.ti.com/lit/ds/symlink/lm3632a.pdf Table 20. VPOS Bias Register Field Descriptions VPOS[5:0

Re: [PATCH v12 1/5] can: m_can: Create a m_can platform framework

2019-07-16 Thread Dan Murphy
Hello On 5/15/19 3:54 PM, Dan Murphy wrote: Marc On 5/9/19 11:11 AM, Dan Murphy wrote: Create a m_can platform framework that peripheral devices can register to and use common code and register sets. The peripheral devices may provide read/write and configuration support of the IP. Acked

Re: [PATCH v5 2/2] documention: leds: Add multicolor class documentation

2019-07-16 Thread Dan Murphy
Jacek On 7/16/19 2:18 PM, Jacek Anaszewski wrote: Hi Dan, Thanks for the update. I have some nits below, please take a look. On 7/1/19 10:46 PM, Dan Murphy wrote: Add the support documentation on the multicolor LED framework. This document defines the directores and file generated

[PATCH v6 5/9] leds: Add multicolor ID to the color ID list

2019-09-17 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 --- v6 - no change drivers/leds/led-core.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v6 8/9] leds: lp50xx: Add the LP50XX family of the RGB LED driver

2019-09-17 Thread Dan Murphy
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 --- v6 - no changes drivers/leds/Kconfig | 7 + drivers/leds/Makefile

[PATCH v6 9/9] leds: Update the lp55xx to use the multi color framework

2019-09-17 Thread Dan Murphy
Update the lp5523 to use the multi color framework. Signed-off-by: Dan Murphy --- v6 - Updated call to calculate LED intensity, removed extra module binary drivers/leds/leds-lp5523.c| 13 +++ drivers/leds/leds-lp55xx-common.c | 131 ++ drivers/leds

[PATCH v6 1/9] leds: multicolor: Add sysfs interface definition

2019-09-17 Thread Dan Murphy
Add a documentation of LED Multicolor LED class specific sysfs attributes. Signed-off-by: Dan Murphy --- v6 - Removed color_mix and color_id files .../ABI/testing/sysfs-class-led-multicolor| 43 +++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/ABI

[PATCH v6 4/9] dt-bindings: leds: Add multicolor ID to the color ID list

2019-09-17 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 --- v6 - no change include/dt-bindings/leds/common.h | 3 ++- 1 file changed, 2 insertions(+), 1

[PATCH v6 2/9] documention: leds: Add multicolor class documentation

2019-09-17 Thread Dan Murphy
Add the support documentation on the multicolor LED framework. This document defines the directores and file generated by the multicolor framework. It also documents usage. Signed-off-by: Dan Murphy --- v6 - Removed color_mix and color_id files Documentation/leds/index.rst

[PATCH v6 3/9] dt: bindings: Add multicolor class dt bindings documention

2019-09-17 Thread Dan Murphy
Add DT bindings for the LEDs multicolor class framework. Signed-off-by: Dan Murphy --- v6 - Fixed description and added suffix for function .../bindings/leds/leds-class-multicolor.txt | 95 +++ 1 file changed, 95 insertions(+) create mode 100644 Documentation/devicetree

[PATCH v6 6/9] leds: multicolor: Introduce a multicolor class definition

2019-09-17 Thread Dan Murphy
Introduce a multicolor class that groups colored LEDs within a LED node. The framework allows for dynamically setting individual LEDs or setting brightness levels of LEDs and updating them virtually simultaneously. Signed-off-by: Dan Murphy --- v6 removed color_id and color_mix files, used

[PATCH v6 7/9] dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers

2019-09-17 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 --- v6 - no changes .../devicetree

Re: [PATCH v6 6/9] leds: multicolor: Introduce a multicolor class definition

2019-09-18 Thread Dan Murphy
Greg +static int led_multicolor_init_color(struct led_classdev_mc_data *data, +struct led_classdev_mc *mcled_cdev, +int color_id, int color_index) +{ + struct led_classdev *led_cdev = mcled_cdev->led_cdev; +

Re: [PATCH 1/5] leds: lm3692x: Print error value on dev_err

2019-09-18 Thread Dan Murphy
Guido On 9/17/19 9:19 PM, Guido Günther wrote: This gives a way better idea what is going on. Signed-off-by: Guido Günther Reviewed-by: Dan Murphy --- drivers/leds/leds-lm3692x.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/drivers/leds/leds

Re: [PATCH 2/5] leds: lm3692x: Don't overwrite return value in error path

2019-09-18 Thread Dan Murphy
Guido On 9/17/19 9:19 PM, Guido Günther wrote: The driver currently reports successful initialization on every failure as long as it's able to power off the regulator. Don't check the return value of regulator_disable to avoid that. Signed-off-by: Guido Günther ---

Re: [PATCH 3/5] leds: lm3692x: Handle failure to probe the regulator

2019-09-18 Thread Dan Murphy
Guido On 9/17/19 9:19 PM, Guido Günther wrote: Instead use devm_regulator_get_optional since the regulator is optional and check for errors. Signed-off-by: Guido Günther --- drivers/leds/leds-lm3692x.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git

Re: [PATCH 4/5] leds: lm3692x: Use flags from LM3692X_BOOST_CTRL

2019-09-18 Thread Dan Murphy
Guido On 9/17/19 9:19 PM, Guido Günther wrote: The current setup of LM3692X_BOOST_CTRL uses flags from LM3692X_BRT_CTRL. Use flags from LM3692X_BOOST_CTRL but leave the resulting register value unchanged. Signed-off-by: Guido Günther Reviewed-by: Dan Murphy --- drivers/leds/leds

Re: [PATCH 5/5] leds: lm3692x: Use flags from LM3692X_BRT_CTRL

2019-09-18 Thread Dan Murphy
Guido On 9/17/19 9:19 PM, Guido Günther wrote: Use LM3692X_RAMP_EN instead of LM3692X_PWM_HYSTER_4LSB since the later is a flag for the PWM register. The actual register value remains unchanged. Signed-off-by: Guido Günther Reviewed-by: Dan Murphy --- drivers/leds/leds-lm3692x.c | 2

Re: [PATCH v6 6/9] leds: multicolor: Introduce a multicolor class definition

2019-09-18 Thread Dan Murphy
to use them. Dan On 9/17/19 7:59 PM, Dan Murphy wrote: Introduce a multicolor class that groups colored LEDs within a LED node. The framework allows for dynamically setting individual LEDs or setting brightness levels of LEDs and updating them virtually simultaneously. Signed-off-by: Dan

Re: [PATCH] tas2770: add tas2770 smart PA dt bindings

2019-09-10 Thread Dan Murphy
Shi On 9/6/19 2:06 AM, shifu0...@thundersoft.com wrote: From: Frank Shi Subject should be dt-bindings: ASoC: Add tas2770 smart PA dt bindings Also Please add Rob Herring for review add tas2770 smart PA dt bindings Signed-off-by: Frank Shi ---

Re: [PATCH] tas2770: add tas2770 smart PA dt bindings

2019-09-10 Thread Dan Murphy
Shi One other thing On 9/10/19 8:21 AM, Dan Murphy wrote: Shi On 9/6/19 2:06 AM, shifu0...@thundersoft.com wrote: From: Frank Shi Subject should be dt-bindings: ASoC: Add tas2770 smart PA dt bindings Also Please add Rob Herring for review add tas2770 smart PA dt bindings Signed-off

Re: [PATCH] tas2770: add tas2770 smart PA kernel driver

2019-09-10 Thread Dan Murphy
Shi On 9/6/19 2:06 AM, shifu0...@thundersoft.com wrote: From: Frank Shi add tas2770 smart PA kernel driver Signed-off-by: Frank Shi --- sound/soc/codecs/Kconfig |5 + sound/soc/codecs/Makefile |2 + sound/soc/codecs/tas2770.c | 1103

[PATCH v5 6/9] leds: multicolor: Introduce a multicolor class definition

2019-09-11 Thread Dan Murphy
Introduce a multicolor class that groups colored LEDs within a LED node. The framework allows for dynamically setting individual LEDs or setting brightness levels of LEDs and updating them virtually simultaneously. Signed-off-by: Dan Murphy --- drivers/leds/Kconfig | 10

[PATCH v5 4/9] dt-bindings: leds: Add multicolor ID to the color ID list

2019-09-11 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 --- include/dt-bindings/leds/common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[PATCH v5 0/9] Multicolor FW update

2019-09-11 Thread Dan Murphy
the class doc to rst format. Dan Dan Murphy (9): leds: multicolor: Add sysfs interface definition documention: leds: Add multicolor class documentation dt: bindings: Add multicolor class dt bindings documention dt-bindings: leds: Add multicolor ID to the color ID list leds: Add multicolor ID

[PATCH v5 9/9] leds: Update the lp55xx to use the multi color framework

2019-09-11 Thread Dan Murphy
Update the lp5523 to use the multi color framework. Signed-off-by: Dan Murphy --- drivers/leds/leds-lp5523.c| 13 +++ drivers/leds/leds-lp55xx-common.c | 131 ++ drivers/leds/leds-lp55xx-common.h | 9 ++ include/linux/platform_data/leds

[PATCH v5 3/9] dt: bindings: Add multicolor class dt bindings documention

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

[PATCH v5 2/9] documention: leds: Add multicolor class documentation

2019-09-11 Thread Dan Murphy
Add the support documentation on the multicolor LED framework. This document defines the directores and file generated by the multicolor framework. It also documents usage. Signed-off-by: Dan Murphy --- Documentation/leds/index.rst | 1 + Documentation/leds/leds-class

[PATCH v5 5/9] leds: Add multicolor ID to the color ID list

2019-09-11 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

[PATCH v5 7/9] dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers

2019-09-11 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 v5 8/9] leds: lp50xx: Add the LP50XX family of the RGB LED driver

2019-09-11 Thread Dan Murphy
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 | 7 + drivers/leds/Makefile | 1

[PATCH v5 1/9] leds: multicolor: Add sysfs interface definition

2019-09-11 Thread Dan Murphy
Add a documentation of LED Multicolor LED class specific sysfs attributes. Signed-off-by: Dan Murphy --- .../ABI/testing/sysfs-class-led-multicolor| 73 +++ 1 file changed, 73 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-class-led-multicolor diff --git

[PATCH v2] leds: lm3532: Fix optional led-max-microamp prop error handling

2019-09-11 Thread Dan Murphy
Fix the error handling for the led-max-microamp property. Need to check if the property is present and then if it is retrieve the setting and its max boundary Reported-by: Pavel Machek Signed-off-by: Dan Murphy --- v2 - Changed full scale current check to use min function drivers/leds/leds

[PATCH net-next 4/4] net: dp83869: Add RGMII internal delay configuration

2020-05-19 Thread Dan Murphy
Add RGMII internal delay configuration for Rx and Tx. Signed-off-by: Dan Murphy --- drivers/net/phy/dp83869.c | 84 +++ 1 file changed, 84 insertions(+) diff --git a/drivers/net/phy/dp83869.c b/drivers/net/phy/dp83869.c index 64fa2d911074..7d0b11220e47

[PATCH net-next 3/4] dt-bindings: net: Add RGMII internal delay for DP83869

2020-05-19 Thread Dan Murphy
Add the internal delay values into the header and update the binding with the internal delay properties. Signed-off-by: Dan Murphy --- .../devicetree/bindings/net/ti,dp83869.yaml| 16 include/dt-bindings/net/ti-dp83869.h | 18 ++ 2 files changed

[PATCH net-next 1/4] net: phy: dp83869: Update port-mirroring to read straps

2020-05-19 Thread Dan Murphy
The device tree may not have the property set for port mirroring because the hardware may have it strapped. If the property is not in the DT then check the straps and set the port mirroring bit appropriately. Signed-off-by: Dan Murphy --- drivers/net/phy/dp83869.c | 15 --- 1 file

[PATCH net-next 2/4] net: phy: dp83869: Set opmode from straps

2020-05-19 Thread Dan Murphy
If the op-mode for the device is not set in the device tree then set the strapped op-mode and store it for later configuration. Signed-off-by: Dan Murphy --- drivers/net/phy/dp83869.c | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/drivers/net/phy

[PATCH net-next 0/4] DP83869 Enhancements

2020-05-19 Thread Dan Murphy
the PHY's configuration values will be retained. The PHY also supports RGMII internal delays. Implement this feature as it was done in the DP83867 device. Dan Murphy (4): net: phy: dp83869: Update port-mirroring to read straps net: phy: dp83869: Set opmode from straps dt-bindings: net: Add

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

2020-05-19 Thread Dan Murphy
Add HEALTH_WARM, HEALTH_COOL and HEALTH_HOT to the health enum. HEALTH_WARM, HEALTH_COOL, and HEALTH_HOT properties are taken from the JEITA spec. Signed-off-by: Dan Murphy Tested-by: Guru Das Srinagesh --- Documentation/ABI/testing/sysfs-class-power | 2 +- drivers/power/supply

[PATCH v7 0/3] Add JEITA properties and introduce the bq2515x charger

2020-05-19 Thread Dan Murphy
Hello, This patchset adds additional health properties to the power_supply header. These additional properties are taken from the JEITA specification. This patchset also introduces the bq2515x family of charging ICs. Dan Murphy (1): power_supply: Add additional health properties to the header

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

2020-05-19 Thread Dan Murphy
ger family + +maintainers: + - Dan Murphy + - Ricardo Rivera-Matos + +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 v7 3/3] power: supply: bq25150 introduce the bq25150

2020-05-19 Thread Dan Murphy
power supply\n"); + return ret; + } + + ret = bq2515x_hw_init(bq2515x); + if (ret) { + dev_err(dev, "Cannot initialize the chip\n"); + return ret; + } + + return 0; +} + +static const struct i2c_device_id bq2515x_i2c_ids[] = { +

Re: [PATCH net-next 2/4] net: phy: dp83869: Set opmode from straps

2020-05-19 Thread Dan Murphy
Jakub On 5/19/20 11:58 AM, Jakub Kicinski wrote: On Tue, 19 May 2020 09:18:11 -0500 Dan Murphy wrote: If the op-mode for the device is not set in the device tree then set the strapped op-mode and store it for later configuration. Signed-off-by: Dan Murphy ../drivers/net/phy/dp83869.c

Re: [PATCH net-next 2/4] net: phy: dp83869: Set opmode from straps

2020-05-19 Thread Dan Murphy
to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Dan-Murphy/DP83869-Enhancements/20200519

Re: [PATCH net-next 2/4] net: phy: dp83869: Set opmode from straps

2020-05-19 Thread Dan Murphy
Jakub On 5/19/20 12:40 PM, Dan Murphy wrote: Jakub On 5/19/20 11:58 AM, Jakub Kicinski wrote: On Tue, 19 May 2020 09:18:11 -0500 Dan Murphy wrote: If the op-mode for the device is not set in the device tree then set the strapped op-mode and store it for later configuration. Signed-off

Re: [PATCH net-next 2/4] net: phy: dp83869: Set opmode from straps

2020-05-19 Thread Dan Murphy
Andrew On 5/19/20 1:29 PM, Andrew Lunn wrote: On Tue, May 19, 2020 at 09:58:18AM -0700, Jakub Kicinski wrote: On Tue, 19 May 2020 09:18:11 -0500 Dan Murphy wrote: If the op-mode for the device is not set in the device tree then set the strapped op-mode and store it for later configuration

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