Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3944018ybi; Mon, 10 Jun 2019 21:05:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqwPYOgfBpoPD2p6CfZED10MejX3gO1+dDzK7WFo0ROD2cpOBEzU4Uo44lRRFcqXFQvbRnmr X-Received: by 2002:aa7:9834:: with SMTP id q20mr35764114pfl.196.1560225937912; Mon, 10 Jun 2019 21:05:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560225937; cv=none; d=google.com; s=arc-20160816; b=gWxhxFWffavVO2AKGNPc1151awrJ3TH034kQiYsXjGq+vEauoggJhlnrG2ZvfOAr8O 5fATDFDENa6oMpG6x+KEemXzTBR7MNTEhZxULJUS38Luu0fVR9lN96l7DFUrUswr/MsS 3h3aalYrZu4awnAvpujYwkS3cqwsZihtX7pmhj8s27XQHbUuPV8uJ4ikT5eqR2NtzTdh gB9BSP8U/b4J9Qw72eCUAHIS9CCNvu4dRZSHsilOR6CzSDHCnDBF1iDjl5ehoum5ivfR VjJhHiaTfYbmbQkRCardx2xcYGLYlgk0a0D9p/LeC2H2HlNGjx/ohRu8rFkj41X4TOoh 3OQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ep5PT5nJYpz/Bj3Iz+6dAuGsY6URZpg14AnULVjTGA0=; b=Rx2OtHYmUtaNj2/Hf5rdN9Umjxl5/B5vpAD6a2iXMQiLaKtggI29+k+fNwuBd7F74I JQ0QsHPJ2io6T1mXQbcyIgY3atHMwFc9SY/XAQulc+Fxy98AcNqBjpANuMwTHyAY+LwX 81bHRqvsFVWnlwIsUm3AjIjsGISivwRdXamSEJyJiidy0gn8a1TYd4Vfc93sZ1g3Rt2k XKcUFc7Yr8Pc65xmDJiyikpUxTnZ5C8RCrB6+4qu4dptCneTE6BzTXKdjlwfcmU0OaHV p+kGrj+/Xhy/Y5tSFCRU9vL4ME6Bc4yTFmqaJSEfQ9EufR20BUyn4dY3VfHpsKQuY6Xw j1Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=BPeWijeb; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k22si10378596pgh.268.2019.06.10.21.05.22; Mon, 10 Jun 2019 21:05:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=BPeWijeb; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726390AbfFKED4 (ORCPT + 99 others); Tue, 11 Jun 2019 00:03:56 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:44415 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726220AbfFKED4 (ORCPT ); Tue, 11 Jun 2019 00:03:56 -0400 Received: by mail-pg1-f196.google.com with SMTP id n2so6144391pgp.11 for ; Mon, 10 Jun 2019 21:03:55 -0700 (PDT) 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=ep5PT5nJYpz/Bj3Iz+6dAuGsY6URZpg14AnULVjTGA0=; b=BPeWijeb5HdxjyxppQb40ApVn/nxLgHSyp0AL/ASYmRCiKlPLM1ddJO4q+5DVFlKJo M/6tW2VGGMmJt5p6uRnJYncIATIm7J5usdTrrpfDSsoiEwZOhO6s75rGbFLm+gF0M/Zu OXBZxzrusRa5BRO0jGY04Rtc4em07eeQ66PnQ= 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=ep5PT5nJYpz/Bj3Iz+6dAuGsY6URZpg14AnULVjTGA0=; b=c/a551qtV1cSEs+AeNU0LEnAepSrD3vcq7gbcE7n6bp1yAXCN7+slOfb70ZySYc5L0 Zj6dRxbQ6EBzYk1KCReQyX/Yg0tUqUFYBbLNQSqiCfUBK273WELGkeF04EddXmy3PjG5 m/Ug8qML6vUZy7cRGMRSiglVoCACnjJjdme4rYpn9Cg1Xcl5KSmK/po/19oTxjSU40mH +35gZhKfMr+IMpPUOsFohXrLVcrn87aIYrlg8yu4NHRNftOoU5amxF7crdCzmYQxmHu4 yTtrLP3q+c2Thbwl2iL22CUtQOPMklMXuMHtmTZWt65N0TCQrm1JZi6rOoBh8dAexT+9 Q1bQ== X-Gm-Message-State: APjAAAVcXs6AzNUp1vP1i5hD7ZhlUtpo4DgCC9BlQak8pwPnS+tnIvdN kyV44xZN7cAYNsya3wFlmdHx2mhoZh0= X-Received: by 2002:a62:e0c2:: with SMTP id d63mr21262331pfm.60.1560225835215; Mon, 10 Jun 2019 21:03:55 -0700 (PDT) Received: from exogeni.mtv.corp.google.com ([2620:15c:202:1:5be8:f2a6:fd7b:7459]) by smtp.gmail.com with ESMTPSA id y133sm13301185pfb.28.2019.06.10.21.03.53 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 10 Jun 2019 21:03:54 -0700 (PDT) From: Derek Basehore To: linux-kernel@vger.kernel.org Cc: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Mark Rutland , Maarten Lankhorst , Maxime Ripard , Sean Paul , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , CK Hu , Philipp Zabel , Matthias Brugger , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, intel-gfx@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Derek Basehore Subject: [PATCH v2 0/5] Panel rotation patches Date: Mon, 10 Jun 2019 21:03:45 -0700 Message-Id: <20190611040350.90064-1-dbasehore@chromium.org> X-Mailer: git-send-email 2.22.0.rc2.383.gf4fbbf30c2-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. v2 changes: fixed build errors in i915 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(-) -- 2.22.0.rc2.383.gf4fbbf30c2-goog