From patchwork Sun Aug 9 21:51:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 247575 Delivered-To: patch@linaro.org Received: by 2002:a92:cc90:0:0:0:0:0 with SMTP id x16csp4349698ilo; Sun, 9 Aug 2020 14:51:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxflV3XnmLsEMtvA8oc94h58ebvXXdamjliW9crLhOqB8kLeY8jfzqNng+A5mzdRXbWITkQ X-Received: by 2002:a17:90a:9e7:: with SMTP id 94mr23158008pjo.97.1597009914710; Sun, 09 Aug 2020 14:51:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597009914; cv=none; d=google.com; s=arc-20160816; b=AxWtOK/1ldKmaREuT/mBm+GMjwW8D4NfW2qYPctzCGI/DFumqM8mkxcreZlCr5BZtG 86SgWP8S0Jj2LSaXaHMBePDI1H5A7HIrYMGtOrXRpg3GlWqeqYC7stSGgrJnQIkPAozA p+DgRptm1AHu71/bAZQFgCNAJdYY2YVWgUypq81+Ac/GF2cIvD0b27hETSPp1RbD/5CE izP3yMPKJpjo+i9CHWTT2gxSjp6W+H9/Z5XZAbSeFuxMGXBBOmu84z3amjs9iIqV8DOW v2/xmEEzevyd43exlYrA7cEKjWuFPH8d2xh9DdA1xXa/beRnxdvPvbw9jUN4BX3aSTPD H8EQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=dR/lHkBhVToPuQoHehB4xWCjqh/eUQE0Ui0bTZLcHok=; b=g1SqAr57xPLh9bzoWiSet0RSzN4JdO581RZtL6f9EDIxPPXhvEhaC1qnU9uEDcQVe9 9306akJF4/mfuzKP7oITFtunkYNBzAVNjsWH2IPpeweyEKp04Mng7cc3gfoVGmvswarS LNZ1wkUkrb4ieCjipDGBXM06yk9qZuB7adrr7yswidFvr3mcKc2/kD8iYSV1qleQnif+ eM6yG+FhEknqvdnySiHLiLhefvyX9P8+R78aR9o7EVm/W5qLyeFKc8grhS0+XOzmGrRH Zjvv9IjDYbqjfJ4bGQ8vQLq5NMHKhtA9I9atw9ymGL07lg8yEiouwrhFYxIu0HTACLHO 72Hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=KDGG9CdM; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id a4si10038696pgj.64.2020.08.09.14.51.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Aug 2020 14:51:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=KDGG9CdM; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 33ED889EAE; Sun, 9 Aug 2020 21:51:52 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf1-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4DD4E89EAE for ; Sun, 9 Aug 2020 21:51:51 +0000 (UTC) Received: by mail-lf1-x143.google.com with SMTP id c15so3696243lfi.3 for ; Sun, 09 Aug 2020 14:51:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=RrsiR38UwzGryEjdYP0YDhWr8aT6bEJDFis5+ZW/wZQ=; b=KDGG9CdMfmTOWgai78aMqMIKf2hZdwLc42psRqBMoXt3B0UUYmR6MwLEgi2tY6IqZX DDL4ZBuEHsBi7TLsmsTUMNbpFoa+XtjgVlW98R3U8FJDvLbxyWGgwQ6o5kklV0eZfEVq 686SBAy+LjHG+ydsNzB8rC4e2H6HUEpcvTrzTba48080IsLCMZ3KCyk40bJC1MZ4KQpR JemrNMl57hFCFnYd8wdvGcCS2LL72f5kn6GxnGy8TsyqhO+hX9s0vNoiL+moS0uPjbCm GiQCRkCSF73QRcEXLcUQPMHir0KWoQIuFjjP5COxdSQss4z2WCjPlfw0dFpXZsqC2K+0 gh9g== 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=RrsiR38UwzGryEjdYP0YDhWr8aT6bEJDFis5+ZW/wZQ=; b=JQwGGWtiXWU4Rz0ipwes+yRfElFtJwJCuRlbmndJOhGwTPp/R+7ISqESX+cXC2J9uZ aUWM6xIIzpKbGBtxbkZpKYrIzKYrvZTHRbxzW3aYOJTh1ggM4U7PI/+tAsM0UobNtFKT VNbtUAemH50XvlAlCgXayO3Ox4AddVJwPl91y4Ly1NvlKQmJcMC5GN7E2SRMyR+JD1ws NT2F70hCKBnw0+u8YoCgjEHbZo1Xk7GFwS6PwiNl8tizIqD0Myg8Hlb/XRAXlzA2Edxp jXft7cGhIVKK4zU7MGVt4z+q4BGYNuAceO/h1oITnmWtbdyi0ZKMyhHgwjh9FUj0wIkM qMbQ== X-Gm-Message-State: AOAM530imgqi6/JsLHcbQxdcG97nXGsQrEj7RtW/W1SdOSpvyiY75LAP 3Exi2eMV3E5h/j0DA7t2F6HI3g== X-Received: by 2002:a19:7f94:: with SMTP id a142mr11353510lfd.43.1597009909504; Sun, 09 Aug 2020 14:51:49 -0700 (PDT) Received: from localhost.bredbandsbolaget (c-92d7225c.014-348-6c756e10.bbcust.telenor.se. [92.34.215.146]) by smtp.gmail.com with ESMTPSA id t20sm8277045ljd.12.2020.08.09.14.51.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Aug 2020 14:51:48 -0700 (PDT) From: Linus Walleij To: Thierry Reding , Sam Ravnborg , Stephan Gerhold , =?utf-8?q?Pawe=C5=82_Chmiel?= Subject: [PATCH 0/4] drm/panel: s6e63m0: Add DSI transport Date: Sun, 9 Aug 2020 23:51:00 +0200 Message-Id: <20200809215104.1830206-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.26.2 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: dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This begins to modify the Samsung S6E63M0 driver to provide DSI support. After these initial changes the driver can already be used with the Samsung GT-I8190 (Golden) phone. After this initial support we will make more changes to support more gammas (more levels of backlight), special biasing on different display types and handling of the ESD IRQ. But let's begin with this. Linus Walleij (4): drm/panel: s6e63m0: Break out SPI transport drm/panel: s6e63m0: Add DSI transport drm/panel: s6e63m0: Add reading functionality drm/panel: s6e63m0: Add code to identify panel drivers/gpu/drm/panel/Kconfig | 23 ++- drivers/gpu/drm/panel/Makefile | 2 + .../gpu/drm/panel/panel-samsung-s6e63m0-dsi.c | 145 +++++++++++++++++ .../gpu/drm/panel/panel-samsung-s6e63m0-spi.c | 101 ++++++++++++ drivers/gpu/drm/panel/panel-samsung-s6e63m0.c | 146 ++++++++++-------- drivers/gpu/drm/panel/panel-samsung-s6e63m0.h | 13 ++ 6 files changed, 363 insertions(+), 67 deletions(-) create mode 100644 drivers/gpu/drm/panel/panel-samsung-s6e63m0-dsi.c create mode 100644 drivers/gpu/drm/panel/panel-samsung-s6e63m0-spi.c create mode 100644 drivers/gpu/drm/panel/panel-samsung-s6e63m0.h -- 2.26.2 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel