Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2613898ybh; Mon, 16 Mar 2020 06:36:16 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvGMOdHgcmXNrGY2Z5uP2JOVxQKkFfOvifGtR2pCsxipLj+qU7ftPTSveB5L0PvW9swImVV X-Received: by 2002:a05:6830:1193:: with SMTP id u19mr23100000otq.190.1584365776150; Mon, 16 Mar 2020 06:36:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584365776; cv=none; d=google.com; s=arc-20160816; b=0IolIeVLoTB20j92tNRcW5FrpwhQ9QXIzRkgCT8BEV1UDe0zq1rI/E0heGQbmrgy7p fQo1GD8kZhS34o/MMOFvEe1I/TTMo7iPoewTQqJACaBw8gmdqjoVEuqPMS7MKnGP38Qc 72cLbMbQS+FRJzhL+7TBsxmP0+0Fls+4PNb8N6VRdWlkxYUngd9NJz5Rg8OoP/zPUFOL 6tEmZmk6Aamj6ZhXTmoKMssbBRvcgbtaK/XxAlzgrXBAGSrP9DWd+hAlGAQaScHtH4YY pLuGcclFUlSj7iqD+qMTdY990KSaUwhy2czoOnHdIQfVsmUr8upH/KKhV18kn8Jvpv9V ckFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=UogBDqyfcy6/qNkgFYCFMrYkAAGyI8Dc8r8lCwA5buc=; b=jFUOHGGYEuXEUMIcOsE1KcSsj8ZfbORWoSGYjSFEKzxUpHWWAYjcVXpmXhReE2fw7r YBhd4vuiPg4TP7h3B7eQvHqErwlR/oS03uyKqibMhetANhkYY4Jyl+NI8ceEMUkYXwj3 wA7GS/WpThMXMakeuIa9QB+vIomoU0HFJJS/iEDpe+A4/3WlWOjN1zi7nZ21xt6kd4Hn eb1Jifo8hn0i8DfIOGd4w8r2lXb3MLt3V5FpgXsMH1yUVtHFQKFdXru86XgMxeW2UbzU 89o9Bi8syNQ3j+lLk95f2MJmHiIcdO/KbFdWdrGHnWz68FHVXkvqpbuJlvaIP6euQ54H rRuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aosc.io header.s=dkim header.b="nTTzHm/2"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 9si2727oir.76.2020.03.16.06.36.00; Mon, 16 Mar 2020 06:36:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@aosc.io header.s=dkim header.b="nTTzHm/2"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731372AbgCPNfi (ORCPT + 99 others); Mon, 16 Mar 2020 09:35:38 -0400 Received: from hermes.aosc.io ([199.195.250.187]:59080 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731330AbgCPNfi (ORCPT ); Mon, 16 Mar 2020 09:35:38 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 24B284C196; Mon, 16 Mar 2020 13:35:15 +0000 (UTC) From: Icenowy Zheng To: Thierry Reding , Sam Ravnborg , Rob Herring , Maxime Ripard , Chen-Yu Tsai , Ondrej Jirman Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, Icenowy Zheng Subject: [PATCH v2 0/5] Add support for PinePhone LCD panel Date: Mon, 16 Mar 2020 21:34:58 +0800 Message-Id: <20200316133503.144650-1-icenowy@aosc.io> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aosc.io; s=dkim; t=1584365737; h=from:subject:date:message-id:to:cc:mime-version:content-transfer-encoding; bh=UogBDqyfcy6/qNkgFYCFMrYkAAGyI8Dc8r8lCwA5buc=; b=nTTzHm/2tCiQJ1hlgBvq2jrR9y68BrpXG7y3X5HoIL3pxcrktUbDg3eleVVT22r9nPlAcO 39HgVIRA00TxiaQYG7RXlnj9wrXfTGV1xlBwbeHPOizEOx3gvAJN6Syp8iKlHpXEMOc/Dq wdeGMDusw1SRlkvFWQZ/ns6IPGBDC+c= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset adds support for the LCD panel of PinePhone. The first 3 patches are for the panel itself, and the last 2 patches are for enabling it on PinePhone. PATCH 4 is the fix of a bug in sun6i_mipi_dsi which will gets triggered on XBD599. Icenowy Zheng (5): dt-bindings: vendor-prefixes: Add Xingbangda dt-bindings: panel: add binding for Xingbangda XBD599 panel drm: panel: add Xingbangda XBD599 panel drm/sun4i: sun6i_mipi_dsi: fix horizontal timing calculation arm64: allwinner: dts: a64: add LCD-related device nodes for PinePhone .../display/panel/xingbangda,xbd599.yaml | 50 +++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + .../dts/allwinner/sun50i-a64-pinephone.dtsi | 37 ++ drivers/gpu/drm/panel/Kconfig | 9 + drivers/gpu/drm/panel/Makefile | 1 + .../gpu/drm/panel/panel-xingbangda-xbd599.c | 366 ++++++++++++++++++ drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 10 +- 7 files changed, 470 insertions(+), 5 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/panel/xingbangda,xbd599.yaml create mode 100644 drivers/gpu/drm/panel/panel-xingbangda-xbd599.c -- 2.24.1