aboutsummaryrefslogtreecommitdiff
path: root/include/linux/platform_data/i2c-gpio.h
AgeCommit message (Collapse)AuthorFilesLines
2023-01-23i2c: gpio: support write-only sda/scl w/o pull-upHeiner Kallweit1-0/+9
There are slave devices that understand I2C but have read-only SDA and SCL. Examples are FD650 7-segment LED controller and its derivatives. Typical board designs don't even have a pull-up for both pins. Handle the new attributes for write-only SDA and missing pull-up on SDA/SCL. For either pin the open-drain and has-no-pullup properties are mutually-exclusive, what is documented in the DT property documentation. We don't add an extra warning here because the open-drain properties are marked deprecated anyway. Signed-off-by: Heiner Kallweit <[email protected]> [wsa: switched to device properties] Signed-off-by: Wolfram Sang <[email protected]>
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500Thomas Gleixner1-4/+1
Based on 2 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 version 2 as published by the free software foundation this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation # extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 4122 file(s). Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Enrico Weigelt <[email protected]> Reviewed-by: Kate Stewart <[email protected]> Reviewed-by: Allison Randal <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-05-17i2c: gpio: move header to platform_dataWolfram Sang1-0/+34
This header only contains platform_data. Move it to the proper directory. Signed-off-by: Wolfram Sang <[email protected]> Acked-by: Tony Lindgren <[email protected]> Acked-by: Lee Jones <[email protected]> Acked-by: Robert Jarzmik <[email protected]> Acked-by: Mauro Carvalho Chehab <[email protected]> Acked-by: James Hogan <[email protected]> Acked-by: Greg Ungerer <[email protected]>