[Intel-gfx] [RFC v6 7/8] drm/i915: Use the CRC gpio for panel enable/disable

Linus Walleij linus.walleij at linaro.org
Wed May 6 06:13:59 PDT 2015


On Fri, Apr 24, 2015 at 5:33 PM, Shobhit Kumar <shobhit.kumar at intel.com> wrote:

> The CRC (Crystal Cove) PMIC, controls the panel enable and disable
> signals for BYT for dsi panels. This is indicated in the VBT fields. Use
> that to initialize and use GPIO based control for these signals.
>
> v2: Use the newer gpiod interface(Alexandre)
> v3: Remove the redundant checks and unused code (Ville)
>
> CC: Samuel Ortiz <sameo at linux.intel.com>
> Cc: Linus Walleij <linus.walleij at linaro.org>
> Cc: Alexandre Courbot <gnurou at gmail.com>
> Cc: Thierry Reding <thierry.reding at gmail.com>
> Signed-off-by: Shobhit Kumar <shobhit.kumar at intel.com>

Acked-by: Linus Walleij <linus.walleij at linaro.org>

> +       /* Panel Enable over CRC PMIC */
> +       if (intel_dsi->gpio_panel)
> +               gpiod_set_value_cansleep(intel_dsi->gpio_panel, 1);
> +
> +       msleep(intel_dsi->panel_on_delay);

As I predicted, this reimplements .ramp_delay of the fixed
regulator.

No big disaster, just saying.

Yours,
Linus Walleij


More information about the Intel-gfx mailing list