OpenCloudOS-Kernel/drivers/pinctrl/intel
Linus Walleij 5fbe5b5883 gpio: Initialize the irqchip valid_mask with a callback
After changing the valid_mask for the struct gpio_chip
to detect the need and presence of a valid mask with the
presence of a .init_valid_mask() callback to fill it in,
we augment the gpio_irq_chip to use the same logic.

Switch all driver using the gpio_irq_chio valid_mask
over to this new method.

This makes sure the valid_mask for the gpio_irq_chip gets
filled in when we add the gpio_chip, which makes it a
little easier to switch over drivers using the old
way of setting up gpio_irq_chip over to the new method
of passing the gpio_irq_chip along with the gpio_chip.
(See drivers/gpio/TODO for details.)

Cc: Joel Stanley <joel@jms.id.au>
Cc: Thierry Reding <treding@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Link: https://lore.kernel.org/r/20190904140104.32426-1-linus.walleij@linaro.org
2019-09-11 01:09:37 +01:00
..
Kconfig pinctrl: intel: Convert to use SPDX identifier 2018-07-02 15:52:10 +02:00
Makefile pinctrl: intel: Add Ice Lake PCH pin controller support 2018-06-29 14:51:26 +02:00
pinctrl-baytrail.c gpio: Initialize the irqchip valid_mask with a callback 2019-09-11 01:09:37 +01:00
pinctrl-broxton.c pinctrl: broxton: Code formatting fixes 2018-11-08 17:16:40 +02:00
pinctrl-cannonlake.c pinctrl: cannonlake: Code formatting fixes 2018-11-08 17:16:41 +02:00
pinctrl-cedarfork.c pinctrl: cedarfork: Update pin names according to v1.13c 2019-04-03 14:49:47 +03:00
pinctrl-cherryview.c gpio: Initialize the irqchip valid_mask with a callback 2019-09-11 01:09:37 +01:00
pinctrl-denverton.c pinctrl: denverton: Replace acpi.h with mod_devicetable.h 2018-11-08 17:16:40 +02:00
pinctrl-geminilake.c pinctrl: geminilake: Code formatting fixes 2018-11-08 17:16:41 +02:00
pinctrl-icelake.c pinctrl: icelake: Code formatting fixes 2018-11-08 17:16:41 +02:00
pinctrl-intel.c pinctrl: intel: Clear interrupt status in mask/unmask callback 2019-05-20 15:04:25 +03:00
pinctrl-intel.h pinctrl: pinctrl-intel: move gpio suspend/resume to noirq phase 2019-04-09 18:26:44 +03:00
pinctrl-lewisburg.c pinctrl: lewisburg: Replace acpi.h with mod_devicetable.h 2018-11-08 17:16:40 +02:00
pinctrl-merrifield.c pinctrl: merrifield: include bits.h instead of bitops.h 2018-11-08 17:16:40 +02:00
pinctrl-sunrisepoint.c pinctrl: sunrisepoint: Get rid of unneeded ->probe() stub 2018-11-08 17:16:39 +02:00