Linux GPIO subsystem development
 help / color / mirror / Atom feed
From: Wolfram Sang <wsa@the-dreams.de>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-renesas-soc@vger.kernel.org,
	"linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: Salvator-X ravb failure with v4.5-rc3 due to irqchip power down
Date: Mon, 8 Feb 2016 21:04:30 +0100	[thread overview]
Message-ID: <20160208200430.GB1997@tetsubishi> (raw)
In-Reply-To: <CAMuHMdUHiBfYDrA_=wq3DwyN1dOb-af_cuhCNaWZjvHSmMfg2Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 551 bytes --]


> The real problem is that the PHY interrupt is wired to an on-chip GPIO
> controller, which is disabled by PM Runtime if no GPIOs are in use, and
> interrupts are not taken into account (the irqchip subsystem is not (yet) PM
> Runtime aware) for GPIO use.
>
> Adding a call to
>
>     pm_runtime_get_sync(dev);
>
> to gpio_rcar_probe() fixes the problem, but keeps the GPIO modules enabled
> all the time.
>
> IIRC, we have a similar issue with HDMI on r8a7791/koelsch...

Exactly, the interrupt for 'EDID read done' never arrived because of
this.


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

      reply	other threads:[~2016-02-08 20:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-08 18:31 Salvator-X ravb failure with v4.5-rc3 due to irqchip power down Geert Uytterhoeven
2016-02-08 20:04 ` Wolfram Sang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160208200430.GB1997@tetsubishi \
    --to=wsa@the-dreams.de \
    --cc=geert@linux-m68k.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox