From patchwork Wed Dec 5 21:03:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans de Goede X-Patchwork-Id: 10714917 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5374713AF for ; Wed, 5 Dec 2018 21:03:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 45E972E62A for ; Wed, 5 Dec 2018 21:03:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 442A02E60D; Wed, 5 Dec 2018 21:03:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EC5892E62A for ; Wed, 5 Dec 2018 21:03:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728238AbeLEVDP (ORCPT ); Wed, 5 Dec 2018 16:03:15 -0500 Received: from mx1.redhat.com ([209.132.183.28]:37194 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728138AbeLEVDP (ORCPT ); Wed, 5 Dec 2018 16:03:15 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BE9A55D606; Wed, 5 Dec 2018 21:03:14 +0000 (UTC) Received: from shalem.localdomain.com (ovpn-116-99.ams2.redhat.com [10.36.116.99]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7AC2C5D756; Wed, 5 Dec 2018 21:03:12 +0000 (UTC) From: Hans de Goede To: Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , =?utf-8?b?VmlsbGUgU3lyasOkbMOk?= , "Rafael J . Wysocki" , Len Brown , Andy Shevchenko , Mika Westerberg Cc: Hans de Goede , intel-gfx , dri-devel@lists.freedesktop.org, linux-acpi@vger.kernel.org Subject: [PATCH 0/3] ACPI-PMIC + i915: Add support for PMIC MIPI sequences Date: Wed, 5 Dec 2018 22:03:07 +0100 Message-Id: <20181205210311.16865-1-hdegoede@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Wed, 05 Dec 2018 21:03:14 +0000 (UTC) Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi All, This series is the result of me debugging and fixing the LCD panel not lighting up on some CHT devices when they are booted with an external monitor connected and the GOP only initializes the external monitor, leaving the LCD uninitialized. This is caused by the lack of support for executing PMIC MIPI sequences in drivers/gpu/drm/i915/intel_dsi_vbt.c. Specifically the VBT on these devices uses a PMIC MIPI sequence to toggle a GPIO on the PMIC. Besides fixing the LCD panel not working at all when an external monitor is used, this should also save some power when the panel is off. This series touches some files under drivers/acpi/pmic as well as some i915 code. Since the code under drivers/acpi/pmic does not change that often, I believe it would be best to merge this entire series through intel-drm-next-queued, with acks from the ACPI maintainers. Regards, Hans