From patchwork Fri Feb 22 13:16:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 10825965 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 012C813B5 for ; Fri, 22 Feb 2019 13:16:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E4C6930CB0 for ; Fri, 22 Feb 2019 13:16:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D628930D34; Fri, 22 Feb 2019 13:16:02 +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 82BA330CB0 for ; Fri, 22 Feb 2019 13:16:02 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9C0DE89359; Fri, 22 Feb 2019 13:15:59 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by gabe.freedesktop.org (Postfix) with ESMTPS id CDCE089336 for ; Fri, 22 Feb 2019 13:15:55 +0000 (UTC) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x1MDFpMw124689; Fri, 22 Feb 2019 07:15:51 -0600 Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x1MDFoc5055038 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 22 Feb 2019 07:15:51 -0600 Received: from DFLE101.ent.ti.com (10.64.6.22) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Fri, 22 Feb 2019 07:15:50 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Fri, 22 Feb 2019 07:15:50 -0600 Received: from feketebors.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id x1MDFlwA016867; Fri, 22 Feb 2019 07:15:48 -0600 From: Peter Ujfalusi To: , , Subject: [PATCH v2 0/4] drm/panel: Support for OSD101T2045-53TS and OSD101T2587-53TS Date: Fri, 22 Feb 2019 15:16:14 +0200 Message-ID: <20190222131618.20520-1-peter.ujfalusi@ti.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1550841351; bh=+1hIZYDKaYK7MRDe80JVIU4LP1wbpnCbYVcaMqOiOJQ=; h=From:To:CC:Subject:Date; b=gZKrwhdP9YMdlAZWigaWsN6/1MXChC4KtGmfD0rbzoaC9N59zYYsuI1sofCL6ZibB 2n9n/Ac1IUTBbYh0jpagKb1hhTsmpnEGmHVJ8SkxJV8PV8Jw41/1/SHABT3wJ8HopY XIF9J1MrQCvp/zt9XtxwzTCcGTNG2JHG/GuPVfnE= X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, tomi.valkeinen@ti.com, dri-devel@lists.freedesktop.org, sam@ravnborg.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hi, Changes since v1 (only panel-osd-osd101t2587-53ts changed): - Removed unused members from struct osd101t2587_panel - Use backlight_enable/backlight_disable - Use devm_of_find_backlight() - osd101t2587_of_match table standardized - osd101t2587_panel_unprepare() added to shutdown and remove callbacks to turn power off - Fix probe in case mipi_dsi_attach() would fail Add support for OSD101T2045-53TS and OSD101T2587-53TS from One Stop Displays. The two panel is similar with one big difference: OSD101T2587-53TS requires the MIPI_DSI_TURN_ON_PERIPHERAL message, thus can not be handled by panel-simple. Regards, Peter --- Peter Ujfalusi (4): dt-bindings: display: Add bindings for OSD101T2045-53TS drm/panel: simple: Add support for OSD101T2045-53TS dt-bindings: display: Add bindings for OSD101T2587-53TS panel drm/panel: Add OSD101T2587-53TS driver .../display/panel/osd,osd101t2045-53ts.txt | 11 + .../display/panel/osd,osd101t2587-53ts.txt | 14 + drivers/gpu/drm/panel/Kconfig | 6 + drivers/gpu/drm/panel/Makefile | 1 + .../drm/panel/panel-osd-osd101t2587-53ts.c | 254 ++++++++++++++++++ drivers/gpu/drm/panel/panel-simple.c | 34 +++ 6 files changed, 320 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/osd,osd101t2045-53ts.txt create mode 100644 Documentation/devicetree/bindings/display/panel/osd,osd101t2587-53ts.txt create mode 100644 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c