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


Groups > linux.kernel > #1233917

Re: gpios search behaviour for gpio from _DSD

From Mika Westerberg <mika.westerberg@linux.intel.com>
Newsgroups linux.kernel
Subject Re: gpios search behaviour for gpio from _DSD
Date 2015-09-28 09:40 +0200
Message-ID <qdBcu-7x9-13@gated-at.bofh.it> (permalink)
References <qc98D-4Fk-21@gated-at.bofh.it> <qcao2-6mO-5@gated-at.bofh.it> <qd3ua-YZ-23@gated-at.bofh.it>
Organization Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo

Show all headers | View raw


On Sat, Sep 26, 2015 at 09:30:59PM +0200, Olliver Schinagl wrote:
> What i ment is, without strcmp, the loop would test for:
> 
> reset-gpio and then reset-gpios (and then gpio and gpios)
> 
> So why the strcmp at all, Why only reset-gpios? Will the _DSD or acpi break
> and if we probe for reset-gpio (first, instead of reset-gpios)? I'm asking
> because i'm trying some work on gpio lib and this section is getting
> reworked too. While doing that I want to remove the strcmp. Hence, the
> question if things break on the ACPI side (I'm mostly failiar with OF.

I think it is there because we really want to force "-gpios" format for
named gpios (not "-gpio"). DT does not do it because they have lots of
existing "-gpio" users whereas in ACPI there is no such burden.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

gpios search behaviour for gpio from _DSD Olliver Schinagl <oliver+list@schinagl.nl> - 2015-09-24 09:30 +0200
  Re: gpios search behaviour for gpio from _DSD Mika Westerberg <mika.westerberg@linux.intel.com> - 2015-09-24 10:50 +0200
    Re: gpios search behaviour for gpio from _DSD Olliver Schinagl <oliver+list@schinagl.nl> - 2015-09-26 21:40 +0200
      Re: gpios search behaviour for gpio from _DSD Mika Westerberg <mika.westerberg@linux.intel.com> - 2015-09-28 09:40 +0200

csiph-web