Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1612814
| From | Ingo Molnar <mingo@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v1] x86/platform/intel-mid: Enable bluetooth on Intel Edison |
| Date | 2017-03-30 12:00 +0200 |
| Message-ID | <tqF22-4or-19@gated-at.bofh.it> (permalink) |
| References | <tqmLL-87i-1@gated-at.bofh.it> <tqCGR-2MS-9@gated-at.bofh.it> <tqESm-4kQ-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
* Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote:
> On Thu, 2017-03-30 at 09:23 +0200, Ingo Molnar wrote:
> > * Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote:
> >
> > > Intel Edison has Wi-Fi + BT module attached and, since it's an SFI-
> > > enumerated
> > > platform, needs a platform data. Here we add bits to enable
> > > bluetooth device.
>
> > > +
> > > +static struct gpiod_lookup_table tng_bt_sfi_gpio_table = {
> > > + .dev_id = "hci_bcm",
> > > + .table = {
> > > + GPIO_LOOKUP("0000:00:0c.0", -1, "device-wakeup",
> > > GPIO_ACTIVE_HIGH),
> > > + GPIO_LOOKUP("0000:00:0c.0", -1, "shutdown",
> > > GPIO_ACTIVE_HIGH),
> > > + GPIO_LOOKUP("0000:00:0c.0", -1, "host-wakeup",
> > > GPIO_ACTIVE_HIGH),
> >
> > Minor nit: just out of general principle (because the rest of the code
> > looks so
> > nice) I'd properly tabulate the last column as well - something like:
> >
> > GPIO_LOOKUP("0000:00:0c.0", -1, "device-wakeup",
> > GPIO_ACTIVE_HIGH),
> > GPIO_LOOKUP("0000:00:0c.0", -1,
> > "shutdown", GPIO_ACTIVE_HIGH),
> > GPIO_LOOKUP("0000:00:0c.0", -1, "host-
> > wakeup", GPIO_ACTIVE_HIGH),
> >
> > Formatted that way the reviewer's eye can skip over those values in
> > 100
> > milliseconds, determining that all 3 values are GPIO_ACTIVE_HIGH.
>
> Thanks for a hint.
> Should I resend it?
Yeah, please send a v2.
Thanks!
Ingo
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v1] x86/platform/intel-mid: Enable bluetooth on Intel Edison Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2017-03-29 16:30 +0200
Re: [PATCH v1] x86/platform/intel-mid: Enable bluetooth on Intel Edison Ingo Molnar <mingo@kernel.org> - 2017-03-30 09:30 +0200
Re: [PATCH v1] x86/platform/intel-mid: Enable bluetooth on Intel Edison Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2017-03-30 11:50 +0200
Re: [PATCH v1] x86/platform/intel-mid: Enable bluetooth on Intel Edison Ingo Molnar <mingo@kernel.org> - 2017-03-30 12:00 +0200
Re: [PATCH v1] x86/platform/intel-mid: Enable bluetooth on Intel Edison Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-03-30 12:50 +0200
csiph-web