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

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

[PATCH v26 10/15] leds: lp55xx: Convert LED class registration to devm_*

2020-06-04 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 v26 11/15] leds: lp55xx: Add multicolor framework support to lp55xx

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

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

2020-06-04 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/Kconfig | 1 + drivers/leds

[PATCH v26 15/15] leds: lp5523: Fix various formatting issues in the code

2020-06-04 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 v26 14/15] leds: lp55xx: Fix file permissions to use DEVICE_ATTR macros

2020-06-04 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 v26 13/15] leds: lp5521: Add multicolor framework multicolor brightness support

2020-06-04 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/Kconfig | 1 + drivers

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

2020-06-04 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 v26 01/15] dt: bindings: Add multicolor class dt bindings documention

2020-06-04 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 | 39

[PATCH v26 05/15] leds: lp50xx: Add the LP50XX family of the RGB LED driver

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

[PATCH v26 04/15] dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers

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

[PATCH v26 06/15] dt-bindings: leds: Convert leds-lp55xx to yaml

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

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

[PATCH v26 02/15] leds: Add multicolor ID to the color ID list

2020-06-04 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 v26 03/15] leds: multicolor: Introduce a multicolor class definition

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

[PATCH v26 00/15] Multicolor Framework v25

2020-06-04 Thread Dan Murphy
of LEDs Dan Dan Murphy (15): dt: bindings: Add multicolor class dt bindings documention leds: Add multicolor ID to the color ID list leds: multicolor: Introduce a multicolor class definition dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers leds: lp50xx: Add the LP50XX family

[PATCH v26 00/15] Multicolor Framework v26

2020-06-04 Thread Dan Murphy
of LEDs Dan Dan Murphy (15): dt: bindings: Add multicolor class dt bindings documention leds: Add multicolor ID to the color ID list leds: multicolor: Introduce a multicolor class definition dt: bindings: lp50xx: Introduce the lp50xx family of RGB drivers leds: lp50xx: Add the LP50XX family

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

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

[PATCH net-next v6 0/4] RGMII Internal delay common property

2020-06-04 Thread Dan Murphy
. Dan Murphy (4): dt-bindings: net: Add tx and rx internal delays net: phy: Add a helper to return the index for of the internal delay dt-bindings: net: Add RGMII internal delay for DP83869 net: dp83869: Add RGMII internal delay configuration .../devicetree/bindings/net/ethernet-phy.yaml

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

2020-06-04 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 v6 2/4] net: phy: Add a helper to return the index for of the internal delay

2020-06-04 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 v6 4/4] net: dp83869: Add RGMII internal delay configuration

2020-06-04 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 cfb22a21a2e6

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

2020-06-02 Thread Dan Murphy
Florian On 6/2/20 6:13 PM, Florian Fainelli wrote: On 6/2/2020 4:10 PM, Dan Murphy wrote: Florian On 6/2/20 5:33 PM, Florian Fainelli wrote: On 6/2/2020 9:45 AM, Dan Murphy wrote: Add RGMII internal delay configuration for Rx and Tx. Signed-off-by: Dan Murphy --- [snip] +   enum

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

2020-06-02 Thread Dan Murphy
Florian On 6/2/20 6:18 PM, Dan Murphy wrote: Florian On 6/2/20 6:13 PM, Florian Fainelli wrote: On 6/2/2020 4:10 PM, Dan Murphy wrote: Florian On 6/2/20 5:33 PM, Florian Fainelli wrote: On 6/2/2020 9:45 AM, Dan Murphy wrote: Add RGMII internal delay configuration for Rx and Tx. Signed

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

2020-06-02 Thread Dan Murphy
Florian On 6/2/20 5:33 PM, Florian Fainelli wrote: On 6/2/2020 9:45 AM, Dan Murphy wrote: Add RGMII internal delay configuration for Rx and Tx. Signed-off-by: Dan Murphy --- [snip] + enum { DP83869_PORT_MIRRORING_KEEP, DP83869_PORT_MIRRORING_EN, @@ -108,6 +113,8 @@ enum

[PATCH 1/2] dt-bindings: ASoc: Fix tdm-slot documentation spelling error

2020-06-02 Thread Dan Murphy
Fix the spelling of 'specified'. Also fix grammarical issue with the use of 'a' over 'an' Signed-off-by: Dan Murphy --- Documentation/devicetree/bindings/sound/tdm-slot.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/tdm

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

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

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

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

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

2020-06-02 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 v5 2/4] net: phy: Add a helper to return the index for of the internal delay

2020-06-02 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 v5 4/4] net: dp83869: Add RGMII internal delay configuration

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

[PATCH net-next v5 0/4] RGMII Internal delay common property

2020-06-02 Thread Dan Murphy
. Dan Murphy (4): dt-bindings: net: Add tx and rx internal delays net: phy: Add a helper to return the index for of the internal delay dt-bindings: net: Add RGMII internal delay for DP83869 net: dp83869: Add RGMII internal delay configuration .../devicetree/bindings/net/ethernet-phy.yaml

[RESEND PATCH] dt-bindings: property-units: Add picoseconds type

2020-06-02 Thread Dan Murphy
Add the '-ps' picosecond unit suffix for property names. Signed-off-by: Dan Murphy --- Documentation/devicetree/bindings/property-units.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/property-units.txt b/Documentation/devicetree/bindings/property

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

2020-05-29 Thread Dan Murphy
Rob On 5/29/20 1:25 PM, Rob Herring wrote: On Wed, May 27, 2020 at 11:49:31AM -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

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

2020-05-29 Thread Dan Murphy
Rob On 5/29/20 2:03 PM, Rob Herring wrote: On Wed, May 27, 2020 at 11:49:33AM -0500, Dan Murphy wrote: 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

[PATCH] dt-bindings: sound: tlv320adcx140: Fix dt-binding-check issue

2020-05-28 Thread Dan Murphy
Fix dt-binding-check issue ti,gpi-config:0:0: 4 is greater than the maximum of 1 ti,gpi-config:0:1: 5 is greater than the maximum of 1 ti,gpi-config:0:2: 6 is greater than the maximum of 1 ti,gpi-config:0:3: 7 is greater than the maximum of 1 Reported-by: Rob Herring Signed-off-by: Dan Murphy

Re: [PATCH 1/2] dt-bindings: sound: tlv320adcx140: Add GPI config property

2020-05-28 Thread Dan Murphy
Rob On 5/28/20 9:05 AM, Rob Herring wrote: On Tue, May 26, 2020 at 03:09:16PM -0500, Dan Murphy wrote: Add an array property that configures the General Purpose Input (GPI) register. The device has 4 GPI pins and each pin can be configured in 1 of 7 different ways. Dan seems to have trouble

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

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

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

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

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

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

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

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

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

2020-05-28 Thread Dan Murphy
Sebasitan On 5/27/20 6:17 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 the JEITA spec. Tested-by: Guru Das Srinagesh Signed-off-by: Dan Murphy --- What

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

2020-05-27 Thread Dan Murphy
Convert the battery.txt file to yaml and fix up the examples. Signed-off-by: Dan Murphy --- .../bindings/power/supply/battery.txt | 82 +- .../bindings/power/supply/battery.yaml| 143 ++ 2 files changed, 144 insertions(+), 81 deletions(-) create mode

[PATCH 4/4] power: supply: bq25150 introduce the bq25150

2020-05-27 Thread Dan Murphy
ister 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 bq251

[PATCH 3/4] dt-bindings: power: Add the bindings for the bq2515x family of chargers.

2020-05-27 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 1/4] power_supply: Add additional health properties to the header

2020-05-27 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. Tested-by: Guru Das Srinagesh Signed-off-by: Dan Murphy --- Documentation/ABI/testing/sysfs-class-power | 2 +- drivers/power/supply

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

2020-05-27 Thread Dan Murphy
Rob On 5/26/20 8:59 PM, Rob Herring wrote: On Tue, May 26, 2020 at 11:46:39AM -0500, Dan Murphy wrote: Introduce the bindings for the Texas Instruments LP5036, LP5030, LP5024, LP5018, LP5012 and LP5009 RGB LED device driver. The LP5036/30/24/18/12/9 can control RGB LEDs individually

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

2020-05-27 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 v4 0/4] RGMII Internal delay common property

2020-05-27 Thread Dan Murphy
. Dan Murphy (4): dt-bindings: net: Add tx and rx internal delays net: phy: Add a helper to return the index for of the internal delay dt-bindings: net: Add RGMII internal delay for DP83869 net: dp83869: Add RGMII internal delay configuration .../bindings/net/ethernet-controller.yaml

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

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

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

2020-05-27 Thread Dan Murphy
. Signed-off-by: Dan Murphy --- .../bindings/net/ethernet-controller.yaml | 14 ++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings/net/ethernet-controller.yaml b/Documentation/devicetree/bindings/net/ethernet-controller.yaml index

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

2020-05-27 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, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/net/ti

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

2020-05-27 Thread Dan Murphy
Rob On 5/26/20 9:01 PM, Rob Herring wrote: On Tue, May 26, 2020 at 11:46:42AM -0500, Dan Murphy wrote: Update the DT binding to include the properties to use the multicolor framework for the devices that use the LP55xx framework. Acked-by: Jacek Anaszewski Reviewed-by: Linus Walleij Signed

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

2020-05-27 Thread Dan Murphy
Pavel On 5/27/20 8:58 AM, Pavel Machek wrote: Hi! + There can only be one instance of the ti,led-bank + property for each device node. This is a required node is the LED + modules are to be backed. I don't understand the second sentence. Pretty sure it is not

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

2020-05-27 Thread Dan Murphy
Andrew On 5/27/20 8:12 AM, Andrew Lunn wrote: If the dt defines rgmii-rx/tx-id then these values are required not optional.  That was the discussion on the binding. How many times do i need to say it. They are optional. If not specified, default to 2ns. OK.  I guess then the DP83867 driver

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

2020-05-27 Thread Dan Murphy
Andrew On 5/26/20 7:52 PM, Andrew Lunn wrote: @@ -218,6 +224,7 @@ static int dp83869_of_init(struct phy_device *phydev) ret = phy_read_mmd(phydev, DP83869_DEVADDR, DP83869_STRAP_STS1); if (ret < 0) return ret; + if (ret &

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

2020-05-27 Thread Dan Murphy
Andrew On 5/26/20 7:42 PM, Andrew Lunn wrote: +/** + * phy_get_delay_index - returns the index of the internal delay + * @phydev: phy_device struct + * @delay_values: array of delays the PHY supports + * @size: the size of the delay array + * @int_delay: the internal delay to be looked up + *

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

2020-05-26 Thread Dan Murphy
Bump to series On 5/15/20 12:44 PM, Dan Murphy wrote: Add the Texas Instruments bq27561 battery monitor to the bq27xxx binding. Signed-off-by: Dan Murphy --- This patch has a dependency on the yaml conversion - https://lore.kernel.org/patchwork/patch/1240876/ Documentation/devicetree

[PATCH 2/2] ASoC: tlv320adcx140: Add support for configuring GPI pins

2020-05-26 Thread Dan Murphy
-by: Dan Murphy --- sound/soc/codecs/tlv320adcx140.c | 28 sound/soc/codecs/tlv320adcx140.h | 7 +++ 2 files changed, 35 insertions(+) diff --git a/sound/soc/codecs/tlv320adcx140.c b/sound/soc/codecs/tlv320adcx140.c index 2fe0df3b7550..35fe8ee5bce9 100644

[PATCH 1/2] dt-bindings: sound: tlv320adcx140: Add GPI config property

2020-05-26 Thread Dan Murphy
Add an array property that configures the General Purpose Input (GPI) register. The device has 4 GPI pins and each pin can be configured in 1 of 7 different ways. Signed-off-by: Dan Murphy --- .../bindings/sound/tlv320adcx140.yaml | 27 +++ 1 file changed, 27 insertions

[PATCH] ASoC: tlv320adcx140: Fix warnings when using W=1

2020-05-26 Thread Dan Murphy
y is not set then the *_source variable is set to the default value. So there is no way that *_source can be less then 0. Which is what each #define is set to. The code just needs to make sure that the dt property is not out of the upper bounds. Reported-by: kbuild test robot Signed-off-by

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

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

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

2020-05-26 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 v3 1/4] dt-bindings: net: Add tx and rx internal delays

2020-05-26 Thread Dan Murphy
. Signed-off-by: Dan Murphy --- .../bindings/net/ethernet-controller.yaml | 14 ++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings/net/ethernet-controller.yaml b/Documentation/devicetree/bindings/net/ethernet-controller.yaml index

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

2020-05-26 Thread Dan Murphy
Andrew On 5/23/20 5:07 PM, Andrew Lunn wrote: Any why is your PHY special, in that is does care about out of range delays, when others using new the new core helper don't? We are not rounding to nearest here.  Basically the helper works to find the best match If the delay passed in is less

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

2020-05-26 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, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/net/ti

[PATCH net-next v3 0/4] RGMII Internal delay common property

2020-05-26 Thread Dan Murphy
. Dan Murphy (4): dt-bindings: net: Add tx and rx internal delays net: phy: Add a helper to return the index for of the internal delay dt-bindings: net: Add RGMII internal delay for DP83869 net: dp83869: Add RGMII internal delay configuration .../bindings/net/ethernet-controller.yaml

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

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

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

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

2020-05-26 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 v25 08/16] ARM: dts: imx6dl-yapp4: Add reg property to the lp5562 channel node

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

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

2020-05-26 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 v25 06/16] dt: bindings: lp55xx: Update binding for Multicolor Framework

2020-05-26 Thread Dan Murphy
Update the DT binding to include the properties to use the multicolor framework for the devices that use the LP55xx framework. Acked-by: Jacek Anaszewski Reviewed-by: Linus Walleij Signed-off-by: Dan Murphy CC: Tony Lindgren CC: "Benoît Cousson" CC: Linus Walleij CC: Shawn Guo

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

2020-05-26 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/Kconfig | 1 + drivers/leds

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

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

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

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

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

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

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

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

2020-05-26 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/Kconfig | 1 + drivers

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

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

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

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

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

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

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

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

[PATCH v25 00/16] Multicolor Framework v25

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

Re: sound/soc/codecs/tlv320adcx140.c:776:34: warning: unused variable 'tlv320adcx140_of_match'

2020-05-26 Thread Dan Murphy
Hello On 5/22/20 2:16 PM, kbuild test robot wrote: tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4286d192c803571e8ca43b0f1f8ea04d663a278a commit: 689c7655b50c5de2b6f0f42fecfb37bde5acf040 ASoC: tlv320adcx140: Add the tlv320adcx140 codec driver family

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

2020-05-26 Thread Dan Murphy
Rob On 5/4/20 4:13 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 Acked-by: Jacek Anaszewski Signed-off-by: Dan Murphy --- .../bindings/leds/leds-class

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

2020-05-23 Thread Dan Murphy
Andrew On 5/23/20 10:09 AM, Andrew Lunn wrote: + dp83869->tx_id_delay = DP83869_RGMII_CLK_DELAY_INV; + ret = of_property_read_u32(of_node, "tx-internal-delay-ps", + >tx_id_delay); + if (!ret && dp83869->tx_id_delay >

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

2020-05-22 Thread Dan Murphy
Florian On 5/22/20 11:13 AM, Florian Fainelli wrote: On 5/22/2020 5:25 AM, Dan Murphy wrote: Add RGMII internal delay configuration for Rx and Tx. Signed-off-by: Dan Murphy --- drivers/net/phy/dp83869.c | 101 ++ 1 file changed, 101 insertions(+) diff

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

2020-05-22 Thread Dan Murphy
Florian On 5/22/20 11:11 AM, Florian Fainelli wrote: On 5/22/2020 5:25 AM, Dan Murphy wrote: 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

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

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

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

2020-05-22 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, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/net/ti

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

2020-05-22 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 v2 1/4] dt-bindings: net: Add tx and rx internal delays

2020-05-22 Thread Dan Murphy
. Signed-off-by: Dan Murphy --- v2 - updated to add -ps .../bindings/net/ethernet-controller.yaml | 14 ++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings/net/ethernet-controller.yaml b/Documentation/devicetree/bindings/net/ethernet

[PATCH net-next v2 0/4] RGMII Internal delay common property

2020-05-22 Thread Dan Murphy
. Dan Murphy (4): dt-bindings: net: Add tx and rx internal delays net: phy: Add a helper to return the index for of the internal delay dt-bindings: net: Add RGMII internal delay for DP83869 net: dp83869: Add RGMII internal delay configuration .../bindings/net/ethernet-controller.yaml

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

2020-05-21 Thread Dan Murphy
. Signed-off-by: Dan Murphy --- .../bindings/net/ethernet-controller.yaml | 14 ++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings/net/ethernet-controller.yaml b/Documentation/devicetree/bindings/net/ethernet-controller.yaml index

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

2020-05-21 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, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/net/ti

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

2020-05-21 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

[RFC PATCH net-next 0/4] RGMII Internal delay common property

2020-05-21 Thread Dan Murphy
. Dan Murphy (4): dt-bindings: net: Add tx and rx internal delays net: phy: Add a helper to return the index for of the internal delay dt-bindings: net: Add RGMII internal delay for DP83869 net: dp83869: Add RGMII internal delay configuration .../bindings/net/ethernet-controller.yaml

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

2020-05-21 Thread Dan Murphy
Add RGMII internal delay configuration for Rx and Tx. Signed-off-by: Dan Murphy --- drivers/net/phy/dp83869.c | 101 ++ 1 file changed, 101 insertions(+) diff --git a/drivers/net/phy/dp83869.c b/drivers/net/phy/dp83869.c index cfb22a21a2e6..40c34fefffe4

[PATCH net-next v3 0/2] DP83869 Enhancements

2020-05-21 Thread Dan Murphy
the PHY's configuration values will be retained. Dan Murphy (2): net: phy: dp83869: Update port-mirroring to read straps net: phy: dp83869: Set opmode from straps drivers/net/phy/dp83869.c | 36 1 file changed, 32 insertions(+), 4 deletions(-) -- 2.26.2

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