linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] ARM: dts: exynos: Second round of Spring support
@ 2014-11-19 15:56 Andreas Färber
  2014-11-19 15:56 ` [PATCH 1/4] ARM: dts: Add usb3503 pinctrl to exynos5250-spring Andreas Färber
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Andreas Färber @ 2014-11-19 15:56 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

Following the initial merge of the HP Chromebook 11 device tree,
here's a few follow-ups. A sound series is prepared separately.

Regards,
Andreas


Andreas F?rber (4):
  ARM: dts: Add usb3503 pinctrl to exynos5250-spring
  ARM: dts: Add temperature sensor to exynos5250-spring
  ARM: exynos_defconfig: Enable LM90 driver
  ARM: dts: Add trackpad to exynos5250-spring

 arch/arm/boot/dts/exynos5250-spring.dts | 30 ++++++++++++++++++++++++++++++
 arch/arm/configs/exynos_defconfig       |  3 ++-
 2 files changed, 32 insertions(+), 1 deletion(-)

-- 
2.1.2

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH 1/4] ARM: dts: Add usb3503 pinctrl to exynos5250-spring
  2014-11-19 15:56 [PATCH 0/4] ARM: dts: exynos: Second round of Spring support Andreas Färber
@ 2014-11-19 15:56 ` Andreas Färber
  2014-11-19 16:59   ` Javier Martinez Canillas
  2014-11-19 15:56 ` [PATCH 2/4] ARM: dts: Add temperature sensor " Andreas Färber
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 10+ messages in thread
From: Andreas Färber @ 2014-11-19 15:56 UTC (permalink / raw)
  To: linux-arm-kernel

Reported-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Andreas F?rber <afaerber@suse.de>
---
 arch/arm/boot/dts/exynos5250-spring.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/exynos5250-spring.dts b/arch/arm/boot/dts/exynos5250-spring.dts
index f5566f84d885..310764b6e28d 100644
--- a/arch/arm/boot/dts/exynos5250-spring.dts
+++ b/arch/arm/boot/dts/exynos5250-spring.dts
@@ -52,6 +52,8 @@
 	usb-hub {
 		compatible = "smsc,usb3503a";
 		reset-gpios = <&gpe1 0 GPIO_ACTIVE_LOW>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&hsic_reset>;
 	};
 
 	fixed-rate-clocks {
-- 
2.1.2

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 2/4] ARM: dts: Add temperature sensor to exynos5250-spring
  2014-11-19 15:56 [PATCH 0/4] ARM: dts: exynos: Second round of Spring support Andreas Färber
  2014-11-19 15:56 ` [PATCH 1/4] ARM: dts: Add usb3503 pinctrl to exynos5250-spring Andreas Färber
@ 2014-11-19 15:56 ` Andreas Färber
  2014-11-19 17:11   ` Javier Martinez Canillas
  2014-11-19 15:56 ` [PATCH 3/4] ARM: exynos_defconfig: Enable LM90 driver Andreas Färber
  2014-11-19 15:56 ` [PATCH 4/4] ARM: dts: Add trackpad to exynos5250-spring Andreas Färber
  3 siblings, 1 reply; 10+ messages in thread
From: Andreas Färber @ 2014-11-19 15:56 UTC (permalink / raw)
  To: linux-arm-kernel

Spotted in the Chrome OS 3.8 based device tree.
Needs CONFIG_SENSORS_LM90.

Signed-off-by: Andreas F?rber <afaerber@suse.de>
---
 arch/arm/boot/dts/exynos5250-spring.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/exynos5250-spring.dts b/arch/arm/boot/dts/exynos5250-spring.dts
index 310764b6e28d..cc3361afba49 100644
--- a/arch/arm/boot/dts/exynos5250-spring.dts
+++ b/arch/arm/boot/dts/exynos5250-spring.dts
@@ -383,6 +383,11 @@
 	status = "okay";
 	samsung,i2c-sda-delay = <100>;
 	samsung,i2c-max-bus-freq = <66000>;
+
+	temperature-sensor at 4c {
+		compatible = "gmt,g781";
+		reg = <0x4c>;
+	};
 };
 
 &i2c_8 {
-- 
2.1.2

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 3/4] ARM: exynos_defconfig: Enable LM90 driver
  2014-11-19 15:56 [PATCH 0/4] ARM: dts: exynos: Second round of Spring support Andreas Färber
  2014-11-19 15:56 ` [PATCH 1/4] ARM: dts: Add usb3503 pinctrl to exynos5250-spring Andreas Färber
  2014-11-19 15:56 ` [PATCH 2/4] ARM: dts: Add temperature sensor " Andreas Färber
@ 2014-11-19 15:56 ` Andreas Färber
  2014-11-19 17:11   ` Javier Martinez Canillas
  2014-11-19 15:56 ` [PATCH 4/4] ARM: dts: Add trackpad to exynos5250-spring Andreas Färber
  3 siblings, 1 reply; 10+ messages in thread
From: Andreas Färber @ 2014-11-19 15:56 UTC (permalink / raw)
  To: linux-arm-kernel

multi_v7_defconfig has it as Y already, so build it in here, too, for
consistency, and therefore build in HWMON as well.

Signed-off-by: Andreas F?rber <afaerber@suse.de>
---
 arch/arm/configs/exynos_defconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig
index 8dfa7d312f51..2d7d2027aeb9 100644
--- a/arch/arm/configs/exynos_defconfig
+++ b/arch/arm/configs/exynos_defconfig
@@ -84,7 +84,8 @@ CONFIG_DEBUG_GPIO=y
 CONFIG_POWER_SUPPLY=y
 CONFIG_BATTERY_SBS=y
 CONFIG_CHARGER_TPS65090=y
-# CONFIG_HWMON is not set
+CONFIG_HWMON=y
+CONFIG_SENSORS_LM90=y
 CONFIG_THERMAL=y
 CONFIG_EXYNOS_THERMAL=y
 CONFIG_EXYNOS_THERMAL_CORE=y
-- 
2.1.2

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 4/4] ARM: dts: Add trackpad to exynos5250-spring
  2014-11-19 15:56 [PATCH 0/4] ARM: dts: exynos: Second round of Spring support Andreas Färber
                   ` (2 preceding siblings ...)
  2014-11-19 15:56 ` [PATCH 3/4] ARM: exynos_defconfig: Enable LM90 driver Andreas Färber
@ 2014-11-19 15:56 ` Andreas Färber
  2014-11-19 17:13   ` Javier Martinez Canillas
  3 siblings, 1 reply; 10+ messages in thread
From: Andreas Färber @ 2014-11-19 15:56 UTC (permalink / raw)
  To: linux-arm-kernel

The HP Chromebook 11 uses an Atmel maXTouch as trackpad.
The keymap was found by trial-and-error.

Signed-off-by: Andreas F?rber <afaerber@suse.de>
---
 arch/arm/boot/dts/exynos5250-spring.dts | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/arch/arm/boot/dts/exynos5250-spring.dts b/arch/arm/boot/dts/exynos5250-spring.dts
index cc3361afba49..2fa207c9e5e2 100644
--- a/arch/arm/boot/dts/exynos5250-spring.dts
+++ b/arch/arm/boot/dts/exynos5250-spring.dts
@@ -330,6 +330,22 @@
 	status = "okay";
 	samsung,i2c-sda-delay = <100>;
 	samsung,i2c-max-bus-freq = <378000>;
+
+	trackpad at 4b {
+		compatible = "atmel,maxtouch";
+		reg = <0x4b>;
+		interrupt-parent = <&gpx1>;
+		interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&trackpad_irq>;
+		linux,gpio-keymap = <KEY_RESERVED
+		                     KEY_RESERVED
+		                     KEY_RESERVED
+		                     KEY_RESERVED
+		                     KEY_RESERVED
+		                     BTN_LEFT>;
+		wakeup-source;
+	};
 };
 
 /*
@@ -465,6 +481,13 @@
 		samsung,pin-drv = <0>;
 	};
 
+	trackpad_irq: trackpad-irq {
+		samsung,pins = "gpx1-2";
+		samsung,pin-function = <0xf>;
+		samsung,pin-pud = <0>;
+		samsung,pin-drv = <0>;
+	};
+
 	power_key_irq: power-key-irq {
 		samsung,pins = "gpx1-3";
 		samsung,pin-function = <0>;
-- 
2.1.2

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 1/4] ARM: dts: Add usb3503 pinctrl to exynos5250-spring
  2014-11-19 15:56 ` [PATCH 1/4] ARM: dts: Add usb3503 pinctrl to exynos5250-spring Andreas Färber
@ 2014-11-19 16:59   ` Javier Martinez Canillas
  2014-11-22 14:33     ` Kukjin Kim
  0 siblings, 1 reply; 10+ messages in thread
From: Javier Martinez Canillas @ 2014-11-19 16:59 UTC (permalink / raw)
  To: linux-arm-kernel

Hello Andreas,

On 11/19/2014 04:56 PM, Andreas F?rber wrote:
> Reported-by: Doug Anderson <dianders@chromium.org>
> Signed-off-by: Andreas F?rber <afaerber@suse.de>

Even though the patch is simple and is true that the subject explains
the change, I think that is always good to have a commit message anyways.

Patch looks good to me though:

Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>

Best regards,
Javier

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH 2/4] ARM: dts: Add temperature sensor to exynos5250-spring
  2014-11-19 15:56 ` [PATCH 2/4] ARM: dts: Add temperature sensor " Andreas Färber
@ 2014-11-19 17:11   ` Javier Martinez Canillas
  0 siblings, 0 replies; 10+ messages in thread
From: Javier Martinez Canillas @ 2014-11-19 17:11 UTC (permalink / raw)
  To: linux-arm-kernel

Hello Andreas,

On 11/19/2014 04:56 PM, Andreas F?rber wrote:
> Spotted in the Chrome OS 3.8 based device tree.
> Needs CONFIG_SENSORS_LM90.
> 
> Signed-off-by: Andreas F?rber <afaerber@suse.de>

Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>

Best regards,
Javier

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH 3/4] ARM: exynos_defconfig: Enable LM90 driver
  2014-11-19 15:56 ` [PATCH 3/4] ARM: exynos_defconfig: Enable LM90 driver Andreas Färber
@ 2014-11-19 17:11   ` Javier Martinez Canillas
  0 siblings, 0 replies; 10+ messages in thread
From: Javier Martinez Canillas @ 2014-11-19 17:11 UTC (permalink / raw)
  To: linux-arm-kernel

Hello Andreas,

On 11/19/2014 04:56 PM, Andreas F?rber wrote:
> multi_v7_defconfig has it as Y already, so build it in here, too, for
> consistency, and therefore build in HWMON as well.
> 
> Signed-off-by: Andreas F?rber <afaerber@suse.de>

Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>

Best regards,
Javier

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH 4/4] ARM: dts: Add trackpad to exynos5250-spring
  2014-11-19 15:56 ` [PATCH 4/4] ARM: dts: Add trackpad to exynos5250-spring Andreas Färber
@ 2014-11-19 17:13   ` Javier Martinez Canillas
  0 siblings, 0 replies; 10+ messages in thread
From: Javier Martinez Canillas @ 2014-11-19 17:13 UTC (permalink / raw)
  To: linux-arm-kernel

Hello Andreas,

On 11/19/2014 04:56 PM, Andreas F?rber wrote:
> The HP Chromebook 11 uses an Atmel maXTouch as trackpad.
> The keymap was found by trial-and-error.
> 
> Signed-off-by: Andreas F?rber <afaerber@suse.de>

Patch looks good to me.

Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>

Best regards,
Javier

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH 1/4] ARM: dts: Add usb3503 pinctrl to exynos5250-spring
  2014-11-19 16:59   ` Javier Martinez Canillas
@ 2014-11-22 14:33     ` Kukjin Kim
  0 siblings, 0 replies; 10+ messages in thread
From: Kukjin Kim @ 2014-11-22 14:33 UTC (permalink / raw)
  To: linux-arm-kernel

On 11/20/14 01:59, Javier Martinez Canillas wrote:
> Hello Andreas,
> 
> On 11/19/2014 04:56 PM, Andreas F?rber wrote:
>> Reported-by: Doug Anderson <dianders@chromium.org>
>> Signed-off-by: Andreas F?rber <afaerber@suse.de>
> 
> Even though the patch is simple and is true that the subject explains
> the change, I think that is always good to have a commit message anyways.
> 
> Patch looks good to me though:
> 
> Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
> 
Applied this series, thanks.

- Kukjin

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-11-22 14:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-19 15:56 [PATCH 0/4] ARM: dts: exynos: Second round of Spring support Andreas Färber
2014-11-19 15:56 ` [PATCH 1/4] ARM: dts: Add usb3503 pinctrl to exynos5250-spring Andreas Färber
2014-11-19 16:59   ` Javier Martinez Canillas
2014-11-22 14:33     ` Kukjin Kim
2014-11-19 15:56 ` [PATCH 2/4] ARM: dts: Add temperature sensor " Andreas Färber
2014-11-19 17:11   ` Javier Martinez Canillas
2014-11-19 15:56 ` [PATCH 3/4] ARM: exynos_defconfig: Enable LM90 driver Andreas Färber
2014-11-19 17:11   ` Javier Martinez Canillas
2014-11-19 15:56 ` [PATCH 4/4] ARM: dts: Add trackpad to exynos5250-spring Andreas Färber
2014-11-19 17:13   ` Javier Martinez Canillas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).