[PATCH] arm/dts: Add basic support for gta04 (Openmoko next generation) board.

2012-10-30 Thread Marek Belisko
Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- arch/arm/boot/dts/omap3-gta04.dts | 65 + 1 file changed, 65 insertions(+) create mode 100644 arch/arm/boot/dts/omap3-gta04.dts diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot

[PATCH 1/2] leds/tca6507: Add support for devicetree.

2012-10-30 Thread Marek Belisko
Support added only for leds (not for gpio's). Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- drivers/leds/leds-tca6507.c | 73 +-- 1 file changed, 70 insertions(+), 3 deletions(-) diff --git a/drivers/leds/leds-tca6507.c b/drivers/leds

[PATCH 2/2] Add documentation for tca6507 devicetree bindings.

2012-10-30 Thread Marek Belisko
Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- Documentation/devicetree/bindings/leds/tca6507.txt | 33 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/tca6507.txt diff --git a/Documentation/devicetree/bindings

[PATCH v2 1/2] leds/tca6507: Add support for devicetree.

2012-11-07 Thread Marek Belisko
Support added only for leds (not for gpio's). Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- Changes from v1: - return proper error value not NULL from tca6507_led_dt_init() - remove empty lines - remove kfree() drivers/leds/leds-tca6507.c | 70

[PATCH v2 2/2] Add documentation for tca6507 devicetree bindings.

2012-11-07 Thread Marek Belisko
Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- Documentation/devicetree/bindings/leds/tca6507.txt | 33 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/tca6507.txt diff --git a/Documentation/devicetree/bindings

[PATCH v3 2/2] Add documentation for tca6507 devicetree bindings.

2012-11-12 Thread Marek Belisko
Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- Documentation/devicetree/bindings/leds/tca6507.txt | 40 1 file changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/tca6507.txt diff --git a/Documentation/devicetree/bindings

[PATCH v3 1/2] leds/tca6507: Add support for devicetree.

2012-11-12 Thread Marek Belisko
Support added only for leds (not for gpio's). Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- Changes from v2: - change compatible property to ti,tca6507 - add documentation for linux,default-trigger Changes from v1: - return proper error value not NULL from tca6507_led_dt_init

[PATCH] Trivial: Fix typo in arch/arm/mach-mvebu/irq-armada-370-xp.c

2013-03-15 Thread Marek Belisko
Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- arch/arm/mach-mvebu/irq-armada-370-xp.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-mvebu/irq-armada-370-xp.c b/arch/arm/mach-mvebu/irq-armada-370-xp.c index 274ff58..d8dbcc1 100644 --- a/arch

[PATCH v4 1/2] leds/tca6507: Add support for devicetree.

2012-11-30 Thread Marek Belisko
Support added only for leds (not for gpio's). Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- Changes from v3: - fix code according Bryan suggestions - use common leds binding description instead copy'n'paste - use - instead _ in bindings example for leds names Changes from v2

[PATCH v4 2/2] Add documentation for tca6507 devicetree bindings.

2012-11-30 Thread Marek Belisko
Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- Documentation/devicetree/bindings/leds/tca6507.txt | 33 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/tca6507.txt diff --git a/Documentation/devicetree/bindings

[PATCH] arm/dts: Add basic support for gta04 (Openmoko next generation) board.

2013-01-24 Thread Marek Belisko
Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- arch/arm/boot/dts/omap3-gta04.dts | 94 + 1 file changed, 94 insertions(+) create mode 100644 arch/arm/boot/dts/omap3-gta04.dts diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot

[PATCH 1/2] staging: ft1000: Fix ft1000_control function timeout argument usage.

2012-07-30 Thread Marek Belisko
Function ft1000_control have input argument timeout which was not passed to usb_control_msg instead hardcoded to LARGE_TIMEOUT. Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- drivers/staging/ft1000/ft1000-usb/ft1000_hw.c |2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH 2/2] staging: ft1000: Replace timeout values with USB_CTRL_G(S)ET_TIMEOUT.

2012-07-30 Thread Marek Belisko
Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- drivers/staging/ft1000/ft1000-usb/ft1000_hw.c | 12 ++-- drivers/staging/ft1000/ft1000-usb/ft1000_usb.h |2 -- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c

[PATCH] staging:ccg: Fix missing brackets for sizeof (found by sparse).

2012-08-08 Thread Marek Belisko
Fix following: WARNING: sizeof fsg should be sizeof(fsg) + memset(fsg, 0, sizeof fsg); Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- drivers/staging/ccg/ccg.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ccg/ccg.c b/drivers/staging

[PATCH] staging:ccg: Fix missing brackets for sizeof (found by sparse).

2012-08-06 Thread Marek Belisko
Fix following: WARNING: sizeof fsg should be sizeof(fsg) + memset(fsg, 0, sizeof fsg); Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- drivers/staging/ccg/ccg.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ccg/ccg.c b/drivers/staging

[PATCH 1/2] sound:soc:soc-dmap: Fix compilation warning.

2012-07-12 Thread Marek Belisko
Fix following: sound/soc/soc-dapm.c: In function ‘dapm_clock_event’: sound/soc/soc-dapm.c:1021:1: warning: control reaches end of non-void function [-Wreturn-type] Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- sound/soc/soc-dapm.c |1 + 1 file changed, 1 insertion(+) diff

[PATCH] rapidio: tsi721: Fix compilation warning.

2012-07-12 Thread Marek Belisko
Fix following: drivers/rapidio/devices/tsi721.c: In function ‘tsi721_probe’: drivers/rapidio/devices/tsi721.c:2215:6: warning: unused variable ‘i’ [-Wunused-variable] Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- drivers/rapidio/devices/tsi721.c |2 +- 1 file changed, 1

[PATCH 3/8] staging: ft1000-usb: Remove leading spaces from struct ft1000_info.

2012-07-12 Thread Marek Belisko
Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- drivers/staging/ft1000/ft1000-usb/ft1000_usb.h | 94 1 file changed, 47 insertions(+), 47 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h b/drivers/staging/ft1000/ft1000-usb

[PATCH 5/8] staging: ft1000-usb: Remove name comments from ft1000_usb.h.

2012-07-12 Thread Marek Belisko
Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- drivers/staging/ft1000/ft1000-usb/ft1000_usb.h |8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h b/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h index

[PATCH 6/8] staging: ft1000-usb: Fix lines over 80 chars.

2012-07-12 Thread Marek Belisko
Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- drivers/staging/ft1000/ft1000-usb/ft1000_usb.h | 33 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h b/drivers/staging/ft1000/ft1000-usb

[PATCH 8/8] staging: ft1000-usb: Fix various checkpach warnings in ft1000_usb.h

2012-07-12 Thread Marek Belisko
Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- drivers/staging/ft1000/ft1000-usb/ft1000_usb.h | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h b/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h

[PATCH 7/8] staging: ft1000-usb: Replace all C99 comments with regular in ft1000_usb.h.

2012-07-12 Thread Marek Belisko
Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- drivers/staging/ft1000/ft1000-usb/ft1000_usb.h | 35 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h b/drivers/staging/ft1000/ft1000-usb

[PATCH 1/8] staging: ft1000-usb: Change KERN_ERROR usage to pr_err in ft1000_usb.c.

2012-07-12 Thread Marek Belisko
Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- drivers/staging/ft1000/ft1000-usb/ft1000_usb.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_usb.c b/drivers/staging/ft1000/ft1000-usb/ft1000_usb.c index 7bd7fb2

[PATCH 4/8] staging: ft1000-usb: Remove spaces from struct dpram_blk.

2012-07-12 Thread Marek Belisko
Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- drivers/staging/ft1000/ft1000-usb/ft1000_usb.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h b/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h index 3f22df9

[PATCH 2/8] staging: ft1000-usb: Remove commented lines from ft1000_device.

2012-07-12 Thread Marek Belisko
Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- drivers/staging/ft1000/ft1000-usb/ft1000_usb.h |4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h b/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h index 51c0847..d4f1aa1 100644

[PATCH] Documentation: Move common leds properties description to separate file.

2012-11-15 Thread Marek Belisko
Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- Documentation/devicetree/bindings/gpio/led.txt| 14 Documentation/devicetree/bindings/leds/common.txt | 24 + 2 files changed, 28 insertions(+), 10 deletions(-) create mode 100644

[PATCH] arm/dts: at91sam9g20ek_common: Fix typos in buttons labels.

2012-10-01 Thread Marek Belisko
Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- arch/arm/boot/dts/at91sam9g20ek_common.dtsi |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/at91sam9g20ek_common.dtsi b/arch/arm/boot/dts/at91sam9g20ek_common.dtsi index b06c0db..e6391a4

[PATCH] power: rx51_battery: Replace hardcoded channels values.

2013-08-21 Thread Marek Belisko
In twl4030_madc header exist defines for fixed channels + add rx51 specific channels and replace all hardcoded channels values. Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- drivers/power/rx51_battery.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff

[PATCH] ARM:dts: Add devicetree for gta04 board.

2013-08-15 Thread Marek Belisko
This adds devicetree for gta04 (Openmoko next generation board) with necessary support for mmc, usb, leds and button. Signed-off-by: Marek Belisko ma...@goldelico.com --- This is resurrection of patch sent in March https://lkml.org/lkml/2013/1/24/419 when I got no reply from maintainer. Patch

[PATCH] pwm: pwm-tiehrpwm: Use clk_enable/disable instead clk_prepare/unprepare.

2013-06-18 Thread Marek Belisko
because can be called from atomic context (led_heartbeat_function is timer callback). Signed-off-by: Marek Belisko marek.beli...@streamunlimited.com --- drivers/pwm/pwm-tiehrpwm.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/pwm/pwm-tiehrpwm.c b/drivers/pwm

[PATCH v2] ASoC: Add PCM1681 codec driver.

2013-08-01 Thread Marek Belisko
PCM1681 can be controlled via I2C, SPI or in bootstrap mode (no control mode). This code add support only for I2C mode. Signed-off-by: Marek Belisko marek.beli...@streamunlimited.com --- Changes from v1: - fix de-emphasis handling (disable when invalid freq is used) - constify deemph freq

[PATCH] media: i2c: Add camera driver for ov9655 chips.

2013-11-08 Thread Marek Belisko
This is a driver for the Omnivision OV9655 camera module connected to the OMAP3 parallel camera interface and using the ISP (Image Signal Processor). It supports SXGA and VGA plus some other modes. It was tested on gta04 board. Signed-off-by: Marek Belisko ma...@goldelico.com Signed-off-by: H

[PATCH v2] omapdss: Add new panel driver for Topolly td028ttec1 LCD.

2013-10-17 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com Signed-off-by: H. Nikolaus Schaller h...@goldelico.com --- changes from v1: - reworked to be spi driver instead platform with custom spi bitbang this configuration was tested with spi_gpio bitbang driver on gta04 board and works fine (thanks

[PATCH v2 0/2] Add EOC handling for bmp085 + DT update

2013-11-30 Thread Marek Belisko
property - drop patch 3 (adding platform data isn't necessary) Marek Belisko (2): misc: bmp085: Clean up and enable use of interrupt for completion. misc: bmp085: devicetree irq update. Documentation/devicetree/bindings/misc/bmp085.txt | 4 +++ drivers/misc/bmp085-i2c.c

[PATCH v2 1/2] misc: bmp085: Clean up and enable use of interrupt for completion.

2013-11-30 Thread Marek Belisko
- pass IRQ to driver and have it initialize - finish waiting early if interrupt fires Signed-off-by: NeilBrown ne...@suse.de Signed-off-by: H. Nikolaus Schaller h...@goldelico.com Signed-off-by: Marek Belisko ma...@goldelico.com --- drivers/misc/bmp085-i2c.c | 2 +- drivers/misc/bmp085-spi.c

[PATCH v2 2/2] misc: bmp085: devicetree irq update.

2013-11-30 Thread Marek Belisko
Document irq handling for bmp085. Signed-off-by: Marek Belisko ma...@goldelico.com --- Documentation/devicetree/bindings/misc/bmp085.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/misc/bmp085.txt b/Documentation/devicetree/bindings/misc/bmp085.txt

[PATCH 3/3] omapdss: Add OPA362 analog video amplifier driver.

2013-10-14 Thread Marek Belisko
This driver add handlign for opa362 chip which is video amplifier with internal gain and filter. Enable/disable is controlled via single gpio. This driver was tested on gta04 board. Signed-off-by: Marek Belisko ma...@goldelico.com Signed-off-by: H. Nikolaus Schaller h...@goldelico.com

[PATCH 1/3] arm: omap2: Export devconf1 bypass and acbias.

2013-10-14 Thread Marek Belisko
devconf1 reg access is localized only in mach-omap2 and we need to export updating of devconf1 from omapdss venc driver (bypass and acbias bits). Add simple api call which update only necessary bits. Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/mach-omap2/Makefile | 2

[PATCH 0/3] omapdss: venc: Add support for bypass and acbias.

2013-10-14 Thread Marek Belisko
. Marek Belisko (3): arm: omap2: Export devconf1 bypass and acbias. video: venc: Add new callback and handling for bypass and acbias setup. omapdss: Add OPA362 analog video amplifier driver. arch/arm/mach-omap2/Makefile | 2 + arch/arm/mach-omap2/control.h

[PATCH 2/3] video: venc: Add new callback and handling for bypass and acbias setup.

2013-10-14 Thread Marek Belisko
Add new callback to set bypass and acbias. During venc enble disable those bit are updated in devconf1 register. Signed-off-by: Marek Belisko ma...@goldelico.com --- drivers/video/omap2/dss/venc.c | 21 + include/video/omapdss.h| 2 ++ 2 files changed, 23 insertions

[PATCH 2/3] misc: bmp085: Add DT bindings for EOC gpio line and direct irq.

2013-11-14 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- Documentation/devicetree/bindings/misc/bmp085.txt | 8 drivers/misc/bmp085.c | 53 --- 2 files changed, 55 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/misc

[PATCH 0/3] Add EOC handling for bmp085 + DT and platform data updates

2013-11-14 Thread Marek Belisko
on non-DT archs. Marek Belisko (3): misc: bmp085: Clean up and enable use of interrupt for completion. misc: bmp085: Add DT bindings for EOC gpio line and direct irq. misc: bmp085: Add missing platform data. Documentation/devicetree/bindings/misc/bmp085.txt | 8 ++ drivers/misc/bmp085.c

[PATCH 1/3] misc: bmp085: Clean up and enable use of interrupt for completion.

2013-11-14 Thread Marek Belisko
- pass GPIO or IRQ to driver and have it initialize the GPIO and the IRQ - finish waiting early if interrupt fires - clean up GPIO and IRQ on exit. Signed-off-by: NeilBrown ne...@suse.de Signed-off-by: H. Nikolaus Schaller h...@goldelico.com Signed-off-by: Marek Belisko ma...@goldelico.com

[PATCH 3/3] misc: bmp085: Add missing platform data.

2013-11-14 Thread Marek Belisko
DT bindings contains more parameters to set so add them to platform data also to have possibility to use on arch where DT isn't available yet. Signed-off-by: Marek Belisko ma...@goldelico.com --- drivers/misc/bmp085.c | 21 + include/linux/i2c/bmp085.h | 7 +++ 2

[PATCH] omap: twl-common: Fix musb-hdrc device name.

2013-12-03 Thread Marek Belisko
-517 and usb isn't working. This is probably regression caused by commit: 6c27f939 Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- arch/arm/mach-omap2/twl-common.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/twl-common.c b/arch/arm/mach

[PATCH 2/3] power: twl4030_madc_battery: Add device tree support.

2014-02-27 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- drivers/power/twl4030_madc_battery.c | 83 +++- 1 file changed, 82 insertions(+), 1 deletion(-) diff --git a/drivers/power/twl4030_madc_battery.c b/drivers/power/twl4030_madc_battery.c index 42685df..24c69f7

[PATCH 3/3] Documentation: DT: Document twl4030-madc-battery bindings.

2014-02-27 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- .../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

[PATCH 0/3] Convert twl4030_madc_battery to IIO and add DT aupport

2014-02-27 Thread Marek Belisko
/2/26/482 Marek Belisko (3): power: twl4030-madc-battery: Convert to iio consumer. power: twl4030_madc_battery: Add device tree support. Documentation: DT: Document twl4030-madc-battery bindings. .../bindings/power_supply/twl4030_madc_battery.txt | 43 ++ drivers/power

[PATCH 1/3] power: twl4030-madc-battery: Convert to iio consumer.

2014-02-27 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- drivers/power/twl4030_madc_battery.c | 74 1 file changed, 41 insertions(+), 33 deletions(-) diff --git a/drivers/power/twl4030_madc_battery.c b/drivers/power/twl4030_madc_battery.c index 7ef445a..42685df

[PATCH v2 1/7] ARM: dts: omap3-gta04: Add ti,omap36xx to compatible property to avoid problems with booting

2014-03-01 Thread Marek Belisko
://lkml.org/lkml/2013/10/8/553 Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts index c551e4a..d3b253b 100644 --- a/arch/arm

[PATCH v2 3/7] ARM: dts: omap3-gta04: Add touchscreen properties

2014-03-01 Thread Marek Belisko
Gta04 using tcs2007 touchscreen. Add support for that. Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts index d9917b8

[PATCH v2 5/7] ARM: dts: omap3-gta04: Add basic sound support

2014-03-01 Thread Marek Belisko
From: NeilBrown ne...@suse.de This adds basic sound support for gta04 board. Signed-off-by: NeilBrown ne...@suse.de Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/omap3

[PATCH v2 6/7] ARM: dts: omap3-gta04: Enable mmc2 for wifi

2014-03-01 Thread Marek Belisko
From: NeilBrown ne...@suse.de This requires vaux4. Reset line isn't used yet, so wifi isn't reliable. But it does work once per boot. Signed-off-by: NeilBrown ne...@suse.de Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dts | 9 - 1 file changed, 8

[PATCH v2 7/7] ARM: dts: omap3-gta04: Add bma180 accelerometer

2014-03-01 Thread Marek Belisko
From: NeilBrown ne...@suse.de Add node for bma180 driver. Signed-off-by: NeilBrown ne...@suse.de --- arch/arm/boot/dts/omap3-gta04.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts index d556e3a..f8ad125 100644

[PATCH v2 2/7] ARM: dts: omap3-gta04: Add support for magnetometer

2014-03-01 Thread Marek Belisko
From: NeilBrown ne...@suse.de Add magnetometer hmc5843 node. Signed-off-by: NeilBrown ne...@suse.de Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot

[PATCH v2 4/7] ARM: dts: omap3-gta04: Add twl4030 charger

2014-03-01 Thread Marek Belisko
From: NeilBrown ne...@suse.de Define twl4030 charger node used for charging. Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts

[PATCH v2 0/7] ARM: dts: omap3-gta04: Various devicetree updates

2014-03-01 Thread Marek Belisko
This updated series fix issue with proper gta04 booting in 3.14 kernel and add various devices to devicetree. Changes from V1: - removed fixes which was merged to 3.14 already - add bma180 accelerometer + booting fix Marek Belisko (2): ARM: dts: omap3-gta04: Add ti,omap36xx to compatible

[PATCH v2] Documentation: DT: Document twl4030-madc-battery bindings.

2014-03-05 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- .../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

[PATCH v2 0/3] Convert twl4030_madc_battery to IIO consumer and add DT aupport

2014-03-05 Thread Marek Belisko
iio_read_channel_processed instead iio_read_channel_processed - convert probe to use devm_ as part of adding error handling for iio - free iio channels on error and on module removal [1] - https://lkml.org/lkml/2014/2/26/482 Marek Belisko (3): power: twl4030-madc-battery: Convert to iio consumer. power

[PATCH v2] power: twl4030-madc-battery: Convert to iio consumer.

2014-03-05 Thread Marek Belisko
Because of added iio error handling private data allocation was converted to managed to simplify code. Signed-off-by: Marek Belisko ma...@goldelico.com --- drivers/power/twl4030_madc_battery.c | 102 ++- 1 file changed, 66 insertions(+), 36 deletions(-) diff

[PATCH v2] power: twl4030_madc_battery: Add device tree support.

2014-03-05 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- 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 0a64105..b446dd8 100644

[PATCH] ARM: dts: twl4030: Add power support.

2014-01-11 Thread Marek Belisko
Signed-off-by: NeilBrown ne...@suse.de Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/twl4030.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030.dtsi index 4217096..21079e1 100644 --- a/arch/arm/boot/dts

[PATCH] iio: gyro: itg3200: Add DT support.

2014-01-11 Thread Marek Belisko
Signed-off-by: NeilBrown ne...@suse.de Signed-off-by: Marek Belisko ma...@goldelico.com --- .../devicetree/bindings/iio/gyro/itg3200.txt | 22 ++ drivers/iio/gyro/itg3200_core.c| 9 + 2 files changed, 31 insertions(+) create mode 100644

[PATCH 1/2] mfd: twl4030-madc: Add devicetree support.

2014-02-14 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- .../devicetree/bindings/mfd/twl4030-madc.txt | 18 + drivers/mfd/twl4030-madc.c | 31 -- 2 files changed, 47 insertions(+), 2 deletions(-) create mode 100644 Documentation

[PATCH 2/2] ARM: dts: twl4030: Add twl4030-madc node.

2014-02-14 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/twl4030.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030.dtsi index 4217096..e6dec53 100644 --- a/arch/arm/boot/dts/twl4030.dtsi +++ b/arch/arm/boot/dts

[PATCH] hwmon: twl4030-madc-hwmon: Add device tree support.

2014-02-14 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- Documentation/devicetree/bindings/hwmon/twl4030-madc-hwmon.txt | 9 + drivers/hwmon/twl4030-madc-hwmon.c | 10 ++ 2 files changed, 19 insertions(+) create mode 100644 Documentation/devicetree

[PATCH] power: twl4030_madc_battery: Add device tree support.

2014-02-14 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- .../bindings/power_supply/twl4030_madc_battery.txt | 15 +++ drivers/power/twl4030_madc_battery.c | 109 + 2 files changed, 124 insertions(+) create mode 100644 Documentation/devicetree/bindings/power_supply

[PATCH 2/2] Documentation: iio: Extend documentation for hmc5843 bindings.

2014-02-14 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- Documentation/devicetree/bindings/iio/magnetometer/hmc5843.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/magnetometer/hmc5843.txt b/Documentation/devicetree/bindings/iio/magnetometer/hmc5843

[PATCH 1/2] staging: iio: hmc5843: Add all available models to device tree id table.

2014-02-14 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- drivers/staging/iio/magnetometer/hmc5843.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/staging/iio/magnetometer/hmc5843.c b/drivers/staging/iio/magnetometer/hmc5843.c index d4f4dd9..f595fdc 100644

[PATCH 1/2] clk: si5351: Fix msynth_recalc_rate return value when fOUT is 0.

2013-05-07 Thread Marek Belisko
it again (try also manually with i2cset commands). Only power cycle helps. Signed-off-by: Marek Belisko marek.beli...@streamunlimited.com --- drivers/clk/clk-si5351.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk-si5351.c b/drivers/clk/clk-si5351.c index fc215ce

Re: [PATCH 1/2] clk: si5351: Fix msynth_recalc_rate return value when fOUT is 0.

2013-05-07 Thread Marek Belisko
On 05/07/2013 12:03 PM, Sebastian Hesselbarth wrote: On 05/07/2013 10:14 AM, Marek Belisko wrote: When p3 is eual to 0 then result for fOUT is 0. In that case we should return 0 not parent_rate; This issue was causing deadlock in si5351 chip when user set_rate for ms0-clk0 and then set_rate

Re: [PATCH 2/2] clk: si5351: Powerdown output when clock rate is 0.

2013-05-07 Thread Marek Belisko
On 05/07/2013 12:07 PM, Sebastian Hesselbarth wrote: On 05/07/2013 10:14 AM, Marek Belisko wrote: When rate is 0 powerdown clock output. Signed-off-by: Marek Beliskomarek.beli...@streamunlimited.com --- drivers/clk/clk-si5351.c | 32 +++- 1 file changed, 19

Re: [PATCH v2 2/3] ASoC: spdif_transmitter: Add DT support.

2013-04-29 Thread Marek Belisko
Dear Sebastian Hesselbarth, On 04/26/2013 09:24 PM, Sebastian Hesselbarth wrote: On 04/25/2013 03:13 PM, Marek Belisko wrote: Add devicetree support for this dummy audio soc driver. Signed-off-by: Michal Bachratymichal.bachr...@streamunlimited.com Signed-off-by: Marek Beliskomarek.beli

[PATCH 1/1] ASoC: McASP: Add device tree binding for defining separate clock and sync used by tx and rx.

2013-04-30 Thread Marek Belisko
Add new property tx-rx-clk-separate which we can distinquish between common and separate clock for tx and rx blocks. Signed-off-by: Marek Belisko marek.beli...@streamunlimited.com --- .../bindings/sound/davinci-mcasp-audio.txt |2 ++ include/linux/platform_data/davinci_asp.h

[PATCH] clk: si5351: Allow user to define disabled state for every clock output.

2013-04-30 Thread Marek Belisko
Add platform data and dt bindings to allow user override disabled state. Signed-off-by: Marek Belisko marek.beli...@streamunlimited.com --- .../devicetree/bindings/clock/silabs,si5351.txt|5 +++ drivers/clk/clk-si5351.c | 36 +--- include/linux

[PATCH v2] clk: si5351: Allow user to define disabled state for every clock output

2013-05-02 Thread Marek Belisko
From: Sebastian Hesselbarth sebastian.hesselba...@gmail.com This patch adds platform data and DT bindings to allow to overwrite the stored disabled state for each clock output. Signed-off-by: Marek Belisko marek.beli...@streamunlimited.com Signed-off-by: Sebastian Hesselbarth sebastian.hesselba

[PATCH] ASoC: McASP: Fix receive clock polarity in DAIFMT_NB_NF mode.

2013-05-02 Thread Marek Belisko
edge and macsp must read then on rising edge. Signed-off-by: Marek Belisko marek.beli...@streamunlimited.com --- sound/soc/davinci/davinci-mcasp.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/davinci/davinci-mcasp.c b/sound/soc/davinci/davinci-mcasp.c index

[PATCH v2 1/2] clk: si5351: Fix clkout rate computation.

2013-05-02 Thread Marek Belisko
Rate was incorrectly computed because we read from wrong divider register. Signed-off-by: Marek Belisko marek.beli...@streamunlimited.com Acked-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- drivers/clk/clk-si5351.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v2 2/2] clk: si5351: Set initial clkout rate when defined in platform data.

2013-05-02 Thread Marek Belisko
Signed-off-by: Marek Belisko marek.beli...@streamunlimited.com --- Changes v1-v2: - update commit message and comment to refer to platform data not DT drivers/clk/clk-si5351.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/clk/clk-si5351.c b/drivers/clk/clk-si5351.c

[PATCH v2] pwm: pwm-tiehrpwm: Use clk_enable/disable instead clk_prepare/unprepare.

2013-06-26 Thread Marek Belisko
because can be called from atomic context (led_heartbeat_function is timer callback). Signed-off-by: Marek Belisko marek.beli...@streamunlimited.com --- changes from v1: - add clk_unprepare() to .remove callback + add it also to error handling when probe fails drivers/pwm/pwm-tiehrpwm.c | 13

[PATCH] ASoC: Add PCM1681 codec driver.

2013-06-26 Thread Marek Belisko
PCM1681 can be controlled via I2C, SPI or in bootstrap mode. This code add support only for I2C mode. Signed-off-by: Marek Belisko marek.beli...@streamunlimited.com --- .../devicetree/bindings/sound/ti,pcm1681.txt | 15 + sound/soc/codecs/Kconfig |4 + sound

Re: [PATCH] ASoC: Add PCM1681 codec driver.

2013-06-26 Thread Marek Belisko
Hi Daniel, On 06/26/2013 03:16 PM, Daniel Mack wrote: Hi Marek, On 26.06.2013 15:05, Marek Belisko wrote: PCM1681 can be controlled via I2C, SPI or in bootstrap mode. This code add support only for I2C mode. Signed-off-by: Marek Belisko marek.beli...@streamunlimited.com --- .../devicetree

Re: [PATCH] ASoC: Add PCM1681 codec driver.

2013-06-27 Thread Marek Belisko
Hi Mark, On 06/26/2013 04:30 PM, Mark Brown wrote: On Wed, Jun 26, 2013 at 03:05:28PM +0200, Marek Belisko wrote: +#define PCM1681_ATT_CONTROL(X) (X = 6 ? X : X + 9) /* Attenuation level */ Write a function for this. This macro is used when creating controls for channels volume so

[PATCH 1/2] clk: si5351: Fix clkout rate computation.

2013-04-23 Thread Marek Belisko
Rate was incorrectly computed because we read from wrong divider register. Signed-off-by: Marek Belisko marek.beli...@streamunlimited.com --- drivers/clk/clk-si5351.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk-si5351.c b/drivers/clk/clk-si5351.c index

[PATCH 2/2] clk: si5351: Apply rate when clock-frequency is defined in devicetree.

2013-04-23 Thread Marek Belisko
clock-frequency property from devicetree was read but never used. Apply defined rate when clock is registered. Signed-off-by: Marek Belisko marek.beli...@streamunlimited.com --- drivers/clk/clk-si5351.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/clk/clk-si5351.c b

[PATCH v2 0/3] ASoC: Add devicetree support for spdif dummy codecs.

2013-04-25 Thread Marek Belisko
changes from v1 (for patch 2 and 3): - add prefix linux for compatible property (for both tx and rx) - rename spdif_transceiver.c to spdif_transmitter.c - add bindings documentation Marek Belisko (3): ASoC: spdif_transceiver: Change driver filename to spdif_transmitter.c. ASoC

[PATCH v2 2/3] ASoC: spdif_transmitter: Add DT support.

2013-04-25 Thread Marek Belisko
Add devicetree support for this dummy audio soc driver. Signed-off-by: Michal Bachraty michal.bachr...@streamunlimited.com Signed-off-by: Marek Belisko marek.beli...@streamunlimited.com --- .../bindings/sound/spdif-transmitter.txt | 10 ++ sound/soc/codecs/spdif_transmitter.c

[PATCH v2 3/3] ASoC: spdif_receiver: Add DT support.

2013-04-25 Thread Marek Belisko
Add devicetree support for this dummy audio soc driver. Signed-off-by: Michal Bachraty michal.bachr...@streamunlimited.com Signed-off-by: Marek Belisko marek.beli...@streamunlimited.com --- .../devicetree/bindings/sound/spdif-receiver.txt | 10 ++ sound/soc/codecs/spdif_receiver.c

[PATCH v2 1/3] ASoC: spdif_transceiver: Change driver filename to spdif_transmitter.c.

2013-04-25 Thread Marek Belisko
Transceiver usually means receiver + transmitter. This codec can do only transmit. Update driver accordingly. Signed-off-by: Marek Belisko marek.beli...@streamunlimited.com --- sound/soc/codecs/Makefile |2 +- .../{spdif_transciever.c = spdif_transmitter.c} |0

[PATCH] ASoC: McASP: Add pins output direction for rx clocks when configured in CBS_CFS format.

2013-04-26 Thread Marek Belisko
When McASP is bit clock and frame clock master enable pin output for rx clocks. Signed-off-by: Marek Belisko marek.beli...@streamunlimited.com --- sound/soc/davinci/davinci-mcasp.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sound/soc/davinci/davinci-mcasp.c b

Re: [PATCH v2 1/2] clk: si5351: Fix clkout rate computation.

2013-05-16 Thread Marek Belisko
On 05/14/2013 09:16 PM, Mike Turquette wrote: Quoting Marek Belisko (2013-05-02 22:53:22) Rate was incorrectly computed because we read from wrong divider register. Signed-off-by: Marek Belisko marek.beli...@streamunlimited.com Acked-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com

[PATCH v3] omapdss: Add new panel driver for Topolly td028ttec1 LCD.

2013-10-29 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com Signed-off-by: H. Nikolaus Schaller h...@goldelico.com --- changes from v2: - move tx_buf from driver data to functions where it's used - update write functions names (to reflect how many bytes are transferred) - update delays from 1s to 1ms

[PATCH] omapdss: Add new panel driver for Topolly td028ttec1 LCD.

2013-10-09 Thread Marek Belisko
For communicating with driver is used gpio bitbanging because TD028 does not have a standard compliant SPI interface. It is a 3-wire thing with direction reversal. Communication with display is used only during panel enable/disable so it's not performance issue. Signed-off-by: Marek Belisko ma

[PATCH] omap2: panel-generic: Added panel parameters for ortus-com37h3m05dtc/99dtc and sharp-lq070y3dg3b.

2013-08-29 Thread Marek Belisko
Signed-off-by: H. Nikolaus Schaller h...@goldelico.com Signed-off-by: Marek Belisko ma...@goldelico.com --- drivers/video/omap2/displays/panel-generic-dpi.c | 53 1 file changed, 53 insertions(+) diff --git a/drivers/video/omap2/displays/panel-generic-dpi.c b/drivers

[PATCH v3 3/3] omapdss: panel-tpo-td028ec1: Add module alias

2014-05-08 Thread Marek Belisko
Add module alias string to make it working when panel is compiled as module. Without this change panel module is not probed thus display is not working. Signed-off-by: Marek Belisko ma...@goldelico.com --- drivers/video/fbdev/omap2/displays-new/panel-tpo-td028ttec1.c | 1 + 1 file changed, 1

[PATCH v3 2/3] ARM: dts: oma3-gta04: Add display support

2014-05-08 Thread Marek Belisko
This patch add support for lcd display on gta04 board. Display control is connected to spi (used spi bitbang driver). Signed-off-by: Marek Belisko ma...@goldelico.com --- arch/arm/boot/dts/omap3-gta04.dts | 87 +++ 1 file changed, 87 insertions(+) diff --git

[PATCH v3 0/3] Add display support for gta04 device

2014-05-08 Thread Marek Belisko
Tomi Valkeinen) Changes from v1: - extend panel compatible string by 'omapdss' - add tpo-td028 panel to dss_compat_conv_list - add MODULE_ALIAS macro to properly probe panel when is compiled as module Marek Belisko (3): omapdss: panel-tpo-td028ec1: Add DT support. ARM: dts: oma3-gta04: Add

[PATCH v3 1/3] omapdss: panel-tpo-td028ec1: Add DT support.

2014-05-08 Thread Marek Belisko
Signed-off-by: Marek Belisko ma...@goldelico.com --- .../bindings/video/toppoly,td028ttec1.txt | 30 arch/arm/mach-omap2/display.c | 1 + .../omap2/displays-new/panel-tpo-td028ttec1.c | 32 +- 3 files changed, 62

[PATCH] iio: gyro: itg3200: Add DT support.

2014-01-18 Thread Marek Belisko
Signed-off-by: NeilBrown ne...@suse.de Signed-off-by: Marek Belisko ma...@goldelico.com --- V2: Added entries to i2c/trivial-devices and also add invensense to vendor-prefixes file. .../devicetree/bindings/i2c/trivial-devices.txt| 1 + .../devicetree/bindings/iio/gyro/itg3200.txt

[PATCH 1/9] ARM: dts: omap3-gta04: Fix 'aux' gpio key flags.

2014-01-25 Thread Marek Belisko
From: NeilBrown ne...@suse.de It should be ACTIVE_HIGH. Signed-off-by: NeilBrown ne...@suse.de --- arch/arm/boot/dts/omap3-gta04.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts index b9b55c9..9d37184

  1   2   3   4   5   6   >