[PATCH v2 1/3] ASoC: samsung: i2s: Use specific name for i2s dais

2017-09-05 Thread Jaechul Lee
the first of the component_list. I add dai name like 'samsung-i2s', 'samsung-i2s-sec' for each dais. The reason why adding dai id to 1 is that it doesn't allow to use particular dai name in case of when I use 0 for dai id. Signed-off-by: Jaechul Lee --- sound/soc/samsung

[PATCH v2 2/3] ASoC: samsung: Use 'samsung-i2s' cpu_dai for dai_links

2017-09-05 Thread Jaechul Lee
#x27; doesn't have a capture functionality. Without this code, cpu_dai will be selected the first one of the component_list. For example, if I describe nothing to cpu_dai_name, 'samsung-i2s-sec' might be selected to HiFi Primay. Signed-off-by: Jaechul Lee --- sound/soc/samsung/tm2_w

[PATCH v2 0/3] Fix capture devices functionality on TM2

2017-09-05 Thread Jaechul Lee
ion to select cpu_dai properly. Changes in v2: - defined SAMSUNG_I2S_DAI_* in i2s.h and removed duplicated code - modified commit message about invalid parameter that Krzystof mentioned - rebased code because of conflicts in i2s.c Jaechul Lee (3): ASoC: samsung: i2s: Use specific nam

[PATCH v2 3/3] ASoC: samsung: Fix invalid argument when devm_gpiod_get is called

2017-09-05 Thread Jaechul Lee
27;t be changed because the gpiod is created with the invalid parameter. The gpio should be set GPIOD_OUT_HIGH. Fixes: 1bfbc260a5b4 ("ASoC: samsung: Add machine driver for Exynos5433 based TM2 board") Signed-off-by: Jaechul Lee --- sound/soc/samsung/tm2_wm5110.c | 3 +-- 1 file changed, 1

[PATCH 2/3] ASoC: samsung: Use 'samsung-i2s' cpu_dai for dai_links

2017-08-28 Thread Jaechul Lee
#x27; doesn't have a capture functionality. Without this code, cpu_dai will be selected the first one of the component_list. For example, if I describe nothing to cpu_dai_name, 'samsung-i2s-sec' might be selected to HiFi Primay. Signed-off-by: Jaechul Lee --- sound/soc/samsung/tm2_w

[PATCH 0/3] Fix capture devices functionality on TM2

2017-08-28 Thread Jaechul Lee
me name: dai name as well. As a result, dai_link doesn't have enough information to select cpu_dai properly. Jaechul Lee (3): ASoC: samsung: i2s: Use specific name for i2s dais ASoC: samsung: Use 'samsung-i2s' cpu_dai for dai_links ASoC: samsung: Fix invalid argument when devm

[PATCH 3/3] ASoC: samsung: Fix invalid argument when devm_gpiod_get is called

2017-08-28 Thread Jaechul Lee
ecause the gpiod is created with the invalid parameter. The gpio should be set GPIOD_OUT_HIGH. Fixes: 1bfbc260a5b4 ("ASoC: samsung: Add machine driver for Exynos5433 based TM2 board") Signed-off-by: Jaechul Lee --- sound/soc/samsung/tm2_wm5110.c | 3 +-- 1 file changed, 1 insertion(+),

[PATCH 1/3] ASoC: samsung: i2s: Use specific name for i2s dais

2017-08-28 Thread Jaechul Lee
the first of the component_list. I add dai name like 'samsung-i2s', 'samsung-i2s-sec' for each dais. The reason why adding dai id to 1 is that it doesn't allow to use particular dai name in case of when I use 0 for dai id. Signed-off-by: Jaechul Lee --- sound/soc/samsun

[PATCH v2] ASoC: samsung: i2s: Support more resolution rates

2017-07-06 Thread Jaechul Lee
;pcm_rates' field to the dai_data to be set rates by the compatibilities. As a result, rates will be set each devices respectively. For example of exynos5433, rates will be set from 8KHz to 192KHz. Signed-off-by: Jaechul Lee --- v2: - changed the name of variab

[PATCH] ASoC: samsung: i2s: Supported high resolution rates

2017-07-04 Thread Jaechul Lee
This driver can support more frequencies over 96KHz. There are no reasons to limit the frequency range below 96KHz. If codecs/amps or something else can't support high resolution rates, the constraints would be set rates properly because each drivers have its own limits. Signed-off-by: Ja

Re: [PATCH] Input: tm2-touchkey - use LEN_ON as boolean value instead of LED_FULL

2017-03-28 Thread Jaechul Lee
Hello, There is a typing error at the subject.(LEN_ON->LED_ON) Anyway, your patch is working well and looks good to me. I reviewed and tested with this patch on TM2. Reviewed-by: Jaechul Lee Tested-by: Jaechul Lee Best Regards, Jaechul Lee On Mon, Mar 27, 2017 at 10:29:05PM +0900, Andi Sh

[PATCH v7 0/3] Add touch key driver support for TM2

2017-01-16 Thread Jaechul Lee
m2.dts file - added Jarvier's (patch 1,2,4) and Krzysztof's (patch 4) reviews and Rob's Ack - patch 3 diff has been generated with -B50% Jaechul Lee (3): input: Add support for the tm2 touchkey device driver input: tm2-touchkey: Add touchkey driver support for TM

[PATCH v7 2/3] input: tm2-touchkey: Add touchkey driver support for TM2

2017-01-16 Thread Jaechul Lee
Signed-off-by: Jaechul Lee Reviewed-by: Javier Martinez Canillas Reviewed-by: Andi Shyti Reviewed-by: Chanwoo Choi Tested-by: Chanwoo Choi Acked-by: Krzysztof Kozlowski Signed-off-by: Dmitry Torokhov --- drivers/input/keyboard/Kconfig| 11 ++ drivers/input/keyboard/Makefile

[PATCH v7 3/3] arm64: dts: exynos: Add tm2 touchkey node

2017-01-16 Thread Jaechul Lee
Add DT node support for TM2 touchkey device. Signed-off-by: Beomho Seo Signed-off-by: Jaechul Lee Signed-off-by: Andi Shyti Reviewed-by: Javier Martinez Canillas --- arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm64

[PATCH v7 1/3] input: Add support for the tm2 touchkey device driver

2017-01-16 Thread Jaechul Lee
This patch adds the binding description of the tm2 touchkey device driver. Signed-off-by: Jaechul Lee Reviewed-by: Javier Martinez Canillas Reviewed-by: Andi Shyti Reviewed-by: Chanwoo Choi Acked-by: Rob Herring Acked-by: Krzysztof Kozlowski --- .../bindings/input/cypress,tm2-touchkey.txt

Re: [PATCH v6 2/3] input: tm2-touchkey: Add touchkey driver support for TM2

2017-01-15 Thread Jaechul Lee
Dear Dmitry Torokhov, On Sat, Jan 14, 2017 at 11:11:10PM -0800, Dmitry Torokhov wrote: > Hi Jaechul, > > On Mon, Jan 09, 2017 at 04:22:14PM +0900, Jaechul Lee wrote: > > +static irqreturn_t tm2_touchkey_irq_handler(int irq, void *devid) > > +{ > > + struct tm2_touc

[PATCH v6 3/3] arm64: dts: exynos: Add tm2 touchkey node

2017-01-08 Thread Jaechul Lee
Add DT node support for TM2 touchkey device. Signed-off-by: Beomho Seo Signed-off-by: Jaechul Lee Signed-off-by: Andi Shyti Reviewed-by: Javier Martinez Canillas --- arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm64

[PATCH v6 1/3] input: Add support for the tm2 touchkey device driver

2017-01-08 Thread Jaechul Lee
This patch adds the binding description of the tm2 touchkey device driver. Signed-off-by: Jaechul Lee Reviewed-by: Javier Martinez Canillas Reviewed-by: Andi Shyti Reviewed-by: Chanwoo Choi Acked-by: Rob Herring Acked-by: Krzysztof Kozlowski --- .../bindings/input/cypress,tm2-touchkey.txt

[PATCH v6 2/3] input: tm2-touchkey: Add touchkey driver support for TM2

2017-01-08 Thread Jaechul Lee
Signed-off-by: Jaechul Lee Reviewed-by: Javier Martinez Canillas Reviewed-by: Andi Shyti Acked-by: Krzysztof Kozlowski --- drivers/input/keyboard/Kconfig| 11 ++ drivers/input/keyboard/Makefile | 1 + drivers/input/keyboard/tm2-touchkey.c | 287 +

[PATCH v6 0/3] Add touch key driver support for TM2

2017-01-08 Thread Jaechul Lee
ws and Rob's Ack - patch 3 diff has been generated with -B50% Jaechul Lee (3): input: Add support for the tm2 touchkey device driver input: tm2-touchkey: Add touchkey driver support for TM2 arm64: dts: exynos: Add tm2 touchkey node .../bindings/input/cypress,tm2-touchkey.txt

[PATCH v3 5/5] arm64: dts: exynos: Add tm2 touchkey node

2017-01-05 Thread Jaechul Lee
Add DT node support for TM2 touchkey device. Signed-off-by: Beomho Seo Signed-off-by: Jaechul Lee Signed-off-by: Andi Shyti Reviewed-by: Javier Martinez Canillas --- arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm64

[PATCH v3 1/5] arm64: dts: exynos5433: TM2/E: Fix wrong information of ldo23 and ldo25

2017-01-05 Thread Jaechul Lee
From: Chanwoo Choi This patch fixes the wrong information of ldo23 and ldo25 on both TM2 and TM2E. Fixes: 01e5d2352152 ("arm64: dts: exynos: Add dts file for Exynos5433-based TM2 board") Signed-off-by: Chanwoo Choi Signed-off-by: Andi Shyti Signed-off-by: Jaechul Lee --- arch/

[PATCH v3 3/5] input: Add support for the tm2 touchkey device driver

2017-01-05 Thread Jaechul Lee
This patch adds the binding description of the tm2 touchkey device driver. Signed-off-by: Jaechul Lee Reviewed-by: Javier Martinez Canillas Reviewed-by: Andi Shyti Acked-by: Rob Herring --- .../bindings/input/samsung,tm2-touchkey.txt| 27 ++ 1 file changed, 27

[PATCH v3 2/5] arm64: dts: exynos: make tm2 and tm2e independent from each other

2017-01-05 Thread Jaechul Lee
At the current status the only two differences between the two dts files (besides the board name) are ldo31 and ldo38. Signed-off-by: Andi Shyti Signed-off-by: Jaechul Lee --- .../boot/dts/exynos/exynos5433-tm2-common.dtsi | 1118 +++ arch/arm64/boot/dts/exynos/exynos5433-tm2.

[PATCH v3 4/5] input: tm2-touchkey: Add touchkey driver support for TM2

2017-01-05 Thread Jaechul Lee
Signed-off-by: Jaechul Lee Reviewed-by: Javier Martinez Canillas Reviewed-by: Andi Shyti --- drivers/input/keyboard/Kconfig| 11 ++ drivers/input/keyboard/Makefile | 1 + drivers/input/keyboard/tm2-touchkey.c | 280 ++ 3 files changed, 292

[PATCH v3 0/5] Add touch key driver support for TM2

2017-01-05 Thread Jaechul Lee
generated with -B50% Andi Shyti (1): arm64: dts: exynos: make tm2 and tm2e independent from each other Chanwoo Choi (1): arm64: dts: exynos5433: TM2/E: Fix wrong information of ldo23 and ldo25 Jaechul Lee (3): input: Add support for the tm2 touchkey device driver input: tm2-touchkey:

[PATCH v2 1/4] input: Add support for the tm2 touchkey device driver

2017-01-05 Thread Jaechul Lee
This patch adds the binding description of the tm2 touchkey device driver. Signed-off-by: Jaechul Lee Reviewed-by: Javier Martinez Canillas Reviewed-by: Andi Shyti Acked-by: Rob Herring --- .../bindings/input/samsung,tm2-touchkey.txt| 27 ++ 1 file changed, 27

[PATCH v2 3/4] arm64: dts: exynos: make tm2 and tm2e independent from each other

2017-01-05 Thread Jaechul Lee
Signed-off-by: Andi Shyti Signed-off-by: Jaechul Lee --- .../boot/dts/exynos/exynos5433-tm2-common.dtsi | 1116 +++ arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 1138 +--- arch/arm64/boot/dts/exynos/exynos5433-tm2e.dts |2 +- 3 files changed,

[PATCH v2 2/4] input: tm2-touchkey: Add touchkey driver support for TM2

2017-01-05 Thread Jaechul Lee
Signed-off-by: Jaechul Lee Reviewed-by: Javier Martinez Canillas Reviewed-by: Andi Shyti --- drivers/input/keyboard/Kconfig| 11 ++ drivers/input/keyboard/Makefile | 1 + drivers/input/keyboard/tm2-touchkey.c | 280 ++ 3 files changed, 292

[PATCH v2 4/4] arm64: dts: exynos: Add tm2 touchkey node

2017-01-05 Thread Jaechul Lee
Add DT node support for TM2 touchkey device. Signed-off-by: Beomho Seo Signed-off-by: Jaechul Lee Signed-off-by: Andi Shyti Reviewed-by: Javier Martinez Canillas Reviewed-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 13 + 1 file changed, 13

[PATCH v2 0/4] Add touch key driver support for TM2

2017-01-05 Thread Jaechul Lee
egards, Jaechul Andi Shyti (1): arm64: dts: exynos: make tm2 and tm2e independent from each other Jaechul Lee (3): input: Add support for the tm2 touchkey device driver input: tm2-touchkey: Add touchkey driver support for TM2 arm64: dts: exynos: Add tm2 touchkey node .../bindings/in

[PATCH 1/4] input: Add support for the tm2 touchkey device driver

2017-01-02 Thread Jaechul Lee
This patch adds the binding description of the tm2 touchkey device driver. Signed-off-by: Jaechul Lee --- .../bindings/input/samsung,tm2-touchkey.txt| 27 ++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/samsung,tm2

[PATCH 3/4] arm64: dts: exynos: make tm2 and tm2e independent from each other

2017-01-02 Thread Jaechul Lee
Signed-off-by: Andi Shyti Signed-off-by: Jaechul Lee --- .../boot/dts/exynos/exynos5433-tm2-common.dtsi | 1046 arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 1033 +-- arch/arm64/boot/dts/exynos/exynos5433-tm2e.dts |2 +- 3 files changed,

[PATCH 4/4] arm64: dts: exynos: Add tm2 touchkey node

2017-01-02 Thread Jaechul Lee
Add DT node support for TM2 touchkey device. Signed-off-by: Jaechul Lee Signed-off-by: Beomho Seo Signed-off-by: Andi Shyti --- arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts b/arch

[PATCH 2/4] input: tm2-touchkey: Add touchkey driver support for TM2

2017-01-02 Thread Jaechul Lee
This patch adds support for the TM2 touch key and led functionlity. The driver interfaces with userspace through an input device and reports KEY_PHONE and KEY_BACK event types. LED brightness can be controlled by "/sys/class/leds/tm2-touchkey/brightness". Signed-off-by: Jaechul Lee

[PATCH 0/4] Add touch key driver support for TM2

2017-01-02 Thread Jaechul Lee
Andi Shyti (1): arm64: dts: exynos: make tm2 and tm2e independent from each other Jaechul Lee (3): input: Add support for the tm2 touchkey device driver input: tm2-touchkey: Add touchkey driver support for TM2 arm64: dts: exynos: Add tm2 touchkey node .../bindings/input/samsung,tm2