Re: [PATCH v3 5/5] iio: health: Add driver for the TI AFE4403 heart monitor

2015-12-30 Thread Andrew F. Davis
On 12/22/2015 11:59 AM, Jonathan Cameron wrote: On 14/12/15 22:36, Andrew F. Davis wrote: Add driver for the TI AFE4403 heart rate monitor and pulse oximeter. This device detects reflected LED light fluctuations and presents an ADC value to the user space for further signal processing. Data

Re: [PATCH v3 3/5] iio: health: Add driver for the TI AFE4404 heart monitor

2015-12-30 Thread Andrew F. Davis
On 12/22/2015 11:37 AM, Jonathan Cameron wrote: On 14/12/15 22:35, Andrew F. Davis wrote: Add driver for the TI AFE4404 heart rate monitor and pulse oximeter. This device detects reflected LED light fluctuations and presents an ADC value to the user space for further signal processing

Re: [PATCH 1/2] dt-bindings: GPIO: Add generic serializer binding

2015-12-30 Thread Andrew F. Davis
On 12/22/2015 03:51 AM, Linus Walleij wrote: On Tue, Dec 15, 2015 at 12:19 AM, Andrew F. Davis wrote: [Rob] I agree the generic version is fine (or find who made the first part ;)). What "pisosr" is is not very obvious though. Having 74165 in the compatible would make it somewhat mo

Re: [PATCH 1/2] dt-bindings: GPIO: Add generic serializer binding

2015-12-30 Thread Andrew F. Davis
On 12/16/2015 10:29 AM, Rob Herring wrote: On Mon, Dec 14, 2015 at 5:19 PM, Andrew F. Davis wrote: On 12/14/2015 04:36 PM, Rob Herring wrote: On Mon, Dec 14, 2015 at 10:41 AM, Andrew F. Davis wrote: On 12/11/2015 03:48 PM, Linus Walleij wrote: On Fri, Dec 11, 2015 at 8:46 PM, Andrew F

Re: [PATCH 05/10] Input: synaptics-rmi4: Add device tree support for 2d sensors and F11

2015-12-15 Thread Andrew Duggan
Hi Rob, I'm taking a look at this patchset again and I had a couple follow up questions. On 11/27/2015 01:10 PM, Rob Herring wrote: On Wed, Nov 25, 2015 at 04:09:13PM -0800, Andrew Duggan wrote: 2D sensors have several parameter which can be set in the platform data. This patch adds su

Re: [PATCH v7 0/5] mfd: tps65912: Driver rewrite with DT support

2015-12-15 Thread Andrew F. Davis
On 12/09/2015 06:35 AM, Linus Walleij wrote: On Tue, Dec 8, 2015 at 8:16 PM, Mark Brown wrote: On Mon, Dec 07, 2015 at 01:58:47PM -0600, Andrew F. Davis wrote: As all of this driver should be taken though the MFD tree how can this gpiolib change be handled? If we have gpio.parent it will not

Re: [PATCH 1/2] dt-bindings: GPIO: Add generic serializer binding

2015-12-14 Thread Andrew F. Davis
On 12/14/2015 04:36 PM, Rob Herring wrote: On Mon, Dec 14, 2015 at 10:41 AM, Andrew F. Davis wrote: On 12/11/2015 03:48 PM, Linus Walleij wrote: On Fri, Dec 11, 2015 at 8:46 PM, Andrew F. Davis wrote: Add binding for generic parallel-in/serial-out shift register devices used as GPIO

Re: [PATCH v2 2/2] iio: health: Add driver for the TI AFE4404 heart monitor

2015-12-14 Thread Andrew F. Davis
On 12/12/2015 09:41 AM, Jonathan Cameron wrote: On 07/12/15 17:26, Andrew F. Davis wrote: On 12/05/2015 12:21 PM, Jonathan Cameron wrote: On 02/12/15 19:57, Andrew F. Davis wrote: Add driver for the TI AFE4404 heart rate monitor and pulse oximeter. This device detects reflected LED light

Re: [PATCH 2/2] gpio: Add driver for SPI serializers

2015-12-14 Thread Andrew F. Davis
On 12/11/2015 04:09 PM, Linus Walleij wrote: On Fri, Dec 11, 2015 at 8:46 PM, Andrew F. Davis wrote: Add generic parallel-in/serial-out shift register GPIO driver. This includes SPI compatible devices like SN74165 serial-out shift registers and the SN65HVS88x series of industrial serializers

Re: [PATCH 1/2] dt-bindings: GPIO: Add generic serializer binding

2015-12-14 Thread Andrew F. Davis
On 12/11/2015 03:48 PM, Linus Walleij wrote: On Fri, Dec 11, 2015 at 8:46 PM, Andrew F. Davis wrote: Add binding for generic parallel-in/serial-out shift register devices used as GPIO. Signed-off-by: Andrew F. Davis +Generic Parallel-in/Serial-out Shift Register GPIO Driver + +This

[PATCH 1/2] dt-bindings: GPIO: Add generic serializer binding

2015-12-11 Thread Andrew F. Davis
Add binding for generic parallel-in/serial-out shift register devices used as GPIO. Signed-off-by: Andrew F. Davis --- .../devicetree/bindings/gpio/gpio-pisosr.txt | 34 ++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/gpio

[PATCH 2/2] gpio: Add driver for SPI serializers

2015-12-11 Thread Andrew F. Davis
Add generic parallel-in/serial-out shift register GPIO driver. This includes SPI compatible devices like SN74165 serial-out shift registers and the SN65HVS88x series of industrial serializers that can be read over the SPI bus and used for GPI (General Purpose Input). Signed-off-by: Andrew F

[PATCH 0/2] gpio: Add driver for SPI serializers

2015-12-11 Thread Andrew F. Davis
Hello all, This series adds a GPI(General Purpose Input) driver for generic parallel-in/serial-out shift registers, such as the SN65HVS882 that this driver was tested on. This should also work for the rest of the SN65HVS88x series as well as other 74x165 style devices. Thanks, Andrew Andrew F

Re: [PATCH] net/macb: add support for resetting PHY using GPIO

2015-12-09 Thread Andrew Lunn
0); > + > + if (gpio_is_valid(bp->reset_gpio)) > + gpio_direction_output(bp->reset_gpio, state); This does not handle the flags part of the GPIO descriptor in device tree. i.e. ACTIVE_LOW or ACTIVE_HIGH. I think the FEC driver has the same issue, and is not the best driv

Re: [RESEND PATCH] modpost: don't add a trailing wildcard for OF module aliases

2015-12-08 Thread Andrew Morton
o should manage patches to file2alias so maybe I didn't add the > right person to the cc list. z:/usr/src/git26> perl scripts/get_maintainer.pl -f scripts/mod Rusty Russell (commit_signer:18/27=67%) > Documentation/development-process/5.Posting says that if there is no > obvious

Re: [PATCH v7 0/5] mfd: tps65912: Driver rewrite with DT support

2015-12-07 Thread Andrew F. Davis
On 12/04/2015 06:02 AM, Mark Brown wrote: On Tue, Nov 24, 2015 at 04:26:24PM +, Lee Jones wrote: On Wed, 18 Nov 2015, Andrew F. Davis wrote: Documentation/devicetree/bindings/mfd/tps65912.txt | 50 ++ drivers/gpio/Kconfig | 2 +- drivers/gpio/gpio

Re: [PATCH v2 2/2] iio: health: Add driver for the TI AFE4404 heart monitor

2015-12-07 Thread Andrew F. Davis
On 12/05/2015 12:21 PM, Jonathan Cameron wrote: On 02/12/15 19:57, Andrew F. Davis wrote: Add driver for the TI AFE4404 heart rate monitor and pulse oximeter. This device detects reflected LED light fluctuations and presents an ADC value to the user space for further signal processing

Re: [PATCH v2 1/2] Documentation: afe4404: Add DT bindings for the AFE4404 heart monitor

2015-12-05 Thread Andrew F. Davis
On 12/05/2015 11:38 AM, Jonathan Cameron wrote: On 02/12/15 19:57, Andrew F. Davis wrote: Add the TI afe4404 heart monitor DT bindings documentation. Create health directory created under iio. Signed-off-by: Andrew F. Davis One little point inline - otherwise this is straightforward and

Re: [PATCH v2 13/12] ARM: dts: dove: add DT GPU support

2015-12-04 Thread Andrew Lunn
> This additional patch is in conjunction with my PMU (already merged) > and clock driver patch sets. Hi Russell Please could you respond to my comment about the clock patch. http://www.spinics.net/lists/devicetree/msg104464.html Thanks Andrew -- To unsubscribe from this list: se

Re: [PATCH v5 4/4] gpio: tps65086: Add GPO driver for the TPS65086 PMIC

2015-12-04 Thread Andrew F. Davis
On 12/01/2015 02:16 PM, kbuild test robot wrote: Hi Andrew, [auto build test ERROR on next-20151127] [cannot apply to ljones-mfd/for-mfd-next gpio/for-next v4.4-rc3 v4.4-rc2 v4.4-rc1 v4.4-rc3] url: https://github.com/0day-ci/linux/commits/Andrew-F-Davis/Documentation-tps65086-Add-DT

Re: [PATCH v7 0/5] mfd: tps65912: Driver rewrite with DT support

2015-12-03 Thread Andrew F. Davis
On 11/24/2015 10:26 AM, Lee Jones wrote: On Wed, 18 Nov 2015, Andrew F. Davis wrote: In an effort to cleanup this driver and add Device Tree support the driver has been rewritten based on new driver styles and modern kernel driver helpers. This has nearly halved the lines of code while keeping

Re: [PATCH v7 5/5] gpio: tps65912: Add GPIO driver for the TPS65912 PMIC

2015-12-01 Thread Andrew F. Davis
On 11/30/2015 02:26 AM, Linus Walleij wrote: On Wed, Nov 18, 2015 at 6:59 PM, Andrew F. Davis wrote: This patch adds support for the TPS65912 PMIC GPIOs. TPS65912 has five configurable GPIOs that can be used for several purposes. Signed-off-by: Andrew F. Davis Reviewed-by: Linus Walleij

[PATCH v5 1/4] Documentation: tps65086: Add DT bindings for the TPS65086 PMIC

2015-12-01 Thread Andrew F. Davis
The TPS65086 PMIC contains several regulators and a GPO controller. Add bindings for the TPS65086 PMIC. Signed-off-by: Andrew F. Davis Acked-by: Rob Herring --- Documentation/devicetree/bindings/mfd/tps65086.txt | 55 ++ 1 file changed, 55 insertions(+) create mode 100644

[PATCH v5 4/4] gpio: tps65086: Add GPO driver for the TPS65086 PMIC

2015-12-01 Thread Andrew F. Davis
Add support for the TPS65086 PMIC GPOs. TPS65086 has four configurable GPOs that can be used for several purposes. These are output only. Signed-off-by: Andrew F. Davis --- drivers/gpio/Kconfig | 6 ++ drivers/gpio/Makefile| 1 + drivers/gpio/gpio-tps65086.c | 144

[PATCH v5 2/4] mfd: tps65086: Add driver for the TPS65086 PMIC

2015-12-01 Thread Andrew F. Davis
Add support for the TPS65912 device. It provides communication through I2C and contains the following components: - Regulators - Load switches - GPO controller Signed-off-by: Andrew F. Davis Acked-by: Lee Jones --- drivers/mfd/Kconfig | 13 drivers/mfd/Makefile | 1

[PATCH v5 0/4] Add support for the TI TPS65086 PMIC

2015-12-01 Thread Andrew F. Davis
- Several small fixes as discussed in v1 thread [1] http://www.spinics.net/lists/devicetree/msg98403.html [2] http://www.spinics.net/lists/kernel/msg2111345.html [3] https://lkml.org/lkml/2015/11/4/393 [4] http://www.spinics.net/lists/devicetree/msg103186.html Andrew F. Davis (4): Documentation

[PATCH v5 3/4] regulator: tps65086: Update regulator driver for the TPS65086 PMIC

2015-12-01 Thread Andrew F. Davis
Make changes to allow this driver to work with the updated TPS65086 core driver and bindings. Signed-off-by: Andrew F. Davis --- drivers/regulator/tps65086-regulator.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/regulator/tps65086-regulator.c b/drivers

Re: [RESEND RFC/PATCH 3/8] media: platform: mtk-vpu: Support Mediatek VPU

2015-12-01 Thread andrew-ct chen
On Mon, 2015-11-30 at 15:36 +, Daniel Thompson wrote: > On 30 November 2015 at 11:43, andrew-ct chen > wrote: > > On Fri, 2015-11-27 at 12:21 +, Daniel Thompson wrote: > >> On 27/11/15 12:10, andrew-ct chen wrote: > >> >>> + > >> >>&g

Re: [RESEND RFC/PATCH 3/8] media: platform: mtk-vpu: Support Mediatek VPU

2015-11-30 Thread andrew-ct chen
On Fri, 2015-11-27 at 12:21 +, Daniel Thompson wrote: > On 27/11/15 12:10, andrew-ct chen wrote: > >>> + > >>> > >+ memcpy((void *)send_obj->share_buf, buf, len); > >>> > >+ send_obj->len = len; > >>> > >+

Re: [PATCH 1/4] ARM: dt: mvebu: ix4-300d: remove whole flash partition

2015-11-28 Thread Andrew Lunn
> Signed-off-by: Sebastian Hesselbarth Given Benoit comment Acked-by: Andrew Lunn Andrew -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 05/10] Input: synaptics-rmi4: Add device tree support for 2d sensors and F11

2015-11-28 Thread Andrew Duggan
Hi Rob, Thanks for reviewing! I will incorporate your feedback into the next version. Andrew On 11/27/2015 01:10 PM, Rob Herring wrote: On Wed, Nov 25, 2015 at 04:09:13PM -0800, Andrew Duggan wrote: 2D sensors have several parameter which can be set in the platform data. This patch adds

Re: [PATCH 4/4] ARM: dt: mvebu: ix4-300d: Add ECC properties to NAND flash

2015-11-28 Thread Andrew Lunn
On Sat, Nov 28, 2015 at 12:14:08PM +0100, Sebastian Hesselbarth wrote: > The NAND device found on Lenovo ix4-300d uses 4-bit BCH ECC protection. > Add the corresponding properties to the NAND node. > > Signed-off-by: Sebastian Hesselbarth Acked-by: Andrew Lunn

Re: [PATCH 3/4] ARM: dt: mvebu: ix4-300d: Cleanup NAND partition ranges

2015-11-28 Thread Andrew Lunn
f-by: Sebastian Hesselbarth Acked-by: Andrew Lunn Andrew > --- > Cc: Jason Cooper > Cc: Andrew Lunn > Cc: Gregory Clement > Cc: Rob Herring > Cc: Pawel Moll > Cc: Mark Rutland > Cc: Ian Campbell > Cc: Kumar Gala > Cc: Russell Ki

Re: [PATCH 2/4] ARM: dt: mvebu: ix4-300d: move partitions to partition sub-node

2015-11-28 Thread Andrew Lunn
a partitions node. Acked-by: Andrew Lunn Thanks Andrew > --- > Cc: Jason Cooper > Cc: Andrew Lunn > Cc: Gregory Clement > Cc: Rob Herring > Cc: Pawel Moll > Cc: Mark Rutland > Cc: Ian Campbell > Cc: Kumar Gala > Cc: Russell King > Cc: Be

Re: [PATCH 1/4] ARM: dt: mvebu: ix4-300d: remove whole flash partition

2015-11-28 Thread Andrew Lunn
nning the whole flash. Should we remove them as well? Andrew -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 1/3] dt-bindings: add Marvell core PLL and clock divider PMU documentation

2015-11-27 Thread Andrew Lunn
xt Documentation/devicetree/bindings/clock/mvebu-gated-clock.txt Dove is a member of mvebu, and gets most of its clocks from these drivers. But it has additional clocks which are not shared with other members of mvebu. Andrew -- To unsubscribe from this list: send the line "unsubscr

Re: [PATCH 3/3] ARM: dts: dove: add Dove divider clocks

2015-11-27 Thread Andrew Lunn
On Thu, Nov 26, 2015 at 10:23:32PM +, Russell King wrote: > Add the Dove divider clocks to the Dove dtsi file. > > Signed-off-by: Russell King Acked-by: Andrew Lunn Andrew > --- > arch/arm/boot/dts/dove.dtsi | 6 ++ > 1 file changed, 6 insertions(+) >

Re: [PATCH 2/3] clk: add Dove PLL divider support for GPU, VMeta and AXI clocks

2015-11-27 Thread Andrew Lunn
gt; + } > + > + if (dc->divider_table[i]) > + return -EINVAL; Is this condition correct? If we have reached the 0 at the end of the table, -EINVAL makes sense. But that would need a ! Andrew -- To unsubscribe from this list: send th

Re: [PATCH 1/3] dt-bindings: add Marvell core PLL and clock divider PMU documentation

2015-11-27 Thread Andrew Lunn
/devicetree/bindings/clock/dove-divider-clock.txt > new file mode 100644 > index ..0c602de279e5 > --- /dev/null > +++ b/Documentation/devicetree/bindings/clock/dove-divider-clock.txt > @@ -0,0 +1,28 @@ > +PLl divider based Dove clocks Nit pick. It would be nice if the s

Re: [RESEND RFC/PATCH 3/8] media: platform: mtk-vpu: Support Mediatek VPU

2015-11-27 Thread andrew-ct chen
Thanks a lot for your review comments. On Wed, 2015-11-25 at 16:11 +, Daniel Thompson wrote: > On 17/11/15 12:54, Tiffany Lin wrote: > > From: Andrew-CT Chen > > > > The VPU driver for hw video codec embedded in Mediatek's MT8173 SOCs. > > It is able to handle

[PATCH 05/10] Input: synaptics-rmi4: Add device tree support for 2d sensors and F11

2015-11-25 Thread Andrew Duggan
2D sensors have several parameter which can be set in the platform data. This patch adds support for getting those values from devicetree. Signed-off-by: Andrew Duggan --- .../bindings/input/rmi4/rmi_2d_sensor.txt | 54 +++ drivers/input/rmi4/rmi_2d_sensor.c

[PATCH 03/10] Input: synaptics-rmi4: Add device tree support for RMI4 I2C devices

2015-11-25 Thread Andrew Duggan
Add devicetree binding for I2C devices and add bindings for optional parameters in the function drivers. Parameters for function drivers are defined in child nodes for each of the functions. Signed-off-by: Andrew Duggan --- .../devicetree/bindings/input/rmi4/rmi_f01.txt | 39

[PATCH 09/10] Input: synaptics-rmi4: Add device tree support to the SPI transport driver

2015-11-25 Thread Andrew Duggan
Add devicetree binding for SPI devices. Signed-off-by: Andrew Duggan --- .../devicetree/bindings/input/rmi4/rmi_spi.txt | 57 ++ drivers/input/rmi4/rmi_spi.c | 44 - 2 files changed, 100 insertions(+), 1 deletion(-) create mode

Re: [PATCH 2/2] iio: health: Add driver for the TI AFE4404 heart monitor

2015-11-23 Thread Andrew F. Davis
On 11/17/2015 11:07 AM, Andrew F. Davis wrote: On 11/15/2015 06:07 AM, Jonathan Cameron wrote: On 10/11/15 19:19, Andrew F. Davis wrote: On 11/05/2015 01:09 PM, Jonathan Cameron wrote: Lars, Hartmut, Peter, This is becoming a really involved ABI discussion so I'd like some input on th

Re: [PATCH v4 3/4] regulator: tps65086: Add regulator driver for the TPS65086 PMIC

2015-11-23 Thread Andrew F. Davis
On 11/23/2015 01:00 PM, Mark Brown wrote: On Mon, Nov 23, 2015 at 11:40:55AM -0600, Andrew F. Davis wrote: But which of_node? regulator_config->of_node regulator_config->dev->of_node The second is the only one I see getting used, the first is only used when drivers provide

Re: [PATCH v4 3/4] regulator: tps65086: Add regulator driver for the TPS65086 PMIC

2015-11-23 Thread Andrew F. Davis
On 11/22/2015 07:13 AM, Mark Brown wrote: On Sat, Nov 21, 2015 at 02:40:50PM -0600, Andrew F. Davis wrote: On 11/21/2015 07:37 AM, Mark Brown wrote: An earlier version of this patch has already been applied, please don't resend already applied patches but send incremental patches wit

Re: [PATCH v4 3/4] regulator: tps65086: Add regulator driver for the TPS65086 PMIC

2015-11-21 Thread Andrew F. Davis
On 11/21/2015 07:37 AM, Mark Brown wrote: On Thu, Nov 19, 2015 at 05:01:41PM -0600, Andrew F. Davis wrote: Add support for TPS65086 PMIC regulators. The regulators set consists of 3 Step-down Controllers, 3 Step-down Converters, 3 LDOs, 3 Load Switches, and a Sink and Source LDO. The output

Re: [PATCH] Documentation: dt-bindings: Fix interrupt documentation file path

2015-11-20 Thread Andrew F. Davis
On 09/21/2015 11:25 AM, Andrew F. Davis wrote: Fix the incorrect interrupt documentation file path in binding docs. Signed-off-by: Andrew F. Davis Ping? Still applies to v4.4-rc1. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message

Re: [Xen-devel] [PATCH 11/13] xen/hvm/params: Add a new dilivery type for event-channel in HVM_PARAM_CALLBACK_IRQ

2015-11-20 Thread Andrew Cooper
86/hvm/irq.h enum { HVMIRQ_callback_none, HVMIRQ_callback_gsi, HVMIRQ_callback_pci_intx, HVMIRQ_callback_vector } callback_via_type; I will submit a patch to fix this this properly. ~Andrew -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH v4 2/4] mfd: tps65086: Add driver for the TPS65086 PMIC

2015-11-19 Thread Andrew F. Davis
Add support for the TPS65912 device. It provides communication through I2C and contains the following components: - Regulators - Load switches - GPO controller Signed-off-by: Andrew F. Davis --- drivers/mfd/Kconfig | 13 drivers/mfd/Makefile | 1 + drivers/mfd

[PATCH v4 3/4] regulator: tps65086: Add regulator driver for the TPS65086 PMIC

2015-11-19 Thread Andrew F. Davis
Add support for TPS65086 PMIC regulators. The regulators set consists of 3 Step-down Controllers, 3 Step-down Converters, 3 LDOs, 3 Load Switches, and a Sink and Source LDO. The output voltages are configurable and are meant to supply power to a SoC and/or other components. Signed-off-by: Andrew

[PATCH v4 1/4] Documentation: tps65086: Add DT bindings for the TPS65086 PMIC

2015-11-19 Thread Andrew F. Davis
The TPS65086 PMIC contains several regulators and a GPO controller. Add bindings for the TPS65086 PMIC. Signed-off-by: Andrew F. Davis --- Documentation/devicetree/bindings/mfd/tps65086.txt | 55 ++ 1 file changed, 55 insertions(+) create mode 100644 Documentation

[PATCH v4 0/4] Add support for the TI TPS65086 PMIC

2015-11-19 Thread Andrew F. Davis
://www.spinics.net/lists/kernel/msg2111345.html [3] https://lkml.org/lkml/2015/11/4/393 Andrew F. Davis (4): Documentation: tps65086: Add DT bindings for the TPS65086 PMIC mfd: tps65086: Add driver for the TPS65086 PMIC regulator: tps65086: Add regulator driver for the TPS65086 PMIC gpio: tps65086: Add GPO

[PATCH v4 4/4] gpio: tps65086: Add GPO driver for the TPS65086 PMIC

2015-11-19 Thread Andrew F. Davis
Add support for the TPS65086 PMIC GPOs. TPS65086 has four configurable GPOs that can be used for several purposes. These are output only. Signed-off-by: Andrew F. Davis --- drivers/gpio/Kconfig | 6 ++ drivers/gpio/Makefile| 1 + drivers/gpio/gpio-tps65086.c | 144

Re: [PATCH v2 5/5] misc: eeprom_93xx46: Add support for a GPIO 'select' line.

2015-11-19 Thread Andrew Lunn
On Thu, Nov 19, 2015 at 06:52:57PM +0200, Vladimir Zapolskiy wrote: > On 19.11.2015 16:18, Andrew Lunn wrote: > >>> #ifdef CONFIG_OF > >>> +static void select_assert(void *context) > >>> +{ > >>> + struct eeprom_93xx46_dev *edev = context; &g

Re: [PATCH v2 5/5] misc: eeprom_93xx46: Add support for a GPIO 'select' line.

2015-11-19 Thread Andrew Lunn
", 0); > > gpios or gpio? I see only one requested gpio. DT always uses the plural. Go read some bindins in Documentation/devicetree/bindings/ Andrew -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v2 3/5] misc: eeprom_93xx46: Implement eeprom_93xx46 DT bindings.

2015-11-19 Thread Andrew F. Davis
On 11/18/2015 11:50 PM, Vladimir Zapolskiy wrote: Hi Cory, On 19.11.2015 05:29, Cory Tusar wrote: This commit implements bindings in the eeprom_93xx46 driver allowing device word size and read-only attributes to be specified via devicetree. Signed-off-by: Cory Tusar --- drivers/misc/eeprom/

[PATCH v2 1/3] dt-bindings: add document of mediatek efuse driver

2015-11-19 Thread Andrew-CT Chen
Add Mediatek MT8173 EFUSE Devicetree binding file Signed-off-by: Andrew-CT Chen --- .../devicetree/bindings/nvmem/mtk-efuse.txt| 36 ++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/mtk-efuse.txt diff --git a

[PATCH v2 2/3] nvmem: mediatek: Add Mediatek EFUSE driver

2015-11-19 Thread Andrew-CT Chen
Add Mediatek EFUSE driver to access hardware data like thermal sensor calibration or HDMI impedance. Signed-off-by: Andrew-CT Chen --- drivers/nvmem/Kconfig | 11 ++ drivers/nvmem/Makefile| 2 ++ drivers/nvmem/mtk-efuse.c | 89 +++ 3

[PATCH v2 0/3] Mediatek EFUSE Support

2015-11-19 Thread Andrew-CT Chen
. Change in v2: 1. Rebase to 4.4-rc1 2. Modify the driver Makefile for more consistent with other drivers 3. Modify the compatible string to "mediatek,mt8173-efuse" and "mediatek,efuse" Andrew-CT Chen (3): dt-bindings: add document of mediatek efuse driver nvmem: mediatek: Add M

[PATCH v2 3/3] dts: arm64: Add EFUSE device node

2015-11-19 Thread Andrew-CT Chen
Add Mediatek MT8173 EFUSE device node Signed-off-by: Andrew-CT Chen --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 4dd5f93..d67e23b 100644 --- a/arch

Re: [RESEND RFC/PATCH 1/8] dt-bindings: Add a binding for Mediatek Video Processor Unit

2015-11-18 Thread andrew-ct chen
On Tue, 2015-11-17 at 14:13 +, Mark Rutland wrote: > On Tue, Nov 17, 2015 at 08:54:38PM +0800, Tiffany Lin wrote: > > From: Andrew-CT Chen > > > > Add a DT binding documentation of Video Processor Unit for the > > MT8173 SoC from Mediatek. > >

[PATCH v7 4/5] regulator: tps65912: Add regulator driver for the TPS65912 PMIC

2015-11-18 Thread Andrew F. Davis
This patch adds support for TPS65912 PMIC regulators. The regulators set consists of 4 DCDCs and 10 LDOs. The output voltages are configurable and are meant to supply power to the main processor and other components. Signed-off-by: Andrew F. Davis --- drivers/regulator/Kconfig

[PATCH v7 0/5] mfd: tps65912: Driver rewrite with DT support

2015-11-18 Thread Andrew F. Davis
/msg96109.html [5] http://www.spinics.net/lists/devicetree/msg100601.html [6] https://lkml.org/lkml/2015/10/30/690 Andrew F. Davis (5): Documentation: tps65912: Add DT bindings for the TPS65912 PMIC mfd: tps65912: Remove old driver in preparation for new driver mfd: tps65912: Add driver for

[PATCH v7 5/5] gpio: tps65912: Add GPIO driver for the TPS65912 PMIC

2015-11-18 Thread Andrew F. Davis
This patch adds support for the TPS65912 PMIC GPIOs. TPS65912 has five configurable GPIOs that can be used for several purposes. Signed-off-by: Andrew F. Davis Reviewed-by: Linus Walleij --- drivers/gpio/Kconfig | 6 ++ drivers/gpio/Makefile| 1 + drivers/gpio/gpio

[PATCH v7 3/5] mfd: tps65912: Add driver for the TPS65912 PMIC

2015-11-18 Thread Andrew F. Davis
This patch adds support for TPS65912 PMIC MFD core. It provides communication through the I2C and SPI interfaces. It contains the following components: - Regulators - GPIO controller Signed-off-by: Andrew F. Davis Acked-by: Lee Jones --- drivers/mfd/Kconfig | 24 +++ drivers/mfd

[PATCH v7 2/5] mfd: tps65912: Remove old driver in preparation for new driver

2015-11-18 Thread Andrew F. Davis
The old tps65912 driver is being replaced, delete old driver. Signed-off-by: Andrew F. Davis Acked-by: Lee Jones --- drivers/gpio/Kconfig | 6 - drivers/gpio/Makefile | 1 - drivers/gpio/gpio-tps65912.c | 153 -- drivers/mfd/Kconfig

[PATCH v7 1/5] Documentation: tps65912: Add DT bindings for the TPS65912 PMIC

2015-11-18 Thread Andrew F. Davis
The TPS65912 PMIC contains several regulators and a GPIO controller. Add bindings for the TPS65912 PMIC. Signed-off-by: Andrew F. Davis --- Documentation/devicetree/bindings/mfd/tps65912.txt | 50 ++ 1 file changed, 50 insertions(+) create mode 100644 Documentation

Re: [PATCH v3 6/6] gpio: tps65086: Add GPIO driver for the TPS65086 PMIC

2015-11-18 Thread Andrew F. Davis
On 11/18/2015 03:44 AM, Linus Walleij wrote: On Tue, Nov 17, 2015 at 5:11 PM, Andrew F. Davis wrote: On 11/17/2015 03:17 AM, Linus Walleij wrote: On Wed, Nov 4, 2015 at 6:12 PM, Andrew F. Davis wrote: Add support for the TPS65086 PMIC GPOs. TPS65086 has four configurable GPOs that can be

Re: [PATCH 2/2] iio: health: Add driver for the TI AFE4404 heart monitor

2015-11-17 Thread Andrew F. Davis
On 11/15/2015 06:07 AM, Jonathan Cameron wrote: On 10/11/15 19:19, Andrew F. Davis wrote: On 11/05/2015 01:09 PM, Jonathan Cameron wrote: Lars, Hartmut, Peter, This is becoming a really involved ABI discussion so I'd like some input on this if any of you have the time. I'm going

Re: [PATCH v3 6/6] gpio: tps65086: Add GPIO driver for the TPS65086 PMIC

2015-11-17 Thread Andrew F. Davis
On 11/17/2015 03:17 AM, Linus Walleij wrote: On Wed, Nov 4, 2015 at 6:12 PM, Andrew F. Davis wrote: Add support for the TPS65086 PMIC GPOs. TPS65086 has four configurable GPOs that can be used for several purposes. Signed-off-by: Andrew F. Davis OK... +static int tps65086_gpio_get

Re: [PATCH 2/2] dt-bindings: phy: tegra-xusb-padctl: Add Tegra210 support

2015-11-13 Thread Andrew Bresticker
ter space if UTMI pad 0 is muxed to XUSB. If UTMI pad 0 is muxed to SNPS, then the usb2-bias pad is configured in the USB register space (base 0x7d00). You may want to follow up internally to confirm this. If it's true, that could make things here a bit nastier, especially if we want to support configurations where some pads are muxed to XUSB while others are muxed to SNPS. -Andrew -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH v3] ARM: dts: am335x-boneblack: Use pinctrl constants and AM33XX_IOPAD macro

2015-11-13 Thread Andrew F. Davis
Using constants for pinctrl allows better readability and removes redundancy with comments. AM33XX_IOPAD allows us to use part of the pinctrl physical address as in the TRM instead of an offset. Signed-off-by: Andrew F. Davis Reviewed-by: Javier Martinez Canillas --- arch/arm/boot/dts/am335x

Re: [PATCH v4 4/5] regulator: tps65912: Add regulator driver for the TPS65912 PMIC

2015-11-10 Thread Andrew F. Davis
On 11/10/2015 12:44 PM, Mark Brown wrote: On Tue, Nov 10, 2015 at 11:52:12AM -0600, Andrew F. Davis wrote: Anyway, All I'm trying to do here is keep things clean in the DT. We only have one consistent option: No, not really. Match all sub parts by compatible: Or we end up with

Re: [PATCH 2/2] iio: health: Add driver for the TI AFE4404 heart monitor

2015-11-10 Thread Andrew F. Davis
On 11/05/2015 01:09 PM, Jonathan Cameron wrote: Lars, Hartmut, Peter, This is becoming a really involved ABI discussion so I'd like some input on this if any of you have the time. I'm going to be busy now until at least the weekend... On 04/11/15 21:17, Andrew F. Davis wrote: On

Re: [PATCH v4 4/5] regulator: tps65912: Add regulator driver for the TPS65912 PMIC

2015-11-10 Thread Andrew F. Davis
On 11/10/2015 11:04 AM, Mark Brown wrote: On Tue, Nov 10, 2015 at 10:47:33AM -0600, Andrew F. Davis wrote: On 11/10/2015 03:57 AM, Mark Brown wrote: Of course this is a negative review of the binding! What on earth did you think my feedback meant? The driver and the binding go together

Re: [PATCH v4 4/5] regulator: tps65912: Add regulator driver for the TPS65912 PMIC

2015-11-10 Thread Andrew F. Davis
On 11/10/2015 03:57 AM, Mark Brown wrote: On Mon, Nov 09, 2015 at 11:41:20AM -0600, Andrew F. Davis wrote: On 11/06/2015 03:16 PM, Mark Brown wrote: There are cases where it's useful where we're abstracting something and gaining some meaningful reuse. This really does not appear

Re: [PATCH v4 4/5] regulator: tps65912: Add regulator driver for the TPS65912 PMIC

2015-11-09 Thread Andrew F. Davis
On 11/06/2015 03:16 PM, Mark Brown wrote: On Fri, Nov 06, 2015 at 12:10:45PM -0600, Andrew F. Davis wrote: On 11/06/2015 04:43 AM, Mark Brown wrote: No, you need to fix the bug that is causing dev->of_node to be populated for the MFD function device. Probably the issue is that you have

Re: [PATCH v4 4/5] regulator: tps65912: Add regulator driver for the TPS65912 PMIC

2015-11-06 Thread Andrew F. Davis
On 11/06/2015 04:43 AM, Mark Brown wrote: On Thu, Nov 05, 2015 at 12:04:00PM -0600, Andrew F. Davis wrote: On 11/05/2015 04:14 AM, Mark Brown wrote: That sounds like a bug to me, it'll have broken a bunch of existing devices. Most OF drivers have the OF MODALIAS. That's ni

Re: [PATCH 1/2] dt-bindings: phy: Add NVIDIA Tegra XUSB pad controller binding

2015-11-05 Thread Andrew Bresticker
3 UTMI ports (0, 1 (internal), and 2) and 2 SS ports (0 and 1). SS port 0 is mapped to the same physical port as UTMI port 0 and SS port 1 is mapped to the same physical port as UTMI port 2. > Also the XHCI has 3 usb2 ports and 2 usb3 ports and so when you have > port numbers 0-2 I am not sure what you are referring too. The port numbers correspond tot he UTMI ports, so 3 UTMI ports = possible port values of 0 - 2. Maybe "port" isn't the best name here? -Andrew -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v4 4/5] regulator: tps65912: Add regulator driver for the TPS65912 PMIC

2015-11-05 Thread Andrew F. Davis
On 11/05/2015 04:14 AM, Mark Brown wrote: On Wed, Nov 04, 2015 at 09:35:26AM -0600, Andrew F. Davis wrote: Something I just noticed, when I remove this table, module loading stops working, even with 'MODULE_ALIAS("platform:tps65912-regulator");'. It looks lik

Re: [PATCH 2/4] ARM: dts: kirkwood: add Linksys EA3500

2015-11-04 Thread Andrew Lunn
ning off the internal RTC is common, but there is no i2c RTC. Is this correct? Do these devices not have an RTC? Thanks Andrew -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majord...@vger.kernel.org More major

Re: [PATCH 3/4] ARM: dts: kirkwood: add Seagate GoFlex Home

2015-11-04 Thread Andrew Lunn
sata@8 { > + status = "okay"; > + nr-ports = <2>; > + }; > + > + }; > + gpio-leds { > + compatible = "gpio-leds"; > + > + health { > + label

Re: [PATCH 2/4] ARM: dts: kirkwood: add Linksys EA3500

2015-11-04 Thread Andrew Lunn
000>; > + read-only; > + }; > + > + partition@8 { > + label = "u-boot environment"; > + reg = <0x8 0x2>; > + }; Same hole? > + partition@20 { > + label = "kernel"

Re: [PATCH 1/4] ARM: dts: kirkwood: add Linksys EA4500

2015-11-04 Thread Andrew Lunn
t;; > + reg = <0x20 0x20>; > + }; > + > + partition@40 { > + label = "root"; > + reg = <0x40 0x1c0>; > + }; > +}; > +ð0 { > + status = "okay"; > + ethernet0-

Re: [PATCH 2/2] iio: health: Add driver for the TI AFE4404 heart monitor

2015-11-04 Thread Andrew F. Davis
On 11/04/2015 01:40 PM, Jonathan Cameron wrote: On 02/11/15 20:37, Andrew F. Davis wrote: On 11/01/2015 02:52 PM, Jonathan Cameron wrote: On 31/10/15 16:31, Andrew F. Davis wrote: Add driver for the TI AFE4404 heart rate monitor and pulse oximeter. This device detects reflected LED light

[PATCH v3 2/6] Documentation: tps65086: Add DT bindings for the TPS65086 regulators

2015-11-04 Thread Andrew F. Davis
The TPS65086 PMIC contains several regulators and a GPO controller. Add bindings for the TPS65086 regulators. Signed-off-by: Andrew F. Davis --- .../bindings/regulator/tps65086-regulator.txt | 35 ++ 1 file changed, 35 insertions(+) create mode 100644 Documentation

[PATCH v3 1/6] Documentation: tps65086: Add DT bindings for the TPS65086 PMIC

2015-11-04 Thread Andrew F. Davis
The TPS65086 PMIC contains several regulators and a GPO controller. Add bindings for the TPS65086 PMIC. Signed-off-by: Andrew F. Davis --- Documentation/devicetree/bindings/mfd/tps65086.txt | 46 ++ 1 file changed, 46 insertions(+) create mode 100644 Documentation

[PATCH v3 6/6] gpio: tps65086: Add GPIO driver for the TPS65086 PMIC

2015-11-04 Thread Andrew F. Davis
Add support for the TPS65086 PMIC GPOs. TPS65086 has four configurable GPOs that can be used for several purposes. Signed-off-by: Andrew F. Davis --- drivers/gpio/Kconfig | 6 +++ drivers/gpio/Makefile| 1 + drivers/gpio/gpio-tps65086.c | 115

[PATCH v3 4/6] mfd: tps65086: Add driver for the TPS65086 PMIC

2015-11-04 Thread Andrew F. Davis
Add support for the TPS65912 device. It provides communication through I2C and contains the following components: - Regulators - Load switches - GPO controller Signed-off-by: Andrew F. Davis --- drivers/mfd/Kconfig | 14 drivers/mfd/Makefile | 1 + drivers/mfd

[PATCH v3 0/6] Add support for the TI TPS65086 PMIC

2015-11-04 Thread Andrew F. Davis
3.html [2] http://www.spinics.net/lists/kernel/msg2111345.html Andrew F. Davis (6): Documentation: tps65086: Add DT bindings for the TPS65086 PMIC Documentation: tps65086: Add DT bindings for the TPS65086 regulators Documentation: tps65086: Add DT bindings for the TPS65086 GPO controller mfd

[PATCH v3 5/6] regulator: tps65086: Add regulator driver for the TPS65086 PMIC

2015-11-04 Thread Andrew F. Davis
Add support for TPS65086 PMIC regulators. The regulators set consists of 3 Step-down Controllers, 3 Step-down Converters, 3 LDOs, 3 Load Switches, and a Sink and Source LDO. The output voltages are configurable and are meant to supply power to a SoC and/or other components. Signed-off-by: Andrew

[PATCH v3 3/6] Documentation: tps65086: Add DT bindings for the TPS65086 GPO controller

2015-11-04 Thread Andrew F. Davis
The TPS65086 PMIC contains several regulators and a GPO controller. Add bindings for the TPS65086 GPO controller. Signed-off-by: Andrew F. Davis --- Documentation/devicetree/bindings/gpio/gpio-tps65086.txt | 16 1 file changed, 16 insertions(+) create mode 100644 Documentation

Re: [PATCH v4 4/5] regulator: tps65912: Add regulator driver for the TPS65912 PMIC

2015-11-04 Thread Andrew F. Davis
On 10/22/2015 11:47 AM, Mark Brown wrote: On Thu, Oct 01, 2015 at 03:37:53PM -0500, Andrew F. Davis wrote: +static const struct of_device_id tps65912_regulator_of_match_table[] = { + { .compatible = "ti,tps65912-regulator", }, + { /* sentinel */ }, +}; +MODULE_DEVIC

Re: [PATCH v2 5/6] regulator: tps65086: Add regulator driver for the TPS65086 PMIC

2015-11-03 Thread Andrew F. Davis
On 11/03/2015 10:31 AM, Mark Brown wrote: On Tue, Nov 03, 2015 at 09:57:46AM -0600, Andrew F. Davis wrote: On 10/31/2015 09:37 PM, Mark Brown wrote: On Fri, Oct 30, 2015 at 05:41:43PM -0500, Andrew F. Davis wrote: + struct regulator_desc desc; + unsigned int decay_reg

Re: [PATCH v2 5/6] regulator: tps65086: Add regulator driver for the TPS65086 PMIC

2015-11-03 Thread Andrew F. Davis
On 10/31/2015 09:37 PM, Mark Brown wrote: On Fri, Oct 30, 2015 at 05:41:43PM -0500, Andrew F. Davis wrote: +struct tps65086_regulator { + struct regulator_desc desc; + unsigned int decay_reg; + unsigned int decay_mask; The decay_reg and decay_mask fields appear to be

Re: [PATCH 2/2] iio: health: Add driver for the TI AFE4404 heart monitor

2015-11-02 Thread Andrew F. Davis
On 11/01/2015 02:52 PM, Jonathan Cameron wrote: On 31/10/15 16:31, Andrew F. Davis wrote: Add driver for the TI AFE4404 heart rate monitor and pulse oximeter. This device detects reflected LED light fluctuations and presents an ADC value to the user space for further signal processing. Data

Re: [PATCH 1/2] Input: Add binding document for a generic ADC keypad

2015-11-02 Thread Andrew Bresticker
Hi Fabio, On Sun, Nov 1, 2015 at 5:55 AM, Fabio Estevam wrote: > Hi Andrew, > > On Mon, Mar 30, 2015 at 1:56 AM, Andrew Bresticker > wrote: > >>> I'd rather we have it defined explicitly in the binding, i.e. make it a >>> required property? >> >&

Re: [PATCH 0/2] iio: Heart Rate Monitors

2015-11-02 Thread Andrew F. Davis
On 11/01/2015 12:35 PM, Jonathan Cameron wrote: On 31/10/15 16:31, Andrew F. Davis wrote: Hello all, This series adds the TI AFE4404 "Ultra-small, Integrated AFE for Wearable, Optical Heart Rate Monitoring and Bio-Sensing". This work is based on previous work by Dan Murphy [0] who

Re: [PATCH 1/2] Documentation: afe4404: Add DT bindings for the AFE4404 heart monitor

2015-11-02 Thread Andrew F. Davis
On 10/31/2015 01:44 PM, Rob Herring wrote: gmail thinks this is spam BTW. Strange, the mailing lists do too. On Sat, Oct 31, 2015 at 11:31 AM, Andrew F. Davis wrote: Add the TI afe4404 heart monitor DT bindings documentation. Create health directory created under iio. Signed-off-by

  1   2   3   4   5   6   7   8   9   10   >