From: Marek Belisko
Signed-off-by: Marek Belisko
---
include/dt-bindings/power/power.h | 11 +++
1 file changed, 11 insertions(+)
create mode 100644 include/dt-bindings/power/power.h
diff --git a/include/dt-bindings/power/power.h
b/include/dt-bindings/power/power.h
new file mode
From: Marek Belisko
Status reporting not working yet. During boot when workqueue is called status
is updated (by reading iio current channel but value is -705 (reason unknown as
later
report correct value).
Signed-off-by: Marek Belisko
---
drivers/power/supply/generic-adc-battery.c | 18
From: Marek Belisko
Signed-off-by: Marek Belisko
---
drivers/power/supply/generic-adc-battery.c | 68 ++
1 file changed, 68 insertions(+)
diff --git a/drivers/power/supply/generic-adc-battery.c
b/drivers/power/supply/generic-adc-battery.c
index b5e9208..d4daa6a
From: Marek Belisko
The formula appears to be known in RC model communities.
We did find the first reference on the web in a a forum post
by "SilverFox" from 04-16-2008:
http://www.candlepowerforums.com/vb/showthread.php?115871-Li-Ion-State-of-Charge-and-Voltage-Measurements#post244
battery. This patches was tested on gta04 and
works fine. Thanks for comments.
Marek Belisko (5):
dt-bindings: power: Add battery types
power: generic-adc-battery: Parse more properties from DT
power/generic-adc-battery: Add support for temperature and add check
for charge from iio current
From: Marek Belisko
Signed-off-by: Marek Belisko
---
drivers/power/supply/generic-adc-battery.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/drivers/power/supply/generic-adc-battery.c
b/drivers/power/supply/generic-adc-battery.c
index 0d27b59..9ce51d2 100644
--- a
From: "H. Nikolaus Schaller"
Define RFID eeprom node which is present on gta04
device.
Signed-off-by: H. Nikolaus Schaller
Signed-off-by: Marek Belisko
---
arch/arm/boot/dts/omap3-gta04.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/omap3-gta04.dt
From: "H. Nikolaus Schaller"
Define pinmux and usage if irq pin.
Signed-off-by: H. Nikolaus Schaller
---
arch/arm/boot/dts/omap3-gta04.dtsi | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi
b/arch/arm/boot/dts/omap3-gta04.dtsi
index 094e5e1..55
-gat04: Fix wifi handling
Marek Belisko (1):
ARM: dts: omap3-gta04: Add backlight support
arch/arm/boot/dts/omap3-gta04.dtsi | 60 --
1 file changed, 57 insertions(+), 3 deletions(-)
--
2.5.0
Define pwm backlight node which is using dmtimer pwm.
Signed-off-by: Marek Belisko
---
arch/arm/boot/dts/omap3-gta04.dtsi | 22 ++
1 file changed, 22 insertions(+)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi
b/arch/arm/boot/dts/omap3-gta04.dtsi
index ab9fb8f..cef8b23
From: "H. Nikolaus Schaller"
Define pinmux and usage if irq pin + fix irq edge.
Signed-off-by: H. Nikolaus Schaller
---
arch/arm/boot/dts/omap3-gta04.dtsi | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi
b/arch/arm/boot/dts/omap3
From: "H. Nikolaus Schaller"
Add pinmux and usage of bma180 irq pin.
Signed-off-by: H. Nikolaus Schaller
---
arch/arm/boot/dts/omap3-gta04.dtsi | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi
b/arch/arm/boot/dts/omap3-gta04.dtsi
index cef8b23..e0
From: "H. Nikolaus Schaller"
Without that change wifi card isn't probed because pwrseq is necessary for
libertas chip.
Signed-off-by: H. Nikolaus Schaller
---
arch/arm/boot/dts/omap3-gta04.dtsi | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/oma
Added new iio properties which are required for twl4030-charger driver and
allow to use twl4030-madc indirectly.
Signed-off-by: Marek Belisko
---
arch/arm/boot/dts/twl4030.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030.dtsi
Document added iio properties to avoid using direct function call from
twl4030-madc
driver.
Signed-off-by: Marek Belisko
---
Documentation/devicetree/bindings/power/twl-charger.txt | 6 ++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/power/twl-charger.txt
Added new iio properties which are required for twl4030-charger driver and
allow to use twl4030-madc indirectly.
Signed-off-by: Marek Belisko
---
arch/arm/boot/dts/twl4030.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030.dtsi
If either twl4030_charger or twl4030_madc is configured as MODULE,
we get build (link) errors.
To solve, the direct call of twl4030_get_madc_conversion() is replaced
by a call to iio_read_channel_processed().
Signed-off-by: H. Nikolaus Schaller
Signed-off-by: Marek Belisko
---
changes from v2
Added new iio properties which are required for twl4030-charger driver and
allow to use twl4030-madc indirectly.
Signed-off-by: Marek Belisko
---
arch/arm/boot/dts/twl4030.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030.dtsi
If either twl4030_charger or twl4030_madc is configured as MODULE,
we get build (link) errors.
To solve, the direct call of twl4030_get_madc_conversion() is replaced
by a call to iio_read_channel_processed().
Signed-off-by: H. Nikolaus Schaller
Signed-off-by: Marek Belisko
---
changes from V1
Document added iio properties to avoid using direct funcion call from
twl4030-madc
driver.
Signed-off-by: Marek Belisko
---
Documentation/devicetree/bindings/power/twl-charger.txt | 5 +
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/power/twl-charger.txt
/input/input2
node passed to of_find_node_by_name is put inside that function and new node
is returned if found. Free returned node not already freed node.
Signed-off-by: Marek Belisko
---
drivers/input/misc/twl4030-vibra.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a
From: "H. Nikolaus Schaller"
1. allow drivers to get notified in mctrl changes
2. allow drivers to get notified on rx data (indicating to the driver that
the connected chip is active)
Signed-off-by: H. Nikolaus Schaller
Signed-off-by: Marek Belisko
---
drivers/tty/serial/ser
From: "H. Nikolaus Schaller"
Add driver for Wi2Wi w2g004 GPS module connected through uart. Use uart
slave + notification hooks to glue with tty.
Signed-off-by: H. Nikolaus Schaller
Signed-off-by: Marek Belisko
---
.../devicetree/bindings/misc/wi2wi,w2sg0004.txt| 18 +
dr
From: "H. Nikolaus Schaller"
1. add registered uart_ports to a search list
2. provide a function to search an uart_port by phandle. This copies the
mechanism how devm_usb_get_phy_by_phandle() works
Signed-off-by: H. Nikolaus Schaller
Signed-off-by: Marek Belisko
---
Documentat
Post RFC V2 (test on 4.1) as it seems that V1 wasn't sent properly.
Hi all,
this patch series is our proposal to add hooks so that the driver for a device
connected to an UART can
monitor modem control lines and data activity of the connected chip.
It contains an example for such a device driver
From: "H. Nikolaus Schaller"
The @chan parameter can be 0 or 1 and not a bit mask. Fix wrong description.
Signed-off-by: H. Nikolaus Schaller
Signed-off-by: Marek Belisko
---
drivers/iio/adc/twl4030-madc.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/d
. Nikolaus Schaller
Signed-off-by: Marek Belisko
---
drivers/iio/adc/twl4030-madc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/adc/twl4030-madc.c b/drivers/iio/adc/twl4030-madc.c
index 94c5f05..6d2d429 100644
--- a/drivers/iio/adc/twl4030-madc.c
+++ b/drive
Add devicetree support for bluetooth SCO link codec.
Signed-off-by: Marek Belisko
---
changes from v1:
- removed "linux,bt-sco" compatible property + update documentation
Documentation/devicetree/bindings/sound/bt-sco.txt| 13 +
Documentation/devicetree/bindi
Add voice audio card which is used for telephony on gta04 board.
gtm601 codec is UMTS modem with pcm interface which get samples from
microphone and provide data from other party side. Use simple audio card
to describe audio card.
Signed-off-by: Marek Belisko
---
arch/arm/boot/dts/omap3-gta04
Add option to vendor-prefixes file which will be
used for Option NV company.
Signed-off-by: Marek Belisko
---
Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt
b/Documentation
Add small documentation for GTM601 UMTS modem audio interface.
Signed-off-by: Marek Belisko
---
This one was corrupted in V2 series so sending update only.
Documentation/devicetree/bindings/sound/gtm601.txt | 13 +
1 file changed, 13 insertions(+)
create mode 100644 Documentation
This driver add PCM interface to a GTM601 UMTS modem chip.
There is no configuration interface.
Signed-off-by: Marek Belisko
---
sound/soc/codecs/Kconfig | 4 ++
sound/soc/codecs/Makefile | 2 +
sound/soc/codecs/gtm601.c | 98 +++
3 files changed
Add option to vendor-prefixes file which will be used for Option NV company.
Signed-off-by: Marek Belisko
---
Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt
b/Documentation
Marek Belisko (4):
ASoC: Add gtm601 codec driver
Documentation: devicetree: sound: Add documentation for gtm601 codec
Documentation: vendor-prefixes: Add option prefix
ARM: dts: omap3-gta04: Add GSM audio support
Documentation/devicetree/bindings/sound/gtm601.txt | 14
.../devicetree
Add small documentation for gtm601 UMTS modem audio interface.
Signed-off-by: Marek Belisko
---
Documentation/devicetree/bindings/sound/gtm601.txt | 14 ++
1 file changed, 14 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/gtm601.txt
diff --git a
Add voice audio card which is used for telephony on gta04 board.
gtm601 codec is UMTS modem with pcm interface which get samples from
microphone and provide data from other party side. Used simple audio card
to describe audio card.
Signed-off-by: Marek Belisko
---
arch/arm/boot/dts/omap3-gta04
Add devicetree support for bt-sco generic bluetooth SCO link codec.
Signed-off-by: Marek Belisko
---
Documentation/devicetree/bindings/sound/bt-sco.txt| 13 +
Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
sound/soc/codecs/bt-sco.c
Add small documentation for gtm601 UMTS modem audio interface.
Signed-off-by: Marek Belisko
---
Documentation/devicetree/bindings/sound/gtm601.txt | 14 ++
1 file changed, 14 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/gtm601.txt
diff --git a
This driver add PCM interface to a GTM601 UMTS modem chip.
There is no configuration interface.
Signed-off-by: Marek Belisko
---
sound/soc/codecs/Kconfig | 4 ++
sound/soc/codecs/Makefile | 2 +
sound/soc/codecs/gtm601.c | 106 ++
3 files changed
Add option to vendor-prefixes file which will be used for Option NV company.
Signed-off-by: Marek Belisko
---
Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt
b/Documentation
Following patch series add support for gtm601 PCM audio.
gtm601 is UMTS modem which provide I2S interface for rx/tx data.
Codec is connected to cpu in master mode (rate is determined by Master and
Bit clocks).
Marek Belisko (3):
ASoC: Add gtm601 codec driver
Documentation: devicetree: sound
Without MODULE_ALIAS bq27x00_battery module won't get loaded automatically.
Signed-off-by: Marek Belisko
---
drivers/power/bq27x00_battery.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/power/bq27x00_battery.c b/drivers/power/bq27x00_battery.c
index a57433d..b6
Enable omap-hdq for battery fuel gauge access.
Signed-off-by: Marek Belisko
Signed-off-by: H. Nikolaus Schaller
---
arch/arm/boot/dts/omap3-gta04.dtsi | 11 +++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi
b/arch/arm/boot/dts/omap3-gta04.dtsi
index
bq2700 slave driver depends on bq27x00-battery driver thus adding this
dependency to config. When bq2700 is build as module bq27x00-battery
will be loaded automatically.
Signed-off-by: Marek Belisko
---
drivers/w1/slaves/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/w1
Without MODULE_ALIAS bq27x00_battery module won't get loaded automatically.
Signed-off-by: Marek Belisko
---
drivers/power/bq27x00_battery.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/power/bq27x00_battery.c b/drivers/power/bq27x00_battery.c
index a57433d..542927e 1
module).
Signed-off-by: H. Nikolaus Schaller
Signed-off-by: Marek Belisko
---
- fixed 2 sentences suggested by Johan Hovold
Documentation/usb/usb-serial.txt | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/Documentation/usb/usb-serial.txt b/Documentation/u
module).
Signed-off-by: H. Nikolaus Schaller
Signed-off-by: Marek Belisko
---
changes from v1:
- add modern variant with /sys as preferred but also old one works so
keep it in documentation (was removed in first version which was not correct)
Documentation/usb/usb-serial.txt | 11 +++
usbserial vendor=0x product=0x
becomes (first is vendor, second is product)
modprobe usbserial
echo >/sys/bus/usb-serial/drivers/generic/new_id
This patch changes the documentation file as needed.
Signed-off-by: H. Nikolaus Schaller
Signed-off-by: Marek Belisko
---
From: "H. Nikolaus Schaller"
While trying to test the Pyra GSM/GPS/3G module I had reconfigured
the USB interface by mistake and therefore needed to run a different
USB driver than CSC-ACM. It turned out that I need the "usbserial" driver.
This file is an official description how to use it:
Docu
ti,codec property is not used in omap-twl4030 driver in linux kernel but
we keep it as optional property, so that the existing dtbs do not
become noncompliant after the change on other OS.
Signed-off-by: Marek Belisko
---
Documentation/devicetree/bindings/sound/omap-twl4030.txt | 3 +--
1 file
ly [1] from Peter Ujfalusi.
Changes from v1:
- keep ti,codec property in Documentation as optional that the
existing dtbs do not become noncompliant after the change
[1]: http://comments.gmane.org/gmane.linux.ports.arm.omap/124273
Marek Belisko (2):
ARM: dts: omap3: Remove all references to ti,
ti,codec property is not used (parsed) in omap-twl4030 driver. The
ti,twl4030-audio
which ti,codec points by phandle is mfd driver and device for ASoC codec is
created
w/o DT compatible string. Removing all references in DT files.
Signed-off-by: Marek Belisko
---
arch/arm/boot/dts/omap3
ti,codec property is not necessary anymore thus removing references
from documentation.
Signed-off-by: Marek Belisko
---
Documentation/devicetree/bindings/sound/omap-twl4030.txt | 2 --
1 file changed, 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/sound/omap-twl4030.txt
b
ly [1] from Peter Ujfalusi.
[1]: http://comments.gmane.org/gmane.linux.ports.arm.omap/124273
Marek Belisko (2):
ARM: dts: omap3: Remove all references to ti,codec property
Documentation: omap-twl4030: Remove ti,codec property
Documentation/devicetree/bindings/sound/omap-twl4030.txt | 2 --
ti,codec property is not used (parsed) in omap-twl4030 driver. The
ti,twl4030-audio
which ti,codec points by phandle is mfd driver and device for ASoC codec is
created
w/o DT compatible string. Removing all references in DT files.
Signed-off-by: Marek Belisko
---
arch/arm/boot/dts/omap3
Signed-off-by: Marek Belisko
---
drivers/power/twl4030_madc_battery.c | 81
1 file changed, 81 insertions(+)
diff --git a/drivers/power/twl4030_madc_battery.c
b/drivers/power/twl4030_madc_battery.c
index 6af28b5..4bcb4a9 100644
--- a/drivers/power
Without MODULE_ALIAS twl4030_madc_battery won't get loaded automatically.
Signed-off-by: Marek Belisko
---
drivers/power/twl4030_madc_battery.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/power/twl4030_madc_battery.c
b/drivers/power/twl4030_madc_battery.c
index 3e0005d..d0
When twl_4030_madc_battery is build as module, MODULE_DEVICE_TABLE allow
the module to be auto-loaded since the module will match the devices
instantiated from device tree.
Signed-off-by: Marek Belisko
---
drivers/power/twl4030_madc_battery.c | 2 ++
1 file changed, 2 insertions(+)
diff --git
Because of added iio error handling private data allocation was converted
to managed to simplify code.
Signed-off-by: Marek Belisko
Reviewed-By: Sebastian Reichel
---
drivers/power/twl4030_madc_battery.c | 99 +++-
1 file changed, 64 insertions(+), 35 deletions
part of adding error handling for iio
- free iio channels on error and on module removal
[1] - https://lkml.org/lkml/2014/2/26/482dd
Marek Belisko (6):
power: twl4030-madc-battery: Convert to iio consumer.
power: twl4030_madc_battery: Add device tree support
Documentation: DT: Document
Signed-off-by: Marek Belisko
---
.../bindings/power_supply/twl4030_madc_battery.txt | 43 ++
1 file changed, 43 insertions(+)
create mode 100644
Documentation/devicetree/bindings/power_supply/twl4030_madc_battery.txt
diff --git
a/Documentation/devicetree/bindings
Added battery support for gta04 devices.
Signed-off-by: Marek Belisko
---
arch/arm/boot/dts/omap3-gta04.dtsi | 30 ++
1 file changed, 30 insertions(+)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi
b/arch/arm/boot/dts/omap3-gta04.dtsi
index fb3a696..cbf515a 100644
Without this change file name for hmc5843 is empty in
/sys/bus/iio/devices/iio\:device*/name
With this change name is reported correctly:
cat /sys/bus/iio/devices/iio\:device*/name
hmc5843
Signed-off-by: Marek Belisko
---
drivers/staging/iio/magnetometer/hmc5843_core.c | 1 +
1 file changed, 1
From: "H. Nikolaus Schaller"
Added Pandora Rebirth model which is based on Pandora
Classic with 512 MiB DDR-333 SDRAM memory.
Signed-off-by: H. Nikolaus Schaller
Tested-by: Grazvydas Ignotas
Reviewed-by: Grazvydas Ignotas
---
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/d
changes from v2:
- fix missing PIN_INPUT for penirq node
- added Reviewed-by and Tested-by
changes from v1:
- add new boards to makefile in patch 2,3 (don't add them
in separate commit together), fix gpmc issues (reported by Tony Lindgren)
- fix various issues reported by Grazvydas Ignotas
(drop
From: "H. Nikolaus Schaller"
Added Pandora 1 GHz model which is based on Classic/Rebirth
with following changes:
- upgraded cpu to dm3730 runs on 1GHz
- 512 MiB DDR-333 SDRAM @ 200 MHz
Signed-off-by: H. Nikolaus Schaller
Tested-by: Grazvydas Ignotas
Reviewed-by: Grazvydas Ignotas
---
arch/ar
U specific device trees.
Signed-off-by: H. Nikolaus Schaller
Signed-off-by: Marek Belisko
Tested-by: Grazvydas Ignotas
Reviewed-by: Grazvydas Ignotas
---
arch/arm/boot/dts/omap3-pandora-common.dtsi | 640
1 file changed, 640 insertions(+)
create mode 100644 arch/ar
U specific device trees.
Signed-off-by: H. Nikolaus Schaller
Signed-off-by: Marek Belisko
---
arch/arm/boot/dts/omap3-pandora-common.dtsi | 640
1 file changed, 640 insertions(+)
create mode 100644 arch/arm/boot/dts/omap3-pandora-common.dtsi
diff --git a/arch/ar
U specific device trees.
Signed-off-by: H. Nikolaus Schaller
Signed-off-by: Marek Belisko
---
arch/arm/boot/dts/omap3-pandora-common.dtsi | 640
1 file changed, 640 insertions(+)
create mode 100644 arch/arm/boot/dts/omap3-pandora-common.dtsi
diff --git a/arch/ar
From: "H. Nikolaus Schaller"
Added Pandora 1 GHz model which is based on Classic/Rebirth
with following changes:
- upgraded cpu to dm3730 runs on 1GHz
- 512 MiB DDR-333 SDRAM @ 200 MHz
Signed-off-by: H. Nikolaus Schaller
---
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/om
From: "H. Nikolaus Schaller"
Added Pandora Rebirth model which is based on Pandora
Classic with 512 MiB DDR-333 SDRAM memory.
Signed-off-by: H. Nikolaus Schaller
---
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/omap3-pandora-600mhz.dts | 65 +
changes from v1:
- add new boards to makefile in patch 2,3 (don't add them
in separate commit together), fix gpmc issues (reported by Tony Lindgren)
- fix various issues reported by Grazvydas Ignotas
(drop internal pullups from pinmux as external are in place,
fix gpio buttons active state ...)
T
From: "H. Nikolaus Schaller"
Signed-off-by: H. Nikolaus Schaller
---
arch/arm/boot/dts/omap3-pandora-600mhz.dts | 65 ++
1 file changed, 65 insertions(+)
create mode 100644 arch/arm/boot/dts/omap3-pandora-600mhz.dts
diff --git a/arch/arm/boot/dts/omap3-pandora-600m
From: "H. Nikolaus Schaller"
Signed-off-by: H. Nikolaus Schaller
---
arch/arm/boot/dts/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 91bd5bd..69f3106 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Ma
From: "H. Nikolaus Schaller"
Signed-off-by: H. Nikolaus Schaller
---
arch/arm/boot/dts/omap3-pandora-1ghz.dts | 65
1 file changed, 65 insertions(+)
create mode 100644 arch/arm/boot/dts/omap3-pandora-1ghz.dts
diff --git a/arch/arm/boot/dts/omap3-pandora-1ghz.d
U specific device trees.
Signed-off-by: H. Nikolaus Schaller
Signed-off-by: Marek Belisko
---
arch/arm/boot/dts/omap3-pandora-common.dtsi | 641
1 file changed, 641 insertions(+)
create mode 100644 arch/arm/boot/dts/omap3-pandora-common.dtsi
diff --git a/arch/ar
This series of patches adds initial device tree support for the
OpenPandora. The most important parts are working (display, keyboard,
touch, charging, fuel gauge, musb port, sd/mmc ports, leds, buttons).
Not yet supported are: usb host port, nubs, wifi, bluetooth, audio.
First patch add common dts
Signed-off-by: Marek Belisko
---
drivers/power/twl4030_madc_battery.c | 81
1 file changed, 81 insertions(+)
diff --git a/drivers/power/twl4030_madc_battery.c
b/drivers/power/twl4030_madc_battery.c
index 6af28b5..ec14bc6 100644
--- a/drivers/power
Signed-off-by: Marek Belisko
---
.../bindings/power_supply/twl4030_madc_battery.txt | 43 ++
1 file changed, 43 insertions(+)
create mode 100644
Documentation/devicetree/bindings/power_supply/twl4030_madc_battery.txt
diff --git
a/Documentation/devicetree/bindings
When twl_4030_madc_battery is build as module, MODULE_DEVICE_TABLE allow
the module to be auto-loaded since the module will match the devices
instantiated from device tree.
Signed-off-by: Marek Belisko
---
drivers/power/twl4030_madc_battery.c | 2 ++
1 file changed, 2 insertions(+)
diff --git
Signed-off-by: Marek Belisko
---
arch/arm/boot/dts/omap3-gta04.dtsi | 30 ++
1 file changed, 30 insertions(+)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi
b/arch/arm/boot/dts/omap3-gta04.dtsi
index 655d6e9..f81ca27 100644
--- a/arch/arm/boot/dts/omap3-gta04.dtsi
Without MODULE_ALIAS twl4030_madc_battery won't get loaded automatically.
Signed-off-by: Marek Belisko
---
drivers/power/twl4030_madc_battery.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/power/twl4030_madc_battery.c
b/drivers/power/twl4030_madc_battery.c
index e6075ae..ce
Because of added iio error handling private data allocation was converted
to managed to simplify code.
Signed-off-by: Marek Belisko
Reviewed-By: Sebastian Reichel
---
drivers/power/twl4030_madc_battery.c | 99 +++-
1 file changed, 64 insertions(+), 35 deletions
] - https://lkml.org/lkml/2014/2/26/482dd
Marek Belisko (6):
power: twl4030-madc-battery: Convert to iio consumer.
power: twl4030_madc_battery: Add device tree support
Documentation: DT: Document twl4030-madc-battery bindings
ARM: dts: omap3-gta04: Add battery support
power
From: "H. Nikolaus Schaller"
Enabled poweroff through PMIC on GTA04.
Signed-off-by: H. Nikolaus Schaller
---
arch/arm/boot/dts/omap3-gta04.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi
b/arch/arm/boot/dts/omap3-gta04.dtsi
index 0265474..b56c8
From: "H. Nikolaus Schaller"
mcbsp2 is used in gta04 soundcard config and by default
is disabled so enable it for gta04.
Signed-off-by: H. Nikolaus Schaller
---
arch/arm/boot/dts/omap3-gta04.dtsi | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi
b/arch
in devicetree file.
ARM: dts: omap3-gta04: Fix audio node malformatting
ARM: dts: omap3-gta04: Enable mcbps2 necessary for audio
ARM: dts: omap3-gta04: Enable twl audio vibra support
ARM: dts: omap3-gta04: Enable power-off using twl4030
Marek Belisko (2):
ARM: dts: omap3-gta04: Fix a
From: NeilBrown
Add comments to state which GPIO is used for some interrupts.
Signed-off-by: NeilBrown
---
arch/arm/boot/dts/omap3-gta04.dtsi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi
b/arch/arm/boot/dts/omap3-gta04.dtsi
index
From: "H. Nikolaus Schaller"
Audio should be child of twl node.
Signed-off-by: H. Nikolaus Schaller
---
arch/arm/boot/dts/omap3-gta04.dtsi | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi
b/arch/arm/boot/dts/omap3-gta04.dtsi
index
From: NeilBrown
Signed-off-by: NeilBrown
---
arch/arm/boot/dts/omap3-gta04.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi
b/arch/arm/boot/dts/omap3-gta04.dtsi
index b65b5ed..ab5dd98 100644
--- a/arch/arm/boot/dts/omap3-gta04.dtsi
+++ b/arch/arm/boot
GPIO_115 used as irq is in &gpio4, not &gpio3.
Signed-off-by: Marek Belisko
---
arch/arm/boot/dts/omap3-gta04.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi
b/arch/arm/boot/dts/omap3-gta04.dtsi
index fd6ac80..0265474 1006
From: "H. Nikolaus Schaller"
Signed-off-by: H. Nikolaus Schaller
---
arch/arm/boot/dts/omap3-gta04.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi
b/arch/arm/boot/dts/omap3-gta04.dtsi
index 7272591..fd6ac80 100644
--- a/arch/arm/boot/dts/omap3-gta04.
From: NeilBrown
The twl4030 keypad is not wired up in the gta04, so mark it disabled
to avoid pointless initialization.
Signed-off-by: NeilBrown
---
arch/arm/boot/dts/omap3-gta04.dtsi | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi
b/arch/arm/boot/dt
From: NeilBrown
i.e. configure vpll2 as a supply for the dss rather
than being always-on.
Signed-off-by: NeilBrown
---
arch/arm/boot/dts/omap3-gta04.dtsi | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi
b/arch/arm/boot/dts/omap3-gta04
From: NeilBrown
Signed-off-by: NeilBrown
---
arch/arm/boot/dts/omap3-gta04.dtsi | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi
b/arch/arm/boot/dts/omap3-gta04.dtsi
index 228e79b..8d2b0a1 100644
--- a/arch/arm/boot/dts/omap3-gta04.dtsi
+++ b/arch/arm/
Signed-off-by: Marek Belisko
---
arch/arm/boot/dts/omap3-gta04.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi
b/arch/arm/boot/dts/omap3-gta04.dtsi
index b56c85b..6f5fcbb 100644
--- a/arch/arm/boot/dts/omap3-gta04.dtsi
+++ b/arch/arm/boot/dts/omap3
From: NeilBrown
Signed-off-by: NeilBrown
---
arch/arm/boot/dts/omap3-gta04.dtsi | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi
b/arch/arm/boot/dts/omap3-gta04.dtsi
index ab5dd98..08f0b25 100644
--- a/arch/arm/boot/dts/omap3-gta04.dtsi
+++ b/arch/
From: "H. Nikolaus Schaller"
Fix attribute names.
Signed-off-by: H. Nikolaus Schaller
---
arch/arm/boot/dts/omap3-gta04.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi
b/arch/arm/boot/dts/omap3-gta04.dtsi
index 655d6e9..fa39232 1
opa362 is amplifier for video and can be connected to the tvout pads
of the OMAP3. It has one gpio control for enable/disable of the output
(high impedance).
Signed-off-by: H. Nikolaus Schaller
Signed-off-by: Marek Belisko
---
drivers/video/fbdev/omap2/displays-new/Kconfig | 6 +
drivers
Signed-off-by: Marek Belisko
---
.../devicetree/bindings/video/ti,opa362.txt| 38 ++
1 file changed, 38 insertions(+)
create mode 100644 Documentation/devicetree/bindings/video/ti,opa362.txt
diff --git a/Documentation/devicetree/bindings/video/ti,opa362.txt
b
1 - 100 of 276 matches
Mail list logo