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
---
drivers/regulator/lp872x.c | 11 +++
1 file changed, 7 insertions(+), 4
onfiguration when 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
---
drivers/regulator/lp872x.c | 7 +--
, then the driver just gets the platform data
from the I2C device structure.
4. Map the platform data to private data structure.
Cc: Dmitry Eremin-Solenikov
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
drivers/power/lp8727_charger.c | 25
ed
inside the DT.
So, counting child is processed after updating 'debounce-ms'.
[*] Documentation/devicetree/bindings/power_supply/lp8727_charger.txt
Cc: Dmitry Eremin-Solenikov
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
drivers/power/lp8727_
ork)
It guarantees that 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
---
drivers/leds/led-class.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/leds/le
g operation.
Max brightness is determined by DT property, 'led-max-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
de
ht and LED drivers
handle this event.
Cc: Lee Jones
Cc: Jacek Anaszewski
Cc: Mark Brown
Cc: Rob Herring
Cc: devicet...@vger.kernel.org
Cc: linux-l...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
.../ABI/testing/debugfs-ti-lmu-fault-monitor | 32 ++
d
can have multiple
LED channel data.
Cc: Jacek Anaszewski
Cc: linux-l...@vger.kernel.org
Cc: Lee Jones
Cc: Mark Brown
Cc: Rob Herring
Cc: devicet...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
Documentation/ABI/testing/sysfs-class-led-lm3
LM3633 LED device is one of TI LMU device list.
Cc: Rob Herring
Cc: devicet...@vger.kernel.org
Cc: Lee Jones
Cc: Jacek Anaszewski
Cc: Mark Brown
Cc: linux-l...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
.../devicetree/bindings/leds/leds-lm3633.txt
LM3632 can be controlled by external pins.
Those are configured through the DT properties.
Cc: Mark Brown
Cc: Lee Jones
Cc: Jacek Anaszewski
Cc: Rob Herring
Cc: devicet...@vger.kernel.org
Cc: linux-l...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
drivers
river enables it.
Please refer to separate patch for 'lm363x-regulator'.
Cc: Lee Jones
Cc: Jacek Anaszewski
Cc: Mark Brown
Cc: Rob Herring
Cc: devicet...@vger.kernel.org
Cc: linux-l...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
drivers/mfd/
This binding describes LM3631 and LM3632 regulator properties.
Cc: Rob Herring
Cc: devicet...@vger.kernel.org
Cc: Lee Jones
Cc: Jacek Anaszewski
Cc: Mark Brown
Cc: linux-l...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
.../bindings/regulator/lm363x
Brown
Cc: Rob Herring
Cc: devicet...@vger.kernel.org
Cc: linux-l...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
drivers/video/backlight/Kconfig | 7 +
drivers/video/backlight/Makefile| 3 +
drivers/video/backlight/ti-lmu
This patch describes overall binding for TI LMU MFD devices.
Cc: Rob Herring
Cc: devicet...@vger.kernel.org
Cc: Lee Jones
Cc: Jacek Anaszewski
Cc: Mark Brown
Cc: linux-l...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
Documentation/devicetree/bindings/mfd
LM3532, LM3631, LM3632, LM3633, LM3695 and LM3697 use common dt-bindings
for describing backlight device.
Cc: Rob Herring
Cc: devicet...@vger.kernel.org
Cc: Lee Jones
Cc: Jacek Anaszewski
Cc: Mark Brown
Cc: linux-l...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
river retry to get
probed.
v1 -> v2:
Keeps optional property '-supply' in LP855x DT binding.
Cc: Sean Paul
Cc: Jingoo Han
Cc: Lee Jones
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
drivers/video/backlight/lp855x_bl.c | 23 ---
include/li
rc Zyngier
Cc: Alexandre Belloni
Cc: Boris BREZILLON
Cc: Ludovic Desroches
Cc: Nicolas Ferre
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
drivers/irqchip/irq-atmel-aic-common.c | 94 +-
drivers/irqchip/irq-atmel-aic-common.h | 10
drivers/i
eixner
Cc: Jason Cooper
Cc: Marc Zyngier
Cc: Alexandre Belloni
Cc: Boris BREZILLON
Cc: Ludovic Desroches
Cc: Nicolas Ferre
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
drivers/irqchip/irq-atmel-aic-common.c | 11 ++-
drivers/irqchip/irq-atmel-aic-common.h | 1
fied AIC driver.
Cc: Thomas Gleixner
Cc: Jason Cooper
Cc: Marc Zyngier
Cc: Alexandre Belloni
Cc: Boris BREZILLON
Cc: Ludovic Desroches
Cc: Nicolas Ferre
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
drivers/irqchip/irq-atmel-aic-common.c | 91 ++
Ferre
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
drivers/irqchip/irq-atmel-aic-common.c | 21 +
drivers/irqchip/irq-atmel-aic.c| 13 -
drivers/irqchip/irq-atmel-aic5.c | 15 ---
3 files changed, 21 insertions(+), 28 deletions
clears source type bits instead of priority bits.
This patch fixes wrong mask bit operation.
Cc: Thomas Gleixner
Cc: Jason Cooper
Cc: Marc Zyngier
Cc: Alexandre Belloni
Cc: Boris BREZILLON
Cc: Ludovic Desroches
Cc: Nicolas Ferre
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
-off-by: Milo Kim
---
drivers/irqchip/irq-atmel-aic.c | 3 ---
drivers/irqchip/irq-atmel-aic5.c | 8
2 files changed, 11 deletions(-)
diff --git a/drivers/irqchip/irq-atmel-aic.c b/drivers/irqchip/irq-atmel-aic.c
index bab93a0..721ecb6 100644
--- a/drivers/irqchip/irq-atmel-aic.c
+++ b
Cc: Nicolas Ferre
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
drivers/irqchip/Makefile | 4 +--
drivers/irqchip/irq-atmel-aic-common.c | 10 +++---
drivers/irqchip/irq-atmel-aic.c| 54
drivers/irqchip/irq-atmel-aic5.c
Cc: Nicolas Ferre
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
arch/arm/mach-at91/Kconfig | 2 +-
drivers/irqchip/Kconfig| 7 -
drivers/irqchip/Makefile | 3 +-
drivers/irqchip/irq-aic.c
eixner
Cc: Jason Cooper
Cc: Marc Zyngier
Cc: Alexandre Belloni
Cc: Boris BREZILLON
Cc: Ludovic Desroches
Cc: Nicolas Ferre
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
drivers/irqchip/irq-atmel-aic-common.c | 29 +
drivers/irqchip/irq-atmel-aic-com
IRQ number, 'NR_AT91RM9200_IRQS'.
Cc: Thomas Gleixner
Cc: Jason Cooper
Cc: Marc Zyngier
Cc: Alexandre Belloni
Cc: Boris BREZILLON
Cc: Ludovic Desroches
Cc: Nicolas Ferre
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
drivers/irqchip/irq-atm
Desroches
Cc: Nicolas Ferre
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
drivers/irqchip/irq-atmel-aic-common.c | 42 ++
drivers/irqchip/irq-atmel-aic.c| 31 -
drivers/irqchip/irq-atmel-aic5.c | 32
Cc: Jason Cooper
Cc: Marc Zyngier
Cc: Alexandre Belloni
Cc: Boris BREZILLON
Cc: Ludovic Desroches
Cc: Nicolas Ferre
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
drivers/irqchip/irq-atmel-aic-common.c | 113 -
drivers/irqchip/irq-atmel-aic.c
@vger.kernel.org
Signed-off-by: Milo Kim
---
drivers/irqchip/irq-atmel-aic-common.c | 24
drivers/irqchip/irq-atmel-aic.c| 25 -
drivers/irqchip/irq-atmel-aic5.c | 24
3 files changed, 24 insertions(+), 49 deletions(-)
diff
Structure 'aic_reg_data' has EOI data, chip type data can be moved to
common part.
Cc: Thomas Gleixner
Cc: Jason Cooper
Cc: Marc Zyngier
Cc: Alexandre Belloni
Cc: Boris BREZILLON
Cc: Ludovic Desroches
Cc: Nicolas Ferre
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
--
Alexandre Belloni
Cc: Boris BREZILLON
Cc: Ludovic Desroches
Cc: Nicolas Ferre
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
drivers/irqchip/irq-atmel-aic-common.c | 52 ++
drivers/irqchip/irq-atmel-aic.c| 4 ---
drivers/irqchip/irq-at
IRQ data and
accessing AIC/AIC5 registers.
Cc: Thomas Gleixner
Cc: Jason Cooper
Cc: Marc Zyngier
Cc: Alexandre Belloni
Cc: Boris BREZILLON
Cc: Ludovic Desroches
Cc: Nicolas Ferre
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
drivers/irqchip/irq-atmel-aic-common.c | 20 ++
Cooper
Cc: Marc Zyngier
Cc: Alexandre Belloni
Cc: Boris BREZILLON
Cc: Ludovic Desroches
Cc: Nicolas Ferre
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
drivers/irqchip/irq-atmel-aic.c | 2 +-
drivers/irqchip/irq-atmel-aic5.c | 9 +++--
2 files changed, 4 insertions(+), 7
ooper
Cc: Marc Zyngier
Cc: Alexandre Belloni
Cc: Boris BREZILLON
Cc: Ludovic Desroches
Cc: Nicolas Ferre
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
drivers/irqchip/irq-atmel-aic-common.c | 45 --
drivers/irqchip/irq-atmel-aic-common.h | 4 ---
: 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
r
Cc: Marc Zyngier
Cc: Alexandre Belloni
Cc: Boris BREZILLON
Cc: Ludovic Desroches
Cc: Nicolas Ferre
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
drivers/irqchip/irq-atmel-aic-common.c | 28
drivers/irqchip/irq-atmel-aic-common.h | 2 --
drivers/ir
. Branch name is 'ti-lmu'.
git clone -b ti-lmu https://github.com/milokim/linux.git
Milo Kim (16):
Documentation: dt-bindings: mfd: add TI LMU device binding information
Documentation: dt-bindings: backlight: add TI LMU backlight binding
information
Documentation: dt-bindings: hwm
d' is set to true.
Then, TI LMU backlight handles LMU HWMON event in
ti_lmu_backlight_hwmon_notifier().
Common backlight driver is controlled by TI LMU backlight driver.
Only LM3697 specific code is implemented here.
Cc: Jingoo Han
Cc: Lee Jones
Cc: linux-kernel@vger.kernel.org
Signed-off-by
LM3532, LM3631, LM3632, LM3633, LM3695 and LM3697 use common dt-bindings
for describing device.
Cc: devicet...@vger.kernel.org
Cc: Jingoo Han
Cc: Lee Jones
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
.../bindings/video/backlight/ti-lmu-backlight.txt | 67
This binding supports LM3631 and LM3632 regulator configuration.
Cc: devicet...@vger.kernel.org
Cc: Lee Jones
Cc: Mark Brown
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
.../bindings/regulator/lm363x-regulator.txt| 28 ++
1 file changed, 28
LM3695 has 2 backlight strings and 11 bit dimming is supported.
Common backlight driver is controlled by TI LMU backlight driver.
Only LM3695 specific code is implemented here.
Cc: Jingoo Han
Cc: Lee Jones
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
drivers/video/backlight
This patch describes overall binding for TI LMU MFD devices.
Cc: devicet...@vger.kernel.org
Cc: Lee Jones
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
Documentation/devicetree/bindings/mfd/ti-lmu.txt | 282 +++
1 file changed, 282 insertions(+)
create mode
/ \
+ (2) / \ (4)
+ (b) > _/ \_ ...
+ (1) (5)
+
+ |<- period -> |
+
+What: /sys/class/leds//pattern_times
+Date: Oct 2015
+Kerne
LM3632 can be controlled by external pins.
Those are described in the device tree bindings.
Cc: Mark Brown
Cc: Lee Jones
Cc: devicet...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
drivers/regulator/Kconfig| 9 +
drivers/regulator/Makefile
: Milo Kim
---
drivers/video/backlight/Kconfig | 9 +++
drivers/video/backlight/Makefile| 1 +
drivers/video/backlight/lm3631_bl.c | 129
3 files changed, 139 insertions(+)
create mode 100644 drivers/video/backlight/lm3631_bl.c
diff --git a
d' is set to true.
Then, TI LMU backlight handles LMU HWMON event in
ti_lmu_backlight_hwmon_notifier().
Common backlight driver is controlled by TI LMU backlight driver.
Only LM3633 specific code is implemented here.
Cc: Jingoo Han
Cc: Lee Jones
Cc: linux-kernel@vger.kernel.org
Signed-off-by
arate patch for lm363x-regulator.
Cc: Lee Jones
Cc: Jingoo Han
Cc: Guenter Roeck
Cc: Jean Delvare
Cc: Jacek Anaszewski
Cc: Mark Brown
Cc: lm-sens...@lm-sensors.org
Cc: linux-l...@vger.kernel.org
Cc: devicet...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
driver
ned-off-by: Milo Kim
---
Documentation/devicetree/bindings/hwmon/ti-lmu-hwmon.txt | 12
1 file changed, 12 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/ti-lmu-hwmon.txt
diff --git a/Documentation/devicetree/bindings/hwmon/ti-lmu-hwmon.txt
b/Documentation/
ght driver handles
this event.
Cc: Guenter Roeck
Cc: Jean Delvare
Cc: Lee Jones
Cc: devicet...@vger.kernel.org
Cc: lm-sens...@lm-sensors.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
drivers/hwmon/Kconfig| 10 ++
drivers/hwmon/Makefile | 1 +
drivers/hw
: Milo Kim
---
drivers/video/backlight/Kconfig | 9 ++
drivers/video/backlight/Makefile| 1 +
drivers/video/backlight/lm3532_bl.c | 183
3 files changed, 193 insertions(+)
create mode 100644 drivers/video/backlight/lm3532_bl.c
diff --git a/drivers
: Milo Kim
---
drivers/video/backlight/Kconfig | 9 +++
drivers/video/backlight/Makefile| 1 +
drivers/video/backlight/lm3632_bl.c | 125
3 files changed, 135 insertions(+)
create mode 100644 drivers/video/backlight/lm3632_bl.c
diff --git a
goo Han
Cc: Lee Jones
Cc: devicet...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
drivers/video/backlight/Kconfig| 9 +
drivers/video/backlight/Makefile | 1 +
drivers/video/backlight/ti-lmu-backlight.c | 429 ++
LM3633 LED device is one of TI LMU device list.
Cc: devicet...@vger.kernel.org
Cc: Jacek Anaszewski
Cc: Lee Jones
Cc: linux-kernel@vger.kernel.org
Cc: linux-l...@vger.kernel.org
Signed-off-by: Milo Kim
---
.../devicetree/bindings/leds/leds-lm3633.txt | 28 ++
1 file
. Branch name is 'ti-lmu'.
git clone -b ti-lmu https://github.com/milokim/linux.git
Milo Kim (16):
Documentation: dt-bindings: mfd: add TI LMU device binding information
Documentation: dt-bindings: backlight: add TI LMU backlight binding
information
Documentation: dt-bindings: hwm
LM3532, LM3631, LM3632, LM3633, LM3695 and LM3697 use common dt-bindings
for describing device.
Cc: devicet...@vger.kernel.org
Cc: Jingoo Han
Cc: Lee Jones
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
.../bindings/video/backlight/ti-lmu-backlight.txt | 67
goo Han
Cc: Lee Jones
Cc: devicet...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
drivers/video/backlight/Kconfig| 9 +
drivers/video/backlight/Makefile | 1 +
drivers/video/backlight/ti-lmu-backlight.c | 429 ++
ned-off-by: Milo Kim
---
Documentation/devicetree/bindings/hwmon/ti-lmu-hwmon.txt | 12
1 file changed, 12 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/ti-lmu-hwmon.txt
diff --git a/Documentation/devicetree/bindings/hwmon/ti-lmu-hwmon.txt
b/Documentation/
arate patch for lm363x-regulator.
Cc: Lee Jones
Cc: Jingoo Han
Cc: Guenter Roeck
Cc: Jean Delvare
Cc: Jacek Anaszewski
Cc: Mark Brown
Cc: lm-sens...@lm-sensors.org
Cc: linux-l...@vger.kernel.org
Cc: devicet...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
driver
ght driver handles
this event.
Cc: Guenter Roeck
Cc: Jean Delvare
Cc: Lee Jones
Cc: devicet...@vger.kernel.org
Cc: lm-sens...@lm-sensors.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
drivers/hwmon/Kconfig| 10 ++
drivers/hwmon/Makefile | 1 +
drivers/hw
d' is set to true.
Then, TI LMU backlight handles LMU HWMON event in
ti_lmu_backlight_hwmon_notifier().
Common backlight driver is controlled by TI LMU backlight driver.
Only LM3697 specific code is implemented here.
Cc: Jingoo Han
Cc: Lee Jones
Cc: linux-kernel@vger.kernel.org
Signed-off-by
LM3632 can be controlled by external pins.
Those are described in the device tree bindings.
Cc: Mark Brown
Cc: Lee Jones
Cc: devicet...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
drivers/regulator/Kconfig| 9 +
drivers/regulator/Makefile
d' is set to true.
Then, TI LMU backlight handles LMU HWMON event in
ti_lmu_backlight_hwmon_notifier().
Common backlight driver is controlled by TI LMU backlight driver.
Only LM3633 specific code is implemented here.
Cc: Jingoo Han
Cc: Lee Jones
Cc: linux-kernel@vger.kernel.org
Signed-off-by
/ \
+ (2) / \ (4)
+ (b) > _/ \_ ...
+ (1) (5)
+
+ |<- period -> |
+
+What: /sys/class/leds//pattern_times
+Date: Oct 2015
+Kerne
: Milo Kim
---
drivers/video/backlight/Kconfig | 9 +++
drivers/video/backlight/Makefile| 1 +
drivers/video/backlight/lm3632_bl.c | 125
3 files changed, 135 insertions(+)
create mode 100644 drivers/video/backlight/lm3632_bl.c
diff --git a
LM3695 has 2 backlight strings and 11 bit dimming is supported.
Common backlight driver is controlled by TI LMU backlight driver.
Only LM3695 specific code is implemented here.
Cc: Jingoo Han
Cc: Lee Jones
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
drivers/video/backlight
LM3633 LED device is one of TI LMU device list.
Cc: devicet...@vger.kernel.org
Cc: Jacek Anaszewski
Cc: Lee Jones
Cc: linux-kernel@vger.kernel.org
Cc: linux-l...@vger.kernel.org
Signed-off-by: Milo Kim
---
.../devicetree/bindings/leds/leds-lm3633.txt | 28 ++
1 file
This binding supports LM3631 and LM3632 regulator configuration.
Cc: devicet...@vger.kernel.org
Cc: Lee Jones
Cc: Mark Brown
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
.../bindings/regulator/lm363x-regulator.txt| 28 ++
1 file changed, 28
: Milo Kim
---
drivers/video/backlight/Kconfig | 9 +++
drivers/video/backlight/Makefile| 1 +
drivers/video/backlight/lm3631_bl.c | 129
3 files changed, 139 insertions(+)
create mode 100644 drivers/video/backlight/lm3631_bl.c
diff --git a
: Milo Kim
---
drivers/video/backlight/Kconfig | 9 ++
drivers/video/backlight/Makefile| 1 +
drivers/video/backlight/lm3532_bl.c | 183
3 files changed, 193 insertions(+)
create mode 100644 drivers/video/backlight/lm3532_bl.c
diff --git a/drivers
This patch describes overall binding for TI LMU MFD devices.
Cc: devicet...@vger.kernel.org
Cc: Lee Jones
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
Documentation/devicetree/bindings/mfd/ti-lmu.txt | 282 +++
1 file changed, 282 insertions(+)
create mode
0>;
regulator-max-microvolt = <330>;
(snip)
};
Cc: Sean Paul
Cc: Jingoo Han
Cc: Lee Jones
Cc: devicet...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Milo Kim
---
.../devicetree/bindings/video/backlight/lp855x.txt |
output
simultaneously.
* Pinmux
eMMC, ethernet, HDMI, I2C, power button, PWM, SD card and UART.
* Others
Enable ethernet, UART1 debug, USB host, USDHC3 for microSD card and
USDHC4 for built-in eMMC storage.
Signed-off-by: Milo Kim
---
arch/arm/boot/dts/imx6qdl-savageboard.dtsi | 262
-reset-gpios and iomuxc node.
Milo Kim (3):
ARM: dts: imx6: Add Savageboard common file
ARM: dts: imx6: Support Savageboard dual
ARM: dts: imx6: Support Savageboard quad
arch/arm/boot/dts/imx6dl-savageboard.dts | 50 ++
arch/arm/boot/dts/imx6q-savageboard.dts| 54 ++
arch/arm
Use common board file and support SATA interface additionally.
Signed-off-by: Milo Kim
---
arch/arm/boot/dts/imx6q-savageboard.dts | 54 +
1 file changed, 54 insertions(+)
create mode 100644 arch/arm/boot/dts/imx6q-savageboard.dts
diff --git a/arch/arm/boot/dts
Common savageboard DT file is used for board support.
Signed-off-by: Milo Kim
---
arch/arm/boot/dts/imx6dl-savageboard.dts | 50
1 file changed, 50 insertions(+)
create mode 100644 arch/arm/boot/dts/imx6dl-savageboard.dts
diff --git a/arch/arm/boot/dts/imx6dl
On 12/05/2016 08:36 PM, Fabio Estevam wrote:
On Sun, Dec 4, 2016 at 11:07 PM, Milo Kim wrote:
+ regulators {
+ compatible = "simple-bus";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+
On 12/05/2016 05:09 PM, Maxime Ripard wrote:
On Mon, Dec 05, 2016 at 11:00:31AM +0900, Milo Kim wrote:
The board has DDR3 512MB. This patch helps scanning the memory and
adding memblock through the DT.
Signed-off-by: Milo Kim
---
arch/arm/boot/dts/sun8i-h3-nanopi-m1.dts | 5 +
1 file
On 12/06/2016 06:42 PM, Fabio Estevam wrote:
You missed to add imx6q-savageboard.dtb and imx6dl-savageboard.dtb
entries into arch/arm/boot/dts/Makefile
Oh, I didn't notice because I build the dtbs manually.
Thanks for catching this.
And do you think other patches look OK?
Best regards,
Milo
On 12/06/2016 11:00 PM, Maxime Ripard wrote:
No, we need a recent U-Boot in order to boot, and such a uboot will
setup the memory node anyway.
Got it. Thanks! Please just ignore my patches.
Best regards,
Milo
On 11/23/2016 12:57 AM, Lee Jones wrote:
pwrbutton {
> - interrupts = ;
> + interrupts = ;
Push button or power button?
According to the datasheet, push button interrupt is correct.
http://www.ti.com/lit/ds/symlink/tps65217.pdf
This is used for a power butt
On 11/23/2016 01:58 AM, Sebastian Reichel wrote:
On Tue, Nov 22, 2016 at 05:51:07PM +0100, Sebastian Reichel wrote:
> On Tue, Nov 15, 2016 at 10:18:52PM +0900, Milo Kim wrote:
> > IRQ number is only used on requesting the interrupt, so no need to keep
> > it inside the drive
On 11/23/2016 08:51 PM, Arnd Bergmann wrote:
Ah, the numbers come from the data sheet. Please just remove the
header then, there is no need to keep them as an ABI, in particular
when the driver doesn't even include that header today.
Got it.
What matters here is the binding documentation in
D
On 01/10/2017 12:27 PM, Shawn Guo wrote:
On Wed, Jan 04, 2017 at 04:04:36PM +0900, Milo Kim wrote:
Common savageboard DT file is used for board support.
Add the vendor name and specify the dtb file for i.MX6Q build.
Reviewed-by: Fabio Estevam
Signed-off-by: Milo Kim
---
.../devicetree
On 10/22/2016 05:47 AM, Robert Nelson wrote:
+#include
^ this hasn't been posted nor pushed to mainline yet.. ;)
Oops! I've created this file but not captured not only in my git tree
but also in my head! Thanks for your review.
Best regards,
Milo
On 10/26/2016 10:56 PM, Lee Jones wrote:
diff --git a/include/linux/mfd/tps65217.h b/include/linux/mfd/tps65217.h
> index 4ccda89..75a3a5f 100644
> --- a/include/linux/mfd/tps65217.h
> +++ b/include/linux/mfd/tps65217.h
> @@ -235,9 +235,9 @@ struct tps65217_bl_pdata {
> };
>
> enum tps65217_irq
, 'fifo_depth' instead of fixed value to support both SPI
controllers.
Cc: Mark Brown
Cc: Maxime Ripard
Cc: Chen-Yu Tsai
Signed-off-by: Milo Kim
---
drivers/spi/spi-sun6i.c | 18 +-
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/drivers/spi/spi-sun6i.c
H3 SPI has same architecture as A31 except FIFO capacity.
To configure the buffer size separately, compatible property should be
different. Optional DMA specifiers and example are added.
Acked-by: Maxime Ripard
Cc: Mark Brown
Cc: Rob Herring
Cc: Chen-Yu Tsai
Signed-off-by: Milo Kim
H3 supports two SPI controllers. Four pins (MOSI, MISO, SCLK, SS) are
configured through the pinctrl subsystem.
Cc: Maxime Ripard
Cc: Chen-Yu Tsai
Signed-off-by: Milo Kim
---
arch/arm/boot/dts/sun8i-h3.dtsi | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts
(warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast])
Milo Kim (4):
ARM: dts: sun8i: Add SPI pinctrl node in H3
ARM: dts: sun8i: Add SPI controller node in H3
spi: sun6i: Add binding for Allwinner H3 SPI controller
spi: sun6i: Support Allwinner H3 SPI
H3 SPI subsystem is almost same as A31 SPI except buffer size, so those
DT properties are reusable.
Cc: Maxime Ripard
Cc: Chen-Yu Tsai
Signed-off-by: Milo Kim
---
arch/arm/boot/dts/sun8i-h3.dtsi | 32
1 file changed, 32 insertions(+)
diff --git a/arch/arm
NanoPi common dtsi supports all components of NEO SBC, so just include it.
Cc: James Pettigrew
Signed-off-by: Milo Kim
---
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
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
Signed-off-by: Milo Kim
---
arch/arm/boot/dts/sun8i-h3-nanopi.dtsi | 144
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 by using
NanoPi common dtsi file.
Cc: James Pettigrew
Signed-off-by: Milo Kim
---
arch/arm/boot/dts/sun8i-h3-nanopi
NanoPi M1 and NEO have common features, so duplicate properties can be
moved into new dtsi file.
v2:
Add James's copyrights in NanoPi common 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
Use #defines instead of enum type for interrupt numbers
Milo Kim (8):
ARM: dts: tps65217: Specify the interrupt controller
ARM: dts: tps65217: Add the charger device
ARM: dts: tps65217: Add the power button device
ARM: dts: am335x: Support the PMIC interrupt
dt-bindings: mfd: Provide
-pwrbutton.c
Signed-off-by: Milo Kim
---
arch/arm/boot/dts/tps65217.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/tps65217.dtsi b/arch/arm/boot/dts/tps65217.dtsi
index a632724..27935f8 100644
--- a/arch/arm/boot/dts/tps65217.dtsi
+++ b/arch/arm/boot/dts/tps65217
TPS65217 supports three interrupt sources. This patch enables assigning
each IRQ number in the charger and power button node. Then corresponding
IRQ will be requested by each driver.
Signed-off-by: Milo Kim
---
include/dt-bindings/mfd/tps65217.h | 26 ++
1 file changed
Support the power button driver and disable it by default.
Signed-off-by: Milo Kim
---
arch/arm/boot/dts/tps65217.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/tps65217.dtsi b/arch/arm/boot/dts/tps65217.dtsi
index 8f77d0d..02de56b 100644
--- a/arch/arm/boot/dts
pt
when it is probed.
According to the TPS65217 register map[**], USB interrupt is the LSB.
This patch defines synchronized IRQ value.
[*] include/dt-bindings/mfd/tps65217.h
[**] http://www.ti.com/lit/ds/symlink/tps65217.pdf
Signed-off-by: Milo Kim
---
include/linux/mfd/tps65217.h | 11 +
This enables the charger driver gets corresponding IRQ number by using
platform_get_irq_byname() helper.
Signed-off-by: Milo Kim
---
arch/arm/boot/dts/am335x-bone-common.dtsi | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi
b/arch/arm/boot
101 - 200 of 319 matches
Mail list logo