All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Chauveau <chauveau.julien@gmail.com>
To: "Andreas Färber" <afaerber@suse.de>,
	linux-rockchip@lists.infradead.org,
	"Heiko Stuebner" <heiko@sntech.de>
Cc: Mark Rutland <mark.rutland@arm.com>,
	DT <devicetree@vger.kernel.org>, Pawel Moll <pawel.moll@arm.com>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Catalin Marinas <catalin.marinas@arm.com>,
	Will Deacon <will.deacon@arm.com>,
	linux-kernel@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
	Kumar Gala <galak@codeaurora.org>,
	linux-arm-kernel@lists.infradead.org
Subject: Re: Re: [PATCH v2 06/10] ARM64: dts: rockchip: Add IR receiver to GeekBox
Date: Tue, 09 Feb 2016 11:45:08 +0100	[thread overview]
Message-ID: <56B9C334.2070002@gmail.com> (raw)
In-Reply-To: <56B95827.7060204@suse.de>


Le 09/02/2016 04:08, Andreas Färber a écrit :
> Am 08.02.2016 um 03:17 schrieb Andreas Färber:
>> Signed-off-by: Andreas Färber <afaerber@suse.de>
>> ---
>>   v2: New
>>   
>>   arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 13 +++++++++++++
>>   1 file changed, 13 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
>> index e4523a74050f..e84383fd6f10 100644
>> --- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
>> +++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
>> @@ -63,6 +63,13 @@
>>   		#clock-cells = <0>;
>>   	};
>>   
>> +	ir: ir-receiver {
>> +		compatible = "gpio-ir-receiver";
>> +		gpios = <&gpio3 30 GPIO_ACTIVE_LOW>;
>> +		pinctrl-names = "default";
>> +		pinctrl-0 = <&ir_int>;
> 		status = "disabled";
>
> Should only be enabled in the new Landingship config. Will fix.
>
> Andreas
Actually there's two IR receivers:
- one on the geekbox module (on the bottom side)
- and another one on the landingship.

Both are connected to the same GPIO pin, so you can keep it enabled in 
the main geekbox dts.

About the pinctrl, same remark as for gpio-keys: there's already 
external pull-up resistors on this pin, so it should be better to use 
pcfg_pull_none instead of pcfg_pull_up.

Julien
>
> P.S. See Heiko, two bugs in the new nodes already, glad I have them
> separate. :)
>
>> +	};
>> +
>>   	leds: gpio-leds {
>>   		compatible = "gpio-leds";
>>   
> [snip]
>

WARNING: multiple messages have this Message-ID (diff)
From: Julien Chauveau <chauveau.julien-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: "Andreas Färber" <afaerber-l3A5Bk7waGM@public.gmane.org>,
	linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	"Heiko Stuebner" <heiko-4mtYJXux2i+zQB+pC5nmwQ@public.gmane.org>
Cc: Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
	DT <devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Pawel Moll <pawel.moll-5wv7dgnIgG8@public.gmane.org>,
	Ian Campbell
	<ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>,
	Catalin Marinas <catalin.marinas-5wv7dgnIgG8@public.gmane.org>,
	Will Deacon <will.deacon-5wv7dgnIgG8@public.gmane.org>,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Kumar Gala <galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: Re: [PATCH v2 06/10] ARM64: dts: rockchip: Add IR receiver to GeekBox
Date: Tue, 09 Feb 2016 11:45:08 +0100	[thread overview]
Message-ID: <56B9C334.2070002@gmail.com> (raw)
In-Reply-To: <56B95827.7060204-l3A5Bk7waGM@public.gmane.org>


Le 09/02/2016 04:08, Andreas Färber a écrit :
> Am 08.02.2016 um 03:17 schrieb Andreas Färber:
>> Signed-off-by: Andreas Färber <afaerber-l3A5Bk7waGM@public.gmane.org>
>> ---
>>   v2: New
>>   
>>   arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 13 +++++++++++++
>>   1 file changed, 13 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
>> index e4523a74050f..e84383fd6f10 100644
>> --- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
>> +++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
>> @@ -63,6 +63,13 @@
>>   		#clock-cells = <0>;
>>   	};
>>   
>> +	ir: ir-receiver {
>> +		compatible = "gpio-ir-receiver";
>> +		gpios = <&gpio3 30 GPIO_ACTIVE_LOW>;
>> +		pinctrl-names = "default";
>> +		pinctrl-0 = <&ir_int>;
> 		status = "disabled";
>
> Should only be enabled in the new Landingship config. Will fix.
>
> Andreas
Actually there's two IR receivers:
- one on the geekbox module (on the bottom side)
- and another one on the landingship.

Both are connected to the same GPIO pin, so you can keep it enabled in 
the main geekbox dts.

About the pinctrl, same remark as for gpio-keys: there's already 
external pull-up resistors on this pin, so it should be better to use 
pcfg_pull_none instead of pcfg_pull_up.

Julien
>
> P.S. See Heiko, two bugs in the new nodes already, glad I have them
> separate. :)
>
>> +	};
>> +
>>   	leds: gpio-leds {
>>   		compatible = "gpio-leds";
>>   
> [snip]
>

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: chauveau.julien@gmail.com (Julien Chauveau)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 06/10] ARM64: dts: rockchip: Add IR receiver to GeekBox
Date: Tue, 09 Feb 2016 11:45:08 +0100	[thread overview]
Message-ID: <56B9C334.2070002@gmail.com> (raw)
In-Reply-To: <56B95827.7060204@suse.de>


Le 09/02/2016 04:08, Andreas F?rber a ?crit :
> Am 08.02.2016 um 03:17 schrieb Andreas F?rber:
>> Signed-off-by: Andreas F?rber <afaerber@suse.de>
>> ---
>>   v2: New
>>   
>>   arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts | 13 +++++++++++++
>>   1 file changed, 13 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
>> index e4523a74050f..e84383fd6f10 100644
>> --- a/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
>> +++ b/arch/arm64/boot/dts/rockchip/rk3368-geekbox.dts
>> @@ -63,6 +63,13 @@
>>   		#clock-cells = <0>;
>>   	};
>>   
>> +	ir: ir-receiver {
>> +		compatible = "gpio-ir-receiver";
>> +		gpios = <&gpio3 30 GPIO_ACTIVE_LOW>;
>> +		pinctrl-names = "default";
>> +		pinctrl-0 = <&ir_int>;
> 		status = "disabled";
>
> Should only be enabled in the new Landingship config. Will fix.
>
> Andreas
Actually there's two IR receivers:
- one on the geekbox module (on the bottom side)
- and another one on the landingship.

Both are connected to the same GPIO pin, so you can keep it enabled in 
the main geekbox dts.

About the pinctrl, same remark as for gpio-keys: there's already 
external pull-up resistors on this pin, so it should be better to use 
pcfg_pull_none instead of pcfg_pull_up.

Julien
>
> P.S. See Heiko, two bugs in the new nodes already, glad I have them
> separate. :)
>
>> +	};
>> +
>>   	leds: gpio-leds {
>>   		compatible = "gpio-leds";
>>   
> [snip]
>

  reply	other threads:[~2016-02-09 10:45 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-08  2:17 [PATCH v2 00/10] ARM64: rockchip: Initial GeekBox enablement Andreas Färber
2016-02-08  2:17 ` Andreas Färber
2016-02-08  2:17 ` [PATCH v2 01/10] Documentation: devicetree: Add vendor prefix for GeekBuying.com Andreas Färber
2016-02-08  2:17   ` Andreas Färber
2016-02-08  2:17   ` Andreas Färber
2016-02-08 21:27   ` Rob Herring
2016-02-08 21:27     ` Rob Herring
2016-02-08 21:27     ` Rob Herring
2016-02-08  2:17 ` [PATCH v2 02/10] Documentation: devicetree: rockchip: Document GeekBox Andreas Färber
2016-02-08  2:17   ` Andreas Färber
2016-02-08  2:17   ` Andreas Färber
2016-02-08 21:28   ` Rob Herring
2016-02-08 21:28     ` Rob Herring
2016-02-08 21:28     ` Rob Herring
2016-02-08  2:17 ` [PATCH v2 03/10] ARM64: dts: rockchip: Add GeekBox config Andreas Färber
2016-02-08  2:17   ` Andreas Färber
2016-02-08  2:17   ` Andreas Färber
2016-02-08  2:17 ` [PATCH v2 04/10] ARM64: dts: rockchip: Add GMAC to GeekBox Andreas Färber
2016-02-08  2:17   ` Andreas Färber
2016-02-08  2:17   ` Andreas Färber
2016-02-08 10:28   ` Heiko Stuebner
2016-02-08 10:28     ` Heiko Stuebner
2016-02-08 10:28     ` Heiko Stuebner
2016-02-08 10:40     ` Andreas Färber
2016-02-08 10:40       ` Andreas Färber
2016-02-08  2:17 ` [PATCH v2 05/10] ARM64: dts: rockchip: Add eMMC " Andreas Färber
2016-02-08  2:17   ` Andreas Färber
2016-02-08  2:17   ` Andreas Färber
2016-02-08  2:17 ` [PATCH v2 06/10] ARM64: dts: rockchip: Add IR receiver " Andreas Färber
2016-02-08  2:17   ` Andreas Färber
2016-02-08  2:17   ` Andreas Färber
2016-02-09  3:08   ` Andreas Färber
2016-02-09  3:08     ` Andreas Färber
2016-02-09  3:08     ` Andreas Färber
2016-02-09 10:45     ` Julien Chauveau [this message]
2016-02-09 10:45       ` Julien Chauveau
2016-02-09 10:45       ` Julien Chauveau
2016-02-08  2:17 ` [PATCH v2 07/10] ARM64: dts: rockchip: Add power key " Andreas Färber
2016-02-08  2:17   ` Andreas Färber
2016-02-08  2:17   ` Andreas Färber
2016-02-08 16:26   ` Julien Chauveau
2016-02-08 16:26     ` Julien Chauveau
2016-02-08 16:26     ` Julien Chauveau
2016-02-08  2:17 ` [PATCH v2 08/10] ARM64: dts: rockchip: Add tsadc for GeekBox Andreas Färber
2016-02-08  2:17   ` Andreas Färber
2016-02-08  2:17   ` Andreas Färber
2016-02-08  2:17 ` [PATCH v2 09/10] Documentation: devicetree: rockchip: Document Landingship Andreas Färber
2016-02-08  2:17   ` Andreas Färber
2016-02-08  2:17   ` Andreas Färber
2016-02-08 10:29   ` Heiko Stuebner
2016-02-08 10:29     ` Heiko Stuebner
2016-02-08 10:29     ` Heiko Stuebner
2016-02-08 10:51     ` Andreas Färber
2016-02-08 10:51       ` Andreas Färber
2016-02-08  2:17 ` [PATCH v2 10/10] ARM64: dts: rockchip: Add Landingship config Andreas Färber
2016-02-08  2:17   ` Andreas Färber
2016-02-08  2:17   ` Andreas Färber

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=56B9C334.2070002@gmail.com \
    --to=chauveau.julien@gmail.com \
    --cc=afaerber@suse.de \
    --cc=catalin.marinas@arm.com \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=heiko@sntech.de \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=mark.rutland@arm.com \
    --cc=pawel.moll@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=will.deacon@arm.com \
    /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.