[PATCH v30 10/16] leds: lp55xx: Add multicolor framework support to lp55xx

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

[PATCH v30 06/16] dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers

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

[PATCH v30 04/16] leds: Add multicolor ID to the color ID list

2020-07-13 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 v30 12/16] leds: lp5523: Update the lp5523 code to add multicolor brightness function

2020-07-13 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 v30 02/16] leds: lp5523: Fix various formatting issues in the code

2020-07-13 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 v30 01/16] leds: lp55xx: Fix file permissions to use DEVICE_ATTR macros

2020-07-13 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 v30 00/16] Multicolor Framework v30

2020-07-13 Thread Dan Murphy
LEDs Fixed documentation, removed adding a space when reading intensity and index, update LP50xx to store trigger directly into led_cdev added RB's by Rob H. Dan Dan Murphy (16): leds: lp55xx: Fix file permissions to use DEVICE_ATTR macros leds: lp5523: Fix various formatting issues in the

Re: [PATCH v29 03/16] leds: multicolor: Introduce a multicolor class definition

2020-07-13 Thread Dan Murphy
Pavel Thanks for the review On 7/11/20 10:57 AM, Pavel Machek wrote: Hi! Introduce a multicolor class that groups colored LEDs within a LED node. +What: /sys/class/leds//multi_intensity +Date: March 2020 +KernelVersion: 5.8 +Contact: Dan Murphy +Description: read

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

2020-07-13 Thread Dan Murphy
Marek Thanks for the review On 7/12/20 12:21 PM, Marek Behun wrote: Hi Dan, one bug in this driver, see below. This is not really a bug.  It is an enhancement to the driver. I will update it since I have to touch the series anyway. Dan

[PATCH for-next v2 1/2] ASoC: tas2770: Fix reset gpio property name

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

[PATCH for-next v2 2/2] dt-bindings: tas2770: Convert tas2770 binding to yaml

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

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

2020-07-10 Thread Dan Murphy
signal. Fiber mode is only applicable to the DP83822 so rework the PHY match table so that non-fiber PHYs can still use the same driver but not call or use any of the fiber features. Signed-off-by: Dan Murphy --- drivers/net/phy/dp83822.c | 161 ++ 1 file changed

[PATCH net-next v2 0/2] DP83822 Fiber enablement

2020-07-10 Thread Dan Murphy
the PHY will not perfomr signal loss detection. Dan Dan Murphy (2): dt-bindings: net: dp83822: Add TI dp83822 phy net: phy: DP83822: Add ability to advertise Fiber connection .../devicetree/bindings/net/ti,dp83822.yaml | 80 + drivers/net/phy/dp83822.c | 161

[PATCH net-next v2 1/2] dt-bindings: net: dp83822: Add TI dp83822 phy

2020-07-10 Thread Dan Murphy
Add a dt binding for the TI dp83822 ethernet phy device. CC: Rob Herring Signed-off-by: Dan Murphy --- .../devicetree/bindings/net/ti,dp83822.yaml | 80 +++ 1 file changed, 80 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/ti,dp83822.yaml diff --git

[PATCH 2/2] ASoC: tlv320adcx140: Add tx offset slot programming

2020-07-09 Thread Dan Murphy
Add the TX offset slot programming. There is no RX offset slot register. Since there is no RX offset the check for slot symmetry can be removed. Signed-off-by: Dan Murphy --- sound/soc/codecs/tlv320adcx140.c | 40 1 file changed, 10 insertions(+), 30 deletions

[PATCH 1/2] ASoC: tlv320adcx140: Add ASI enable for channel 5-8

2020-07-09 Thread Dan Murphy
Add the ALSA controls to enable the ASI for channels 5-8 Signed-off-by: Dan Murphy --- sound/soc/codecs/tlv320adcx140.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/sound/soc/codecs/tlv320adcx140.c b/sound/soc/codecs/tlv320adcx140.c index 35fe8ee5bce9

Re: [PATCH v29 00/16] Multicolor Framework v29

2020-07-07 Thread Dan Murphy
Pavel On 7/6/20 7:31 AM, Dan Murphy wrote: Pavel On 7/4/20 7:47 AM, Pavel Machek wrote: Hi! This is the multi color LED framework. This framework presents clustered colored LEDs into an array and allows the user space to adjust the brightness of the cluster using a single file write.  The

Re: [PATCH v29 00/16] Multicolor Framework v29

2020-07-06 Thread Dan Murphy
Pavel On 7/4/20 7:47 AM, Pavel Machek wrote: Hi! This is the multi color LED framework. This framework presents clustered colored LEDs into an array and allows the user space to adjust the brightness of the cluster using a single file write. The individual colored LEDs intensities are contr

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

2020-07-01 Thread Dan Murphy
Sebastian On 6/30/20 4:54 PM, Ricardo Rivera-Matos wrote: From: 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 JEITA specification JISC8712:2015 Acked-by: Andrew F. Davis Tested-by: Guru Das

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

2020-07-01 Thread Dan Murphy
Sebastian On 6/11/20 2:46 PM, Dan Murphy wrote: Bump to the series I am wondering if this patchset was applied yet? I have not recieved any comments except Rob's acks on the bindings Dan

Re: [PATCH v14 2/4] dt-bindings: power: Convert battery.txt to battery.yaml

2020-07-01 Thread Dan Murphy
Joe On 6/30/20 5:32 PM, Joe Perches wrote: On Tue, 2020-06-30 at 16:54 -0500, Ricardo Rivera-Matos wrote: bindings/power/supply/battery.txt Do any of these also need updating? Documentation/devicetree/bindings/power/supply/bq24190.txt: See also Documentation/devicetree/bindings/power/supply

Re: [PATCH v13 2/4] dt-bindings: power: Convert battery.txt to battery.yaml

2020-06-30 Thread Dan Murphy
Rob On 6/29/20 5:56 PM, Rob Herring wrote: On Mon, Jun 22, 2020 at 02:18:35PM -0500, Ricardo Rivera-Matos wrote: From: Dan Murphy Convert the battery.txt file to yaml and fix up the examples. Signed-off-by: Dan Murphy --- .../bindings/power/supply/battery.txt | 83

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

2020-06-26 Thread Dan Murphy
Convert the TAS2562 text file to yaml format. Signed-off-by: Dan Murphy --- .../devicetree/bindings/sound/tas2562.txt | 37 - .../devicetree/bindings/sound/tas2562.yaml| 77 +++ 2 files changed, 77 insertions(+), 37 deletions(-) delete mode 100644 Documentation

[PATCH 1/4] ASoC: tas2562: Add right and left channel slot programming

2020-06-26 Thread Dan Murphy
Add programming for the tdm slots for the right and left. This also requires configuring the RX/TX offsets for the DAI format type. Signed-off-by: Dan Murphy --- sound/soc/codecs/tas2562.c | 71 +- sound/soc/codecs/tas2562.h | 5 ++- 2 files changed, 59

[PATCH 3/4] ASoC: tas2562: Add voltage sense slot configuration

2020-06-26 Thread Dan Murphy
. Signed-off-by: Dan Murphy --- sound/soc/codecs/tas2562.c | 65 ++ 1 file changed, 51 insertions(+), 14 deletions(-) diff --git a/sound/soc/codecs/tas2562.c b/sound/soc/codecs/tas2562.c index 1d3c381aeefe..5c28af370bd4 100644 --- a/sound/soc/codecs/tas2562.c

[PATCH 2/4] dt-bindings: tas2562: Add voltage sense slot property

2020-06-26 Thread Dan Murphy
Add a property to configure the slot for the voltage sense monitoring of the device. Vsense data will be sent to the processor via the slot defined by the property Signed-off-by: Dan Murphy --- Documentation/devicetree/bindings/sound/tas2562.txt | 3 +++ 1 file changed, 3 insertions(+) diff

Re: [PATCH BUGFIX] can: m_can: make m_can driver work with sleep state pinconfig

2020-06-25 Thread Dan Murphy
Lothar On 6/25/20 7:24 AM, Lothar Waßmann wrote: Hi, When trying to use the m_can driver on an stm32mp15 based system, I found that I could not send or receive any data. Analyzing the pinctrl registers revealed, that the pins were configured for sleep state even when the can interfaces were in

Re: [PATCH v6 4/7] ASoC: tas2562: Add rx and tx slot programming

2020-06-24 Thread Dan Murphy
Hello On 6/24/20 12:49 PM, Dan Murphy wrote: Add programming for the tdm slots for both tx and rx offsets. Signed-off-by: Dan Murphy --- sound/soc/codecs/tas2562.c | 17 - sound/soc/codecs/tas2562.h | 4 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a

Re: [PATCH v5 3/7] ASoC: tas2562: Fix format issue for extra space before a comma

2020-06-24 Thread Dan Murphy
Mark On 6/24/20 12:48 PM, Mark Brown wrote: On Wed, Jun 24, 2020 at 12:36:02PM -0500, Dan Murphy wrote: Can this patchset get a review as well so I can fix before I post v6? Not sure what the current work load is for review or merge. Well, it's less work to review if it's been fix

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

2020-06-24 Thread Dan Murphy
Update the shutdown GPIO property to be shutdown from shut-down. Fixes: c173dba44c2d2 ("ASoC: tas2562: Introduce the TAS2562 amplifier") Signed-off-by: Dan Murphy --- sound/soc/codecs/tas2562.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/t

[PATCH v6 7/7] dt-bindings: tas2562: Convert the tas2562 binding to yaml

2020-06-24 Thread Dan Murphy
Convert the TAS2562 text file to yaml format. Signed-off-by: Dan Murphy --- .../devicetree/bindings/sound/tas2562.txt | 37 - .../devicetree/bindings/sound/tas2562.yaml| 77 +++ 2 files changed, 77 insertions(+), 37 deletions(-) delete mode 100644 Documentation

[PATCH v6 5/7] dt-bindings: tas2562: Add voltage sense slot property

2020-06-24 Thread Dan Murphy
Add a property to configure the slot for the voltage sense monitoring of the device. Vsense data will be sent to the processor via the slot defined by the property Signed-off-by: Dan Murphy --- Documentation/devicetree/bindings/sound/tas2562.txt | 3 +++ 1 file changed, 3 insertions(+) diff

[PATCH v6 6/7] ASoC: tas2562: Add voltage sense slot configuration

2020-06-24 Thread Dan Murphy
. Signed-off-by: Dan Murphy --- sound/soc/codecs/tas2562.c | 65 ++ 1 file changed, 51 insertions(+), 14 deletions(-) diff --git a/sound/soc/codecs/tas2562.c b/sound/soc/codecs/tas2562.c index 2f1d4b697f01..b0b7cef79433 100644 --- a/sound/soc/codecs/tas2562.c

[PATCH v6 1/7] dt-bindings: tas2562: Fix shut-down gpio property

2020-06-24 Thread Dan Murphy
Fix the shut-down gpio property to be shut-down-gpio and fix the example. Signed-off-by: Dan Murphy --- Documentation/devicetree/bindings/sound/tas2562.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/tas2562.txt b

[PATCH v6 4/7] ASoC: tas2562: Add rx and tx slot programming

2020-06-24 Thread Dan Murphy
Add programming for the tdm slots for both tx and rx offsets. Signed-off-by: Dan Murphy --- sound/soc/codecs/tas2562.c | 17 - sound/soc/codecs/tas2562.h | 4 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/sound/soc/codecs/tas2562.c b/sound/soc/codecs

[PATCH v6 3/7] ASoC: tas2562: Fix format issue for extra space before a comma

2020-06-24 Thread Dan Murphy
Fix the issue found that there is an extra space before a comma in the volume control. Fixes: bf726b1c86f2c ("ASoC: tas2562: Add support for digital volume control") Signed-off-by: Dan Murphy --- sound/soc/codecs/tas2562.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[PATCH v6 0/7] TAS2562 issue fixes and slot programming

2020-06-24 Thread Dan Murphy
adder to the isense slot. Finally the yaml conversion patch was moved to be the last patch in the series so that the fixes can be applied and the yaml can be reviewed appropriately and does not hold up the rest of the fixes. Dan Dan Murphy (7): dt-bindings: tas2562: Fix shut-down gpio property

Re: [PATCH v5 3/7] ASoC: tas2562: Fix format issue for extra space before a comma

2020-06-24 Thread Dan Murphy
Mark On 6/24/20 11:58 AM, Dan Murphy wrote: Mark On 6/24/20 11:29 AM, Mark Brown wrote: On Wed, Jun 24, 2020 at 11:14:55AM -0500, Dan Murphy wrote: Fix the issue found that there is an extra space before a comma in the volume control. Fixes: bf726b1c86f2c ("ASoC: tas2562: Add suppor

Re: [PATCH v5 3/7] ASoC: tas2562: Fix format issue for extra space before a comma

2020-06-24 Thread Dan Murphy
Mark On 6/24/20 11:29 AM, Mark Brown wrote: On Wed, Jun 24, 2020 at 11:14:55AM -0500, Dan Murphy wrote: Fix the issue found that there is an extra space before a comma in the volume control. Fixes: bf726b1c86f2c ("ASoC: tas2562: Add support for digital volume control") Signed-o

[PATCH v5 4/7] ASoC: tas2562: Add rx and tx slot programming

2020-06-24 Thread Dan Murphy
Add programming for the tdm slots for both tx and rx offsets. Signed-off-by: Dan Murphy --- sound/soc/codecs/tas2562.c | 17 - sound/soc/codecs/tas2562.h | 4 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/sound/soc/codecs/tas2562.c b/sound/soc/codecs

[PATCH v5 6/7] ASoC: tas2562: Add voltage sense slot configuration

2020-06-24 Thread Dan Murphy
. Signed-off-by: Dan Murphy --- sound/soc/codecs/tas2562.c | 65 ++ 1 file changed, 51 insertions(+), 14 deletions(-) diff --git a/sound/soc/codecs/tas2562.c b/sound/soc/codecs/tas2562.c index 2f1d4b697f01..b0b7cef79433 100644 --- a/sound/soc/codecs/tas2562.c

[PATCH v5 7/7] dt-bindings: tas2562: Convert the tas2562 binding to yaml

2020-06-24 Thread Dan Murphy
Convert the TAS2562 text file to yaml format. Signed-off-by: Dan Murphy --- .../devicetree/bindings/sound/tas2562.txt | 37 - .../devicetree/bindings/sound/tas2562.yaml| 77 +++ 2 files changed, 77 insertions(+), 37 deletions(-) delete mode 100644 Documentation

[PATCH v5 3/7] ASoC: tas2562: Fix format issue for extra space before a comma

2020-06-24 Thread Dan Murphy
Fix the issue found that there is an extra space before a comma in the volume control. Fixes: bf726b1c86f2c ("ASoC: tas2562: Add support for digital volume control") Signed-off-by: Dan Murphy --- arch/arm/boot/compressed/fdt.h | 66 + arch/arm/boot/compresse

[PATCH v5 5/7] dt-bindings: tas2562: Add voltage sense slot property

2020-06-24 Thread Dan Murphy
Add a property to configure the slot for the voltage sense monitoring of the device. Vsense data will be sent to the processor via the slot defined by the property Signed-off-by: Dan Murphy --- Documentation/devicetree/bindings/sound/tas2562.txt | 3 +++ 1 file changed, 3 insertions(+) diff

[PATCH v5 1/7] dt-bindings: tas2562: Fix shut-down gpio property

2020-06-24 Thread Dan Murphy
Fix the shut-down gpio property to be shut-down-gpio and fix the example. Signed-off-by: Dan Murphy --- Documentation/devicetree/bindings/sound/tas2562.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/tas2562.txt b

[PATCH v5 0/7] TAS2562 issue fixes and slot programming

2020-06-24 Thread Dan Murphy
adder to the isense slot. Finally the yaml conversion patch was moved to be the last patch in the series so that the fixes can be applied and the yaml can be reviewed appropriately and does not hold up the rest of the fixes. Dan Dan Murphy (7): dt-bindings: tas2562: Fix shut-down gpio property

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

2020-06-24 Thread Dan Murphy
Update the shutdown GPIO property to be shutdown from shut-down. Fixes: c173dba44c2d2 ("ASoC: tas2562: Introduce the TAS2562 amplifier") Signed-off-by: Dan Murphy --- sound/soc/codecs/tas2562.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/t

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

2020-06-24 Thread Dan Murphy
Add RGMII internal delay configuration for Rx and Tx. Signed-off-by: Dan Murphy --- drivers/net/phy/dp83869.c | 53 --- 1 file changed, 50 insertions(+), 3 deletions(-) diff --git a/drivers/net/phy/dp83869.c b/drivers/net/phy/dp83869.c index 53ed3abc26c9

[PATCH net-next v11 5/5] net: phy: DP83822: Add setting the fixed internal delay

2020-06-24 Thread Dan Murphy
The DP83822 can be configured to use the RGMII interface. There are independent fixed 3.5ns clock shift (aka internal delay) for the TX and RX paths. This allow either one to be set if the MII interface is RGMII and the value is set in the firmware node. Signed-off-by: Dan Murphy --- drivers

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

2020-06-24 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 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree

[PATCH net-next v11 1/5] dt-bindings: net: Add tx and rx internal delays

2020-06-24 Thread Dan Murphy
. Signed-off-by: Dan Murphy --- .../devicetree/bindings/net/ethernet-phy.yaml| 12 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/net/ethernet-phy.yaml b/Documentation/devicetree/bindings/net/ethernet-phy.yaml index 9b1f1147ca36

[PATCH net-next v11 2/5] net: phy: Add a helper to return the index for of the internal delay

2020-06-24 Thread Dan Murphy
Add a helper function that will return the index in the array for the passed in internal delay value. The helper requires the array, size and delay value. The helper will then return the index for the exact match or return the index for the index to the closest smaller value. Signed-off-by: Dan

[PATCH net-next v11 0/5] RGMII Internal delay common property

2020-06-24 Thread Dan Murphy
o add device properties since the value is not configurable. Per the ethernet-controller.yaml the interface type indicates that the PHY should provide the delay. This series contains examples of both a configurable delay and a fixed delay. Dan Murphy (5): dt-bindings: net: Add tx and rx int

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

2020-06-23 Thread Dan Murphy
Mark On 6/23/20 12:18 PM, Mark Brown wrote: On Tue, Jun 23, 2020 at 10:59:49AM -0500, Dan Murphy wrote: On 6/12/20 12:14 PM, Dan Murphy wrote: Update the shutdown GPIO property to be shutdown from shut-down. I have some other patches that go on top of this patchset I am wondering if I should

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

2020-06-23 Thread Dan Murphy
Hello On 6/12/20 12:14 PM, Dan Murphy wrote: Update the shutdown GPIO property to be shutdown from shut-down. I have some other patches that go on top of this patchset I am wondering if I should re-submit with those patches on top or indicate in a cover letter the dependency Dan

[PATCH net-next v10 5/5] net: phy: DP83822: Add setting the fixed internal delay

2020-06-23 Thread Dan Murphy
The DP83822 can be configured to use the RGMII interface. There are independent fixed 3.5ns clock shift (aka internal delay) for the TX and RX paths. This allow either one to be set if the MII interface is RGMII and the value is set in the firmware node. Signed-off-by: Dan Murphy --- drivers

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

2020-06-23 Thread Dan Murphy
Add RGMII internal delay configuration for Rx and Tx. Signed-off-by: Dan Murphy --- drivers/net/phy/dp83869.c | 53 --- 1 file changed, 50 insertions(+), 3 deletions(-) diff --git a/drivers/net/phy/dp83869.c b/drivers/net/phy/dp83869.c index 53ed3abc26c9

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

2020-06-23 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 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree

[PATCH net-next v10 2/5] net: phy: Add a helper to return the index for of the internal delay

2020-06-23 Thread Dan Murphy
Add a helper function that will return the index in the array for the passed in internal delay value. The helper requires the array, size and delay value. The helper will then return the index for the exact match or return the index for the index to the closest smaller value. Signed-off-by: Dan

[PATCH net-next v10 1/5] dt-bindings: net: Add tx and rx internal delays

2020-06-23 Thread Dan Murphy
. Signed-off-by: Dan Murphy --- .../devicetree/bindings/net/ethernet-phy.yaml| 12 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/net/ethernet-phy.yaml b/Documentation/devicetree/bindings/net/ethernet-phy.yaml index 9b1f1147ca36

[PATCH net-next v10 0/5] RGMII Internal delay common property

2020-06-23 Thread Dan Murphy
o add device properties since the value is not configurable. Per the ethernet-controller.yaml the interface type indicates that the PHY should provide the delay. This series contains examples of both a configurable delay and a fixed delay. Dan Murphy (5): dt-bindings: net: Add tx and rx int

Re: [PATCH net-next v9 2/5] net: phy: Add a helper to return the index for of the internal delay

2020-06-22 Thread Dan Murphy
David On 6/22/20 5:40 PM, David Miller wrote: From: Dan Murphy Date: Fri, 19 Jun 2020 11:18:10 -0500 +s32 phy_get_internal_delay(struct phy_device *phydev, struct device *dev, + const int *delay_values, int size, bool is_rx) +{ + int i; + s32 delay

Re: [PATCH net-next v9 1/5] dt-bindings: net: Add tx and rx internal delays

2020-06-22 Thread Dan Murphy
David Thanks for the review On 6/22/20 5:40 PM, David Miller wrote: From: Dan Murphy Date: Fri, 19 Jun 2020 11:18:09 -0500 @@ -162,6 +162,19 @@ properties: description: Specifies a reference to a node representing a SFP cage. + + rx-internal-delay-ps: Do you really want

[PATCH v29 04/16] dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers

2020-06-22 Thread Dan Murphy
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

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

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

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

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

[PATCH v29 12/16] ARM: defconfig: u8500: Add LP55XX_COMMON config flag

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

[PATCH v29 14/16] leds: lp5521: Add multicolor framework multicolor brightness support

2020-06-22 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 v29 10/16] leds: lp55xx: Convert LED class registration to devm_*

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

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

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

2020-06-22 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 | 37

[PATCH v29 00/16] Multicolor Framework v29

2020-06-22 Thread Dan Murphy
LEDs Change to the LEDs Kconfig to fix dependencies on the LP55XX_COMMON. Added update to the u8500_defconfig Dan Dan Murphy (16): dt: bindings: Add multicolor class dt bindings documention leds: Add multicolor ID to the color ID list leds: multicolor: Introduce a multicolor class definition

[PATCH v29 06/16] dt-bindings: leds: Convert leds-lp55xx to yaml

2020-06-22 Thread Dan Murphy
Convert the leds-lp55xx.txt to yaml binding. Signed-off-by: Dan Murphy --- .../devicetree/bindings/leds/leds-lp55xx.txt | 228 -- .../devicetree/bindings/leds/leds-lp55xx.yaml | 220 + 2 files changed, 220 insertions(+), 228 deletions(-) delete mode 100644

[PATCH v29 03/16] leds: multicolor: Introduce a multicolor class definition

2020-06-22 Thread Dan Murphy
. Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy --- .../ABI/testing/sysfs-class-led-multicolor| 36 +++ Documentation/leds/index.rst | 1 + Documentation/leds/leds-class-multicolor.rst | 88 drivers/leds/Kconfig | 10 + drivers

[PATCH v29 15/16] leds: lp55xx: Fix file permissions to use DEVICE_ATTR macros

2020-06-22 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 v29 13/16] leds: lp5523: Update the lp5523 code to add multicolor brightness function

2020-06-22 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 v29 07/16] ARM: dts: n900: Add reg property to the LP5523 channel node

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

[PATCH v29 16/16] leds: lp5523: Fix various formatting issues in the code

2020-06-22 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 v29 02/16] leds: Add multicolor ID to the color ID list

2020-06-22 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 v29 05/16] leds: lp50xx: Add the LP50XX family of the RGB LED driver

2020-06-22 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

Re: [RESEND PATCH v27 11/15] leds: lp55xx: Add multicolor framework support to lp55xx

2020-06-22 Thread Dan Murphy
Jacek On 6/21/20 3:24 PM, Jacek Anaszewski wrote: Dan, On 6/21/20 4:12 PM, Dan Murphy wrote: Jacek On 6/19/20 5:10 PM, Jacek Anaszewski wrote: Dan, On 6/19/20 6:35 PM, Dan Murphy wrote: Jacek On 6/18/20 6:26 PM, Jacek Anaszewski wrote: On 6/19/20 12:09 AM, Jacek Anaszewski wrote: Dan

Re: [RESEND PATCH v27 11/15] leds: lp55xx: Add multicolor framework support to lp55xx

2020-06-22 Thread Dan Murphy
Jacek On 6/22/20 7:42 AM, Jacek Anaszewski wrote: Dan, On 6/21/20 10:24 PM, Jacek Anaszewski wrote: Dan, On 6/21/20 4:12 PM, Dan Murphy wrote: Jacek On 6/19/20 5:10 PM, Jacek Anaszewski wrote: Dan, On 6/19/20 6:35 PM, Dan Murphy wrote: Jacek On 6/18/20 6:26 PM, Jacek Anaszewski wrote

Re: [RESEND PATCH v27 11/15] leds: lp55xx: Add multicolor framework support to lp55xx

2020-06-21 Thread Dan Murphy
Jacek On 6/19/20 5:10 PM, Jacek Anaszewski wrote: Dan, On 6/19/20 6:35 PM, Dan Murphy wrote: Jacek On 6/18/20 6:26 PM, Jacek Anaszewski wrote: On 6/19/20 12:09 AM, Jacek Anaszewski wrote: Dan, On 6/18/20 11:44 PM, Dan Murphy wrote: Jacek On 6/18/20 4:21 PM, Jacek Anaszewski wrote: Dan

Re: [RESEND PATCH v27 11/15] leds: lp55xx: Add multicolor framework support to lp55xx

2020-06-19 Thread Dan Murphy
Jacek On 6/18/20 6:26 PM, Jacek Anaszewski wrote: On 6/19/20 12:09 AM, Jacek Anaszewski wrote: Dan, On 6/18/20 11:44 PM, Dan Murphy wrote: Jacek On 6/18/20 4:21 PM, Jacek Anaszewski wrote: Dan, On 6/18/20 12:33 AM, Dan Murphy wrote: Jacek On 6/17/20 4:41 PM, Jacek Anaszewski wrote: Dan

[PATCH net-next v9 0/5] RGMII Internal delay common property

2020-06-19 Thread Dan Murphy
o add device properties since the value is not configurable. Per the ethernet-controller.yaml the interface type indicates that the PHY should provide the delay. This series contains examples of both a configurable delay and a fixed delay. Dan Murphy (5): dt-bindings: net: Add tx and rx int

[PATCH net-next v9 2/5] net: phy: Add a helper to return the index for of the internal delay

2020-06-19 Thread Dan Murphy
Add a helper function that will return the index in the array for the passed in internal delay value. The helper requires the array, size and delay value. The helper will then return the index for the exact match or return the index for the index to the closest smaller value. Signed-off-by: Dan

[PATCH net-next v9 5/5] net: phy: DP83822: Add setting the fixed internal delay

2020-06-19 Thread Dan Murphy
The DP83822 can be configured to use the RGMII interface. There are independent fixed 3.5ns clock shift (aka internal delay) for the TX and RX paths. This allow either one to be set if the MII interface is RGMII and the value is set in the firmware node. Signed-off-by: Dan Murphy --- drivers

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

2020-06-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 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree

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

2020-06-19 Thread Dan Murphy
Add RGMII internal delay configuration for Rx and Tx. Signed-off-by: Dan Murphy --- drivers/net/phy/dp83869.c | 53 --- 1 file changed, 50 insertions(+), 3 deletions(-) diff --git a/drivers/net/phy/dp83869.c b/drivers/net/phy/dp83869.c index 53ed3abc26c9

[PATCH net-next v9 1/5] dt-bindings: net: Add tx and rx internal delays

2020-06-19 Thread Dan Murphy
. Signed-off-by: Dan Murphy --- .../devicetree/bindings/net/ethernet-phy.yaml | 13 + 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindings/net/ethernet-phy.yaml b/Documentation/devicetree/bindings/net/ethernet-phy.yaml index 9b1f1147ca36

Re: [PATCH net-next v8 2/5] net: phy: Add a helper to return the index for of the internal delay

2020-06-18 Thread Dan Murphy
Hello On 6/18/20 6:29 PM, kernel test robot wrote: Hi Dan, I love your patch! Yet something to improve: [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Dan-Murphy/RGMII-Internal-delay-common-property/20200619-051238 base: https://git.kernel.org

Re: [RESEND PATCH v27 11/15] leds: lp55xx: Add multicolor framework support to lp55xx

2020-06-18 Thread Dan Murphy
Jacek On 6/18/20 6:26 PM, Jacek Anaszewski wrote: On 6/19/20 12:09 AM, Jacek Anaszewski wrote: Dan, On 6/18/20 11:44 PM, Dan Murphy wrote: Jacek On 6/18/20 4:21 PM, Jacek Anaszewski wrote: Dan, On 6/18/20 12:33 AM, Dan Murphy wrote: Jacek On 6/17/20 4:41 PM, Jacek Anaszewski wrote: Dan

Re: [RESEND PATCH v27 11/15] leds: lp55xx: Add multicolor framework support to lp55xx

2020-06-18 Thread Dan Murphy
Jacek On 6/18/20 4:21 PM, Jacek Anaszewski wrote: Dan, On 6/18/20 12:33 AM, Dan Murphy wrote: Jacek On 6/17/20 4:41 PM, Jacek Anaszewski wrote: Dan, On 6/17/20 9:22 PM, Dan Murphy wrote: Pavel/Jacek On 6/17/20 11:28 AM, kernel test robot wrote: Hi Dan, I love your patch! Yet something

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

2020-06-18 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 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree

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

2020-06-18 Thread Dan Murphy
Add RGMII internal delay configuration for Rx and Tx. Signed-off-by: Dan Murphy --- drivers/net/phy/dp83869.c | 53 --- 1 file changed, 50 insertions(+), 3 deletions(-) diff --git a/drivers/net/phy/dp83869.c b/drivers/net/phy/dp83869.c index 53ed3abc26c9

[PATCH net-next v8 5/5] net: phy: DP83822: Add setting the fixed internal delay

2020-06-18 Thread Dan Murphy
The DP83822 can be configured to use the RGMII interface. There are independent fixed 3.5ns clock shift (aka internal delay) for the TX and RX paths. This allow either one to be set if the MII interface is RGMII and the value is set in the firmware node. Signed-off-by: Dan Murphy --- drivers

[PATCH net-next v8 1/5] dt-bindings: net: Add tx and rx internal delays

2020-06-18 Thread Dan Murphy
. Reviewed-by: Andrew Lunn Signed-off-by: Dan Murphy --- .../devicetree/bindings/net/ethernet-phy.yaml | 13 + 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindings/net/ethernet-phy.yaml b/Documentation/devicetree/bindings/net/ethernet-phy.yaml index

[PATCH net-next v8 2/5] net: phy: Add a helper to return the index for of the internal delay

2020-06-18 Thread Dan Murphy
Add a helper function that will return the index in the array for the passed in internal delay value. The helper requires the array, size and delay value. The helper will then return the index for the exact match or return the index for the index to the closest smaller value. Signed-off-by: Dan

[PATCH net-next v8 0/5] RGMII Internal delay common property

2020-06-18 Thread Dan Murphy
o add device properties since the value is not configurable. Per the ethernet-controller.yaml the interface type indicates that the PHY should provide the delay. This series contains examples of both a configurable delay and a fixed delay. Dan Murphy (5): dt-bindings: net: Add tx and rx int

Re: [PATCH net-next v7 1/6] dt-bindings: net: Add tx and rx internal delays

2020-06-18 Thread Dan Murphy
Andrew On 6/17/20 9:01 PM, Andrew Lunn wrote: On Wed, Jun 17, 2020 at 01:20:14PM -0500, Dan Murphy wrote: tx-internal-delays and rx-internal-delays are a common setting for RGMII capable devices. These properties are used when the phy-mode or phy-controller is set to rgmii-id, rgmii-rxid or

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