Thread (29 messages) 29 messages, 7 authors, 2025-05-23

Re: [PATCH v8 08/11] gpio: max7360: Add MAX7360 gpio support

From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
Date: 2025-05-20 13:33:52
Also in: linux-devicetree, linux-gpio, linux-pwm, lkml

On Mon May 19, 2025 at 3:19 PM CEST, Andy Shevchenko wrote:
On Fri, May 09, 2025 at 11:14:42AM +0200, Mathieu Dubois-Briand wrote:
quoted
Add driver for Maxim Integrated MAX7360 GPIO/GPO controller.

Two sets of GPIOs are provided by the device:
- Up to 8 GPIOs, shared with the PWM and rotary encoder functionalities.
  These GPIOs also provide interrupts on input changes.
- Up to 6 GPOs, on unused keypad columns pins.
...
quoted
+	for (unsigned int i = 0; i < MAX7360_MAX_GPIO; ++i) {
Is there any special reaso to use pre-increment?
No, I will switch it to post-increment.



-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help