05 Oct, 2020

1 commit

  • The fops field in the w1_family struct is never modified. Make it const
    to indicate that. Constifying the pointer makes it possible for drivers
    to declare static w1_family_ops structs const, which in turn will allow
    the compiler to put it in read-only memory.

    Reviewed-by: Sebastian Reichel
    Signed-off-by: Rikard Falkeborn
    Link: https://lore.kernel.org/r/20201004193202.4044-2-rikard.falkeborn@gmail.com
    Signed-off-by: Greg Kroah-Hartman

    Rikard Falkeborn
     

14 Nov, 2019

1 commit

  • This patch fixes - warning: Function parameter or member 'of_match_table'
    not described in 'w1_family'

    Signed-off-by: Dhanuka Warusadura
    Link: https://lore.kernel.org/r/20191028110744.6523-1-csx@disroot.org
    Signed-off-by: Greg Kroah-Hartman

    Dhanuka Warusadura
     

04 Sep, 2019

1 commit

  • Starting with SGI Origin machines nearly every new SGI ASIC contains
    an 1-Wire master. They are used for attaching One-Wire prom devices,
    which contain information about part numbers, revision numbers,
    serial number etc. and MAC addresses for ethernet interfaces.
    This patch adds a master driver to support this IP block.
    It also adds an extra field dev_id to struct w1_bus_master, which
    could be in used in slave drivers for creating unique device names.

    Signed-off-by: Thomas Bogendoerfer
    Link: https://lore.kernel.org/r/20190831082623.15627-2-tbogendoerfer@suse.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Bogendoerfer
     

31 May, 2019

1 commit

  • Based on 3 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version this program is distributed in the
    hope that it will be useful but without any warranty without even
    the implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version [author] [kishon] [vijay] [abraham]
    [i] [kishon]@[ti] [com] this program is distributed in the hope that
    it will be useful but without any warranty without even the implied
    warranty of merchantability or fitness for a particular purpose see
    the gnu general public license for more details

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version [author] [graeme] [gregory]
    [gg]@[slimlogic] [co] [uk] [author] [kishon] [vijay] [abraham] [i]
    [kishon]@[ti] [com] [based] [on] [twl6030]_[usb] [c] [author] [hema]
    [hk] [hemahk]@[ti] [com] this program is distributed in the hope
    that it will be useful but without any warranty without even the
    implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 1105 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Reviewed-by: Richard Fontana
    Reviewed-by: Kate Stewart
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190527070033.202006027@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

12 Jul, 2018

1 commit


04 Oct, 2017

1 commit

  • The w1_ds28e17 driver from the next part of this patch needs to emit
    single-bit read timeslots to the DS28E17. The w1 subsystem already
    has this function but it is not exported outside drivers/w1/w1_io.c

    This subpatch exports the w1_touch_bit symbol with EXPORT_SYMBOL_GPL,
    same as the other exported symbols in drivers/w1/w1_io.c

    May be also useful later for writing drivers for other Onewire chips
    which do single-bit communication.

    Signed-off-by: Jan Kandziora
    Acked-by: Evgeniy Polyakov
    Signed-off-by: Greg Kroah-Hartman

    Jan Kandziora
     

01 Sep, 2017

1 commit


09 Jun, 2017

1 commit

  • Like other subsystems we should be able to define slave devices outside
    of the w1 directory. To do this we move public facing interface
    definitions to include/linux/w1.h and rename the internal definition
    file to w1_internal.h.

    As w1_family.h and w1_int.h contained almost entirely public
    driver interface definitions we simply removed these files and
    moved the remaining definitions into w1_internal.h.

    With this we can now start to move slave devices out of w1/slaves and
    into the subsystem based on the function they implement, again like
    other drivers.

    Signed-off-by: Andrew F. Davis
    Reviewed-by: Sebastian Reichel
    Acked-by: Evgeniy Polyakov
    Signed-off-by: Greg Kroah-Hartman

    Andrew F. Davis