From: Tomasz Figa <t.figa@samsung.com>
To: Arun Kumar K <arun.kk@samsung.com>,
linux-samsung-soc@vger.kernel.org,
devicetree-discuss@lists.ozlabs.org
Cc: kgene.kim@samsung.com, arunkk.samsung@gmail.com
Subject: Re: [PATCH] ARM: dts: Add atmel trackpad node to 5250 cros
Date: Thu, 24 Apr 2014 18:57:27 +0200 [thread overview]
Message-ID: <53594277.50401@samsung.com> (raw)
In-Reply-To: <1397457325-5054-1-git-send-email-arun.kk@samsung.com>
Hi Arun,
On 14.04.2014 08:35, Arun Kumar K wrote:
> The newer versions of exynos5250 based Snow boards have
> atmel trackpad. Updating relevant nodes for the same.
>
> Signed-off-by: Arun Kumar K <arun.kk@samsung.com>
> ---
> arch/arm/boot/dts/exynos5250-cros-common.dtsi | 24 ++++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
>
> diff --git a/arch/arm/boot/dts/exynos5250-cros-common.dtsi b/arch/arm/boot/dts/exynos5250-cros-common.dtsi
> index 2c1560d..658f086 100644
> --- a/arch/arm/boot/dts/exynos5250-cros-common.dtsi
> +++ b/arch/arm/boot/dts/exynos5250-cros-common.dtsi
> @@ -28,6 +28,13 @@
> samsung,pin-pud = <0>;
> };
>
> + trackpad_irq: trackpad-irq {
> + samsung,pins = "gpx1-2";
> + samsung,pin-function = <0>;
> + samsung,pin-pud = <0>;
> + samsung,pin-drv = <0>;
> + };
> +
> max77686_irq: max77686-irq {
> samsung,pins = "gpx3-2";
> samsung,pin-function = <0>;
> @@ -191,6 +198,9 @@
> samsung,i2c-sda-delay = <100>;
> samsung,i2c-max-bus-freq = <378000>;
>
> + pinctrl-names = "default";
> + pinctrl-0 = <&i2c1_bus &trackpad_irq>;
Please add &trackpad_irq to trackpad node instead. Pinctrl properties of
i2c node should contain only i2c-related pins.
> +
> trackpad {
> reg = <0x67>;
> compatible = "cypress,cyapa";
> @@ -198,6 +208,20 @@
> interrupt-parent = <&gpx1>;
> wakeup-source;
> };
> + trackpad-alt {
Style: Please keep one blank line between two nodes.
> + reg = <0x4b>;
> + compatible = "atmel,atmel_mxt_tp";
> + interrupts = <2 0>;
> + interrupt-parent = <&gpx1>;
> + wakeup-source;
> + };
> + trackpad-bootloader {
Ditto.
> + reg = <0x25>;
> + compatible = "atmel,atmel_mxt_tp";
> + interrupts = <2 0>;
> + interrupt-parent = <&gpx1>;
> + wakeup-source;
> + };
Hmm, why are there 3 different nodes here? Could you explain what one by
one for what hardware they are?
Best regards,
Tomasz
next prev parent reply other threads:[~2014-04-24 16:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-14 6:35 [PATCH] ARM: dts: Add atmel trackpad node to 5250 cros Arun Kumar K
2014-04-24 16:57 ` Tomasz Figa [this message]
2014-05-07 21:14 ` Doug Anderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53594277.50401@samsung.com \
--to=t.figa@samsung.com \
--cc=arun.kk@samsung.com \
--cc=arunkk.samsung@gmail.com \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=kgene.kim@samsung.com \
--cc=linux-samsung-soc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.