Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp252699ybt; Thu, 25 Jun 2020 21:25:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwd2uXnOEQcIIt72n4G9WKAsddIaekuaXrihPqpMI+YkpINm10qhamCRieTgGNZRAPWb8O X-Received: by 2002:a17:906:365a:: with SMTP id r26mr916133ejb.466.1593145525686; Thu, 25 Jun 2020 21:25:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593145525; cv=none; d=google.com; s=arc-20160816; b=cw1uUmKwGSSxkUg5O/er+lJafLn8+N8KrAyB6lZcjW1Nod7C+Z6G5uEMhiqTg2PLRv mRtd9hmB7M565XO7uK54h6YxRtSLDx3s+BsOAvFVLU5Y0Kd032RzD7e+32+Kl4cGqkia 0ywJ18ujaJNQr4N7QuUSeYChFSLido6wUqSSqcrCC0gpRF7vjJI3cRQmeafoR0Nn31dY zi4BSmBkufArb8S4bou6FpXyhXYt/8cfawWdGIn+YJvZLxxJ4/ttRPpoDv/eVA5u52OL JnKlBNRDz6oNeaPyGGOG7HuI/kLkkMo9rwVoRZsrhCCAnwgQCT6rij4snVLe1vGvE9cv LpMA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=SmRC0B3NNu7uaiONihWasS+V+/EIoq3tp8ZzT/sYx9o=; b=xjHGiUChAIAVL5riGCIJgJH6chwy0j6Wsd1JvFybNWx2w8aEjeSLGJGl99ea6Bs8xv Gh5rnpwtJxboTOEKpgKdY3f3TsAKax35muoZVS7ucGR6VHGmHZyLt9OI6LdIkN1vkhfB dbvdk3lRhr8xKdKghsjM7D8uhzYApivGrikkqsHHfmN3mn7AZa0mopmJLtRVNAHt2fvt r1pC1DNhG8XTIyU6Rm+3iq8Mm9CE/4ump8+7uYtV3GDSswY/flLoyh1mgLhGDMv2kTz1 5y+wJraw9cO2mgPc9OZYrb7VH8vGJvDx6efQZ5IlAVPhG+JpK47udoHe/U5Grrsusswa e1GQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=fPZl5job; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cn9si5606261edb.325.2020.06.25.21.25.03; Thu, 25 Jun 2020 21:25:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=fPZl5job; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726926AbgFZA4p (ORCPT + 99 others); Thu, 25 Jun 2020 20:56:45 -0400 Received: from vps.xff.cz ([195.181.215.36]:45178 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726607AbgFZA4K (ORCPT ); Thu, 25 Jun 2020 20:56:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1593132966; bh=H4Ey/axNrmDO8uWqgGRB90xGu+wTgBcSE26SENeyZ7Y=; h=From:To:Cc:Subject:Date:References:From; b=fPZl5job8L5Vj6SXEpUmEWt1xp72Di5hQdqIqR5g3buxh9QvctA9uN7Ow2j5YH5hG CYIi3OhHwRcGi6jvYae0ifvAgU9f7HJ4o7vxWjle2AQCnUcCi6eGUxuSD9eY+nkSBd oZAtXBJ8y7NTPjyv2B5Mx3RqUTvfED7aFvw4oZFc= From: Ondrej Jirman To: linux-sunxi@googlegroups.com, Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , =?UTF-8?q?Guido=20G=C3=BCnther?= , Purism Kernel Team , Rob Herring , Maxime Ripard , Chen-Yu Tsai , Linus Walleij , Icenowy Zheng Cc: Ondrej Jirman , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Samuel Holland , Martijn Braam , Luca Weiss , Bhushan Shah Subject: [PATCH v5 06/13] drm/panel: st7703: Prepare for supporting multiple panels Date: Fri, 26 Jun 2020 02:55:54 +0200 Message-Id: <20200626005601.241022-7-megous@megous.com> In-Reply-To: <20200626005601.241022-1-megous@megous.com> References: <20200626005601.241022-1-megous@megous.com> 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 Parametrize the driver so that it can support more panels based on st7703 controller. Signed-off-by: Ondrej Jirman --- drivers/gpu/drm/panel/panel-sitronix-st7703.c | 43 +++++++++++++------ 1 file changed, 31 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7703.c b/drivers/gpu/drm/panel/panel-sitronix-st7703.c index 511af659f273..08cbc316266c 100644 --- a/drivers/gpu/drm/panel/panel-sitronix-st7703.c +++ b/drivers/gpu/drm/panel/panel-sitronix-st7703.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include