24 Jan, 2014

1 commit


17 Aug, 2012

1 commit

  • In the process of porting boards to devicetree implemenation, we should
    keep information about external circuitry where they belong - the
    individual drivers.

    This patch adds a way to specify a GPIO to drive the (optional) external
    pull-up logic, rather than using a function pointer for that.

    Signed-off-by: Daniel Mack
    Acked-by: Evgeniy Polyakov
    Acked-by: Ville Syrjälä
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    Daniel Mack
     

19 Jun, 2009

1 commit

  • On embedded devices, sleep mode conditions can be tricky to handle,
    Especially when processors tend to pull-down the w1 bus during sleep. Bus
    slaves (such as the ds2760) may interpret this as a reason for power-down
    conditions and entirely switch off the device.

    This patch adds a callback function pointer to let users switch on and off
    the external pull-up resistor. This lets the outside world know whether
    the processor is currently actively driving the bus or not.

    When this callback is not provided, the code behaviour won't change.

    Signed-off-by: Daniel Mack
    Acked-by: Ville Syrjala
    Acked-by: Evgeniy Polyakov
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Daniel Mack
     

07 Feb, 2008

1 commit

  • Add a GPIO 1-wire bus master driver. The driver used the GPIO API to
    control the wire and the GPIO pin can be specified using platform data
    similar to i2c-gpio. The driver was tested with AT91SAM9260 + DS2401.

    Signed-off-by: Ville Syrjala
    Cc: Evgeniy Polyakov
    Cc: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ville Syrjala