2016-04-30 13:32 GMT+02:00 Linus Walleij :
> On Fri, Apr 29, 2016 at 1:19 PM, Maxime Coquelin
> wrote:
>> It looks like this: http://pastebin.com/raw/cs2WiNKZ
>> You can directly check section 12.2.5 of the stm32f429 reference manual:
>> http://www2.st.com/resource/en/reference_manual/dm00031020.p
On Fri, Apr 29, 2016 at 1:19 PM, Maxime Coquelin
wrote:
> 2016-04-29 10:53 GMT+02:00 Linus Walleij :
>> On Tue, Apr 19, 2016 at 11:04 AM, Maxime Coquelin
>> wrote:
>>> 2016-04-08 11:43 GMT+02:00 Linus Walleij :
On Thu, Mar 31, 2016 at 5:09 PM, Maxime Coquelin
wrote:
> +static
2016-04-29 10:53 GMT+02:00 Linus Walleij :
> On Tue, Apr 19, 2016 at 11:04 AM, Maxime Coquelin
> wrote:
>> 2016-04-08 11:43 GMT+02:00 Linus Walleij :
>>> On Thu, Mar 31, 2016 at 5:09 PM, Maxime Coquelin
>>> wrote:
>>>
+static int stm32_gpio_to_irq(struct gpio_chip *chip, unsigned offset)
>>>
On Fri, Apr 29, 2016 at 10:53 AM, Linus Walleij
wrote:
> On Tue, Apr 19, 2016 at 11:04 AM, Maxime Coquelin
> wrote:
>> 2016-04-08 11:43 GMT+02:00 Linus Walleij :
>>> On Thu, Mar 31, 2016 at 5:09 PM, Maxime Coquelin
>>> wrote:
>>>
+static int stm32_gpio_to_irq(struct gpio_chip *chip, unsigne
On Tue, Apr 19, 2016 at 11:04 AM, Maxime Coquelin
wrote:
> 2016-04-08 11:43 GMT+02:00 Linus Walleij :
>> On Thu, Mar 31, 2016 at 5:09 PM, Maxime Coquelin
>> wrote:
>>
>>> +static int stm32_gpio_to_irq(struct gpio_chip *chip, unsigned offset)
>>> +{
>>> + struct stm32_pinctrl *pctl = dev_get
Hi Linus
2016-04-08 11:43 GMT+02:00 Linus Walleij :
> On Thu, Mar 31, 2016 at 5:09 PM, Maxime Coquelin
> wrote:
>
>> +static int stm32_gpio_to_irq(struct gpio_chip *chip, unsigned offset)
>> +{
>> + struct stm32_pinctrl *pctl = dev_get_drvdata(chip->parent);
>> + struct stm32_gpio_ban
On Thu, Mar 31, 2016 at 5:09 PM, Maxime Coquelin
wrote:
> +static int stm32_gpio_to_irq(struct gpio_chip *chip, unsigned offset)
> +{
> + struct stm32_pinctrl *pctl = dev_get_drvdata(chip->parent);
> + struct stm32_gpio_bank *bank = gpiochip_get_data(chip);
> + unsigned int irq;
This patch adds IRQ support to STM32 gpios.
The EXTI controller has 16 lines dedicated to GPIOs.
EXTI line n can be connected to only line n of one of the GPIO ports, for
example EXTI0 can be connected to either PA0, or PB0, or PC0...
This port selection is done by specifying the port number into
8 matches
Mail list logo