HI Marcel
I have just removed it from my series
Sorry for the extra noise
--
Ricardo Ribalda
HI Marcel
I have just removed it from my series
Sorry for the extra noise
--
Ricardo Ribalda
Hi Andy,
I cannot use strstrip() because the buffer is const. But I have
replaced strncpy with strscpy.
Thanks!
--
Ricardo Ribalda
Hi Andy,
I cannot use strstrip() because the buffer is const. But I have
replaced strncpy with strscpy.
Thanks!
--
Ricardo Ribalda
Kroah-Hartman
Signed-off-by: Ricardo Ribalda Delgado
---
include/linux/mod_devicetable.h | 10 ++
include/linux/serdev.h | 2 ++
2 files changed, 12 insertions(+)
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
index 7d361be2e24f..1877a4e43f1b 100644
Kroah-Hartman
Signed-off-by: Ricardo Ribalda Delgado
---
include/linux/mod_devicetable.h | 10 ++
include/linux/serdev.h | 2 ++
2 files changed, 12 insertions(+)
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
index 7d361be2e24f..1877a4e43f1b 100644
Describe which hardware is supported by the current driver.
Cc: Marcel Holtmann
Cc: Johan Hedberg
Cc: Rob Herring
Cc: Johan Hovold
Cc: linux-blueto...@vger.kernel.org
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/bluetooth/hci_ll.c | 18 ++
1 file changed, 18 insertions
Describe which hardware is supported by the current driver.
Cc: Marcel Holtmann
Cc: Johan Hedberg
Cc: Rob Herring
Cc: Johan Hovold
Cc: Andy Shevchenko
Cc: linux-blueto...@vger.kernel.org
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/bluetooth/hci_nokia.c | 6 ++
1 file changed, 6
Describe which hardware is supported by the current driver.
Cc: Marcel Holtmann
Cc: Johan Hedberg
Cc: Rob Herring
Cc: Johan Hovold
Cc: linux-blueto...@vger.kernel.org
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/bluetooth/hci_ll.c | 18 ++
1 file changed, 18 insertions
Describe which hardware is supported by the current driver.
Cc: Marcel Holtmann
Cc: Johan Hedberg
Cc: Rob Herring
Cc: Johan Hovold
Cc: Andy Shevchenko
Cc: linux-blueto...@vger.kernel.org
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/bluetooth/hci_nokia.c | 6 ++
1 file changed, 6
Name of the driver to use with this device, or an alias for that name,
or an alias for the part.
Required for hardware that is neither an of_node nor part of the ACPI
table.
Cc: Rob Herring
Cc: Johan Hovold
Signed-off-by: Ricardo Ribalda Delgado
---
include/linux/serdev.h | 1 +
1 file
Name of the driver to use with this device, or an alias for that name,
or an alias for the part.
Required for hardware that is neither an of_node nor part of the ACPI
table.
Cc: Rob Herring
Cc: Johan Hovold
Signed-off-by: Ricardo Ribalda Delgado
---
include/linux/serdev.h | 1 +
1 file
Match devices to drivers by their modalias when the ACPI and the OF
match fails.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/core.c | 23 ++-
1 file changed, 22 insertions(+), 1
Match devices to drivers by their modalias when the ACPI and the OF
match fails.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/core.c | 23 ++-
1 file changed, 22 insertions(+), 1
Ribalda Delgado
---
drivers/tty/serdev/core.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/tty/serdev/core.c b/drivers/tty/serdev/core.c
index 5df01d8cf307..b9bb0c0ee319 100644
--- a/drivers/tty/serdev/core.c
+++ b/drivers/tty/serdev/core.c
@@ -23,12 +23,17
Export serdev table to the module header, allowing module autoload via
udev/modprobe.
Cc: Marcel Holtmann
Cc: Johan Hedberg
Cc: Rob Herring
Cc: Johan Hovold
Cc: linux-blueto...@vger.kernel.org
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/bluetooth/hci_bcm.c | 2 ++
1 file changed, 2
Ribalda Delgado
---
drivers/tty/serdev/core.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/tty/serdev/core.c b/drivers/tty/serdev/core.c
index 5df01d8cf307..b9bb0c0ee319 100644
--- a/drivers/tty/serdev/core.c
+++ b/drivers/tty/serdev/core.c
@@ -23,12 +23,17
Export serdev table to the module header, allowing module autoload via
udev/modprobe.
Cc: Marcel Holtmann
Cc: Johan Hedberg
Cc: Rob Herring
Cc: Johan Hovold
Cc: linux-blueto...@vger.kernel.org
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/bluetooth/hci_bcm.c | 2 ++
1 file changed, 2
Export serdev table to the module header, allowing module autoload via
udev/modprobe.
Cc: Lee Jones
Cc: Rob Herring
Cc: Johan Hovold
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/mfd/rave-sp.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/mfd/rave-sp.c b/drivers/mfd
Create the sysfs uevent for modalias devices. This is required by newer
versions of udev for autoload modules.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/core.c | 7 ++-
1 file changed, 6
Export serdev table to the module header, allowing module autoload via
udev/modprobe.
Cc: Lee Jones
Cc: Rob Herring
Cc: Johan Hovold
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/mfd/rave-sp.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/mfd/rave-sp.c b/drivers/mfd
Create the sysfs uevent for modalias devices. This is required by newer
versions of udev for autoload modules.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/core.c | 7 ++-
1 file changed, 6
/modules.alias | grep serdev
alias serdev:ttydev_serdev serdev_ttydev
alias serdev:ttydev serdev_ttydev
Cc: Greg Kroah-Hartman
Cc: Philippe Ombredanne
Cc: Rob Herring
Cc: Johan Hovold
Signed-off-by: Ricardo Ribalda Delgado
---
scripts/mod/devicetable-offsets.c | 3 +++
scripts/mod/file2alias.c
Export serdev table to the module header, allowing module autoload via
udev/modprobe.
Cc: Marcel Holtmann
Cc: Johan Hedberg
Cc: Rob Herring
Cc: Johan Hovold
Cc: linux-blueto...@vger.kernel.org
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/bluetooth/hci_ll.c | 1 +
1 file changed, 1
/modules.alias | grep serdev
alias serdev:ttydev_serdev serdev_ttydev
alias serdev:ttydev serdev_ttydev
Cc: Greg Kroah-Hartman
Cc: Philippe Ombredanne
Cc: Rob Herring
Cc: Johan Hovold
Signed-off-by: Ricardo Ribalda Delgado
---
scripts/mod/devicetable-offsets.c | 3 +++
scripts/mod/file2alias.c
Export serdev table to the module header, allowing module autoload via
udev/modprobe.
Cc: Marcel Holtmann
Cc: Johan Hedberg
Cc: Rob Herring
Cc: Johan Hovold
Cc: linux-blueto...@vger.kernel.org
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/bluetooth/hci_ll.c | 1 +
1 file changed, 1
This allows us to treat differently this controllers, by creating a tty
compatibility layer.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/serdev-ttyport.c | 1 +
include/linux/serdev.h | 1
Shevchenko
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/core.c | 49 ++-
1 file changed, 38 insertions(+), 11 deletions(-)
diff --git a/drivers/tty/serdev/core.c b/drivers/tty/serdev/core.c
index 584cb994213a..587d2796b3d5 100644
--- a/drivers/tty
Export serdev table to the module header, allowing module autoload via
udev/modprobe.
Cc: Lino Sanfilippo
Cc: David S. Miller
Cc: Stefan Wahren
Cc: Rob Herring
Cc: Johan Hovold
Cc: net...@vger.kernel.org
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/net/ethernet/qualcomm/qca_uart.c
This allows us to treat differently this controllers, by creating a tty
compatibility layer.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/serdev-ttyport.c | 1 +
include/linux/serdev.h | 1
Shevchenko
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/core.c | 49 ++-
1 file changed, 38 insertions(+), 11 deletions(-)
diff --git a/drivers/tty/serdev/core.c b/drivers/tty/serdev/core.c
index 584cb994213a..587d2796b3d5 100644
--- a/drivers/tty
Export serdev table to the module header, allowing module autoload via
udev/modprobe.
Cc: Lino Sanfilippo
Cc: David S. Miller
Cc: Stefan Wahren
Cc: Rob Herring
Cc: Johan Hovold
Cc: net...@vger.kernel.org
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/net/ethernet/qualcomm/qca_uart.c
Standard TTY port that can be loaded/unloaded via serdev sysfs. This
serdev driver can only be used by serdev controllers that are compatible
with ttyport.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Cc: Andy Shevchenko
Signed-off-by: Ricardo Ribalda Delgado
This way we can reuse this structure in other modules.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/serdev-ttyport.c | 9 +
drivers/tty/serdev/serport.h| 16
2 files
Standard TTY port that can be loaded/unloaded via serdev sysfs. This
serdev driver can only be used by serdev controllers that are compatible
with ttyport.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Cc: Andy Shevchenko
Signed-off-by: Ricardo Ribalda Delgado
This way we can reuse this structure in other modules.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/serdev-ttyport.c | 9 +
drivers/tty/serdev/serport.h| 16
2 files
Rave-sp behaves differently based on the device variant.
Cc: Lee Jones
Cc: Rob Herring
Cc: Johan Hovold
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/mfd/rave-sp.c | 30 +++---
1 file changed, 23 insertions(+), 7 deletions(-)
diff --git a/drivers/mfd/rave-sp.c b
Rave-sp behaves differently based on the device variant.
Cc: Lee Jones
Cc: Rob Herring
Cc: Johan Hovold
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/mfd/rave-sp.c | 30 +++---
1 file changed, 23 insertions(+), 7 deletions(-)
diff --git a/drivers/mfd/rave-sp.c b
Support adding probed devices by "platform" drivers.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/core.c | 10 +-
include/linux/serdev.h| 2 ++
2 files changed, 7 insertions(+), 5
Support adding probed devices by "platform" drivers.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/core.c | 10 +-
include/linux/serdev.h| 2 ++
2 files changed, 7 insertions(+), 5
Export serdev table to the module header, allowing module autoload via
udev/modprobe.
Cc: Marcel Holtmann
Cc: Johan Hedberg
Cc: Rob Herring
Cc: Johan Hovold
Cc: linux-blueto...@vger.kernel.org
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/bluetooth/hci_nokia.c | 2 ++
1 file changed, 2
Drivers that make use of the driver_data field require to transverse the
id_table. There is no reason to have one implementation per driver.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/core.c | 12
Export serdev table to the module header, allowing module autoload via
udev/modprobe.
Cc: Marcel Holtmann
Cc: Johan Hedberg
Cc: Rob Herring
Cc: Johan Hovold
Cc: linux-blueto...@vger.kernel.org
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/bluetooth/hci_nokia.c | 2 ++
1 file changed, 2
Drivers that make use of the driver_data field require to transverse the
id_table. There is no reason to have one implementation per driver.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/core.c | 12
Allow access serdev controllers by other drivers in a safe way.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/core.c | 23 +++
include/linux/serdev.h| 2 ++
2 files changed, 25
IDR functions support associating an ID with a pointer. This is required
if we need to access the controllers based on their ID.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/core.c | 6 +++---
1 file
Allow access serdev controllers by other drivers in a safe way.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/core.c | 23 +++
include/linux/serdev.h| 2 ++
2 files changed, 25
IDR functions support associating an ID with a pointer. This is required
if we need to access the controllers based on their ID.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/core.c | 6 +++---
1 file
022:~#
echo serial0-0 > /sys/bus/serial/devices/serial0/delete_device
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Cc: Andy Shevchenko
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/core.c | 69 +++
ew_device
Changelog v2:
New functionality:
- New functions: get/put controller add_probed_device
- Rave_sp: Match all the variants
Changes proposed by Andy Shevchenko
- Avoid strchr
- Terminators with no comma
[1] https://www.kernel.org/doc/Documentation/i2c/instantiating-devices
Ricardo Ribald
Describe which hardware is supported by the current driver.
Cc: Marcel Holtmann
Cc: Johan Hedberg
Cc: Rob Herring
Cc: Johan Hovold
Cc: linux-blueto...@vger.kernel.org
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/bluetooth/hci_bcm.c | 6 ++
1 file changed, 6 insertions(+)
diff
022:~#
echo serial0-0 > /sys/bus/serial/devices/serial0/delete_device
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Cc: Andy Shevchenko
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/core.c | 69 +++
ew_device
Changelog v2:
New functionality:
- New functions: get/put controller add_probed_device
- Rave_sp: Match all the variants
Changes proposed by Andy Shevchenko
- Avoid strchr
- Terminators with no comma
[1] https://www.kernel.org/doc/Documentation/i2c/instantiating-devices
Ricardo Ribald
Describe which hardware is supported by the current driver.
Cc: Marcel Holtmann
Cc: Johan Hedberg
Cc: Rob Herring
Cc: Johan Hovold
Cc: linux-blueto...@vger.kernel.org
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/bluetooth/hci_bcm.c | 6 ++
1 file changed, 6 insertions(+)
diff
On Wed, Jun 6, 2018 at 11:55 AM Andy Shevchenko
wrote:
> >
> > https://github.com/ribalda/linux/tree/serdev2
>
> n _is_ default. So, just remove a line.
>
Done. Thanks!
> --
> With Best Regards,
> Andy Shevchenko
--
Ricardo Ribalda
On Wed, Jun 6, 2018 at 11:55 AM Andy Shevchenko
wrote:
> >
> > https://github.com/ribalda/linux/tree/serdev2
>
> n _is_ default. So, just remove a line.
>
Done. Thanks!
> --
> With Best Regards,
> Andy Shevchenko
--
Ricardo Ribalda
Hi Andy,
On Wed, Jun 6, 2018 at 8:58 AM Ricardo Ribalda Delgado
wrote:
>
> Hi Andy
> On Tue, Jun 5, 2018 at 3:42 PM Andy Shevchenko
> wrote:
> >
> > On Tue, May 29, 2018 at 4:10 PM, Ricardo Ribalda Delgado
> > wrote:
> > > Standard TTY port that
Hi Andy,
On Wed, Jun 6, 2018 at 8:58 AM Ricardo Ribalda Delgado
wrote:
>
> Hi Andy
> On Tue, Jun 5, 2018 at 3:42 PM Andy Shevchenko
> wrote:
> >
> > On Tue, May 29, 2018 at 4:10 PM, Ricardo Ribalda Delgado
> > wrote:
> > > Standard TTY port that
Hi Andy,
On Tue, Jun 5, 2018 at 3:44 PM Andy Shevchenko
wrote:
>
> On Tue, May 29, 2018 at 4:10 PM, Ricardo Ribalda Delgado
> wrote:
> > If a serdev ttyport controller does not have an acpi nor an of child,
> > create a ttydev as a child of that controller.
> >
> &
Hi Andy,
On Tue, Jun 5, 2018 at 3:44 PM Andy Shevchenko
wrote:
>
> On Tue, May 29, 2018 at 4:10 PM, Ricardo Ribalda Delgado
> wrote:
> > If a serdev ttyport controller does not have an acpi nor an of child,
> > create a ttydev as a child of that controller.
> >
> &
Hi Andy
On Tue, Jun 5, 2018 at 3:42 PM Andy Shevchenko
wrote:
>
> On Tue, May 29, 2018 at 4:10 PM, Ricardo Ribalda Delgado
> wrote:
> > Standard TTY port that can be loaded/unloaded via serdev sysfs. This
> > serdev driver can only be used by serdev controller
Hi Andy
On Tue, Jun 5, 2018 at 3:42 PM Andy Shevchenko
wrote:
>
> On Tue, May 29, 2018 at 4:10 PM, Ricardo Ribalda Delgado
> wrote:
> > Standard TTY port that can be loaded/unloaded via serdev sysfs. This
> > serdev driver can only be used by serdev controller
Hi Andy,
On Tue, May 29, 2018 at 10:35 PM Andy Shevchenko
wrote:
> On Tue, May 29, 2018 at 4:10 PM, Ricardo Ribalda Delgado
> wrote:
> > Allow creating and deleting devices via sysfs. Devices created will be
> > matched to serdev drivers via modalias (the string pr
Hi Andy,
On Tue, May 29, 2018 at 10:35 PM Andy Shevchenko
wrote:
> On Tue, May 29, 2018 at 4:10 PM, Ricardo Ribalda Delgado
> wrote:
> > Allow creating and deleting devices via sysfs. Devices created will be
> > matched to serdev drivers via modalias (the string pr
Using the right address for Wolfram
On Tue, May 29, 2018 at 6:30 PM Ricardo Ribalda Delgado <
ricardo.riba...@gmail.com> wrote:
> Hi Rob
> On Tue, May 29, 2018 at 5:38 PM Rob Herring wrote:
> > On Tue, May 29, 2018 at 8:10 AM, Ricardo Ribalda Delgado
> > wro
Using the right address for Wolfram
On Tue, May 29, 2018 at 6:30 PM Ricardo Ribalda Delgado <
ricardo.riba...@gmail.com> wrote:
> Hi Rob
> On Tue, May 29, 2018 at 5:38 PM Rob Herring wrote:
> > On Tue, May 29, 2018 at 8:10 AM, Ricardo Ribalda Delgado
> > wro
Hi Rob
On Tue, May 29, 2018 at 5:38 PM Rob Herring wrote:
> On Tue, May 29, 2018 at 8:10 AM, Ricardo Ribalda Delgado
> wrote:
> > Allow creating and deleting devices via sysfs. Devices created will be
> > matched to serdev drivers via modalias (the string provided by the use
Hi Rob
On Tue, May 29, 2018 at 5:38 PM Rob Herring wrote:
> On Tue, May 29, 2018 at 8:10 AM, Ricardo Ribalda Delgado
> wrote:
> > Allow creating and deleting devices via sysfs. Devices created will be
> > matched to serdev drivers via modalias (the string provided by the use
Describe which hardware is supported by the current driver.
Cc: Marcel Holtmann
Cc: Johan Hedberg
Cc: Rob Herring
Cc: Johan Hovold
Cc: linux-blueto...@vger.kernel.org
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/bluetooth/hci_nokia.c | 6 ++
1 file changed, 6 insertions(+)
diff
Describe which hardware is supported by the current driver.
Cc: Marcel Holtmann
Cc: Johan Hedberg
Cc: Rob Herring
Cc: Johan Hovold
Cc: linux-blueto...@vger.kernel.org
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/bluetooth/hci_nokia.c | 6 ++
1 file changed, 6 insertions(+)
diff
Name of the driver to use with this device, or an alias for that name,
or an alias for the part.
Required for hardware that is neither an of_node nor part of the ACPI
table.
Cc: Rob Herring
Cc: Johan Hovold
Signed-off-by: Ricardo Ribalda Delgado
---
include/linux/serdev.h | 1 +
1 file
Name of the driver to use with this device, or an alias for that name,
or an alias for the part.
Required for hardware that is neither an of_node nor part of the ACPI
table.
Cc: Rob Herring
Cc: Johan Hovold
Signed-off-by: Ricardo Ribalda Delgado
---
include/linux/serdev.h | 1 +
1 file
022:~#
echo serial0-0 > /sys/bus/serial/devices/serial0/delete_device
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/core.c | 60 +++
1 file changed, 60 inse
022:~#
echo serial0-0 > /sys/bus/serial/devices/serial0/delete_device
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/core.c | 60 +++
1 file changed, 60 inse
Match devices to drivers by their modalias when the ACPI and the OF
match fails.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/core.c | 23 ++-
1 file changed, 22 insertions(+), 1
Match devices to drivers by their modalias when the ACPI and the OF
match fails.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/core.c | 23 ++-
1 file changed, 22 insertions(+), 1
Kroah-Hartman
Signed-off-by: Ricardo Ribalda Delgado
---
include/linux/mod_devicetable.h | 10 ++
include/linux/serdev.h | 2 ++
2 files changed, 12 insertions(+)
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
index 7d361be2e24f..1877a4e43f1b 100644
Kroah-Hartman
Signed-off-by: Ricardo Ribalda Delgado
---
include/linux/mod_devicetable.h | 10 ++
include/linux/serdev.h | 2 ++
2 files changed, 12 insertions(+)
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
index 7d361be2e24f..1877a4e43f1b 100644
Ribalda Delgado
---
drivers/tty/serdev/core.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/tty/serdev/core.c b/drivers/tty/serdev/core.c
index e695fa649a6d..a9c935f68076 100644
--- a/drivers/tty/serdev/core.c
+++ b/drivers/tty/serdev/core.c
@@ -23,12 +23,17
Ribalda Delgado
---
drivers/tty/serdev/core.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/tty/serdev/core.c b/drivers/tty/serdev/core.c
index e695fa649a6d..a9c935f68076 100644
--- a/drivers/tty/serdev/core.c
+++ b/drivers/tty/serdev/core.c
@@ -23,12 +23,17
Export serdev table to the module header, allowing module autoload via
udev/modprobe.
Cc: Marcel Holtmann
Cc: Johan Hedberg
Cc: Rob Herring
Cc: Johan Hovold
Cc: linux-blueto...@vger.kernel.org
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/bluetooth/hci_nokia.c | 2 ++
1 file changed, 2
Describe which hardware is supported by the current driver.
Cc: Marcel Holtmann
Cc: Johan Hedberg
Cc: Rob Herring
Cc: Johan Hovold
Cc: linux-blueto...@vger.kernel.org
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/bluetooth/hci_ll.c | 17 +
1 file changed, 17 insertions
Export serdev table to the module header, allowing module autoload via
udev/modprobe.
Cc: Lee Jones
Cc: Rob Herring
Cc: Johan Hovold
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/mfd/rave-sp.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/mfd/rave-sp.c b/drivers/mfd
Export serdev table to the module header, allowing module autoload via
udev/modprobe.
Cc: Marcel Holtmann
Cc: Johan Hedberg
Cc: Rob Herring
Cc: Johan Hovold
Cc: linux-blueto...@vger.kernel.org
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/bluetooth/hci_nokia.c | 2 ++
1 file changed, 2
Describe which hardware is supported by the current driver.
Cc: Marcel Holtmann
Cc: Johan Hedberg
Cc: Rob Herring
Cc: Johan Hovold
Cc: linux-blueto...@vger.kernel.org
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/bluetooth/hci_ll.c | 17 +
1 file changed, 17 insertions
Export serdev table to the module header, allowing module autoload via
udev/modprobe.
Cc: Lee Jones
Cc: Rob Herring
Cc: Johan Hovold
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/mfd/rave-sp.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/mfd/rave-sp.c b/drivers/mfd
Export serdev table to the module header, allowing module autoload via
udev/modprobe.
Cc: Marcel Holtmann
Cc: Johan Hedberg
Cc: Rob Herring
Cc: Johan Hovold
Cc: linux-blueto...@vger.kernel.org
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/bluetooth/hci_ll.c | 2 ++
1 file changed, 2
Export serdev table to the module header, allowing module autoload via
udev/modprobe.
Cc: Marcel Holtmann
Cc: Johan Hedberg
Cc: Rob Herring
Cc: Johan Hovold
Cc: linux-blueto...@vger.kernel.org
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/bluetooth/hci_ll.c | 2 ++
1 file changed, 2
/modules.alias | grep serdev
alias serdev:ttydev_serdev serdev_ttydev
alias serdev:ttydev serdev_ttydev
Cc: Greg Kroah-Hartman
Cc: Philippe Ombredanne
Cc: Rob Herring
Cc: Johan Hovold
Signed-off-by: Ricardo Ribalda Delgado
---
scripts/mod/devicetable-offsets.c | 3 +++
scripts/mod/file2alias.c
/modules.alias | grep serdev
alias serdev:ttydev_serdev serdev_ttydev
alias serdev:ttydev serdev_ttydev
Cc: Greg Kroah-Hartman
Cc: Philippe Ombredanne
Cc: Rob Herring
Cc: Johan Hovold
Signed-off-by: Ricardo Ribalda Delgado
---
scripts/mod/devicetable-offsets.c | 3 +++
scripts/mod/file2alias.c
This way we can reuse this structure in other modules.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/serdev-ttyport.c | 9 +
drivers/tty/serdev/serport.h| 16
2 files
This way we can reuse this structure in other modules.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/serdev-ttyport.c | 9 +
drivers/tty/serdev/serport.h| 16
2 files
Standard TTY port that can be loaded/unloaded via serdev sysfs. This
serdev driver can only be used by serdev controllers that are compatible
with ttyport.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev
This allows us to treat differently this controllers, by creating a tty
compatibility layer.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/serdev-ttyport.c | 1 +
include/linux/serdev.h | 1
This allows us to treat differently this controllers, by creating a tty
compatibility layer.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/serdev-ttyport.c | 1 +
include/linux/serdev.h | 1
Standard TTY port that can be loaded/unloaded via serdev sysfs. This
serdev driver can only be used by serdev controllers that are compatible
with ttyport.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev
-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/core.c | 36
1 file changed, 32 insertions(+), 4 deletions(-)
diff --git a/drivers/tty/serdev/core.c b/drivers/tty/serdev/core.c
index 9414700e6442..34295dacfb84 100644
--- a/drivers/tty/serdev/core.c
+++ b/drivers
Create the sysfs uevent for modalias devices. This is required by newer
versions of udev for autoload modules.
Cc: Rob Herring
Cc: Johan Hovold
Cc: Greg Kroah-Hartman
Cc: Jiri Slaby
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/core.c | 7 ++-
1 file changed, 6
Export serdev table to the module header, allowing module autoload via
udev/modprobe.
Cc: Marcel Holtmann
Cc: Johan Hedberg
Cc: Rob Herring
Cc: Johan Hovold
Cc: linux-blueto...@vger.kernel.org
Signed-off-by: Ricardo Ribalda Delgado
---
drivers/bluetooth/hci_bcm.c | 2 ++
1 file changed, 2
-by: Ricardo Ribalda Delgado
---
drivers/tty/serdev/core.c | 36
1 file changed, 32 insertions(+), 4 deletions(-)
diff --git a/drivers/tty/serdev/core.c b/drivers/tty/serdev/core.c
index 9414700e6442..34295dacfb84 100644
--- a/drivers/tty/serdev/core.c
+++ b/drivers
401 - 500 of 2028 matches
Mail list logo