From patchwork Tue Sep 15 12:19:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 11776311 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D155E59D for ; Tue, 15 Sep 2020 12:19:22 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A28DE20B1F for ; Tue, 15 Sep 2020 12:19:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="d5I5Am+i" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A28DE20B1F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E6AEC6E25C; Tue, 15 Sep 2020 12:19:18 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0E95A89F4F for ; Tue, 15 Sep 2020 12:19:18 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id e11so10982481wme.0 for ; Tue, 15 Sep 2020 05:19:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=l7j+GFEPl0J4mVX0J38jo856GeX7L/pIGsyfYoimqNU=; b=d5I5Am+iX/ZTlLBaMLVhIOLDVSNJtj0O2dwF8Ftj0bg09cKrSTyi9V8g45XOxGznvn vAwfpzCkmcX+e1qI3igNUjzoFxbWxUYP7C4mcWoPmPepGPyX3vZDdWrB3x6LIKL1NZyP Z4tS+WrUE+6Don7+EdPT8qRc+DL5uaYKhCpYyJ8BBeJSJTC4GhNop2Ca4EhuXoLw+Mkt H6L5xg53j4yjOdnP4iS1uQi/yt/yG7gfuHgM1wWAW3JqNrGcuKzy0vZEihmq4HTfTI8g qqpataXcDG82Cb05rb1emLdp8ao1EYm7pWbgIGGdC4AT8MEEXW4c4hjEnEO7u9ZsVQ1M DtAg== 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=l7j+GFEPl0J4mVX0J38jo856GeX7L/pIGsyfYoimqNU=; b=EXUb+Aq+Wo0tqM9FVz6j2XZ2fdTEp2ZVf6VsbY3D+ze/K4UW0cXtWc3RsMzWk1xGD0 4+kRq8FZ0GEthvxoSVUUJAPMz1VeZx6Mgrc5awVobnc5gSwYaatUzbLhy/ZWgVQX57r2 PN1DZTZhQNeRQ7GHJdtwXoSZgdwPPXUS1Xdbs65l69/bBJkC5xWfUg4FxMegbheqSaUC elLVMSg2evB/yt4pkdqycyjLBMQ0Ed6DuoEcumBOIYMQdLgY7aLD/wcZr+i8/81gXMcn cDqi2iVXlx2UPUB6ORLEuuagetCVpjbtDnqOKKoUICCthy4W98EeOL2sVspHziw/UxpM Qsxw== X-Gm-Message-State: AOAM532H+dB74LwfPmChrW2mLUuIOi3x9vaeLVxm0ao5EsaKrZ8ZFbIu Ely2pj8HIX4xCdnSBnOewQhNbw== X-Google-Smtp-Source: ABdhPJx+fzoFxjgYAof+zD34bBVjkkA+EoKo8hnXGiQSj5VtzW/TKrSu3SuFbMpSSfocHxWxCJTiHg== X-Received: by 2002:a7b:c255:: with SMTP id b21mr4330660wmj.17.1600172356440; Tue, 15 Sep 2020 05:19:16 -0700 (PDT) Received: from bender.baylibre.local (home.beaume.starnux.net. [82.236.8.43]) by smtp.gmail.com with ESMTPSA id 2sm18271411wmf.25.2020.09.15.05.19.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Sep 2020 05:19:15 -0700 (PDT) From: Neil Armstrong To: thierry.reding@gmail.com, sam@ravnborg.org Subject: [PATCH v4 0/4] drm: panel: add support for TDO tl070wsh30 panel Date: Tue, 15 Sep 2020 14:19:08 +0200 Message-Id: <20200915121912.4347-1-narmstrong@baylibre.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Neil Armstrong Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This adds support bindings and support for the TDO TL070WSH30 TFT-LCD panel module shipped with the Amlogic S400 Development Kit. The panel has a 1024×600 resolution and uses 24 bit RGB per pixel. It provides a MIPI DSI interface to the host, a built-in LED backlight and touch controller. Changes since v3 at [3]: - reordered tdo vendor prefix Changes since v2 at [2]: - added reset gpio to panel-simple-dsi bindings - moved bindings to panel-simple - re-ordered prepare/unprepare - added back refresh print - moved regulator/reset handling in prepare/unprepare - aligned remove/shutdown with panel-simple - added sentinel comment into dt match table Changes since v1 at [1]: - added missing vendor-prefixes patch - removed vrefresh - fixed warning on add_panel return - removed DRM logging [1] https://patchwork.freedesktop.org/series/81376/#rev1 [2] https://patchwork.freedesktop.org/series/81376/#rev2 [3] https://patchwork.freedesktop.org/series/81376/#rev3 Neil Armstrong (4): dt-bindings: vendor-prefixes: Add Shanghai Top Display Optolelectronics vendor prefix dt-bindings: display: panel-simple-dsi: add optional reset gpio dt-bindings: display: panel-simple-dsi: add TDO TL070WSH30 DSI panel bindings drm: panel: add TDO tl070wsh30 panel driver .../display/panel/panel-simple-dsi.yaml | 3 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + drivers/gpu/drm/panel/Kconfig | 11 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-tdo-tl070wsh30.c | 250 ++++++++++++++++++ 5 files changed, 267 insertions(+) create mode 100644 drivers/gpu/drm/panel/panel-tdo-tl070wsh30.c Reviewed-by: Sam Ravnborg