From patchwork Sat Nov 10 03:39:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: He Yangxuan X-Patchwork-Id: 10676839 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 618D213BF for ; Sat, 10 Nov 2018 03:39:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 44BF92E46D for ; Sat, 10 Nov 2018 03:39:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 34F0F2E453; Sat, 10 Nov 2018 03:39:59 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AD85D2E453 for ; Sat, 10 Nov 2018 03:39:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=rb6TQBMfuZT70TQYSDFickNDiFVI4O7DebjFvF4q/vA=; b=BSYwOcxm6MjO9t jHYqd7116kqjkO1JbpCiCoB3RMCcxywVuu/2lWczdqyjdqa3+RcFuCyOfrWX2xYSGY/4PrgJqjX0R idFs/F8JFpoSORb5Zk+PHXIc9jidrVScfNdUkLMpeKSmqmD/A173tyxGWK8s31b6sC2D1VpX/FEij lOjK12/haZAS4eWrKw6X6D6ZtVdM6gSXCspycNfZKSyWSZ9jJfIL22prRzgq4Na3tXIC/1eH2hcQ9 bKhQry6y5CBDnCvcj6/kb38WWn7mArRGqRf+fU9JQQsUgcbjR2Wcb/fu5szwSXNxzPQyrsrEHjeGJ kQT/EAvgeSSS9kx5jn1Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gLK7p-0004Be-PB; Sat, 10 Nov 2018 03:39:57 +0000 Received: from mail-pl1-x643.google.com ([2607:f8b0:4864:20::643]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gLK7m-0003z1-R7; Sat, 10 Nov 2018 03:39:56 +0000 Received: by mail-pl1-x643.google.com with SMTP id t6-v6so1782861plo.9; Fri, 09 Nov 2018 19:39:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wv6fd964pW9dxicq1yuADx/MUx25lUSe35PJfYc6suA=; b=h2l/FMIA6g5DrHx2mpI7QHi03dOzZ9eDQXepMi609VDVYehhWG58tj2QkUh/apHmCu 3jhk3pW5pmqXktTHwYDZrG602P8RB+3H6t3lf2bCaTn5SEn9IoXDcabaYYuT0GSMLqf+ CnSFvAAcIP66SMtBKKSB1x8DjO+gK6HAv4MUc4iboGcHVLd1gU7F8c9llny4e4EOugsE 7Veyy3KXByDZCHbeaM+FJCoJOt5HfSyY0XsX/OWo7KtOVC9PTqQUpa+qy7GVXVPhSnaK 5nFXU1n50Wlc9a4jMQqgvISBWU/eHxNalvwv3L4Oalwd9ZuHdTMBR66URiTkELieaxEd Jlrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wv6fd964pW9dxicq1yuADx/MUx25lUSe35PJfYc6suA=; b=ZO2FwKWx3Knj9b+pUj5T5hv5i6O6JUzwFbXHsgDaAgcMIoMD5Bbtdtg/OA6JMRRW7q cf5Py/dtwSBN0+P75fImDlf0yzXpBC8Yvd7x+GVx8C+JRN3d2/Wc+1cwoh0l4gGLZ+wE w8LWNm4dYe5lbiXGeQuUOScPdUaxFJepQyTC5XO2YoLJdjgZtXGQm7Fw5Mtl8yRNq+HA jduEzAwW4EiGvEezAUdZgBQy/wrs6OnBzNnvGosl5R1+3o3OkZyyxYPZglq0IStA2tff 5ZsX9zXJAeGrQugrLCqJ78MTJaa0bQxPQowZFqG8hzLZnGntdodEHZMDlcb7mb4ojqD8 eJCg== X-Gm-Message-State: AGRZ1gIaw7li9KqrdrWxa1EjnsMJozv14Y3jdMwsujjoVd4ZDbNamTpr tJCIALSLHb0ZUfLieafcsA4RcDc5rWq+Ow== X-Google-Smtp-Source: AJdET5dsMq9oV0wFSupTYpL0OYVl24KjN3XMZrWXkZCrYc+RNxv5l/kWJuMG3+ALkyAuhwF8igJY+A== X-Received: by 2002:a17:902:6185:: with SMTP id u5-v6mr11328973plj.41.1541821183190; Fri, 09 Nov 2018 19:39:43 -0800 (PST) Received: from localhost.localdomain ([45.76.192.69]) by smtp.gmail.com with ESMTPSA id w2-v6sm10191359pfn.89.2018.11.09.19.39.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Nov 2018 19:39:42 -0800 (PST) From: He Yangxuan To: linux-amlogic@lists.infradead.org Subject: [PATCH v5 1/3] arm64: dts: meson-gxl: add support for phicomm n1 Date: Sat, 10 Nov 2018 11:39:02 +0800 Message-Id: <20181110033904.4207-2-yangxuan8282@gmail.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181110033904.4207-1-yangxuan8282@gmail.com> References: <20181110033904.4207-1-yangxuan8282@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181109_193954_877415_03798A92 X-CRM114-Status: GOOD ( 14.64 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, He Yangxuan , narmstrong@baylibre.com, khilman@baylibre.com, linux-kernel@vger.kernel.org, carlo@caione.org, linux-arm-kernel@lists.infradead.org Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds support for the Phicomm N1. This device based on P230 reference design. And this box doesn't have cvbs, so disable related section in device tree. Signed-off-by: He Yangxuan Reviewed-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/Makefile | 1 + .../boot/dts/amlogic/meson-gxl-s905d-phicomm-n1.dts | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxl-s905d-phicomm-n1.dts diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile index c31f29d66..49f3ac5d8 100644 --- a/arch/arm64/boot/dts/amlogic/Makefile +++ b/arch/arm64/boot/dts/amlogic/Makefile @@ -18,6 +18,7 @@ dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-nexbox-a95x.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-p212.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p230.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p231.dtb +dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-phicomm-n1.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s805x-p241.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905w-p281.dtb dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905w-tx3-mini.dtb diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-phicomm-n1.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-phicomm-n1.dts new file mode 100644 index 000000000..9a8a8a7e4 --- /dev/null +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-phicomm-n1.dts @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2018 He Yangxuan + */ + +/dts-v1/; + +#include "meson-gxl-s905d-p230.dts" + +/ { + compatible = "phicomm,n1", "amlogic,s905d", "amlogic,meson-gxl"; + model = "Phicomm N1"; + + cvbs-connector { + status = "disabled"; + }; +}; + +&cvbs_vdac_port { + status = "disabled"; +};