Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp767855ybt; Wed, 1 Jul 2020 09:30:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3tgjol/zhnHYsPqm21Q/dCf9pUmdyfMCutFaicbpvC6P3YeJ57sQkdrqXFMlRLZeasn8P X-Received: by 2002:a50:fa07:: with SMTP id b7mr29359921edq.298.1593621012363; Wed, 01 Jul 2020 09:30:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593621012; cv=none; d=google.com; s=arc-20160816; b=Etxi27eLAWCvrLkd/j+QxGbU4SlWCMgGUSYa/hK9ifIZU/Af6X6Y5R4l8i+9mJJwag mMz/3xwIZj7g0IN3V5c7hJDgVMyVciMhWJr27tQqKdE8ZgZhatmLbvDr4wEJSvGBSvb3 3GZc6EsOqOW+/UELf7BHEuFx/Yf5Fmt1Ds7t825Kg8duySMwVle+AKS1//fYfQI9sLFn P3C7ihjyCGQCrWaEzIU8y1gy9mO5j7WzkabDzTUKGgtl3zkgbaj9xA5QndQ+lAxJF4L9 jH/HpGeB6A6jo23TNep/5YRg623eFTvXyMAE0UUaE8EBJ2K+eYg6HApIof2WkttfbTal uekw== 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=2gz+h0ejmdNascEAQKB3ScGZm9gbQDbYGi161Tcl5K4=; b=J8Y+CubLFZ8KuogKivw9vzhR0DhVcOPP3m+12x/WHHIKS+dnOYfny0VjaSPcn/rvJO FAXpanp27N8yUk8mOR5zTHmEfKhrNNig+tGg2OGSo/JA48N33oj7qz9yUR80pRnwP5TE RX4pJCrF5uNzudNS1o4spbGy27qWST/EJMAuoPf1B8JoD9iv4l339beE0ssJXQPv/hnF mW0PeSXJpQQhS6lmpmuHl8QoOvadOn4+pWYEI7ItG07isVRU/T1CpCG2UPVe8Zk4G9ov EKYn9X+slGbiCtmYaEt8lt6J+70rC2Q9AJbFb1j1RNzgxVPz/lCdN3B1Cy8FmiBmsvrV i8oQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=Y9NJ+xAk; 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 gu14si4162392ejb.589.2020.07.01.09.29.48; Wed, 01 Jul 2020 09:30:12 -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=Y9NJ+xAk; 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 S1732414AbgGAQ3j (ORCPT + 99 others); Wed, 1 Jul 2020 12:29:39 -0400 Received: from vps.xff.cz ([195.181.215.36]:52276 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732385AbgGAQ3g (ORCPT ); Wed, 1 Jul 2020 12:29:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1593620973; bh=mUzYqmflf9bnhdPBxN9oR+shsjqMiZz6MBqaRTA12Zk=; h=From:To:Cc:Subject:Date:References:From; b=Y9NJ+xAkUGeJTMywWjTzDxNbkKbhGb/FegRipLhG8lZqxSYCHnppbNDwPH2IVEjGt R2KgI8PbbfqO4SPyq11CPj84gy1Gws+TvUZ7g3VOJ/efXs7lDMN+qRni5y9cd5q8v/ OrHxM3RWfIYEmYrf/CtcfgQuKjpNAbccg0sSOyco= 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 v7 06/13] drm/panel: st7703: Prepare for supporting multiple panels Date: Wed, 1 Jul 2020 18:29:21 +0200 Message-Id: <20200701162928.1638874-7-megous@megous.com> In-Reply-To: <20200701162928.1638874-1-megous@megous.com> References: <20200701162928.1638874-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 Reviewed-by: Linus Walleij --- 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 14761fec3789..4721132ad3b1 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