[RFC 1/4] of: add of_dev_get_platdata()

2015-08-28 Thread Milo Kim
-kernel@vger.kernel.org Signed-off-by: Milo Kim milo@ti.com --- drivers/of/device.c | 46 ++ include/linux/of_device.h | 12 2 files changed, 58 insertions(+) diff --git a/drivers/of/device.c b/drivers/of/device.c index 8b91ea2..5793ba0

[RFC 2/4] input: touchscree: mms114: use of_dev_get_platdata()

2015-08-28 Thread Milo Kim
...@linaro.org Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: Lee Jones lee.jo...@linaro.org Cc: Rob Herring robh...@kernel.org Cc: Samuel Ortiz sa...@linux.intel.com Cc: Tony Lindgren t...@atomide.com Cc: devicet...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim milo

[RFC 4/4] usb: musb: use of_dev_get_platdata()

2015-08-28 Thread Milo Kim
: Samuel Ortiz sa...@linux.intel.com Cc: Tony Lindgren t...@atomide.com Cc: devicet...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim milo@ti.com --- drivers/usb/musb/ux500.c | 40 1 file changed, 16 insertions(+), 24 deletions

[RFC 3/4] mfd: tps65910: use of_dev_get_platdata()

2015-08-28 Thread Milo Kim
...@kernel.org Cc: Samuel Ortiz sa...@linux.intel.com Cc: Tony Lindgren t...@atomide.com Cc: devicet...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim milo@ti.com --- drivers/mfd/tps65910.c | 49 - 1 file changed, 16

[RFC 0/4] of: introduce of_dev_get_platdata()

2015-08-28 Thread Milo Kim
...@linaro.org Cc: Rob Herring robh...@kernel.org Cc: Samuel Ortiz sa...@linux.intel.com Cc: Tony Lindgren t...@atomide.com Cc: devicet...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Milo Kim (4): of: introduce of_dev_get_platdata() input: touchscree: mms114: use of_dev_get_platdata() mfd

[PATCH 2/2] regulator:lp872x: handle error case

2015-08-24 Thread Milo Kim
If memory allocation gets failed on parsing the DT, then it returns error '-ENOMEM' explicitly. Then, the driver exists from the _probe(). Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim milo@ti.com --- drivers/regulator/lp872x.c | 11 +++ 1 file changed, 7 insertions(+), 4

[PATCH 1/2] regulator:lp872x: use the private data instead of updating I2C device platform data

2015-08-24 Thread Milo Kim
it is loaded. The lp872x driver should get data from the platform side and use the private data, 'lp872x-pdata' instead of changing the original platform data. Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim milo@ti.com --- drivers/regulator/lp872x.c | 7 +-- 1 file changed, 5 insertions

[PATCH 2/2] power:lp8727_charger: parsing child node after getting debounce-ms

2015-08-25 Thread Milo Kim
, counting child is processed after updating 'debounce-ms'. [*] Documentation/devicetree/bindings/power_supply/lp8727_charger.txt Cc: Dmitry Eremin-Solenikov dbarysh...@gmail.com Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim milo@ti.com --- drivers/power

[PATCH 1/2] power:lp8727_charger: use the private data instead of updating I2C device platform data

2015-08-25 Thread Milo Kim
device structure. 4. Map the platform data to private data structure. Cc: Dmitry Eremin-Solenikov dbarysh...@gmail.com Cc: linux...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim milo@ti.com --- drivers/power/lp8727_charger.c | 25 + 1 file

[PATCH 07/19] irqchip: atmel-aic: make common IRQ domain translate function

2016-01-03 Thread Milo Kim
colas.fe...@atmel.com> Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers/irqchip/irq-atmel-aic-common.c | 94 +- drivers/irqchip/irq-atmel-aic-common.h | 10 drivers/irqchip/irq-atmel-aic.c| 44 +

[PATCH 04/19] irqchip: atmel-aic: replace magic numbers with named constant

2016-01-03 Thread Milo Kim
om> Cc: Nicolas Ferre <nicolas.fe...@atmel.com> Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers/irqchip/irq-atmel-aic-common.c | 11 ++- drivers/irqchip/irq-atmel-aic-common.h | 1 + drivers/irqchip/irq-atmel-aic.c| 2 +- drivers/i

[PATCH 06/19] irqchip: atmel-aic: introduce register data structure

2016-01-03 Thread Milo Kim
t;ludovic.desroc...@atmel.com> Cc: Nicolas Ferre <nicolas.fe...@atmel.com> Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers/irqchip/irq-atmel-aic-common.c | 91 ++ 1 file changed, 91 insertions(+) diff --git a/drivers/i

[PATCH 09/19] irqchip: atmel-aic: add common retrigger function

2016-01-03 Thread Milo Kim
> Cc: Alexandre Belloni <alexandre.bell...@free-electrons.com> Cc: Boris BREZILLON <boris.brezil...@free-electrons.com> Cc: Ludovic Desroches <ludovic.desroc...@atmel.com> Cc: Nicolas Ferre <nicolas.fe...@atmel.com> Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <mi

[PATCH 01/19] irqchip: atmel-aic: fix wrong bit operation for IRQ priority

2016-01-03 Thread Milo Kim
> Cc: Boris BREZILLON <boris.brezil...@free-electrons.com> Cc: Ludovic Desroches <ludovic.desroc...@atmel.com> Cc: Nicolas Ferre <nicolas.fe...@atmel.com> Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers/irqchip/irq-atmel-aic-common.c |

[PATCH 13/19] irqchip: atmel-aic: clean up irq_chip_generic

2016-01-03 Thread Milo Kim
ree-electrons.com> Cc: Boris BREZILLON <boris.brezil...@free-electrons.com> Cc: Ludovic Desroches <ludovic.desroc...@atmel.com> Cc: Nicolas Ferre <nicolas.fe...@atmel.com> Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers/irqchip/irq

[PATCH 18/19] irqchip: atmel-aic: use unified AIC driver

2016-01-03 Thread Milo Kim
zyng...@arm.com> Cc: Alexandre Belloni <alexandre.bell...@free-electrons.com> Cc: Boris BREZILLON <boris.brezil...@free-electrons.com> Cc: Ludovic Desroches <ludovic.desroc...@atmel.com> Cc: Nicolas Ferre <nicolas.fe...@atmel.com> Cc: linux-kernel@vger.kernel.org Signed-off-b

[PATCH 19/19] irqchip: atmel-aic: rename AIC driver and fix Kconfig

2016-01-03 Thread Milo Kim
com> Cc: Alexandre Belloni <alexandre.bell...@free-electrons.com> Cc: Boris BREZILLON <boris.brezil...@free-electrons.com> Cc: Ludovic Desroches <ludovic.desroc...@atmel.com> Cc: Nicolas Ferre <nicolas.fe...@atmel.com> Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo

[PATCH 08/19] irqchip: atmel-aic: add common mask and unmask functions

2016-01-03 Thread Milo Kim
edaemon.net> Cc: Marc Zyngier <marc.zyng...@arm.com> Cc: Alexandre Belloni <alexandre.bell...@free-electrons.com> Cc: Boris BREZILLON <boris.brezil...@free-electrons.com> Cc: Ludovic Desroches <ludovic.desroc...@atmel.com> Cc: Nicolas Ferre <nicolas.fe...@atmel.com> Cc

[PATCH 10/19] irqchip: atmel-aic: add common set_type function

2016-01-03 Thread Milo Kim
l.com> Cc: Nicolas Ferre <nicolas.fe...@atmel.com> Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers/irqchip/irq-atmel-aic-common.c | 20 drivers/irqchip/irq-atmel-aic-common.h | 2 -- drivers/irqchip/irq-atmel-aic.c

[PATCH 03/19] irqchip: atmel-aic: clean up RTT interrupt code

2016-01-03 Thread Milo Kim
colas Ferre <nicolas.fe...@atmel.com> Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers/irqchip/irq-atmel-aic-common.c | 45 -- drivers/irqchip/irq-atmel-aic-common.h | 4 --- drivers/irqchip/irq-atmel-aic.c|

[PATCH 17/19] irqchip: atmel-aic: use unified IRQ chip initialization function

2016-01-03 Thread Milo Kim
om> Cc: Nicolas Ferre <nicolas.fe...@atmel.com> Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers/irqchip/irq-atmel-aic-common.c | 29 + drivers/irqchip/irq-atmel-aic-common.h | 22 -- drivers/irqchip/irq-

[PATCH 16/19] irqchip: atmel-aic: get total number of IRQs from device node

2016-01-03 Thread Milo Kim
ovic Desroches <ludovic.desroc...@atmel.com> Cc: Nicolas Ferre <nicolas.fe...@atmel.com> Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers/irqchip/irq-atmel-aic-common.c | 38 ++ drivers/irqchip/irq-atmel-aic-com

[PATCH 15/19] irqchip: atmel-aic: add common interrupt handler

2016-01-03 Thread Milo Kim
lexandre.bell...@free-electrons.com> Cc: Boris BREZILLON <boris.brezil...@free-electrons.com> Cc: Ludovic Desroches <ludovic.desroc...@atmel.com> Cc: Nicolas Ferre <nicolas.fe...@atmel.com> Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com>

[PATCH 14/19] irqchip: atmel-aic: add common HW init function

2016-01-03 Thread Milo Kim
zyng...@arm.com> Cc: Alexandre Belloni <alexandre.bell...@free-electrons.com> Cc: Boris BREZILLON <boris.brezil...@free-electrons.com> Cc: Ludovic Desroches <ludovic.desroc...@atmel.com> Cc: Nicolas Ferre <nicolas.fe...@atmel.com> Cc: linux-kernel@vger.kernel.or

[PATCH 11/19] irqchip: atmel-aic: add common PM IRQ chip operation

2016-01-03 Thread Milo Kim
om> Cc: Nicolas Ferre <nicolas.fe...@atmel.com> Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers/irqchip/irq-atmel-aic-common.c | 113 - drivers/irqchip/irq-atmel-aic.c| 39 --

[PATCH 00/19] irqchip: atmel-aic: make unified AIC driver

2016-01-03 Thread Milo Kim
: 597 AIC5: 688 Consolidated AIC: 609 Milo Kim (19): irqchip: atmel-aic: fix wrong bit operation for IRQ priority irqchip: atmel-aic: clean up RTC interrupt code irqchip: atmel-aic: clean up RTT interrupt code irqchip: atmel-aic: replace magic numbers with named constant

[PATCH 02/19] irqchip: atmel-aic: clean up RTC interrupt code

2016-01-03 Thread Milo Kim
<nicolas.fe...@atmel.com> Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers/irqchip/irq-atmel-aic-common.c | 28 drivers/irqchip/irq-atmel-aic-common.h | 2 -- drivers/irqchip/irq-atmel-aic.c| 9 --

[PATCH 05/19] irqchip: atmel-aic: use simple constant to get number of interrupts per chip

2016-01-03 Thread Milo Kim
om> Cc: Nicolas Ferre <nicolas.fe...@atmel.com> Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers/irqchip/irq-atmel-aic.c | 2 +- drivers/irqchip/irq-atmel-aic5.c | 9 +++-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/irq

[PATCH 12/19] irqchip: atmel-aic: use EOI register data in aic_reg_data

2016-01-03 Thread Milo Kim
> Cc: Boris BREZILLON <boris.brezil...@free-electrons.com> Cc: Ludovic Desroches <ludovic.desroc...@atmel.com> Cc: Nicolas Ferre <nicolas.fe...@atmel.com> Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers/irqchip/irq-atmel-aic-common.c |

Re: [PATCH 06/19] irqchip: atmel-aic: introduce register data structure

2016-01-06 Thread Milo Kim
On 01/04/2016 05:53 PM, Boris Brezillon wrote: On Mon, 4 Jan 2016 13:28:30 +0900 Milo Kim <milo@ti.com> wrote: Structure, 'aic_reg_offset' describes for device specific register offset. Each offset is used for IRQ chip operation. AIC and AIC5 have different register

Re: [PATCH 00/19] irqchip: atmel-aic: make unified AIC driver

2016-01-05 Thread Milo Kim
Hi Boris, Thanks a lot for your comments. On 01/04/2016 06:02 PM, Boris Brezillon wrote: Hi Milo, On Mon, 4 Jan 2016 13:28:24 +0900 Milo Kim <milo@ti.com> wrote: This patch-set provides unified Atmel AIC (Advanced Interrupt Controller) driver. Currently, there are two AIC driver

Re: [PATCH 00/19] irqchip: atmel-aic: make unified AIC driver

2016-01-05 Thread Milo Kim
Hi Nicolas, On 01/04/2016 06:37 PM, Nicolas Ferre wrote: Le 04/01/2016 10:02, Boris Brezillon a écrit : Hi Milo, On Mon, 4 Jan 2016 13:28:24 +0900 Milo Kim <milo@ti.com> wrote: This patch-set provides unified Atmel AIC (Advanced Interrupt Controller) driver. Currently, there are t

Re: [PATCH v2 0/9] Support TI LMU devices

2016-01-05 Thread Milo Kim
Hi Lee, On 11/26/2015 03:56 PM, Milo Kim wrote: TI Lighting Management Unit drivers support lighting devices below. Enable pin Backlight HW fault monitoring LEDs Regulators -- - --- LM3532 o o

Re: [PATCH 4/6] regulator: lp872x: Add enable GPIO pin support

2015-12-29 Thread Milo Kim
Hi Paul, On 29/12/15 20:13, Paul Kocialkowski wrote: Hi Milo, Le mardi 29 décembre 2015 à 09:45 +0900, Milo Kim a écrit : Hi Paul, On 29/12/15 07:49, Paul Kocialkowski wrote: Hi Milo, thanks for the review, Le lundi 28 décembre 2015 à 09:56 +0900, Milo Kim a écrit : Hi Paul, On 23/12/15

Re: [PATCH] regulator: lp8788: constify regulator_ops structures

2015-12-20 Thread Milo Kim
On 20/12/15 00:43, Julia Lawall wrote: The regulator_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall <julia.law...@lip6.fr> Acked-by: Milo Kim <milo@ti.com> --- drivers/regulator/lp8788-b

[PATCH] irqchip: omap-intc: Remove duplicate setup for IRQ chip type handler

2015-12-21 Thread Milo Kim
Lindgren <t...@atomide.com> Cc: Thomas Gleixner <t...@linutronix.de> Cc: Jason Cooper <ja...@lakedaemon.net> Cc: Marc Zyngier <marc.zyng...@arm.com> Cc: linux-o...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers/irqchip

Re: [PATCH 4/6] regulator: lp872x: Add enable GPIO pin support

2015-12-27 Thread Milo Kim
Hi Paul, On 23/12/15 20:56, Mark Brown wrote: On Wed, Dec 23, 2015 at 11:58:37AM +0100, Paul Kocialkowski wrote: + gpio = lp->pdata->enable_gpio; + if (!gpio_is_valid(gpio)) + return 0; + + /* Always set enable GPIO high. */ + ret =

Re: [PATCH 1/6] regulator: lp872x: Add missing of_match in regulators descriptions

2015-12-27 Thread Milo Kim
On 23/12/15 19:58, Paul Kocialkowski wrote: In order to select the regulators via of_find_regulator_by_node (and thus use them in devicetree), defining of_match for each regulator is required. Signed-off-by: Paul Kocialkowski <cont...@paulk.fr> Acked-by: Milo Kim <milo..

Re: [PATCH 2/6] regulator: lp872x: Get rid of duplicate reference to DVS GPIO

2015-12-27 Thread Milo Kim
On 23/12/15 19:58, Paul Kocialkowski wrote: The lp872x structure holds a reference to the DVS GPIO, but it is never actually used anywhere, since a first reference exists from the lp872x_dvs structure. Signed-off-by: Paul Kocialkowski <cont...@paulk.fr> Acked-by: Milo Kim <milo..

Re: [PATCH 4/6] regulator: lp872x: Add enable GPIO pin support

2015-12-27 Thread Milo Kim
Hi Paul, Thanks for the patches. Please see my comments below. On 23/12/15 19:58, Paul Kocialkowski wrote: LP872x regulators are made active via the EN pin, which might be hooked to a GPIO. This adds support for driving the GPIO high when the driver is in use. EN pin is used for enabling HW

Re: [PATCH 4/6] regulator: lp872x: Add enable GPIO pin support

2015-12-28 Thread Milo Kim
Hi Paul, On 29/12/15 07:49, Paul Kocialkowski wrote: Hi Milo, thanks for the review, Le lundi 28 décembre 2015 à 09:56 +0900, Milo Kim a écrit : Hi Paul, On 23/12/15 20:56, Mark Brown wrote: On Wed, Dec 23, 2015 at 11:58:37AM +0100, Paul Kocialkowski wrote: + gpio = lp->pd

[PATCH v2 6/9] mfd: add TI LMU hardware fault monitoring driver

2015-11-25 Thread Milo Kim
er.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- .../ABI/testing/debugfs-ti-lmu-fault-monitor | 32 ++ drivers/mfd/Kconfig| 10 + drivers/mfd/Makefile | 1 + drivers/mfd/ti-lmu-fault-monitor.c | 405

[PATCH v2 8/9] leds: add LM3633 driver

2015-11-25 Thread Milo Kim
<j.anaszew...@samsung.com> Cc: linux-l...@vger.kernel.org Cc: Lee Jones <lee.jo...@linaro.org> Cc: Mark Brown <broo...@kernel.org> Cc: Rob Herring <robh...@kernel.org> Cc: devicet...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.

[PATCH v2 3/9] Documentation: dt-bindings: leds: add LM3633 LED binding information

2015-11-25 Thread Milo Kim
el.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- .../devicetree/bindings/leds/leds-lm3633.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/leds-lm3633.txt diff --git a/Documentation

[PATCH v2 9/9] regulator: add LM363X driver

2015-11-25 Thread Milo Kim
r.kernel.org Cc: linux-l...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers/regulator/Kconfig| 9 + drivers/regulator/Makefile | 1 + drivers/regulator/lm363x-regulator.c | 309 +++ 3

[PATCH v2 0/9] Support TI LMU devices

2015-11-25 Thread Milo Kim
-microamp'. Remove brightness workqueue. * Regulator Use 'of_match' in regulator_desc instead of calling of_regulator_match. Remove unnecessary OF device ID because MFD core registers a platform device based on the compatible string. Milo Kim (9): Documentation: dt-bindings: mfd: add

[PATCH v2 1/9] Documentation: dt-bindings: mfd: add TI LMU device binding information

2015-11-25 Thread Milo Kim
er.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- Documentation/devicetree/bindings/mfd/ti-lmu.txt | 243 +++ 1 file changed, 243 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/ti-lmu.txt diff --git a/Documen

[PATCH v2 5/9] mfd: add TI LMU driver

2015-11-25 Thread Milo Kim
x-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers/mfd/Kconfig | 12 ++ drivers/mfd/Makefile| 2 + drivers/mfd/ti-lmu.c| 259 + include/linux/mfd/ti-lmu-register.h | 280 +++

[PATCH v2 4/9] Documentation: dt-bindings: regulator: add LM363x regulator binding information

2015-11-25 Thread Milo Kim
er.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- .../bindings/regulator/lm363x-regulator.txt| 34 ++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/lm363x-regulator.t

[PATCH v2 7/9] backlight: add TI LMU backlight driver

2015-11-25 Thread Milo Kim
Jacek Anaszewski <j.anaszew...@samsung.com> Cc: Mark Brown <broo...@kernel.org> Cc: Rob Herring <robh...@kernel.org> Cc: devicet...@vger.kernel.org Cc: linux-l...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- d

[PATCH v2 2/9] Documentation: dt-bindings: leds: backlight: add TI LMU backlight binding information

2015-11-25 Thread Milo Kim
lt;broo...@kernel.org> Cc: linux-l...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- .../bindings/leds/backlight/ti-lmu-backlight.txt | 65 ++ 1 file changed, 65 insertions(+) create mode 100644 Documentation/devicetree/

[PATCH] leds: turn off the LED and wait for completion on unregistering LED class device

2015-11-20 Thread Milo Kim
at LED driver turns off the brightness prior to resource management. Cc: linux-l...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <milo@ti.com> --- drivers/leds/led-class.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/leds/l

[PATCH 1/2] Documentation: dt-bindings: mfd: add TI LMU device binding information

2017-02-27 Thread Milo Kim
This patch describes overall binding for TI LMU MFD devices. Acked-by: Lee Jones <lee.jo...@linaro.org> Acked-by: Rob Herring <robh...@kernel.org> Signed-off-by: Milo Kim <milo@ti.com> --- Documentation/devicetree/bindings/mfd/ti-lmu.txt | 243 +++ 1

[PATCH 2/2] mfd: add TI LMU driver

2017-02-27 Thread Milo Kim
is already upstreamed. Acked-by: Lee Jones <lee.jo...@linaro.org> Signed-off-by: Milo Kim <milo@ti.com> --- drivers/mfd/Kconfig | 12 ++ drivers/mfd/Makefile| 2 + drivers/mfd/ti-lmu.c| 259 + include/

[PATCH v3 0/2] Support TI LMU devices

2017-02-27 Thread Milo Kim
ox x This patch-set includes only MFD part. Other subsystem drivers will be sent separately. ti-lmu-backlight: Backlight subsystem ti-lmu-fault-monitor: Misc driver leds-lm3633: LED subsystem Updates from v2: Submit acked patches to get merged quickly. Milo

[PATCH 1/2] Documentation: dt-bindings: Use generic property for hardware enable pins

2017-02-28 Thread Milo Kim
With index usages, device specific properties can be replaced with generic one. Vpos is index 0 and Vneg is index 1. DT examples are added as well. Signed-off-by: Milo Kim <milo@ti.com> --- .../bindings/regulator/lm363x-regulator.txt| 78 +- 1 file chang

[PATCH 2/2] regulator: lm363x: Use generic DT property name for external control pins

2017-02-28 Thread Milo Kim
Vpos and Vneg LDOs can be enabled or disabled by external GPIOs. Use general DT property 'enable-gpios' for this usage. Two enable pins are differentiable by selecting the index number. Signed-off-by: Milo Kim <milo@ti.com> --- drivers/regulator/lm363x-regulator.c | 4 ++-- 1 file chan

[PATCH 1/2] pwm: sun4i: Add Allwinner H3 support

2016-08-25 Thread Milo Kim
fault"; pinctrl-0 = <_pins_a>; status = "okay"; }; Cc: Chen-Yu Tsai <w...@csie.org> Cc: Maxime Ripard <maxime.rip...@free-electrons.com> Cc: Rob Herring <robh...@kernel.org> Cc: Thierry Reding <thierry.red...@gmail.com&

[PATCH 2/2] ARM: dts: sun8i-h3: Add UART1 pinctrl

2016-08-25 Thread Milo Kim
p...@free-electrons.com> Cc: Rob Herring <robh...@kernel.org> Signed-off-by: Milo Kim <woogyom@gmail.com> --- arch/arm/boot/dts/sun8i-h3.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi index 3a965fb..fdb6801 10

Re: [PATCH v2 1/4] ARM: dts: sun8i: Add PWM pin in H3

2016-09-01 Thread Milo Kim
On 09/01/2016 01:20 AM, Maxime Ripard wrote: Hi Milo, On Wed, Aug 31, 2016 at 05:25:17PM +0900, Milo Kim wrote: H3 PA5 pin is assigned for single PWM channel. Cc: Rob Herring <robh...@kernel.org> Cc: Maxime Ripard <maxime.rip...@free-electrons.com> Cc: Chen-Yu Tsai <w...@csie.o

Re: [PATCH v2 1/4] ARM: dts: sun8i: Add PWM pin in H3

2016-09-01 Thread Milo Kim
On 08/31/2016 05:33 PM, Chen-Yu Tsai wrote: + pwm0_pin_a: pwm0@0 { This is the only possible configuration. You can drop the _a suffix from the label, and @0 from the node name. OK, thanks for your review. Best regards, Milo

Re: [PATCH v3 1/5] ARM: dts: exynos: Enable HDMI for Arndale Octa board

2016-08-31 Thread Milo Kim
Hi Krzysztof, On 08/25/2016 04:05 AM, Krzysztof Kozlowski wrote: First of all - it looks like these DTS patches do not depend on DRM part, do they? I just sent the v4 patch for DTS. DRM patch-set was sent separately. Thanks for your advise. Best regards, Milo

[PATCH v2 0/4] Add PWM feature in Allwinner H3

2016-08-31 Thread Milo Kim
fault"; pinctrl-0 = <_pins_a>; status = "okay"; }; v2: Split v1 patch-set into several patches Milo Kim (4): ARM: dts: sun8i: Add PWM pin in H3 ARM: dts: sun8i: Add PWM controller node in H3 pinctrl: sunxi: Remove unsupported PWM channel pinm

[PATCH v2 1/4] ARM: dts: sun8i: Add PWM pin in H3

2016-08-31 Thread Milo Kim
H3 PA5 pin is assigned for single PWM channel. Cc: Rob Herring <robh...@kernel.org> Cc: Maxime Ripard <maxime.rip...@free-electrons.com> Cc: Chen-Yu Tsai <w...@csie.org> Cc: devicet...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org S

[PATCH v2 3/4] pinctrl: sunxi: Remove unsupported PWM channel pinmux in H3

2016-08-31 Thread Milo Kim
c.xyz> Cc: Jens Kuske <jensku...@gmail.com> Cc: Krzysztof Adamski <k...@japko.eu> Cc: linux-g...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <woogyom@gmail.com> --- drivers/pinctrl/sunxi/pinctrl-sun8i-h3.c

[PATCH v4 2/3] gpu: drm: exynos_hdmi: Move PHY logic into single function

2016-08-31 Thread Milo Kim
reedesktop.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <woogyom@gmail.com> --- drivers/gpu/drm/exynos/exynos_hdmi.c | 63 +++- 1 file changed, 33 insertions(+), 30 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/driver

[PATCH v4] ARM: dts: exynos: Enable HDMI for Arndale Octa board

2016-08-31 Thread Milo Kim
.kernel.org Signed-off-by: Milo Kim <woogyom@gmail.com> --- arch/arm/boot/dts/exynos5420-arndale-octa.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420-arndale-octa.dts b/arch/arm/boot/dts/exynos5420-arndale-octa.dts index 39a3b81..d2ad4

[PATCH v4 3/3] gpu: drm: exynos_hdmi: Remove duplicate initialization of regulator bulk consumer

2016-08-31 Thread Milo Kim
om> Cc: Kyungmin Park <kyungmin.p...@samsung.com> Cc: dri-de...@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <woogyom@gmail.com> --- drivers/gpu/drm/exynos/exynos_hdmi.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dri

[PATCH v4 1/3] gpu: drm: exynos_hdmi: Move DDC logic into single function

2016-08-31 Thread Milo Kim
top.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <woogyom@gmail.com> --- drivers/gpu/drm/exynos/exynos_hdmi.c | 46 1 file changed, 25 insertions(+), 21 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exyn

[PATCH v4 0/3] gpu: drm: exynos_hdmi: Code refactoring on hdmi ddc and phy

2016-08-31 Thread Milo Kim
v4: Only DRM patchset is sent, DTS patch was sent separately. Milo Kim (3): gpu: drm: exynos_hdmi: Move DDC logic into single function gpu: drm: exynos_hdmi: Move PHY logic into single function gpu: drm: exynos_hdmi: Remove duplicate initialization of regulator bulk consumer drivers

[PATCH v2 4/4] pwm: sunxi: Add H3 support

2016-08-31 Thread Milo Kim
..@free-electrons.com> Cc: Chen-Yu Tsai <w...@csie.org> Cc: linux-...@vger.kernel.org Cc: devicet...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <woogyom@gmail.com> --- Documentation/devicetree/bindings/pwm/

[PATCH v2 2/4] ARM: dts: sun8i: Add PWM controller node in H3

2016-08-31 Thread Milo Kim
Cc: Rob Herring <robh...@kernel.org> Cc: Maxime Ripard <maxime.rip...@free-electrons.com> Cc: Chen-Yu Tsai <w...@csie.org> Cc: devicet...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <woogyom@gmail.com>

Re: [PATCH 2/2] ARM: dts: sun8i-h3: Add UART1 pinctrl

2016-08-31 Thread Milo Kim
Hi Maxime, On 08/26/2016 04:10 PM, Maxime Ripard wrote: Hi Milo, On Thu, Aug 25, 2016 at 03:44:54PM +0900, Milo Kim wrote: In H3, PA5 can be used as PWM and UART0. If the PWM is used, the console UART should be moved to other port. This patch enables UART1 pinctrl to support this case

Re: [PATCH 2/2] ARM: dts: sun8i-h3: Add UART1 pinctrl

2016-08-26 Thread Milo Kim
On 08/26/2016 04:10 PM, Maxime Ripard wrote: + uart1_pins_a: uart1@0 { > + allwinner,pins = "PG6", "PG7"; > + allwinner,function = "uart1"; > + allwinner,drive = ; > +

[PATCH v2 4/4] gpu: drm: exynos_hdmi: Use consolidated function on binding PHY DT property

2016-08-23 Thread Milo Kim
r.kernel.org Cc: dri-de...@lists.freedesktop.org Signed-off-by: Milo Kim <woogyom@gmail.com> --- drivers/gpu/drm/exynos/exynos_hdmi.c | 23 ++- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/

[PATCH v2 2/4] ARM: dts: exynos: Use 'hpd-gpios' instead of 'hpd-gpio'

2016-08-23 Thread Milo Kim
com> Cc: Kyungmin Park <kyungmin.p...@samsung.com> Cc: devicet...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-samsung-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: dri-de...@lists.freedesktop.org Signed-off-by: Milo Kim <woogyom@gmail.com> --- Docume

[PATCH v2 0/4] ARM: dts: exynos: Enable HDMI in Arndale Octa board

2016-08-23 Thread Milo Kim
-gpio' Milo Kim (4): ARM: dts: exynos: Enable HDMI for Arndale Octa board ARM: dts: exynos: Use 'hpd-gpios' instead of 'hpd-gpio' gpu: drm: exynos_hdmi: Use consolidated function on binding DDC DT property gpu: drm: exynos_hdmi: Use consolidated function on binding PHY DT property

Re: [PATCH 0/4] ARM: dts: exynos: Enable HDMI in Arndale Octa board

2016-08-23 Thread Milo Kim
On 08/24/2016 04:55 AM, Krzysztof Kozlowski wrote: I saw DTS patches on linux-samsung-soc patchwork but still I would appreciate if you send them to appropriate maintainers pointed by get_maintainers.pl script. DTS stuff goes through samsung-soc tree. Thanks for your tip. I've just sent out

Re: [PATCH v2 1/4] ARM: dts: exynos: Enable HDMI for Arndale Octa board

2016-08-24 Thread Milo Kim
Hi Andrzej, On 08/24/2016 02:28 PM, Andrzej Hajda wrote: Please use ddc property in hdmi node, instead of this legacy binding. See exynos4210-universal_c210.dts or exynos4412-odroid-common.dtsi for reference. Cool! I prefer this simple property. Thanks for the review. Best regards, Milo

Re: [PATCH v2 3/4] gpu: drm: exynos_hdmi: Use consolidated function on binding DDC DT property

2016-08-24 Thread Milo Kim
Hi Andrzej, On 08/24/2016 02:55 PM, Andrzej Hajda wrote: This is mistake introduced by other patch, of_node_put should be called on np, after calling of_find_i2c_adapter_by_node. You can fix it in your patch as well. I think you can move of_find_i2c_adapter_by_node also to this function and

[PATCH v2 1/4] ARM: dts: exynos: Enable HDMI for Arndale Octa board

2016-08-23 Thread Milo Kim
> Cc: Seung-Woo Kim <sw0312@samsung.com> Cc: Kyungmin Park <kyungmin.p...@samsung.com> Cc: Rob Herring <robh...@kernel.org> Cc: devicet...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-samsung-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: dri

[PATCH v2 3/4] gpu: drm: exynos_hdmi: Use consolidated function on binding DDC DT property

2016-08-23 Thread Milo Kim
r.kernel.org Cc: dri-de...@lists.freedesktop.org Signed-off-by: Milo Kim <woogyom@gmail.com> --- drivers/gpu/drm/exynos/exynos_hdmi.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exy

[PATCH 2/4] ARM: dts: exynos: Use 'hpd-gpios' instead of 'hpd-gpio'

2016-08-23 Thread Milo Kim
.org Cc: dri-de...@lists.freedesktop.org Signed-off-by: Milo Kim <woogyom@gmail.com> --- Documentation/devicetree/bindings/display/exynos/exynos_hdmi.txt | 4 ++-- arch/arm/boot/dts/exynos4210-universal_c210.dts | 2 +- arch/arm/boot/dts/exynos4412-odroid-common.dtsi

[PATCH 4/4] gpu: drm: exynos_hdmi: Use consolidated function on binding PHY DT property

2016-08-23 Thread Milo Kim
kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-samsung-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: dri-de...@lists.freedesktop.org Signed-off-by: Milo Kim <woogyom@gmail.com> --- drivers/gpu/drm/exynos/exynos_hdmi.c | 23 ++- 1 file changed,

[PATCH 1/4] ARM: dts: exynos: Enable HDMI for Arndale Octa board

2016-08-23 Thread Milo Kim
el.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-samsung-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: dri-de...@lists.freedesktop.org Signed-off-by: Milo Kim <woogyom@gmail.com> --- arch/arm/boot/dts/exynos5420-arndale-octa.dts | 17 + 1 file changed, 17 insertions(+)

[PATCH 0/4] ARM: dts: exynos: Enable HDMI in Arndale Octa board

2016-08-23 Thread Milo Kim
This patch-set enables HDMI in Arndale Octa board and fixes HPD DT property. It also includes code refactoring on ddc and phy. Milo Kim (4): ARM: dts: exynos: Enable HDMI for Arndale Octa board ARM: dts: exynos: Use 'hpd-gpios' instead of 'hpd-gpio' gpu: drm: exynos_hdmi: Use consolidated

[PATCH 3/4] gpu: drm: exynos_hdmi: Use consolidated function on binding DDC DT property

2016-08-23 Thread Milo Kim
kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-samsung-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: dri-de...@lists.freedesktop.org Signed-off-by: Milo Kim <woogyom@gmail.com> --- drivers/gpu/drm/exynos/exynos_hdmi.c | 18 +- 1 file changed

Re: [PATCH 1/2] pwm: sun4i: Add Allwinner H3 support

2016-08-26 Thread Milo Kim
Hi Maxime, On 08/26/2016 05:51 AM, Maxime Ripard wrote: Remember to use get_maintainers to send your patches, you missed a few mailing lists (linux-arm-kernel, for example), developpers (Alexandre Belloni, the original author of the driver) and maintainers (Linus Walleij for the pinctrl

[PATCH v3 5/5] gpu: drm: exynos_hdmi: Remove duplicate initialization of regulator bulk consumer

2016-08-24 Thread Milo Kim
Joonyoung Shim <jy0922.s...@samsung.com> Cc: Seung-Woo Kim <sw0312@samsung.com> Cc: Kyungmin Park <kyungmin.p...@samsung.com> Cc: linux-arm-ker...@lists.infradead.org Cc: linux-samsung-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: dri-de...@lists.freedesktop.org Sign

[PATCH v3 4/5] gpu: drm: exynos_hdmi: Move PHY logic into single function

2016-08-24 Thread Milo Kim
g Cc: dri-de...@lists.freedesktop.org Signed-off-by: Milo Kim <woogyom@gmail.com> --- drivers/gpu/drm/exynos/exynos_hdmi.c | 63 +++- 1 file changed, 33 insertions(+), 30 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/

[PATCH v3 3/5] gpu: drm: exynos_hdmi: Move DDC logic into single function

2016-08-24 Thread Milo Kim
> Cc: Seung-Woo Kim <sw0312@samsung.com> Cc: Kyungmin Park <kyungmin.p...@samsung.com> Cc: Rob Herring <robh...@kernel.org> Cc: devicet...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-samsung-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: dri-de.

[PATCH v3 2/5] ARM: dts: exynos: Use 'hpd-gpios' instead of 'hpd-gpio'

2016-08-24 Thread Milo Kim
erring <r...@kernel.org> Reviewed-by: Andrzej Hajda <a.ha...@samsung.com> Cc: Kukjin Kim <kg...@kernel.org> Cc: Krzysztof Kozlowski <k.kozlow...@samsung.com> Cc: devicet...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-samsung-...@vger.kernel.org Cc: linux

[PATCH v3 1/5] ARM: dts: exynos: Enable HDMI for Arndale Octa board

2016-08-24 Thread Milo Kim
g Cc: linux-kernel@vger.kernel.org Signed-off-by: Milo Kim <woogyom@gmail.com> --- arch/arm/boot/dts/exynos5420-arndale-octa.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420-arndale-octa.dts b/arch/arm/boot/dts/exynos5420-arndale-octa.dt

[PATCH v3 0/5] ARM: dts: exynos: Enable HDMI in Arndale Octa board

2016-08-24 Thread Milo Kim
of regulator consumer initialization. v2: Include DRM and Exynos maintainers and resend the patch-set. Add Rob's ack for the patch, [PATCH 2/4] ARM: dts: exynos: Use 'hpd-gpios' instead of 'hpd-gpio' Milo Kim (5): ARM: dts: exynos: Enable HDMI for Arndale Octa board ARM: dts: exynos: Use

[PATCH 1/3] ARM: dts: sun8i: Add common dtsi file for NanoPi SBCs

2016-10-20 Thread Milo Kim
This patch provides a common file for NanoPi M1 and Neo SBC. Those have common features below. * UART0 * 2 LEDs * USB host (EHCI3, OHCI3) and PHY * MicroSD * GPIO key switch Cc: James Pettigrew <ja...@innovum.com.au> Signed-off-by: Milo Kim <woogyom@gmail.com> --- a

[PATCH 0/3] ARM: dts: sun8i: Support NanoPi SBCs

2016-10-20 Thread Milo Kim
NanoPi M1 and NEO have common features, so duplicate properties can be moved into new dtsi file. Milo Kim (3): ARM: dts: sun8i: Add common dtsi file for NanoPi SBCs ARM: dts: sun8i: Use the common file in NanoPi NEO SBC ARM: dts: sun8i: Add dts file for NanoPi M1 SBC arch/arm/boot/dts

[PATCH 3/3] ARM: dts: sun8i: Add dts file for NanoPi M1 SBC

2016-10-20 Thread Milo Kim
NanoPi M1 is the Allwinner H3 based board. This patch enables UART for debug console, LEDs, GPIO key switch, 3 USB host ports, a micro SD slot and related power and pin controls. Cc: James Pettigrew <ja...@innovum.com.au> Signed-off-by: Milo Kim <woogyom@gmail.com> --- arch/

[PATCH 2/3] ARM: dts: sun8i: Use the common file in NanoPi NEO SBC

2016-10-20 Thread Milo Kim
Cc: James Pettigrew <ja...@innovum.com.au> Signed-off-by: Milo Kim <woogyom@gmail.com> --- arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts | 79 +-- 1 file changed, 1 insertion(+), 78 deletions(-) diff --git a/arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts b/a

Re: [PATCH 1/3] ARM: dts: sun8i: Add common dtsi file for NanoPi SBCs

2016-10-21 Thread Milo Kim
On 10/21/2016 01:04 AM, Maxime Ripard wrote: + * Copyright (C) 2016 Milo Kim <woogyom@gmail.com> This looks like a copy of James' DT. Keeping him as the copyright holder seems like the right thing to do. Oh... thanks for catching this. Sorry to James. Best regards, Milo

Re: [PATCH 2/3] spi: sun6i: Support Allwinner H3 SPI controller

2016-10-21 Thread Milo Kim
On 10/21/2016 12:53 AM, Chen-Yu Tsai wrote: Use of_device_get_match_data, then you don't even have to move sun6i_spi_match above this function. Oh, good. Thanks for introducing this helper. Best regards, Milo

<    1   2   3   4   5   6   7   >