From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 34DC0C43381 for ; Wed, 20 Feb 2019 10:34:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F2ABE20700 for ; Wed, 20 Feb 2019 10:34:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="C3yoxhKQ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727319AbfBTKeR (ORCPT ); Wed, 20 Feb 2019 05:34:17 -0500 Received: from lelv0142.ext.ti.com ([198.47.23.249]:34476 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726317AbfBTKeR (ORCPT ); Wed, 20 Feb 2019 05:34:17 -0500 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x1KAXu2j017058; Wed, 20 Feb 2019 04:33:56 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1550658836; bh=HYEBf4DS0GWISJ2/gj5d6xdznTot6WSsaO881ulEaM4=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=C3yoxhKQmJTxTnNHdGfzEQtlEzUX1/ZH5FYVy5CPPelivt2Wm7E/ZMmxnv+HF+QBp W4v89wsCy9GVXxN5UQED2wL/Qj6xtRVNdisxF7VDa3BiMDeR3zpQXN3jjVrraerIqw M2kJZLHQdyFHvDMokGFBttPisIm3to/ZbUCcAh8A= Received: from DLEE106.ent.ti.com (dlee106.ent.ti.com [157.170.170.36]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x1KAXujQ098307 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 20 Feb 2019 04:33:56 -0600 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Wed, 20 Feb 2019 04:33:54 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Wed, 20 Feb 2019 04:33:54 -0600 Received: from [192.168.2.6] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id x1KAXp1X023954; Wed, 20 Feb 2019 04:33:52 -0600 Subject: Re: [PATCH 4/4] drm/panel: Add OSD101T2587-53TS driver To: Sam Ravnborg CC: , , , , , , , References: <20190215140315.18046-1-peter.ujfalusi@ti.com> <20190215140315.18046-5-peter.ujfalusi@ti.com> <20190215180759.GA26944@ravnborg.org> From: Peter Ujfalusi Message-ID: <2398a647-be4c-15e4-3e28-36382a834dce@ti.com> Date: Wed, 20 Feb 2019 12:34:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <20190215180759.GA26944@ravnborg.org> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sam, On 15/02/2019 20.07, Sam Ravnborg wrote: > Hi Peter. > > Good with more panel drivers. > Some comments in the following, please do not blindly follow them but > check that this is OK. First of all, thank you for the review and sorry for the delay! > > Sam > > On Fri, Feb 15, 2019 at 04:03:15PM +0200, Peter Ujfalusi via dri-devel wrote: >> The panel is similar to OSD101T2045-53TS (which is handled by panel-simple) >> with one big difference: osd101t2587-53ts needs MIPI_DSI_TURN_ON_PERIPHERAL >> message to be sent from the host to be operational and thus can not be >> handled by panel-simple. >> >> Signed-off-by: Peter Ujfalusi >> --- >> +++ b/drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c >> @@ -0,0 +1,284 @@ >> +// SPDX-License-Identifier: GPL-2.0 >> +/* >> + * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com >> + * Author: Peter Ujfalusi >> + */ >> + >> +#include >> +#include >> +#include >> +#include >> + >> +#include > Please do not use drmP.h in new drivers - we try to get rid of this file. OK. > >> +#include >> +#include >> +#include >> + >> +#include