Re: [PATCH v2 1/3] spi: Add driver_override SPI device attribute

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 20, 2018 at 9:18 PM Trent Piepho <tpiepho@xxxxxxxxxx> wrote:
> This attribute works the same was as the identically named attribute
> for PCI, AMBA, and platform devices.  For reference, see:
>
> commit 3cf385713460 ("ARM: 8256/1: driver coamba: add device binding
> path 'driver_override'")
> commit 3d713e0e382e ("driver core: platform: add device binding path
> 'driver_override'")
> commit 782a985d7af2 ("PCI: Introduce new device binding path using
> pci_dev.driver_override")
>
> If the name of a driver is written to this attribute, then the device
> will bind to the named driver and only the named driver.
>
> The device will bind to the driver even if the driver does not list the
> device in its id table.  This behavior is different than the driver's
> bind attribute, which only allows binding to devices that are listed as
> supported by the driver.
>
> It can be used to bind a generic driver, like spidev, to a device.
>
> Signed-off-by: Trent Piepho <tpiepho@xxxxxxxxxx>

Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux