From patchwork Tue Sep 29 08:32:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11805243 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 95E84139A for ; Tue, 29 Sep 2020 08:34:37 +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 5299420759 for ; Tue, 29 Sep 2020 08:34:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="yRLoc/Sn"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="kfiW+Njd" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5299420759 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.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: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=axxpnZccB0uugOwDfeO8w/vB5mNgwTSEp9mxHJTTc8Q=; b=yRLoc/SnaZYKLahtdFXV2yopO xy6MKPq3tJMTgdQnn1IP3gNv54g0Etxn1i9hxG2TtMEnAkbyNvLfuPz9FaIGbFgIRSzylVvHQ/olR ZfKO8kdaIhrpIGg2rYzf3F6Zsv/pod1uHtiiTvUdB69JWcx9WLTydlnbR+d7x3YlE00crSW25hnLU k+Nt+NISFvwSxdDDsmaYzGs5MXxfJJLPdbeB0H/0akVG4HgXRxJ+ZRQY/rJEneOKXvXF1VYMrr9jd 0HGjCEMy3INfndaQuzuTn0aZt16Aa2VvO93sanE6mdBSaqrfOH9pbcY8JMXkSRzosIzvcXgDlJtvt 0ZZm62x/w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNB5i-000430-Ii; Tue, 29 Sep 2020 08:34:30 +0000 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNB41-0003Gg-Ob for linux-rockchip@lists.infradead.org; Tue, 29 Sep 2020 08:32:47 +0000 Received: by mail-pf1-x444.google.com with SMTP id f18so3791338pfa.10 for ; Tue, 29 Sep 2020 01:32:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0sUVXqpZJYkTBREYHZGN9bQA2aipRxyO9aiTTvfxyw8=; b=kfiW+NjdDy+C2sILWaGX88I2j6iS3pWFqcOPb2ZJZw4qrj1QS47zGBedSGdh8guFTY 7mMLHb1rV8z8LCZ4fhO82oLCjnExT4WTFpie9mwGkjshyZHsBWLWAYgzr7rylJaU8Nld aw2KqJk/wk/SYbFuhHEKz38/9fMW122qWpEto= 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=0sUVXqpZJYkTBREYHZGN9bQA2aipRxyO9aiTTvfxyw8=; b=OhWoIoAysi3Qlt3lNz7HDApNCWHdu7qto5DPla7MEupDvYQ+HCesYXoyW8ovkBW9ju 2zA9RF9L8SzzPDX7kJEWN6o0S4EXpy/22Jrf69c5eFWGGRilhdbHaEaI0jxnGCXSQAuk MFH9KYCqpux8zAxEARdBv6ZTmKa953iOKVyT9oo7NOl7w64R7UStj/mAIU6W3RUXoCq7 0BboVxvGhgqh3EbYPZAncw2234fy11p0fHJyCUUhKwviW4LczXGtbL/ZI5dIW5QTp3dZ C7zes7eHCpkYUQoD6J8l9QHBNLI9b39EnAS04K81egk21otLwlgtfxb1RTHxOlG0hxzM maDA== X-Gm-Message-State: AOAM530HglafB4/jgDpKCWhbWKhYbfppMcv8oAtGHp+2n3nT4x32WpM1 WPKjGYzUWPCk1m7Gv+HoCyrt1A== X-Google-Smtp-Source: ABdhPJzFRDorTIZS2Gzyq7KzAqkcBtri5d5hVUIMskwm3+Oj6sHiU6SVA+IXKnbF7FFx6WPpwe1KKw== X-Received: by 2002:a17:902:6902:b029:d0:cb2d:f26d with SMTP id j2-20020a1709026902b02900d0cb2df26dmr3650727plk.6.1601368363652; Tue, 29 Sep 2020 01:32:43 -0700 (PDT) Received: from ub-XPS-13-9350.pdxnet.pdxeng.ch ([2405:201:c809:c7d5:b511:310d:8495:d767]) by smtp.gmail.com with ESMTPSA id 36sm3961241pgl.72.2020.09.29.01.32.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Sep 2020 01:32:43 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring Subject: [PATCH v4 1/7] dt-bindings: arm: rockchip: Add Engicam PX30.Core EDIMM2.2 Starter Kit Date: Tue, 29 Sep 2020 14:02:11 +0530 Message-Id: <20200929083217.25406-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200929083217.25406-1-jagan@amarulasolutions.com> References: <20200929083217.25406-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200929_043245_885169_6AF5A19D X-CRM114-Status: GOOD ( 10.32 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:444 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 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 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, Rob Herring , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Jagan Teki , Suniel Mahesh , Michael Trimarchi , linux-amarula , linux-arm-kernel@lists.infradead.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org PX30.Core is an EDIMM SOM based on Rockchip PX30 from Engicam. EDIMM2.2 Starter Kit is an EDIMM 2.2 Form Factor Capacitive Evaluation Board from Engicam. PX30.Core needs to mount on top of this Evaluation board for creating complete PX30.Core EDIMM2.2 Starter Kit. Add bindings for it. Signed-off-by: Jagan Teki Acked-by: Rob Herring --- Changes for v4, v3: - none Changes for v2: - collect Rob A-b Documentation/devicetree/bindings/arm/rockchip.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml b/Documentation/devicetree/bindings/arm/rockchip.yaml index 7025d00c06cc..bda0f2781890 100644 --- a/Documentation/devicetree/bindings/arm/rockchip.yaml +++ b/Documentation/devicetree/bindings/arm/rockchip.yaml @@ -70,6 +70,12 @@ properties: - const: elgin,rv1108-r1 - const: rockchip,rv1108 + - description: Engicam PX30.Core EDIMM2.2 Starter Kit + items: + - const: engicam,px30-core-edimm2.2 + - const: engicam,px30-px30-core + - const: rockchip,px30 + - description: Firefly Firefly-RK3288 items: - enum: From patchwork Tue Sep 29 08:32:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11805245 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 8B47D112C for ; Tue, 29 Sep 2020 08:34:42 +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 57AA620789 for ; Tue, 29 Sep 2020 08:34:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="JhvqAVB8"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="A5B6/67a" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 57AA620789 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.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: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=l+nO3WgqsnGGCZHYxwrowvlF6jcosTgJV4LztbBsxZo=; b=JhvqAVB82pfA5tlVQxY2wTbxr 1SJlCkEZBOpd/bXtKoLPkkE056CSiggK3ukq+XmF7QSh/Dk2E16Wr7M8C/aA/V27yTAP/kSk8cQLF m9WiGLf332eVD0FlBwG+g3ngFZAsoGItMrGaJvd7gDBb6nzfg+DRxGLxp33yJ0Ae+6+K/+bql8l7Z rX23EOkUZqoCMHbIsN4x+KThjIHiE6X/5wvSwFErmJpcLL7NKkK+G/Q4nWpd5RHYnLS/lHYFufUhD GxIQBAJ/ndavOBYlj9RDgeoPtPc+Adfhe7iw25ZyXwp9J0T35rQ/9t7AkZ/Ux2i1QHIOSqGznY3M5 /wnNTICFg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNB5o-00046I-Al; Tue, 29 Sep 2020 08:34:36 +0000 Received: from mail-pg1-x52d.google.com ([2607:f8b0:4864:20::52d]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNB46-0003JK-9t for linux-rockchip@lists.infradead.org; Tue, 29 Sep 2020 08:32:52 +0000 Received: by mail-pg1-x52d.google.com with SMTP id u24so3286908pgi.1 for ; Tue, 29 Sep 2020 01:32:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=L5yNqTzaLK6KmQpIwy3KjKzMTJ7xSH1GmPCrDaa4rEA=; b=A5B6/67azxNmrW5BKiv2tz08gGlvJDyOzqVsX9u8MtNWw3bbCC4kqJ3dWQKoVLAWLN FXHCGKkvYSiZylDk1mMk4gujOGYEGYOSUnTOSt/JKXseFr/6gY7cn6RE+dKp+agED0uq v3teiErifiHoDDmkZmfbQIWNo/GGTzwE3SJv8= 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=L5yNqTzaLK6KmQpIwy3KjKzMTJ7xSH1GmPCrDaa4rEA=; b=ahrxMuttiUJ+YaHdpV9pgIiI9GWe1lrCdmq6b1gwuYufal7C/wbh7u51T6YtIRZKyd FUfArV4cytZNZvbOiB5k+8mdLDXnvw8DPvsOCkzUTyps6XyzbHFEKsW1yeFvLAyW0Bep UOF3CLubEfAdja+bixjUWStcAXbB0ULS1Sl+EFm6SgITO26WCnqUnhtDeZFgshgyppdB Mw8NAactdiTxByuF46IauRyfWnzPqURkUtwPhPL00JsffodS9AZ3zAQqR9NDF/49uPNh OsGb6L+LkC7YqHAMs5PE9BJ8lu3unpBUVkb8V0OyK3isz7JiG+65eZaRIgNNKzrYpgp1 uH7A== X-Gm-Message-State: AOAM533wMK4dxOtoHtxX3SVR40SJpKp/w3kYh1uD8WonFbQtOMt1Ew01 BAukbIUPQxn5lMt3/dBkdIWYLQ== X-Google-Smtp-Source: ABdhPJyH+I8d0T2lzk4NlGY6ArGrVQlHmox3Mrb4NznqoQrA3UAV6pHNF9hyW5KsR/PIQN7o8/ODrA== X-Received: by 2002:a17:902:bccc:b029:d2:8cba:8f7e with SMTP id o12-20020a170902bcccb02900d28cba8f7emr3462956pls.3.1601368368207; Tue, 29 Sep 2020 01:32:48 -0700 (PDT) Received: from ub-XPS-13-9350.pdxnet.pdxeng.ch ([2405:201:c809:c7d5:b511:310d:8495:d767]) by smtp.gmail.com with ESMTPSA id 36sm3961241pgl.72.2020.09.29.01.32.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Sep 2020 01:32:47 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring Subject: [PATCH v4 2/7] arm64: dts: rockchip: px30: Add Engicam EDIMM2.2 Starter Kit Date: Tue, 29 Sep 2020 14:02:12 +0530 Message-Id: <20200929083217.25406-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200929083217.25406-1-jagan@amarulasolutions.com> References: <20200929083217.25406-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200929_043250_477640_8C2DD5A2 X-CRM114-Status: GOOD ( 15.83 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:52d listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 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 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, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Jagan Teki , Suniel Mahesh , Michael Trimarchi , linux-amarula , linux-arm-kernel@lists.infradead.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org Engicam EDIMM2.2 Starter Kit is an EDIMM 2.2 Form Factor Capacitive Evaluation Board. Genaral features: - LCD 7" C.Touch - microSD slot - Ethernet 1Gb - Wifi/BT - 2x LVDS Full HD interfaces - 3x USB 2.0 - 1x USB 3.0 - HDMI Out - Mini PCIe - MIPI CSI - 2x CAN - Audio Out SOM's like PX30.Core needs to mount on top of this Evaluation board for creating complete PX30.Core EDIMM2.2 Starter Kit. Add support for it. Signed-off-by: Jagan Teki Signed-off-by: Michael Trimarchi --- Changes for v4: - none Changes for v3: - sort regulator nodes properties - drop cap-mmc-highspeed property - add Amarula Solutions copyright Changes for v2: - move carrier enablement nodes in carrier dtsi .../dts/rockchip/px30-engicam-common.dtsi | 39 +++++++++++++++++++ .../dts/rockchip/px30-engicam-edimm2.2.dtsi | 7 ++++ 2 files changed, 46 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/px30-engicam-common.dtsi create mode 100644 arch/arm64/boot/dts/rockchip/px30-engicam-edimm2.2.dtsi diff --git a/arch/arm64/boot/dts/rockchip/px30-engicam-common.dtsi b/arch/arm64/boot/dts/rockchip/px30-engicam-common.dtsi new file mode 100644 index 000000000000..bd5bde989e8d --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/px30-engicam-common.dtsi @@ -0,0 +1,39 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Engicam srl + * Copyright (c) 2020 Amarula Solutions + * Copyright (c) 2020 Amarula Solutions(India) + */ + +/ { + vcc5v0_sys: vcc5v0-sys { + compatible = "regulator-fixed"; + regulator-name = "vcc5v0_sys"; /* +5V */ + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + }; +}; + +&gmac { + clock_in_out = "output"; + phy-supply = <&vcc_3v3>; /* +3V3_SOM */ + snps,reset-active-low; + snps,reset-delays-us = <0 50000 50000>; + snps,reset-gpio = <&gpio2 RK_PB5 GPIO_ACTIVE_HIGH>; + status = "okay"; +}; + +&sdmmc { + cap-sd-highspeed; + card-detect-delay = <800>; + vmmc-supply = <&vcc_3v3>; /* +3V3_SOM */ + vqmmc-supply = <&vcc_3v3>; + status = "okay"; +}; + +&uart2 { + pinctrl-0 = <&uart2m1_xfer>; + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/rockchip/px30-engicam-edimm2.2.dtsi b/arch/arm64/boot/dts/rockchip/px30-engicam-edimm2.2.dtsi new file mode 100644 index 000000000000..cb00988953e9 --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/px30-engicam-edimm2.2.dtsi @@ -0,0 +1,7 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Engicam srl + * Copyright (c) 2020 Amarula Solutions(India) + */ + +#include "px30-engicam-common.dtsi" From patchwork Tue Sep 29 08:32:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11805247 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 8F62D112C for ; Tue, 29 Sep 2020 08:34:44 +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 5A6B820759 for ; Tue, 29 Sep 2020 08:34:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="EiUdPQM7"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="IiCVmzve" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5A6B820759 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.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: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=f/CF4Dzuab9pVIuW/07OU8NTRvnLU0B3f8NQ7X2luOs=; b=EiUdPQM7peRDkmvV+2K50iANH 5RqxGim2TyvLxW0m9ugVemFVua//Fxlf9WUkAzgVMyyidRvmtroMcn7lXFhND35utSI6PxOL5ZNEY 7sWzsIWg5E3WwmyYQCvMgvjHNCHTQ8MYt7izR8aEWGDW1fdf97ra5rce4AgxX6V4qe+2qe+abtps+ V4iRyrX7CNkVeM9/JTzvKzlIiMTyhtN0KkHg/l7HmysbcTyy6tRsogoFMTainQ3+fMh5FQlqGAjNo lfbMyJhCq7w7EFquU4E7Nzm4PnHz5Va95utZrmPiIYtgPhG7ZZci3yK04IpZl8shyoq28GfvnCdYV qXqh/6gcg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNB5q-000477-2t; Tue, 29 Sep 2020 08:34:38 +0000 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNB4B-0003Lk-2B for linux-rockchip@lists.infradead.org; Tue, 29 Sep 2020 08:32:57 +0000 Received: by mail-pj1-x1033.google.com with SMTP id v14so2242475pjd.4 for ; Tue, 29 Sep 2020 01:32:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UiWcYyOhRC7RXRis+nbhpk3PtdnMz2h/sPkr6CWec0w=; b=IiCVmzvedVRtlcLDAz4DyjJL6JSfglyyCYsDIPmWfhrE9kOmedp5D1PU7VYqul2p1y 9AoC75EDsk6HT1bTSIEY4IQrm4ON7uVdo4qfKNS7EcM1fxmOy/DVuzhv44HEvWFR8N65 U8++8U5lr323awZlm+75dpInzlk+OAqzZ5VlY= 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=UiWcYyOhRC7RXRis+nbhpk3PtdnMz2h/sPkr6CWec0w=; b=YzmbTFaG3oYgLLmXLBURYj1UNqMnGyf+oYrLjY7PhD6ksX5maq0A3BDDhAbllL1oQs uBoQg0zJLZLqqMllMPi+NecwFmmo5w2zKmD5YL+agXDa6ySGp29RUdPtKEbNtBiUq4yj bY7WcADLHpRbGvtGicut7NSm/ubxOvYvEHDArfqKoW4KovZDnVqQFS26sX8Y+ZkgQdly rKkN1K9Rc9Il0Y6TkAX36cD70SAguWCS54JKVBmouJcHcLPugdvKpgF29g01qm+L+h9C WIClBqCLZ9cdWuu3mIIcR101oIIYrPRCYyJ6jIGm+Mgl2eymH4hEUogLfLnbb+0mdkBF 9djA== X-Gm-Message-State: AOAM530rOrFaztgBLX874+GcfXqsALcf8GxvHMI2k0oWGKj8lx6CZx4E q/kpmiCkINaJCPiRynwT9J40Bg== X-Google-Smtp-Source: ABdhPJxcAsQPiHqm7wbJG/lPjiSE6GtzGhAZeSib8ldx2ZKwGXrnxSubt9VtXr8TD420pNW3JXFy4g== X-Received: by 2002:a17:90a:e697:: with SMTP id s23mr2888036pjy.175.1601368372751; Tue, 29 Sep 2020 01:32:52 -0700 (PDT) Received: from ub-XPS-13-9350.pdxnet.pdxeng.ch ([2405:201:c809:c7d5:b511:310d:8495:d767]) by smtp.gmail.com with ESMTPSA id 36sm3961241pgl.72.2020.09.29.01.32.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Sep 2020 01:32:52 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring Subject: [PATCH v4 3/7] arm64: dts: rockchip: Add Engicam PX30.Core SOM Date: Tue, 29 Sep 2020 14:02:13 +0530 Message-Id: <20200929083217.25406-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200929083217.25406-1-jagan@amarulasolutions.com> References: <20200929083217.25406-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200929_043255_201331_E7F6B8B6 X-CRM114-Status: GOOD ( 14.28 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:1033 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 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 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, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Jagan Teki , Suniel Mahesh , Michael Trimarchi , linux-amarula , linux-arm-kernel@lists.infradead.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org From: Michael Trimarchi PX30.Core is an EDIMM SOM based on Rockchip PX30 from Engicam. General features: - Rockchip PX30 - Up to 2GB DDR4 - eMMC 4 GB expandible - rest of PX30 features PX30.Core needs to mount on top of Engicam baseboards for creating complete platform boards. Possible baseboards are, - EDIMM2.2 - C.TOUCH 2.0 Add support for it. Signed-off-by: Jagan Teki Signed-off-by: Michael Trimarchi --- Changes for v4: - none Changes for v3: - sort regulator nodes properties - add Amarula Solutions copyright - update the patch author Changes for v2: - none .../boot/dts/rockchip/px30-px30-core.dtsi | 232 ++++++++++++++++++ 1 file changed, 232 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/px30-px30-core.dtsi diff --git a/arch/arm64/boot/dts/rockchip/px30-px30-core.dtsi b/arch/arm64/boot/dts/rockchip/px30-px30-core.dtsi new file mode 100644 index 000000000000..16e6cf28a440 --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/px30-px30-core.dtsi @@ -0,0 +1,232 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Fuzhou Rockchip Electronics Co., Ltd + * Copyright (c) 2020 Engicam srl + * Copyright (c) 2020 Amarula Solutons + * Copyright (c) 2020 Amarula Solutons(India) + */ + +#include +#include + +/ { + compatible = "engicam,px30-px30-core", "rockchip,px30"; +}; + +&cpu0 { + cpu-supply = <&vdd_arm>; +}; + +&cpu1 { + cpu-supply = <&vdd_arm>; +}; + +&cpu2 { + cpu-supply = <&vdd_arm>; +}; + +&cpu3 { + cpu-supply = <&vdd_arm>; +}; + +&emmc { + cap-mmc-highspeed; + mmc-hs200-1_8v; + non-removable; + status = "okay"; +}; + +&i2c0 { + status = "okay"; + + rk809: pmic@20 { + compatible = "rockchip,rk809"; + reg = <0x20>; + interrupt-parent = <&gpio0>; + interrupts = ; + pinctrl-names = "default"; + pinctrl-0 = <&pmic_int>; + rockchip,system-power-controller; + wakeup-source; + #clock-cells = <1>; + clock-output-names = "rk808-clkout1", "rk808-clkout2"; + + vcc1-supply = <&vcc5v0_sys>; + vcc2-supply = <&vcc5v0_sys>; + vcc3-supply = <&vcc5v0_sys>; + vcc4-supply = <&vcc5v0_sys>; + vcc5-supply = <&vcc3v3_sys>; + vcc6-supply = <&vcc3v3_sys>; + vcc7-supply = <&vcc3v3_sys>; + vcc8-supply = <&vcc3v3_sys>; + vcc9-supply = <&vcc5v0_sys>; + + regulators { + vdd_log: DCDC_REG1 { + regulator-name = "vdd_log"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <950000>; + regulator-max-microvolt = <1350000>; + regulator-ramp-delay = <6001>; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <950000>; + }; + }; + + vdd_arm: DCDC_REG2 { + regulator-name = "vdd_arm"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <950000>; + regulator-max-microvolt = <1350000>; + regulator-ramp-delay = <6001>; + + regulator-state-mem { + regulator-off-in-suspend; + regulator-suspend-microvolt = <950000>; + }; + }; + + vcc_ddr: DCDC_REG3 { + regulator-name = "vcc_ddr"; + regulator-always-on; + regulator-boot-on; + + regulator-state-mem { + regulator-on-in-suspend; + }; + }; + + vcc_3v3: DCDC_REG4 { + regulator-name = "vcc_3v3"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <3300000>; + }; + }; + + vcc3v3_sys: DCDC_REG5 { + regulator-name = "vcc3v3_sys"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <3300000>; + }; + }; + + vcc_1v0: LDO_REG1 { + regulator-name = "vcc_1v0"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1000000>; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <1000000>; + }; + }; + + vcc_1v8: LDO_REG2 { + regulator-name = "vcc_1v8"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <1800000>; + }; + }; + + vdd_1v0: LDO_REG3 { + regulator-name = "vdd_1v0"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1000000>; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <1000000>; + }; + }; + + vcc3v0_pmu: LDO_REG4 { + regulator-name = "vcc3v0_pmu"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <3300000>; + + }; + }; + + vccio_sd: LDO_REG5 { + regulator-name = "vccio_sd"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + + regulator-state-mem { + regulator-on-in-suspend; + regulator-suspend-microvolt = <3300000>; + }; + }; + + vcc5v0_host: SWITCH_REG2 { + regulator-name = "vcc5v0_host"; + regulator-always-on; + regulator-boot-on; + }; + }; + }; +}; + +&io_domains { + vccio1-supply = <&vcc_3v3>; + vccio2-supply = <&vcc_3v3>; + vccio3-supply = <&vcc_3v3>; + vccio4-supply = <&vcc_3v3>; + vccio5-supply = <&vcc_3v3>; + vccio6-supply = <&vcc_1v8>; + status = "okay"; +}; + +&pinctrl { + pmic { + pmic_int: pmic_int { + rockchip,pins = <0 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; +}; + +&pmu_io_domains { + pmuio1-supply = <&vcc_3v3>; + pmuio2-supply = <&vcc_3v3>; + status = "okay"; +}; + +&tsadc { + rockchip,hw-tshut-mode = <1>; + rockchip,hw-tshut-polarity = <1>; + status = "okay"; +}; From patchwork Tue Sep 29 08:32:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11805251 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 A3C8E139A for ; Tue, 29 Sep 2020 08:34:51 +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 6E44320759 for ; Tue, 29 Sep 2020 08:34:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="l0w1wcuu"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="YRXs8qyK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6E44320759 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.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: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=Mp8Sm4kBecEsYFI/NufA07zNmN1IYAfgn+64CuBtTzk=; b=l0w1wcuu0VxZBoj1CnkDFe14O vYv2IR9QULjSEWO28nDLcO+sbR0f2VU/TlQZyWh6P9LPSBP5L6m3ykVIEZk5Cw1NbIlsPFku48NCn pjZ7kjup5pSF/dlqv2sX4rLga1YWxnMc1YwdStzZ4xj0nLjRUpsTUOGHXlg4HAXN2s5zbaWrTMixI jhq722ofGuQ77p+nCo7AaKvBzcRqbf/lKwVe3mpzi2UpUIFqqvZ2JuVBftpAKkMhs2tgw45emn3hM pUoTKR3uEhyiT7Ed4tBjUZy/3SXPxWrRdVELDzhsevqMO6E6iYHkv18vQYgMRMC7Ll9eZdlYOnDT9 +GFLu7bgA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNB5x-0004C4-Qj; Tue, 29 Sep 2020 08:34:45 +0000 Received: from mail-pj1-x1043.google.com ([2607:f8b0:4864:20::1043]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNB4F-0003Nl-Ii for linux-rockchip@lists.infradead.org; Tue, 29 Sep 2020 08:33:01 +0000 Received: by mail-pj1-x1043.google.com with SMTP id md22so3438906pjb.0 for ; Tue, 29 Sep 2020 01:32:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vPMAxinxPrny8XKDKZApjaR0cwFKYuGXtLocmsgKqno=; b=YRXs8qyK8nrK5Au2iu+Ubh+KAvNkaHroGhmSYPROwxF8KuMFOio+EDoVidcDuPBACO ZGCjkHTVa8lgnGinagFqSMWS2wtk68TQabWd0nlzY2tzEqlqV/XpdUFjLVNGbrLUQnL5 dzHezhYvhlZUK5KRrnkcUn8DaxzynUfkKlFvw= 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=vPMAxinxPrny8XKDKZApjaR0cwFKYuGXtLocmsgKqno=; b=imyAnyIKgXYp0U71TgT9zjzhIQzBqZnK/psKY05X/cJMG8vOIaKiPewhYKFSE/pz22 WAZPeEwukql0tm0MIpQbVIVgABPRoldj7mFEEPFrqewAIWrNt03PDgm5u6XpkncnQT/7 t9798tAW6PMHtUSRbSl8m0IsE4Q9scyCNib1sKm2Rm8gYaAstw1F5YaJb2Bq0chNCayt wQzWqtrGi8rgL7ddhbXRWMnUF2zaVLWiCG04yi5idBsPLLJH/nff2/H3LaFzg9YQCghr pkoQVr7uIZqCfhWVrTMKT9ndCznP1PoHHY/hxCg4ww9AJAutsH+Z1uBZxMeJqt3PKHAh siIw== X-Gm-Message-State: AOAM532Ju+KRu+f+Dk9wo1U0uT6ZkO7EyUIGov8C3PTr3oWZrx4+e3vo KU8176kEYwM/gSePstXHAkxIUQ== X-Google-Smtp-Source: ABdhPJwPYL5Rb0z85CfSR710/Zlh7ijJX0QyVaOChLEgecop8yvFJnAIVtAQyhrxI963gP1ePOwCcA== X-Received: by 2002:a17:90a:6a4e:: with SMTP id d14mr2740937pjm.63.1601368377343; Tue, 29 Sep 2020 01:32:57 -0700 (PDT) Received: from ub-XPS-13-9350.pdxnet.pdxeng.ch ([2405:201:c809:c7d5:b511:310d:8495:d767]) by smtp.gmail.com with ESMTPSA id 36sm3961241pgl.72.2020.09.29.01.32.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Sep 2020 01:32:56 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring Subject: [PATCH v4 4/7] arm64: dts: rockchip: Add Engicam PX30.Core EDIMM2.2 Starter Kit Date: Tue, 29 Sep 2020 14:02:14 +0530 Message-Id: <20200929083217.25406-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200929083217.25406-1-jagan@amarulasolutions.com> References: <20200929083217.25406-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200929_043259_646751_EAB63BCE X-CRM114-Status: GOOD ( 14.87 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:1043 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 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 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, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Jagan Teki , Suniel Mahesh , Michael Trimarchi , linux-amarula , linux-arm-kernel@lists.infradead.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org PX30.Core is an EDIMM SOM based on Rockchip PX30 from Engicam. EDIMM2.2 Starter Kit is an EDIMM 2.2 Form Factor Capacitive Evaluation Board from Engicam. PX30.Core needs to mount on top of this Evaluation board for creating complete PX30.Core EDIMM2.2 Starter Kit. Add support for it. Signed-off-by: Jagan Teki --- Changes for v4, v3, v2: - none arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/px30-px30-core-edimm2.2.dts | 21 +++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/px30-px30-core-edimm2.2.dts diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile index 02cdb3c4a6c1..65116fcb7368 100644 --- a/arch/arm64/boot/dts/rockchip/Makefile +++ b/arch/arm64/boot/dts/rockchip/Makefile @@ -1,5 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-evb.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-px30-core-edimm2.2.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3308-evb.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3308-roc-cc.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3326-odroid-go2.dtb diff --git a/arch/arm64/boot/dts/rockchip/px30-px30-core-edimm2.2.dts b/arch/arm64/boot/dts/rockchip/px30-px30-core-edimm2.2.dts new file mode 100644 index 000000000000..c36280ce7fc7 --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/px30-px30-core-edimm2.2.dts @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Fuzhou Rockchip Electronics Co., Ltd + * Copyright (c) 2020 Engicam srl + * Copyright (c) 2020 Amarula Solutions(India) + */ + +/dts-v1/; +#include "px30.dtsi" +#include "px30-engicam-edimm2.2.dtsi" +#include "px30-px30-core.dtsi" + +/ { + model = "Engicam PX30.Core EDIMM2.2 Starter Kit"; + compatible = "engicam,px30-core-edimm2.2", "engicam,px30-px30-core", + "rockchip,px30"; + + chosen { + stdout-path = "serial2:115200n8"; + }; +}; From patchwork Tue Sep 29 08:32:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11805255 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 02476112C for ; Tue, 29 Sep 2020 08:35:03 +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 77A8720759 for ; Tue, 29 Sep 2020 08:35:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="2kUoS5Y9"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="YrvST2P1" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 77A8720759 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.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: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=DCIwtPCR5BuuWTIGYg8JeS1NYLLhRhvs5zaizkiGoFI=; b=2kUoS5Y9LfPSEwd5hBo3wnX9k LlKJzy/c53AP8bEyPXQMpNS2G4kPzCas2fuNox2PcMh2VsupIcLOH0KOETYD3KcxGJWEMJqus3HX0 jCyg2c4WOsQMDGHGeFpxSQfotSWmW7MDbMPS9XLUKyU9McXWFU6/zWqe3vvAyffVGTGzAaTrdfSYF n6J0TxnbX48B7Vm3FM2qJ43H7CHiHAhUGYdAKbgW0w55fcQDcfDd8hyvfdIA308jt2H4Kgo2oGyfT sIr/ejiADQ7aNJSE8kVtOM2z3kP4HBm3B1MMqeQiKrffiQ7Z5+Mv2WswJ20vxAkgOoFWUMdS8vCVl bX9A0WWMw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNB65-0004HQ-KC; Tue, 29 Sep 2020 08:34:53 +0000 Received: from mail-pj1-x1042.google.com ([2607:f8b0:4864:20::1042]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNB4J-0003Q9-UF for linux-rockchip@lists.infradead.org; Tue, 29 Sep 2020 08:33:06 +0000 Received: by mail-pj1-x1042.google.com with SMTP id md22so3439026pjb.0 for ; Tue, 29 Sep 2020 01:33:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1TXOSGDfi3tEDnn/11wFhZgunf2JzZ8G4zh32CvXS0A=; b=YrvST2P144UFdNBXeXgAGFcXQJ2Ge8Wbe97fxHYr0k3Tl9gfe0wI1N7KjVCaqsB1Y5 /plehqpkDgk1NwY7dy69fbq2cnzJehfODmWVNWw5SN/eT5qOlY3ZG0HbHa7cBv/IrsQi S7s/n/mlDYrfNrzuwASpUiflf6riTP9zB1i3o= 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=1TXOSGDfi3tEDnn/11wFhZgunf2JzZ8G4zh32CvXS0A=; b=fuPsEZOUME0bTnC/KZR88WYiZNryRTyhEvO8MhypooJPhjqPLAIgLH3kMANJp4pqVS S7tdDjBkv9jSsA9LYFOOzPFw2/iwNOpb+KI50CAAai4MLFSeIbP1rz7KTdh/wzAp47y8 NO0qagyLD7XIwXFSmmqCOjDXxNTls2VmFb01Q6AJnu6kUXbrY/zVhSdYyyMSJKYkM8Nn 5KrJftT5kpXm+T0TdqTAlK1mSfAipFOcoGybJQ/BSF+T39xVczXEKGhwR095oIZDQJOI TLjmy1qDQSZEmCYXEyrIMhrfIfyrarubdGf/LHEKs+SjukRlh3n+D2whhNkVa4AUAiid 2Wtg== X-Gm-Message-State: AOAM532MDuSvlNbHOOHD1qOr2yI9wmwr/XzF7stMMJFRxZft9XSBw+yI g64LzyvvtjFizTthCIcZ35QUPg== X-Google-Smtp-Source: ABdhPJyG38K0xlLp/r1NI72VdnrWA56c4qhc0dSdCtfKlcDwdSAqWfQxXw1cAlWaYmLD2dwu4H5jbw== X-Received: by 2002:a17:90a:b287:: with SMTP id c7mr2905167pjr.141.1601368381673; Tue, 29 Sep 2020 01:33:01 -0700 (PDT) Received: from ub-XPS-13-9350.pdxnet.pdxeng.ch ([2405:201:c809:c7d5:b511:310d:8495:d767]) by smtp.gmail.com with ESMTPSA id 36sm3961241pgl.72.2020.09.29.01.32.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Sep 2020 01:33:01 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring Subject: [PATCH v4 5/7] dt-bindings: arm: rockchip: Add Engicam PX30.Core C.TOUCH 2.0 Date: Tue, 29 Sep 2020 14:02:15 +0530 Message-Id: <20200929083217.25406-6-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200929083217.25406-1-jagan@amarulasolutions.com> References: <20200929083217.25406-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200929_043304_848379_C7FE140E X-CRM114-Status: GOOD ( 10.86 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:1042 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 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 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, Rob Herring , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Jagan Teki , Suniel Mahesh , Michael Trimarchi , linux-amarula , linux-arm-kernel@lists.infradead.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org PX30.Core is an EDIMM SOM based on Rockchip PX30 from Engicam. C.TOUCH 2.0 is a general purpose carrier board with capacitive touch interface support. PX30.Core needs to mount on top of this Carrier board for creating complete PX30.Core C.TOUCH 2.0 board. Add bindings for it. Signed-off-by: Jagan Teki Acked-by: Rob Herring --- Changes for v4: - collect Rob Acked-by Changes for v3: - none Changes for v2: - new patch Documentation/devicetree/bindings/arm/rockchip.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml b/Documentation/devicetree/bindings/arm/rockchip.yaml index bda0f2781890..3aecb1241492 100644 --- a/Documentation/devicetree/bindings/arm/rockchip.yaml +++ b/Documentation/devicetree/bindings/arm/rockchip.yaml @@ -70,6 +70,12 @@ properties: - const: elgin,rv1108-r1 - const: rockchip,rv1108 + - description: Engicam PX30.Core C.TOUCH 2.0 + items: + - const: engicam,px30-core-ctouch2 + - const: engicam,px30-px30-core + - const: rockchip,px30 + - description: Engicam PX30.Core EDIMM2.2 Starter Kit items: - const: engicam,px30-core-edimm2.2 From patchwork Tue Sep 29 08:32:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11805259 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 1EE64112C for ; Tue, 29 Sep 2020 08:36:01 +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 D894B2075A for ; Tue, 29 Sep 2020 08:36:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="egAwKJcA"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="LFncIg1k" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D894B2075A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.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: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=nyMzW/sM2uW2WY3s0cERo33t4XJcCu0+o0vHKLG8jZ4=; b=egAwKJcAGfFGI3465zUSrBe+f rab6I3tYf1ZRSP6EbGM4FSyfzt6Ioj1b/shfoJAKtiYgmQOTwnfeEqr1894D5r0Au+JXMeNv8OCjt U6QnMAnLe3DxRtFBvHYKBCZxGtbD8akIRXeVxzvkSLVNI9GL9EBc9qsPGrKrqCsb9lv0G8cgnHOdi t8DndGPOc4ZITLatfFEPs0PZfJkCYngaSF16zdKSrda0XRbEhx2XLLgePFNCyR4RHHpxeZ0pmjsKi Kvo44UvfC9Tz7tk6b9mUJHAEAe9bD48pBAqqeDCBMh5bPq7NjZHoI4AhICA5gBmF5irOB+pB9mIw1 g0dOFI7JA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNB74-0004mT-D7; Tue, 29 Sep 2020 08:35:54 +0000 Received: from mail-pj1-x1043.google.com ([2607:f8b0:4864:20::1043]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNB4O-0003Ry-C4 for linux-rockchip@lists.infradead.org; Tue, 29 Sep 2020 08:33:10 +0000 Received: by mail-pj1-x1043.google.com with SMTP id fa1so2279424pjb.0 for ; Tue, 29 Sep 2020 01:33:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=dx44QJ0d0wpQDOLwOMTCd/a0pDc1XmM5I6tzJeT/8Ss=; b=LFncIg1k+T888IG6v8CeyKfSQF1KZzlWrmWlY/2XEdAIFbt5J2p8Bp9Jz3YKyPY68Q xbx2FCdOAAouJ+L2wFWHmCY0GCLKn1owfuNwlW56gRp+NpPREQKILelE0p/UeQVMZSlq LgPC6PgKfJ1yU3bpNKfEhtePxtl1DLU+kjiow= 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=dx44QJ0d0wpQDOLwOMTCd/a0pDc1XmM5I6tzJeT/8Ss=; b=Dz+XfbLBsLWDlhpKxXbyc6rvmx+o8JWRNdAThEjufHID3MjMbQu6lAJ388rCiuE9Ez 9GeMqxLliUrPf67AhbMwr1A6dLd8hNfio76mw5rARg/GQ2XGVDeVWOiwOuklLUl4UkBF 2nYBEnj7g8PcN8yoY81F+TOOhbyDyDT8JNQe95bi6LP22bXmkmd85gFzG4qzEPCDaWVk QA/Kqmuvxp84ZZUXpG0kMzpxp+DFHIf41j1dobqOj6HMNtieGTY0YyAYNd3rPrQwmAGj /z/b5K+W++u6PaGIySwKZt2zPDXrl+vIxicmLXPpE/lkx7pjyUV64Itpx71otNt8PkJG JEIQ== X-Gm-Message-State: AOAM5308zZIrrDd509jY5sK/v3piHni6cPxcnYl2E5B/JSe2OAeV2r3N vhUmg2tXXP5ne2Zva25ap7Xipg== X-Google-Smtp-Source: ABdhPJwfN1BQWnR0DbmK3K6Z9wqqEWdFqxfQQxAnapawWIvh0kz+rFW1pdDfsXKkbD7FZb1+cN8/dw== X-Received: by 2002:a17:90a:e609:: with SMTP id j9mr2727199pjy.129.1601368386111; Tue, 29 Sep 2020 01:33:06 -0700 (PDT) Received: from ub-XPS-13-9350.pdxnet.pdxeng.ch ([2405:201:c809:c7d5:b511:310d:8495:d767]) by smtp.gmail.com with ESMTPSA id 36sm3961241pgl.72.2020.09.29.01.33.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Sep 2020 01:33:05 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring Subject: [PATCH v4 6/7] arm64: dts: rockchip: px30: Add Engicam C.TOUCH 2.0 Date: Tue, 29 Sep 2020 14:02:16 +0530 Message-Id: <20200929083217.25406-7-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200929083217.25406-1-jagan@amarulasolutions.com> References: <20200929083217.25406-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200929_043308_612142_938E321F X-CRM114-Status: GOOD ( 13.58 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:1043 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 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 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, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Jagan Teki , Suniel Mahesh , Michael Trimarchi , linux-amarula , linux-arm-kernel@lists.infradead.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org Engicam C.TOUCH 2.0 is an EDIMM compliant general purpose carrier board with capacitive touch interface. Genaral features: - TFT 10.1" industrial, 1280x800 LVDS display - Ethernet 10/100 - Wifi/BT - USB Type A/OTG - Audio Out - CAN - LVDS panel connector SOM's like PX30.Core needs to mount on top of this Carrier board for creating complete PX30.Core C.TOUCH 2.0 board. Add support for it. Signed-off-by: Jagan Teki Signed-off-by: Michael Trimarchi --- Changes for v4: - none Changes for v3: - add Amarula Solutions copyright Changes for v2: - none arch/arm64/boot/dts/rockchip/px30-engicam-ctouch2.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/px30-engicam-ctouch2.dtsi diff --git a/arch/arm64/boot/dts/rockchip/px30-engicam-ctouch2.dtsi b/arch/arm64/boot/dts/rockchip/px30-engicam-ctouch2.dtsi new file mode 100644 index 000000000000..58425b1e559f --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/px30-engicam-ctouch2.dtsi @@ -0,0 +1,8 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Engicam srl + * Copyright (c) 2020 Amarula Solutions + * Copyright (c) 2020 Amarula Solutions(India) + */ + +#include "px30-engicam-common.dtsi" From patchwork Tue Sep 29 08:32:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11805261 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 5DC3F13B2 for ; Tue, 29 Sep 2020 08:36:04 +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 282C62075A for ; Tue, 29 Sep 2020 08:36:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ntYMoNTC"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="hkJvgyTv" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 282C62075A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.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: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=1+2BZYRvId0B7EoL6Zfbp6fgyxHBThrI32c6CxutxWs=; b=ntYMoNTC3X4m72cmeWXa2naP7 QtwE/TrYc8gtm6g67PWtb0mpRfDc+BS+Wpu79h7G7btjvAq8+O2fojHKQbWFw4nnJpI5v9qA+Lk4f ZnZqVXTx4o0W7kQ/KyB36ttatyNQMUwbna6dGdAdLSroj4dz/vYvWM6fKao7UZhVGPQ1OBTBtpl6u uFeJczt1cQPJQk1SQgylp4K3k2vFlsONr0A2cMLixQaSH0au500mYWCGnZhuMiesE2HHjYa9SImMp MU60J7lkpfCYBlzRePwW92ah7l7a2vNN13LyDxt9WjmIYSVPNfcI4OKsVBn7KOZrwehxPaaRAmebU UGnT1wDmQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNB77-0004oS-4j; Tue, 29 Sep 2020 08:35:57 +0000 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNB4R-0003Tr-VO for linux-rockchip@lists.infradead.org; Tue, 29 Sep 2020 08:33:13 +0000 Received: by mail-pf1-x441.google.com with SMTP id q123so3826982pfb.0 for ; Tue, 29 Sep 2020 01:33:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hIcoCSV3EdXkbZuDXxqCtycSPPds0aFZfPA4QHxDFJE=; b=hkJvgyTvhXdrm+4FrsoYdnxyrss+dx4swUqdhwA20BIRRTRDsq7AV2Lq2x5iifkpwQ T44caxDpBkBz1tZ2POIXvm5rBofFK3NjBYjoHUg8HNiFDuhx+gLqSler5AhQNvSIXKvQ CqYHdtbf39NDVJJ+zdNrbgCvxEIJJMo4S2ifg= 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=hIcoCSV3EdXkbZuDXxqCtycSPPds0aFZfPA4QHxDFJE=; b=KOzVdstlyZHtvM+66ZqJ86rF1eg59PELEBPAgerPF9cP0pO83kFpQdyygdFblULjv/ i/iJTMk6OTB295SL9DKxvg/HQbataWY+muobAj6dAsmCfXoatwkq3J04PMtQ3d1fVuAE 4PDh3uEx1SHLCeu4RnonufwosdaUX/Kz4S62DUDftsZkRyrz72jNshvPZD1envRQjn2u Zh50U9JqJWbcinEH6rmqe2sb/nDalE2eFLgPHxyxvsbTxOodieoReEZzMbZVe4tYykKg lDr4L/c7ZXAWM1DgLOuRZ0Ikbf7FatKzAt8wmQVZdrKUANCt0oRHivykIKO9DQWBYHJc OE6A== X-Gm-Message-State: AOAM530cN70BUNH8t+z+9blzhMTyqg0cuL7HNtbSyPQtWhyYKkR5kYNM XCUwGR8Pye0WJgMHMDEanK4S7w== X-Google-Smtp-Source: ABdhPJxDi59mzAOZvGeuEOE6J33+Iy0vN4m+HWhnk/da7nUC4K3ZUOxkUe4uvKrNAYuRfAgbygX5mg== X-Received: by 2002:a62:8806:0:b029:13c:d37c:5e47 with SMTP id l6-20020a6288060000b029013cd37c5e47mr3188060pfd.13.1601368389671; Tue, 29 Sep 2020 01:33:09 -0700 (PDT) Received: from ub-XPS-13-9350.pdxnet.pdxeng.ch ([2405:201:c809:c7d5:b511:310d:8495:d767]) by smtp.gmail.com with ESMTPSA id 36sm3961241pgl.72.2020.09.29.01.33.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Sep 2020 01:33:09 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring Subject: [PATCH v4 7/7] arm64: dts: rockchip: Add Engicam PX30.Core C.TOUCH 2.0 Date: Tue, 29 Sep 2020 14:02:17 +0530 Message-Id: <20200929083217.25406-8-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200929083217.25406-1-jagan@amarulasolutions.com> References: <20200929083217.25406-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200929_043312_065413_9EBA507E X-CRM114-Status: GOOD ( 16.11 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:441 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 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 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, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Jagan Teki , Suniel Mahesh , Michael Trimarchi , linux-amarula , linux-arm-kernel@lists.infradead.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org PX30.Core is an EDIMM SOM based on Rockchip PX30 from Engicam. C.TOUCH 2.0 is a general purpose carrier board with capacitive touch interface support. PX30.Core needs to mount on top of this Carrier board for creating complete PX30.Core C.TOUCH 2.0 board. Add support for it. Signed-off-by: Jagan Teki Signed-off-by: Michael Trimarchi --- Changes for v4: - new patch Changes for v3: - add Amarula Solutions copyright Changes for v2: - new patch arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/px30-px30-core-ctouch2.dts | 22 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/px30-px30-core-ctouch2.dts diff --git a/arch/arm64/boot/dts/rockchip/Makefile b/arch/arm64/boot/dts/rockchip/Makefile index 65116fcb7368..958eb57e403a 100644 --- a/arch/arm64/boot/dts/rockchip/Makefile +++ b/arch/arm64/boot/dts/rockchip/Makefile @@ -1,5 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-evb.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-px30-core-ctouch2.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += px30-px30-core-edimm2.2.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3308-evb.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3308-roc-cc.dtb diff --git a/arch/arm64/boot/dts/rockchip/px30-px30-core-ctouch2.dts b/arch/arm64/boot/dts/rockchip/px30-px30-core-ctouch2.dts new file mode 100644 index 000000000000..2da01281883a --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/px30-px30-core-ctouch2.dts @@ -0,0 +1,22 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Fuzhou Rockchip Electronics Co., Ltd + * Copyright (c) 2020 Engicam srl + * Copyright (c) 2020 Amarula Solutions + * Copyright (c) 2020 Amarula Solutions(India) + */ + +/dts-v1/; +#include "px30.dtsi" +#include "px30-engicam-ctouch2.dtsi" +#include "px30-px30-core.dtsi" + +/ { + model = "Engicam PX30.Core C.TOUCH 2.0"; + compatible = "engicam,px30-core-ctouch2", "engicam,px30-px30-core", + "rockchip,px30"; + + chosen { + stdout-path = "serial2:115200n8"; + }; +};