Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1340504

Re: [PATCHv2 3/4] ARM: tegra: use build-in device properties with rfkill_gpio

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCHv2 3/4] ARM: tegra: use build-in device properties with rfkill_gpio
Date 2016-02-23 11:40 +0100
Message-ID <r5ixQ-3Z2-9@gated-at.bofh.it> (permalink)
References <qULjP-1FX-3@gated-at.bofh.it> <r3D3I-2sr-13@gated-at.bofh.it> <r5ieu-3Qp-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tuesday 23 February 2016 11:15:31 Arnd Bergmann wrote:
> On Thursday 18 February 2016 21:04:49 Johannes Berg wrote:
> > On Tue, 2016-01-26 at 09:42 +0100, Johannes Berg wrote:

> Just for my curiosity: what is the difference between a rfkill-gpio
> device and a gpio-keys device with a KEY_RFKILL code?
> 
> arch/arm/boot/dts/bcm4708-netgear-r6250.dts and others seem to
> do the second approach in DT so they don't need to create the
> platform device.

I found the answer now (after discussing on IRC): just
for reference: KEY_RFKILL is for sending the event to the kernel
when a user presses the gpio butting, this rfkill-gpio turns
the devices on or off when after an RFKILL event is received.

	Arnd

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCHv2 3/4] ARM: tegra: use build-in device properties with rfkill_gpio Arnd Bergmann <arnd@arndb.de> - 2016-02-23 11:20 +0100
  Re: [PATCHv2 3/4] ARM: tegra: use build-in device properties with rfkill_gpio Arnd Bergmann <arnd@arndb.de> - 2016-02-23 11:40 +0100
    Re: [PATCHv2 3/4] ARM: tegra: use build-in device properties with rfkill_gpio Marc Dietrich <marvin24@gmx.de> - 2016-02-23 11:40 +0100
      Re: [PATCHv2 3/4] ARM: tegra: use build-in device properties with rfkill_gpio Arnd Bergmann <arnd@arndb.de> - 2016-02-23 14:20 +0100
        Re: [PATCHv2 3/4] ARM: tegra: use build-in device properties with rfkill_gpio Marc Dietrich <marvin24@gmx.de> - 2016-02-23 14:50 +0100
          Re: [PATCHv2 3/4] ARM: tegra: use build-in device properties with rfkill_gpio Arnd Bergmann <arnd@arndb.de> - 2016-02-23 16:10 +0100
            Re: [PATCHv2 3/4] ARM: tegra: use build-in device properties with  rfkill_gpio Johannes Berg <johannes@sipsolutions.net> - 2016-02-23 21:40 +0100

csiph-web