From patchwork Tue Jun 11 00:22:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Basehore X-Patchwork-Id: 10985689 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 6199913AD for ; Tue, 11 Jun 2019 00:23:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4D689285CB for ; Tue, 11 Jun 2019 00:23:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 40F8228702; Tue, 11 Jun 2019 00:23:05 +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=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DB81A285CB for ; Tue, 11 Jun 2019 00:23:04 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C2EE488E7E; Tue, 11 Jun 2019 00:23:03 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by gabe.freedesktop.org (Postfix) with ESMTPS id E664388E7E for ; Tue, 11 Jun 2019 00:23:02 +0000 (UTC) Received: by mail-pg1-x541.google.com with SMTP id 196so5892399pgc.6 for ; Mon, 10 Jun 2019 17:23:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Ys/QIuTzESKgIhK+4lqN2GBOgNe/RQ4XjHnrFVNq/bg=; b=hnyNsFzbxfj3TuJyZEtHVQByqUAWKXPsuhVVR+rBuFBb531K8HGe+rzYZQojLax4Cd MPou+y7wva4qroco17cm3U2JvXeo7CJ6RFnSg9UTI4rbeo1BzlgEmTTh1Lx4ABWhAtNH E0M6vv/iLO3O080dE9I2ThkvqfBF/xP2zSDLGGFPVNvVtMRdeoxnqLDuHiuwNHnshA7V X/Pqp5+tNT6kyNXtfgEvpBLyfUogpPCYc3M24utI/0qYFGg+yyej62YBKB3DAbipSn0N QJVVxo1tVcobG+RjdmWXba+iC1L2aMrIOlPECBOpSabGmmTjf31pHBNCFZ7wg4NtNIQb f3GQ== X-Gm-Message-State: APjAAAV6Y8E1V7ey3F+FpCcSjmI1dRsEIY4Vk81tb7rgU2ulcnmAwEiY RaK3mEDPEqbbvUnhTrt/+hmOdA== X-Google-Smtp-Source: APXvYqyFDNopqPX7XaEAu7EG9CwttGgKSVT073ogwDm3kj5G1I2Zurlp7yaWcrSslQANYBeJiel1uQ== X-Received: by 2002:a17:90a:25c8:: with SMTP id k66mr2852849pje.129.1560212582590; Mon, 10 Jun 2019 17:23:02 -0700 (PDT) Received: from exogeni.mtv.corp.google.com ([2620:15c:202:1:5be8:f2a6:fd7b:7459]) by smtp.gmail.com with ESMTPSA id t4sm540317pjq.19.2019.06.10.17.23.00 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 10 Jun 2019 17:23:01 -0700 (PDT) From: Derek Basehore To: linux-kernel@vger.kernel.org Date: Mon, 10 Jun 2019 17:22:51 -0700 Message-Id: <20190611002256.186969-1-dbasehore@chromium.org> X-Mailer: git-send-email 2.22.0.rc2.383.gf4fbbf30c2-goog MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Ys/QIuTzESKgIhK+4lqN2GBOgNe/RQ4XjHnrFVNq/bg=; b=f5ipcdNBMgeYN6xIkspolGbToPlj9rnUy85L/384p3yAVGYdbKT3rIYX2R9DTVe5DZ BYJNhX2Lc4MpUKIIZ8Uvygx+l7dI/iqp1tjbx6cPL9JzfUDgJZKWqECoYuYfsfw24UwA BoOUkWOPjP/ynt3LEWf2YKuM3gT243RbvpPTQ= Subject: [Intel-gfx] [PATCH 0/5] Panel rotation patches X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Derek Basehore , p.zabel@pengutronix.de, maxime.ripard@bootlin.com, sam@ravnborg.org, intel-gfx@lists.freedesktop.org, airlied@linux.ie, matthias.bgg@gmail.com, dri-devel@lists.freedesktop.org, ck.hu@mediatek.com, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP This adds the plumbing for reading panel rotation from the devicetree and sets up adding a panel property for the panel orientation on Mediatek SoCs when a rotation is present. Derek Basehore (5): drm/panel: Add helper for reading DT rotation dt-bindings: display/panel: Expand rotation documentation drm/panel: Add attach/detach callbacks drm/connector: Split out orientation quirk detection drm/mtk: add panel orientation property .../bindings/display/panel/panel.txt | 32 +++++++++++ drivers/gpu/drm/drm_connector.c | 16 ++---- drivers/gpu/drm/drm_panel.c | 55 +++++++++++++++++++ drivers/gpu/drm/i915/vlv_dsi.c | 13 +++-- drivers/gpu/drm/mediatek/mtk_dsi.c | 8 +++ include/drm/drm_connector.h | 2 +- include/drm/drm_panel.h | 11 ++++ 7 files changed, 120 insertions(+), 17 deletions(-)