From patchwork Sat Jul 18 10:53:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 11671893 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9336614E3 for ; Sat, 18 Jul 2020 10:54:07 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 64603207EA for ; Sat, 18 Jul 2020 10:54:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="BkJufEyM"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="N5lAQfKS" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 64603207EA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id: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:In-Reply-To:References:List-Owner; bh=uDn4v8qTyB/TmkZGzKOAEkz2cbJdJ/nDJ0kPTbwoZQc=; b=BkJufEyMTI9QFU7sDyn4m00bY0 ZuxGxT7WgxUwf+7W8rLtoIszZRkVtf5aFoR1oRO69f2/Tpiq0ko3dr4jlLg4Jh8u4/mdp5O23WYnF /h1MmQ3PYmrt3t1OYOzR9PgcPES8I8J0twPGiqvhGlMLW4gb73l2YfaIb1Z1zf+0ku8vp179JgQhc JoNI7tM3u8i+mp1mRrGBg9YuzhyPbSkzCYVADcvUTMfCe7+fXP0X0ZLV0pc8CSKBsB4+rlET6mp/Q AX+wjgW4aLXoqZ0LuZVf0L/QbtEtOczOohk8Bhc2fTy3hIE2s8Ui38w2HmD+k0SInYDJsx2vRNhKU qgrgx5jA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jwkTd-0001cE-8K; Sat, 18 Jul 2020 10:53:57 +0000 Received: from mail-ej1-x641.google.com ([2a00:1450:4864:20::641]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jwkTZ-0001aW-It; Sat, 18 Jul 2020 10:53:54 +0000 Received: by mail-ej1-x641.google.com with SMTP id o18so13463032eje.7; Sat, 18 Jul 2020 03:53:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=zIs8U1AFp5oU7Cmugoi3AB4+ops3mMT+enEcajDUhwg=; b=N5lAQfKS8Gbe8mgHP7atg2F/Fd0vQHeKM6ISEhazP33rstplU5A5hGe5QYDH+n8ZF9 QOn/rxmKkhnvWXEzBKq4mV9aoh2NeuOWc7NuaMDOy7TaC5ahcAw2JFc6KGby2b8+crRK oRKz422Ut4VstmKSCmncObD+MR+xn1+k86QmLIqISs3k6s5jKhsEtfYiNJAZFmjG8gtt O5IPLXJ8HRQpT5NQUvHvfWO52hFDnPHwveHCcEazAp1nPF2OYWfLpbhO87onOlHfUtkk Kh31VOP+nh4kDl3hlhnImZ/gVIgpO3TU/AL1FnjKgJNXjGKqNIVCb7oLraMGMfrV7aS/ IJaA== 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; bh=zIs8U1AFp5oU7Cmugoi3AB4+ops3mMT+enEcajDUhwg=; b=Ot4M5Fz0yNNHNUUU68kRzVLREhAGxJtOK4WfhqkFacUuXKrXonlkuI+yEd5PDHoyC2 y7ALudhNEJ8yTPmq7XmK556qfBjbPhvwyJYNynAAVCPvM9qheuO5+zHcIJuIQyIV4qDa PLSZtuRgT6fvcTtx33dXXT3oTFwQ/kQyEjqM35wG50J8/Gx7vWbvNTBexdnGh1R774Qc JOVrjfKC4FGG39yOc3Qw+RMkH4uCmQpAMrI475T2hO+zJssVs44UHswVp7m5qHuag0A+ /CXhG5ku/hVKJOJoxiA6+wOaY2qVhbgLHAmTLuSjlPsvaVNHW0GSU5CzG3lvJw+6epLT htPg== X-Gm-Message-State: AOAM531/2kx8XC7pdeVAelnTGsRuAgQaiWKrmc1oVgq+kmGRlXUlnknw NJ/hS7ibTn0ba0YuYLhm8v4= X-Google-Smtp-Source: ABdhPJyfxdy8JnK3/GBka8Msg1fQrDtZ/be2IA9Dfboj9fwWCufUWM5B0aLmW2SVGzT+dZUHfmrwcg== X-Received: by 2002:a17:906:33c5:: with SMTP id w5mr12120922eja.275.1595069631178; Sat, 18 Jul 2020 03:53:51 -0700 (PDT) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id r19sm10776381edp.79.2020.07.18.03.53.49 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 Jul 2020 03:53:50 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de Subject: [PATCH v2 0/3] rk3318 A95X Z2 board Date: Sat, 18 Jul 2020 12:53:40 +0200 Message-Id: <20200718105343.5152-1-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200718_065353_638925_6E063990 X-CRM114-Status: GOOD ( 10.29 ) X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:641 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [jbx6244[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit [jbx6244[at]gmail.com] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, robh+dt@kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org Add rk3318 A95X Z2 board. What works: adc key emmc ethernet hdmi gpu ir mmc sd card vop usb2 uart2 Not tested: av uart0 / bt spdif wifi No support in mainline: usb3 (works with manufacturer driver) front display (works with custom gpio driver AD1628/HT1628) Problems: U-boot only starts on emmc, then loads kernel from sd card or emmc. Hdmi hotplug detects DVI modes, but marks them all BAD. The dw-hdmi driver needs more pre_pll_cfg_table entries. Slow boot behavior. Screen available way after boot. (no penguins) GPU support for Debian is not up to date. (old version) Use Github version instead. Test with glmark2-es2-drm gives glmark2 Score: 29 Kernel log: lima ff300000.gpu: pp pp0 reset time out lima ff300000.gpu: pp pp1 reset time out No mainline support for GPU thermal and voltage to frequency. PWM1 supply connected to DMC, GPU and vcodec. The box only has a model name. Vendor prefix not verified. Etc. Changed V2: add vendor prefix changed compatible string restyle removed usb3 regulator node changed led active high to active low Johan Jonker (3): dt-bindings: Add vendor prefix for Shenzhen Zkmagic Technology Co., Ltd. dt-bindings: arm: rockchip: add Zkmagic A95X Z2 description arm64: dts: rockchip: add rk3318 A95X Z2 board .../devicetree/bindings/arm/rockchip.yaml | 5 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm64/boot/dts/rockchip/Makefile | 1 + arch/arm64/boot/dts/rockchip/rk3318-a95x-z2.dts | 393 +++++++++++++++++++++ 4 files changed, 401 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3318-a95x-z2.dts --- 2.11.0