27 Sep, 2020
3 commits
-
Various drivers count and iterate over OF children nodes via
of_get_child_count and for_each_child_of_node. Instead they should use
of_get_available_child_count and for_each_available_child_of_node, so
that if a given node has the `status` property set to `disabled`, the
child will be ignored.Signed-off-by: Marek Behún
Cc: Andrew Lunn
Cc: Andrey Utkin
Cc: Baolin Wang
Cc: Baolin Wang
Cc: Benjamin Herrenschmidt
Cc: Christian Mauderer
Cc: Chunyan Zhang
Cc: Dan Murphy
Cc: David Rivshin
Cc: Haojian Zhuang
Cc: H. Nikolaus Schaller
Cc: Michael Ellerman
Cc: Milo Kim
Cc: NeilBrown
Cc: Nikita Travkin
Cc: Orson Zhai
Cc: Paul Mackerras
Cc: Philippe Retornaz
Cc: Riku Voipio
Cc: Simon Guinot
Cc: Simon Shields
Cc: Vasant Hegde
Cc: Xiaotong Lu
Signed-off-by: Pavel Machek -
The dev_of_node function should be preferred.
Signed-off-by: Marek Behún
Cc: Orson Zhai
Cc: Baolin Wang
Cc: Chunyan Zhang
Cc: Sean Wang
Cc: Matthias Brugger
Cc: Riku Voipio
Signed-off-by: Pavel Machek -
Simply use device_get_match_data instead of matching against the match
table again.Signed-off-by: Marek Behún
Cc: H. Nikolaus Schaller
Cc: David Rivshin
Cc: Sebastian Reichel
Cc: Christian Mauderer
Cc: Andrew Lunn
Signed-off-by: Pavel Machek
09 Sep, 2020
1 commit
-
generate a 5ms low pulse on shutdown pin when startup, then the chip
becomes more stable in the complex EM environment.Signed-off-by: Grant Feng
Signed-off-by: Pavel Machek
24 Jul, 2019
1 commit
-
We have a dedicated pointer for that, so use it. Much easier to read and
less computation involved.Signed-off-by: Wolfram Sang
Signed-off-by: Jacek Anaszewski
05 Jun, 2019
1 commit
-
Based on 1 normalized pattern(s):
this file is subject to the terms and conditions of version 2 of the
gnu general public license see the file copying in the main
directory of this archive for more detailsextracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 55 file(s).
Signed-off-by: Thomas Gleixner
Reviewed-by: Allison Randal
Reviewed-by: Alexios Zavras
Reviewed-by: Kate Stewart
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190530000436.108941081@linutronix.de
Signed-off-by: Greg Kroah-Hartman
15 Aug, 2016
1 commit
-
This is a driver for the Integrated Silicon Solution Inc. LED driver
chips series IS31FL319x. They can drive 1, 3, 6 or up to 9
LEDs.Each LED is individually controllable in brightness (through pwm)
in 256 steps so that RGB LEDs can show any of ca. 16 Mio colors.The maximum current of the LEDs can be programmed and limited to
5 .. 40mA through a device tree property.The chip is connected through I2C and can have one of 4 addresses
in the range 0x64 .. 0x67 depending on how the AD pin is connected. The
address is defined by the reg property as usual.The chip also has a shutdown input which could be connected to a GPIO,
but this driver uses software shutdown if all LEDs are inactivated.The chip also has breathing and audio features which are not fully
supported by this driver.Tested-on: OMAP5 based Pyra handheld prototype.
Signed-off-by: H. Nikolaus Schaller
Signed-off-by: Andrey Utkin
Signed-off-by: Jacek Anaszewski