All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	Michal Suchanek
	<hramrach-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-sunxi <linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>,
	Jonathan Corbet <corbet-T1hC0tSOHrs@public.gmane.org>,
	linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Linux Kernel Mailing List
	<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [linux-sunxi] Re: [PATCH 2/3] spidev: Add DT binding example.
Date: Sun, 26 Apr 2015 13:23:38 +0200	[thread overview]
Message-ID: <553CCABA.3090504@redhat.com> (raw)
In-Reply-To: <20150426110144.GK22845-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>

Hi,

On 26-04-15 13:01, Mark Brown wrote:
> On Sun, Apr 26, 2015 at 12:54:36PM +0200, Michal Suchanek wrote:
>> On 26 April 2015 at 12:32, Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> wrote:
>
>>> No, this is broken - nothing should ever bind to spidev as spidev.  The
>>> fact that we have a binding document at all is a bug.
>
>> And how do you get spidev if nothing binds to it?
>
>> When you boot without the binding no device is created.
>
> Describe your actual hardware in the DT then add the relevant device ID
> to spidev.

I think there is actual a use for just binding spidev as spidev,
think e.g. the spi pins on the raspberry pi.

How do you deal we suggest with such a situation ?

Regards,

Hans
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" 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: Hans de Goede <hdegoede@redhat.com>
To: broonie@kernel.org, Michal Suchanek <hramrach@gmail.com>
Cc: linux-sunxi <linux-sunxi@googlegroups.com>,
	Jonathan Corbet <corbet@lwn.net>,
	linux-spi@vger.kernel.org, linux-doc@vger.kernel.org,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [linux-sunxi] Re: [PATCH 2/3] spidev: Add DT binding example.
Date: Sun, 26 Apr 2015 13:23:38 +0200	[thread overview]
Message-ID: <553CCABA.3090504@redhat.com> (raw)
In-Reply-To: <20150426110144.GK22845@sirena.org.uk>

Hi,

On 26-04-15 13:01, Mark Brown wrote:
> On Sun, Apr 26, 2015 at 12:54:36PM +0200, Michal Suchanek wrote:
>> On 26 April 2015 at 12:32, Mark Brown <broonie@kernel.org> wrote:
>
>>> No, this is broken - nothing should ever bind to spidev as spidev.  The
>>> fact that we have a binding document at all is a bug.
>
>> And how do you get spidev if nothing binds to it?
>
>> When you boot without the binding no device is created.
>
> Describe your actual hardware in the DT then add the relevant device ID
> to spidev.

I think there is actual a use for just binding spidev as spidev,
think e.g. the spi pins on the raspberry pi.

How do you deal we suggest with such a situation ?

Regards,

Hans

  parent reply	other threads:[~2015-04-26 11:23 UTC|newest]

Thread overview: 146+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cover.1430034797.git.hramrach@gmail.com>
     [not found] ` <cover.1430034797.git.hramrach-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-03-23 14:00   ` [PATCH 1/3] ARM: dts: sunxi: A10s Olinuxino add missing SPI and simplefb Michal Suchanek
2015-04-26  8:15     ` Michal Suchanek
2015-04-26  8:39     ` Maxime Ripard
2015-04-26  8:39       ` Maxime Ripard
2015-04-26  8:39       ` Maxime Ripard
2015-04-26  9:21       ` Michal Suchanek
2015-04-26  9:21         ` Michal Suchanek
2015-04-26  9:21         ` Michal Suchanek
2015-04-26 12:52         ` Maxime Ripard
2015-04-26 12:52           ` Maxime Ripard
2015-04-26 12:52           ` Maxime Ripard
2015-03-24 10:50   ` [PATCH 2/3] spidev: Add DT binding example Michal Suchanek
     [not found]     ` <bb069283a5c2ccfbc05177f1ed41cabb1485796e.1430034797.git.hramrach-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-04-26 10:32       ` Mark Brown
2015-04-26 10:32         ` Mark Brown
     [not found]         ` <20150426103257.GJ22845-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-04-26 10:54           ` Michal Suchanek
2015-04-26 10:54             ` Michal Suchanek
     [not found]             ` <CAOMqctR235uF+7kNGsLEGfrrAOQAYmw0pWgk6t8fZHNT7XsRuw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-26 11:01               ` Mark Brown
2015-04-26 11:01                 ` Mark Brown
     [not found]                 ` <20150426110144.GK22845-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-04-26 11:23                   ` Hans de Goede [this message]
2015-04-26 11:23                     ` [linux-sunxi] " Hans de Goede
     [not found]                     ` <553CCABA.3090504-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-04-26 11:56                       ` [linux-sunxi] " Martin Sperl
2015-04-26 11:56                         ` Martin Sperl
     [not found]                         ` <12F80B18-7418-430E-94F7-5A20C133BA9A-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org>
2015-04-26 12:38                           ` Michal Suchanek
2015-04-26 12:38                             ` [linux-sunxi] " Michal Suchanek
     [not found]                             ` <CAOMqctR8MZ_r6HHEBWhgxpUsTaV=M7DfmnJ_VxTqjWu4KMBSwA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-26 12:51                               ` Maxime Ripard
2015-04-26 12:51                                 ` [linux-sunxi] " Maxime Ripard
2015-04-26 14:14                                 ` Michal Suchanek
2015-04-26 14:14                                   ` [linux-sunxi] " Michal Suchanek
     [not found]                                   ` <CAOMqctRbYoNG2c-5atBP3QvMKbEhOrAgxzK1QskA5k2TgHraFQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-26 14:33                                     ` Maxime Ripard
2015-04-26 14:33                                       ` [linux-sunxi] " Maxime Ripard
2015-04-26 14:40                                       ` Hans de Goede
2015-04-26 14:40                                         ` [linux-sunxi] " Hans de Goede
2015-04-26 15:47                                         ` Maxime Ripard
2015-04-27  6:51                                           ` Michal Suchanek
2015-04-27  6:51                                             ` [linux-sunxi] " Michal Suchanek
     [not found]                                             ` <CAOMqctRQYsphKxaZXUae0KqAE5SnYZN5M3iPPGw_PKnnuh0W1Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-27 10:05                                               ` Maxime Ripard
2015-04-27 10:05                                                 ` [linux-sunxi] " Maxime Ripard
     [not found]                                         ` <553CF8F2.6070204-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-04-27 10:10                                           ` Mark Brown
2015-04-27 10:10                                             ` [linux-sunxi] " Mark Brown
2015-04-27 14:28                                             ` Michal Suchanek
2015-04-27 15:13                                               ` Geert Uytterhoeven
     [not found]                                                 ` <CAMuHMdXev+8B6SE=PFVruSJb9yC09BT0bMLponHOM2Os6rLMZA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-27 15:44                                                   ` Michal Suchanek
2015-04-27 15:44                                                     ` [linux-sunxi] " Michal Suchanek
2015-04-26 15:33                                       ` Michal Suchanek
2015-04-26 15:33                                         ` [linux-sunxi] " Michal Suchanek
     [not found]                                         ` <CAOMqctR5NiuZ2T3wYOpqu6Ez1yk7U9VoxDZHBT6uEqftRN_Z-g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-26 15:54                                           ` Maxime Ripard
2015-04-26 15:54                                             ` [linux-sunxi] " Maxime Ripard
2015-04-26 18:53                                             ` Michal Suchanek
2015-04-26 18:53                                               ` [linux-sunxi] " Michal Suchanek
     [not found]                                               ` <CAOMqctT1sC5PWLLXr0By_-5GaJK0nKoGOxHiwpaFZtBFmWkDbQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-27 10:04                                                 ` Maxime Ripard
2015-04-27 10:04                                                   ` Maxime Ripard
2015-04-27 11:18                                                   ` Michal Suchanek
2015-04-27 11:18                                                     ` [linux-sunxi] " Michal Suchanek
2015-04-27 10:46                                                 ` Mark Brown
2015-04-27 10:46                                                   ` Mark Brown
2015-04-27  9:36                                     ` Mark Brown
2015-04-27  9:36                                       ` [linux-sunxi] " Mark Brown
     [not found]                                       ` <20150427093618.GL22845-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-04-27  9:39                                         ` Michal Suchanek
2015-04-27  9:39                                           ` [linux-sunxi] " Michal Suchanek
2015-04-27 10:59                                           ` Mark Brown
2015-04-27 10:04                                         ` Hans de Goede
2015-04-27 10:04                                           ` [linux-sunxi] " Hans de Goede
     [not found]                                           ` <553E099C.4070208-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-04-27 10:09                                             ` Hans de Goede
2015-04-27 10:09                                               ` [linux-sunxi] " Hans de Goede
2015-04-27 11:25                                             ` Mark Brown
2015-04-27 11:25                                               ` [linux-sunxi] " Mark Brown
     [not found]                                               ` <20150427112539.GR22845-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-04-27 14:14                                                 ` Martin Sperl
2015-04-27 14:14                                                   ` [linux-sunxi] " Martin Sperl
     [not found]                                                   ` <553E4447.6080202-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org>
2015-04-27 15:27                                                     ` Mark Brown
2015-04-27 15:27                                                       ` [linux-sunxi] " Mark Brown
2015-04-27 16:25                                                       ` Martin Sperl
     [not found]                                                         ` <CD7C1C3B-80B5-4627-94A4-2B83AAEC1DDB-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org>
2015-04-27 17:59                                                           ` Mark Brown
2015-04-27 17:59                                                             ` [linux-sunxi] " Mark Brown
2015-04-27 10:16                                 ` Mark Brown
2015-04-27 10:16                                   ` Mark Brown
     [not found]                                   ` <20150427101601.GN22845-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-04-27 17:30                                     ` Maxime Ripard
2015-04-27 17:30                                       ` Maxime Ripard
2015-04-27 18:07                                       ` Mark Brown
2015-04-27 18:07                                         ` Mark Brown
     [not found]                                         ` <20150427180728.GW22845-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-04-28 12:15                                           ` Eric D.
     [not found]                                             ` <cd282abf-898a-4f01-90a6-8bf2db160b8e-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-04-28 12:52                                               ` [linux-sunxi] " Michal Suchanek
2015-04-28 12:52                                                 ` Michal Suchanek
     [not found]                                                 ` <CAOMqctRTFgnVEKDAx4roMcGOeGV35Dyz7oOsOa4jC-MKr9_xXg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-28 14:03                                                   ` Eric D.
     [not found]                                                     ` <28a25eda-bba0-4a2e-9890-b3d3bef7ac7e-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-04-28 14:11                                                       ` [linux-sunxi] " Michal Suchanek
2015-04-28 14:11                                                         ` Michal Suchanek
2015-04-28 14:12                                                     ` Maxime Ripard
2015-04-28 14:35                                                       ` Michal Suchanek
2015-04-28 14:35                                                         ` [linux-sunxi] " Michal Suchanek
2015-04-28 14:16                                                   ` Mark Brown
2015-04-28 14:16                                                     ` [linux-sunxi] " Mark Brown
     [not found]                                                     ` <20150428141630.GR22845-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-04-28 14:22                                                       ` Michal Suchanek
2015-04-28 14:22                                                         ` [linux-sunxi] " Michal Suchanek
     [not found]                                                         ` <CAOMqctTNSgycy7K=ZMK9aaZGyybDT61e0Y6Fwf1jtoMbSVoNQQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-28 17:17                                                           ` Mark Brown
2015-04-28 17:17                                                             ` [linux-sunxi] " Mark Brown
     [not found]                                                             ` <20150428171738.GY22845-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-04-28 20:43                                                               ` Michal Suchanek
2015-04-28 20:43                                                                 ` [linux-sunxi] " Michal Suchanek
     [not found]                                                                 ` <CAOMqctSEAd-WeBRLabvDugN04XaqY6Y1UyO9UPLaTW9ce7t_rQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-29 17:40                                                                   ` Mark Brown
2015-04-29 17:40                                                                     ` Mark Brown
     [not found]                                                                     ` <20150429174059.GQ22845-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-04-29 17:44                                                                       ` Michal Suchanek
2015-04-29 17:44                                                                         ` [linux-sunxi] " Michal Suchanek
     [not found]                                                                         ` <CAOMqctQmpYmD0J9=o6FVjJhXBc8b+oGd7cNh5aH_fmgE3vk5+A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-29 18:06                                                                           ` Mark Brown
2015-04-29 18:06                                                                             ` [linux-sunxi] " Mark Brown
     [not found]                                                                             ` <20150429180659.GT22845-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-04-29 18:37                                                                               ` Michal Suchanek
2015-04-29 18:37                                                                                 ` [linux-sunxi] " Michal Suchanek
     [not found]                                                                                 ` <CAOMqctSMeWvG6YsCFn5=wxS2nCBbMiiCKUNJh8oFsH1VZY4H-w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-29 18:56                                                                                   ` Geert Uytterhoeven
2015-04-29 18:56                                                                                     ` [linux-sunxi] " Geert Uytterhoeven
     [not found]                                                                                     ` <CAMuHMdXtL=-JWiXNbpwBEc+oMAVpBq1ShqZhFVKZRO_x9Xq4tA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-29 19:24                                                                                       ` Michal Suchanek
2015-04-29 19:24                                                                                         ` [linux-sunxi] " Michal Suchanek
     [not found]                                                                                         ` <CAOMqctQD8+bJevuOWRNx6LFfD_QXLGeNLqmVUhfsSdPrxyv6bQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-30 14:03                                                                                           ` Eric D.
2015-04-30 19:58                                                                                   ` Mark Brown
2015-04-30 19:58                                                                                     ` [linux-sunxi] " Mark Brown
     [not found]                                                                                     ` <20150430195829.GG22845-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-05-03  9:01                                                                                       ` Martin Sperl
2015-05-03  9:01                                                                                         ` [linux-sunxi] " Martin Sperl
     [not found]                                                                                         ` <A92B1688-9A12-4462-BA02-AEEE197C0FF4-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org>
2015-05-03  9:59                                                                                           ` Mark Brown
2015-05-03  9:59                                                                                             ` [linux-sunxi] " Mark Brown
     [not found]                                                                                             ` <20150503095917.GQ22845-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-05-03 21:00                                                                                               ` Martin Sperl
2015-05-03 21:00                                                                                                 ` [linux-sunxi] " Martin Sperl
     [not found]                                                                                                 ` <A1FB2CDB-6735-46B2-BB74-80F1B2033E23-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org>
2015-05-04  8:36                                                                                                   ` Michal Suchanek
2015-05-04  8:36                                                                                                     ` Michal Suchanek
2015-05-04 10:12                                                                                                   ` Mark Brown
2015-05-04 10:12                                                                                                     ` [linux-sunxi] " Mark Brown
     [not found]                                                                                                     ` <20150504101207.GR22845-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-05-04 10:42                                                                                                       ` Michal Suchanek
2015-05-04 10:42                                                                                                         ` [linux-sunxi] " Michal Suchanek
     [not found]                                                                                                         ` <CAOMqctQq=CLsXf-RCrtJq5H9skdO1y4mV9iM2pOk69+voMiS0g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-05-04 13:17                                                                                                           ` Mark Brown
2015-05-04 13:17                                                                                                             ` [linux-sunxi] " Mark Brown
2015-05-03 10:02                                                                                           ` Geert Uytterhoeven
2015-05-03 10:02                                                                                             ` [linux-sunxi] " Geert Uytterhoeven
2015-05-12 14:27                                           ` Maxime Ripard
2015-05-12 14:27                                             ` [linux-sunxi] " Maxime Ripard
2015-05-12 14:52                                             ` Michal Suchanek
2015-05-12 14:52                                               ` [linux-sunxi] " Michal Suchanek
2015-05-12 16:06                                             ` Mark Brown
2015-05-12 16:06                                               ` [linux-sunxi] " Mark Brown
2015-04-26 11:26                   ` Michal Suchanek
2015-04-26 11:26                     ` Michal Suchanek
2015-04-25 19:21   ` [PATCH 3/3] ARM: sunxi: spi: use proper errno when message is too long Michal Suchanek
2015-04-25 19:21     ` Michal Suchanek
     [not found]     ` <4c27d44b2bdd759424ce4a4b2e8f6abf5d5a6735.1430034797.git.hramrach-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-04-26  8:42       ` Maxime Ripard
2015-04-26  8:42         ` Maxime Ripard
2015-04-26  8:42         ` Maxime Ripard
2015-04-26 11:42         ` Michal Suchanek
2015-04-26 11:42           ` Michal Suchanek
2015-04-26 11:42           ` Michal Suchanek
     [not found]           ` <CAOMqctS3oXd5Wg7vu6xLtA6gDKgY0c9rHER48Grt7tnw53Zo1w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-26 12:54             ` Maxime Ripard
2015-04-26 12:54               ` Maxime Ripard
2015-04-26 12:54               ` Maxime Ripard

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=553CCABA.3090504@redhat.com \
    --to=hdegoede-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=corbet-T1hC0tSOHrs@public.gmane.org \
    --cc=hramrach-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@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 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.