linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Martin Sperl <kernel-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org>
Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] spi: spidev: Warn loudly if instantiated from DT as "spidev"
Date: Thu, 23 Apr 2015 20:32:34 +0100	[thread overview]
Message-ID: <20150423193234.GD22845@sirena.org.uk> (raw)
In-Reply-To: <81BCB930-E90B-4978-9593-7997B64F65CE-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 1770 bytes --]

On Thu, Apr 23, 2015 at 09:16:54PM +0200, Martin Sperl wrote:
> > On 23.04.2015, at 20:13, Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> wrote:

> > As *repeatedly* mentioned before please stop taking things off-list.  I
> > really shouldn't need to remind you of this quite so often, I'm very
> > tempted to start ignoring such messages.

> This was NOT my intention and I am really sorry for that.

Please also use the normal list, you're using the sourceforge list which
hasn't been in use for quite some time now.

> >> I agree, that we need a long-term solution, but the way it is right now
> >> in for-next/for-linux people think something is broken and will call it
> >> a regression or maybe an API change (because of a change in behaviour on
> >> the device-tree).

> > The entire point of this change is to make it look like things are
> > broken because they are, in fact, broken.  We continue to support these
> > systems, we just complain loudly about them.

> Essentially you say: let us produce an error-message for some
> situation where there is NO way around making it work without
> an error message.

Sure there is, add a device ID to spidev and use that in the DT as Geert
said.

> Also note that the "beagle-bone people” still provide device-trees that
> explicitly set up compatiblity=“spidev” - I just did a quick check:
> /boot/dtbs/3.19.3-bone4/omap3-ha-lcd.dtb contains spidev.

I suspect that's just some random DT they inherited from mainline rather
than something production, and honestly the fact that people keep on
doing this is exactly the reason we now complain loudly.  It's tedious
having to go through the "no, your DT should describe the hardware"
routine again and again.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

      parent reply	other threads:[~2015-04-23 19:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-27 23:42 [PATCH] spi: spidev: Warn loudly if instantiated from DT as "spidev" Mark Brown
     [not found] ` <1427499742-26916-1-git-send-email-broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2015-04-23  7:21   ` Martin Sperl
     [not found]     ` <7C2BEBF5-5169-4804-A7B8-DBCE2E9E8C70-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org>
2015-04-23  7:42       ` Geert Uytterhoeven
     [not found]         ` <CAMuHMdUv0z=VOec+JbbRBeM9fg2TvQgRX4GefVbOZDoQoOECQQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-23  7:45           ` Geert Uytterhoeven
     [not found]             ` <CAMuHMdW5hgB7vFmMc6TRqJ2wwWZ0=S+OKdQQoucXakoSnVixtw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-23 10:36               ` Mark Brown
     [not found]                 ` <20150423103652.GT22845-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-04-23 13:21                   ` Martin Sperl
     [not found]                     ` <5538F1D6.7020503-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org>
2015-04-23 13:36                       ` Mark Brown
     [not found]                         ` <5538F95A.20203@martin.sperl.org>
     [not found]                           ` <20150423181317.GZ22845@sirena.org.uk>
     [not found]                             ` <20150423181317.GZ22845-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-04-23 19:23                               ` Martin Sperl
     [not found]                             ` <81BCB930-E90B-4978-9593-7997B64F65CE@martin.sperl.org>
     [not found]                               ` <81BCB930-E90B-4978-9593-7997B64F65CE-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org>
2015-04-23 19:32                                 ` Mark Brown [this message]

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=20150423193234.GD22845@sirena.org.uk \
    --to=broonie-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=kernel-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org \
    --cc=linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).