From patchwork Wed Dec 23 11:03:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1608 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 6D7F33F086 for ; Wed, 23 Dec 2020 12:04:40 +0100 (CET) Received: by mail-pl1-f198.google.com with SMTP id u14sf8962463plx.23 for ; Wed, 23 Dec 2020 03:04:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1608721478; cv=pass; d=google.com; s=arc-20160816; b=FFDL+xRQt7VSDadzoZ0TIQmrrfXG9D6ZBI1G8WEOD50dgb1uMT8kEzniikyT1njPTZ xq6EKOUud5muThQjvs1QWwmOrTcMp2eGzOVbq9Rub/zgz/0+Q3oqZl29eCr9S8BPKIHQ GiH7gX2kfNgSHhpcdtDuVtliV+RYdi0/9XG63ulg3Vrt8sgVDYjaKAcVRnMZJh/eq5IO JriRrr+VQ6B4TRoNzzqXSZ0ABop/PIAiurlaSwc02ehB+baT9dyxNd+F2cDtsUy22VUf 9+/e4yc6XgVLln9H7vK5Lkti0xFeEu9U4/vNbGektf+SIguxd5K2FSTTJU5TZRsfYTJj dpAQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=/56xqHX0o04N08Oe2W9UgvCjJbK7wJ+gekqP5R8xV6c=; b=T7YATBR3zE9YHCnMqd/3+mdQcj3IATgIBqSZXSBc/AFEsJgltdqbD/FRUa98cug9iH uWi1Hc20Eb7u3lgk/aIeVSEeFX6kssf0HC4XHsMIC17+JLK+UbBNXR9m9JEYq6YZzkj+ u9WLdGOXRL2yWbnCaiVx8SkxpVVWcyQMiATaJ2unuDiZgsrdmw5QZ4r+Umi1+7BUuKYP M91jdwKTrtL62xzIjxnS68dMCzhwqbdOVyW7kEEkQOPO7ehx0By5a7DWp909axzRU5h4 bc7+gBErd0/eo9B9rhx5IDiu1K2QOrc7PEEshnbV5M1/Cxkd9wdtbFPZ+bCjN0Hn3JDo 10oA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=rm0mYdbD; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com 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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=/56xqHX0o04N08Oe2W9UgvCjJbK7wJ+gekqP5R8xV6c=; b=FQa358YR7WagN2BdI8GHBMyoouV899jGX2dS7Acq41FaicR4n5yAeROJ3ofQDOZy32 S7QksMtD+1nu2xJZeojGCrwEnjTUchl4cKcjKwaX4aiAQ+ADVjx5/mc2Cc7WeFcWU+7k YCellDiKDByjs2HaHYe7lTznZjKJOVDjDOJwY= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=/56xqHX0o04N08Oe2W9UgvCjJbK7wJ+gekqP5R8xV6c=; b=bOTN95QcgcCP9Tf5vTboGNij1Mo6VVCAzkIO57rr88p74Bq9gfwEpWdLBKeoGkZCUG XdqYqcqJUcp1J2DPfy2CdU4wlTf4okg1r7EmqE9dRlUKMkeoO8rJdxbGuw0renizOJ2r C1g/zCtIOnkOWLENuKuo6Ms7JI3oXN0CkjqZrUs9L2PL+dHnECruPWuMN2EI89pefROf HTw175ItBBoZfVysq/7ZA2DY+1rcUQ6aRUcabpVT1NXpVzzfzlzj4A0ZTN7eRMVnR5wp mDfP+4aAmK/wlzrmaBO+URWSKvYLLLfPs2crjy3vaqlyS7lpDhBxTidJfpjus56yfz30 M9/A== X-Gm-Message-State: AOAM530b2GC6E283dAsOePvTAkOiXqXqhjQ3dyZ65dW+i9hbmpz6M1hp 0N1Q94/UWvBMyLnYL3F2t4YQ8HrM X-Google-Smtp-Source: ABdhPJz2xp5YmJWd3ILiM7qrBGjAnPqS3+1pyQtgOobr6LnqUd9HtuVwmq+zTIUQGZkMy9dqsP+TMQ== X-Received: by 2002:a63:62c3:: with SMTP id w186mr24266655pgb.83.1608721478347; Wed, 23 Dec 2020 03:04:38 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:bc47:: with SMTP id t7ls12502442pjv.2.gmail; Wed, 23 Dec 2020 03:04:37 -0800 (PST) X-Received: by 2002:a17:90a:f687:: with SMTP id cl7mr26407390pjb.38.1608721477636; Wed, 23 Dec 2020 03:04:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608721477; cv=none; d=google.com; s=arc-20160816; b=qz31BTxZrf1U2Lqa8S7lpura2Yr3L43hexgWDCHJzCy0LBJIWiGOMJfp+dyzRx6cRT LK+xE6z44aYjV5fNz8YDkeN4ZvV5YTWckRPEO2khFQgqJgdTeVZ/0/4/YYtyJu6qSj0Z Azhmt1DpmJaCz+3vvW6uJ/P6F0SyqZVg4FIbk5UcuGHugHPWhvqLW6hjmUmzI27leCPr UP8Cq+KiwQa98LBLzD3lgc9mHjzDheaMytoCNCML0/RarlCq92/DTxGPry290agFtSO8 ez2L5ZJfiwDzFwrys3Sfn8XQhcZG8U6s1Y5ZrnQkr9l8dNImKH+WLXDQqfqknSaTcbPC zETQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=UCpNXBLs8298nV11fod2O1HtjRRraxH4UkX4Yv1+PQk=; b=uqoHnjTMc8/OdLvUdZhjiWj5pwcjXXWtZUuaEMmQhVGKon5XVrBVnopYsofV3Zo6JI KsQnn29+Ab36VfF5z8F/ueJySIjwo31ZZ1Kj5cGQZwFCoPUYG8pmoDs7yrBnxvxkdRpv 8yZkkVylJiPK9Vxx/a6wPrVc/vUErespryAgAVY2sHg1yK2DSWeN5DLVhfjgVebeKAxM f5RrYKSOGATkmCRJLntPA8RLYE3XMZWipfNJBBjC7gFW1TFBR6Xe2EZSe+M4HTIR5gpB U8re5ibK0dnDVqkxSWsj7Bjr0hWtNbv4nknm20eBc80U2pH0RsOdHYTxeh8/R+F4orl3 PcRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=rm0mYdbD; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id q12sor9699734pfc.100.2020.12.23.03.04.37 for (Google Transport Security); Wed, 23 Dec 2020 03:04:37 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:aa7:8499:0:b029:19e:6c5:b103 with SMTP id u25-20020aa784990000b029019e06c5b103mr23502520pfn.13.1608721477401; Wed, 23 Dec 2020 03:04:37 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a884:eca4:40c1:8784:571c]) by smtp.gmail.com with ESMTPSA id 3sm23275909pfv.92.2020.12.23.03.04.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Dec 2020 03:04:36 -0800 (PST) From: Jagan Teki To: Rob Herring , Shawn Guo , Li Yang , Fabio Estevam , Krzysztof Kozlowski Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, NXP Linux Team , linux-amarula@amarulasolutions.com, Jagan Teki , Catalin Marinas , Will Deacon Subject: [PATCH v3 1/6] arm64: defconfig: Enable REGULATOR_PF8X00 Date: Wed, 23 Dec 2020 16:33:38 +0530 Message-Id: <20201223110343.126638-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201223110343.126638-1-jagan@amarulasolutions.com> References: <20201223110343.126638-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=rm0mYdbD; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Enable PF8X00 regulator driver by default as it used in some of i.MX8MM hardware platforms. Cc: Catalin Marinas Cc: Will Deacon Reviewed-by: Krzysztof Kozlowski Signed-off-by: Jagan Teki --- Changes for v3: - collect Krzysztof r-b Changes for v2: - updated commit message arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index fae83673c3c3..e952c76ee970 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -594,6 +594,7 @@ CONFIG_REGULATOR_HI655X=y CONFIG_REGULATOR_MAX77620=y CONFIG_REGULATOR_MAX8973=y CONFIG_REGULATOR_PCA9450=y +CONFIG_REGULATOR_PF8X00=y CONFIG_REGULATOR_PFUZE100=y CONFIG_REGULATOR_PWM=y CONFIG_REGULATOR_QCOM_RPMH=y From patchwork Wed Dec 23 11:03:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1609 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 8EF3C3F086 for ; Wed, 23 Dec 2020 12:05:03 +0100 (CET) Received: by mail-pg1-f199.google.com with SMTP id s13sf10447231pgm.17 for ; Wed, 23 Dec 2020 03:05:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1608721502; cv=pass; d=google.com; s=arc-20160816; b=oeloKYqmJxjlIE/5MssRPYyEFYwAfXDkyZaH38NM5Xtl5UvSbirAjMjY8Ej0vPJlCD PQSHrZYDiWNqu+3dn7yw+zq5KOa+vXa8+bmnm5rwCIl712ZUUwo5wg93yjx4BId3hEHL nzfFfhLuUN82lLQt3t8KvOZvUaXc0dCLqviDe3BwNpHr9h7F/4HL7OQJkF9LVp/PemaT 6RxeGzC6pfFwjSaKGL6xwyEcHQkR5Th6bdST9LwIc5fdNgmc+joUhtBv1q+331piTQHX UK5soT/N1Q/O8qugIJ4rka562rnjvk/HAEcVl5NMjr8+RgHk+TbmpgHW9AyVMjYj2R2h TKwQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=5LwB6e4XHMAbTkvaty4fTsVVpJQHmZZI/nY5Is9eWQw=; b=1JYl+uA985Ute5Ys5UDBVT/+3a/jLqY6AkY/R0bYypZWQvZ8rNAzWt3cG/ej4CfHBL M+hasbPl+hSuD4aiGtl3lct1/4HPzqHUqwnk3XoBIItPJcm5HTL1bBo+A9GsibIpDU96 fRmb+yHX64/U0ms7U4zfenegi26IWiUwBtwd9+A3WmHCoT/3UI8mdL4WHMxTPlGettaq K2Jo81IwaCAN9I9C+NlU/ba8HA3dMp3/3E5FWJjmlnoXZ4r92Vqjd86Yl8hKoZjDjYOd WGvVxsjFzdZiGK/OgWqQ89J2WSlwLZA6PiFm5VhJ0NnNi6zaewuU1FsEDTgSgPid2Fle IObg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="aZ0/Y7+M"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com 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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=5LwB6e4XHMAbTkvaty4fTsVVpJQHmZZI/nY5Is9eWQw=; b=muA8hBf17hQ3Z4eseqJYadfIZ2q/rCwG0Z6Am6rcPSQyvL1men8pPfeTejEBmi7L3y 6Ipmvt07mh60WZ6yAqcPXSjNqZQGYeZBUzz2TjTXhLkCMEL23XjVm6ZDFsMHcsJoT/aD TKiUbyt1UJEWCov1FZXmi+g3eAeyHBFnPyPAI= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=5LwB6e4XHMAbTkvaty4fTsVVpJQHmZZI/nY5Is9eWQw=; b=F4nM+fueIRoJGAq4HTg8v3eKn4y3W7xO+CQWSHNkBJWRaw7f0dl2EMCMaDhsnfuhVX dii3wxgMqvb940tltH1gDpZ+p6b3my+UEbM0jo0848dE6LxK6JRMPvaZtqNhsGObDwMr iikuagPSq2M+EqfnE2+s1lBxwfJ7w74CaF3yuY1GTjyZ2FWtGy5urN1Q247AHATDWwjd 5HlaEddaRsyLcahtohA6cNDRjes7Yjl/6+CO69qtQnk6jP7rOZltj7jORMQ3qoy3McaY +utliwpwLkZlgRU8yVa2LKnGpiFSBIxJrQTDEEe7G3UaKD1TKbz+yxniGH3qqhcSH//N meIg== X-Gm-Message-State: AOAM533Vu/Sfc5DFrJr84f01Tb4QTMGHAcJV2/uqUYKxcQuRUgVJxr1b zYT1XDh6FT20CQQySkEJFwuNpSoO X-Google-Smtp-Source: ABdhPJxzWOiMSF6iGwVxA1MTGSDfuKXafSLVuGSNFV1T3RDMPAaI3suHOSvuW60Bh+u+cfuyLHmegg== X-Received: by 2002:a63:2902:: with SMTP id p2mr24128728pgp.274.1608721501927; Wed, 23 Dec 2020 03:05:01 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:bb95:: with SMTP id v21ls12481749pjr.0.canary-gmail; Wed, 23 Dec 2020 03:05:01 -0800 (PST) X-Received: by 2002:a17:90a:4817:: with SMTP id a23mr25656810pjh.16.1608721501109; Wed, 23 Dec 2020 03:05:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608721501; cv=none; d=google.com; s=arc-20160816; b=DXWNJXu5ZE1uhnE5Y34MO60lPfP3b5QTBhYZ2B6xLgaji/GMgx2mEEfw9riKPlLY7B ciuKr5jQLmYgNsyMiEvAQ28eeAu86Wo1qaEL8XyQyrqN3pQfjttBitRnV89LcX2Yzifg mpMV8SqToOTHcQIHyhPmfTT/rmr85w8sOBCFvR2AFzGK+dgW0HRtA4NB0sAfxovBQsW8 7BU5LWiFRzs/56GLf+kMSWZEZYInFZbIlq7072iF1Oi9We/cFEj0rcIJyqpdC4qvy48z jS4Qc3dYBsCtk/YpCC/evTMuidyCg0wH3+rlgPdWfNZjUJfcPzjNiOeszG+gwwr0bs4H 8ILg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=EVAwYhY605SAEDbOs0QxfT3jdZd8fH4RLlfZ8Qm9ewI=; b=p2VtDnECX4W9DY2/OXw68ve65v0nG98L4oEyJwUMPMeGKeysh44N+SnpMdkwiyI4oO /bF1nRbNmAQT21zGJg+zHHHGNPIznIakYYwkDZ7/Ee0FowQVcNmr7N4cCaS3EWUvVT04 s6UfBUA52LnkRyl3Q6IA7rS3/21TDw1xTr+YSszGyHT5wfppU3TBRkoJukBAZ0ytsU2y 25lnXbjBrmtLt3FK32kU5nro1sGAAM+BbF1Tj9brl3hgEJrs7wg/mFxpAj/GHHO/dEnW Wdiy8w7Nb3SRNyEuf/7TAhOE6KvbxJPFOU+AuTU5qsP7AzfNKHTx5M9Wkt4S2yJVGhOx 0bIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="aZ0/Y7+M"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id u1sor11411636plz.68.2020.12.23.03.05.00 for (Google Transport Security); Wed, 23 Dec 2020 03:05:00 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:902:8d8d:b029:dc:4609:58a9 with SMTP id v13-20020a1709028d8db02900dc460958a9mr6511503plo.27.1608721500658; Wed, 23 Dec 2020 03:05:00 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a884:eca4:40c1:8784:571c]) by smtp.gmail.com with ESMTPSA id 3sm23275909pfv.92.2020.12.23.03.04.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Dec 2020 03:05:00 -0800 (PST) From: Jagan Teki To: Rob Herring , Shawn Guo , Li Yang , Fabio Estevam , Krzysztof Kozlowski Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, NXP Linux Team , linux-amarula@amarulasolutions.com, Jagan Teki , Catalin Marinas , Will Deacon Subject: [PATCH v3 2/6] dt-bindings: arm: fsl: Add Engicam i.Core MX8M Mini C.TOUCH 2.0 Date: Wed, 23 Dec 2020 16:33:39 +0530 Message-Id: <20201223110343.126638-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201223110343.126638-1-jagan@amarulasolutions.com> References: <20201223110343.126638-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="aZ0/Y7+M"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , i.Core MX8M Mini is an EDIMM SoM based on NXP i.MX8M Mini from Engicam. C.TOUCH 2.0 is a general purpose carrier board with capacitive touch interface support. i.Core MX8M Mini needs to mount on top of this Carrier board for creating complete i.Core MX8M Mini C.TOUCH 2.0 board. Add bindings for it. Signed-off-by: Jagan Teki Reviewed-by: Krzysztof Kozlowski Acked-by: Rob Herring --- Changes for v3: - add proper bindings Changes for v2: - updated commit message Documentation/devicetree/bindings/arm/fsl.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index 67980dcef66d..f1de68341873 100644 --- a/Documentation/devicetree/bindings/arm/fsl.yaml +++ b/Documentation/devicetree/bindings/arm/fsl.yaml @@ -673,6 +673,12 @@ properties: - variscite,var-som-mx8mm # i.MX8MM Variscite VAR-SOM-MX8MM module - const: fsl,imx8mm + - description: Engicam i.Core MX8M Mini SoM based boards + items: + - const: engicam,icore-mx8mm-ctouch2 # i.MX8MM Engicam i.Core MX8M Mini C.TOUCH 2.0 + - const: engicam,icore-mx8mm # i.MX8MM Engicam i.Core MX8M Mini SoM + - const: fsl,imx8mm + - description: Kontron BL i.MX8MM (N801X S) Board items: - const: kontron,imx8mm-n801x-s From patchwork Wed Dec 23 11:03:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1610 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 624843F086 for ; Wed, 23 Dec 2020 12:05:23 +0100 (CET) Received: by mail-pj1-f72.google.com with SMTP id s14sf2875989pjk.4 for ; Wed, 23 Dec 2020 03:05:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1608721522; cv=pass; d=google.com; s=arc-20160816; b=GKASQt3g0kbjGBN/c9UV7wE3xjm96xIgBGiTwdRPh6EGrZJ8LjaxZ0twGf2f+RW9HK wnbyCKzGzFCoJuUPbdN8mSkf0sjIB+CsKBWAbZ6bqmHW1jxLYSDRAhax4hE+xNOpthxo 17N60NtFsPxcuPwTHxMzBwj0lLCJH3NzWCBWI0Oj4/PmcxdzpM+ywQhtRMgf2K6bu7hh A/sV1fUf2bY68xoE5ActCpUdZjU1ZfDTxLFKzJKYaeoBNWZzG6K42UzDH+wbFB9PYtIl Em9BbAozh/n3rfWjHghDfFHafxh/gwv4+3edhB4RzJ+ObiZIleydvPVnM3hsLnIurPo3 BFbQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=WWoxH09vhZ+TwBu7sCum9f2fTWkf5VLVxHpB9+GWriM=; b=eNB9/8ES80kTH570ZyYRfcADlmyAPQ+9pWGMGmghW2kLSFZzPQZjBaK/F4WFh+8oDL 6uNdWV49GjBNNYaAOxaYTQoMonPudnHTniAYdfrMnpl6WoSNaM1PdTbDpEk3LL2j32cD yYb6FZ11BD+oX3On6NMXN6qCLzHBN4weBSrOKe7z4Sp8NyThvO2Oz8nGCSa0x3FDXVxJ kATRh+NSNud0BeoDMPammHxb6HNrJFnQqRdIBFOqxMcjpp0yiQFHshW1FfOZ2YbpCbmW 2Mx29+wFg5XUwCUAflWw7FanSFRkZWHxtn/Nb2njR5MP98k17umTuh3R3BRDAysdG/C6 JCmg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=PVZhsMw+; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com 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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=WWoxH09vhZ+TwBu7sCum9f2fTWkf5VLVxHpB9+GWriM=; b=btw1G8ZxAqhhFiEDq2LY8xM+3O+NH/aZExQ+4x4Tt7M8CC+TtL0W800s/awzIFzAk+ nqj+pRgHVB8GUU+WG+MUA3SF2WSHhV+eFNA0Zz1V3gROTwpy2Mza3nTu2dgyL6kUufY1 sFBRUiyZOzj9BYX9jTG1W0vtRnRF0ALjf0o9E= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=WWoxH09vhZ+TwBu7sCum9f2fTWkf5VLVxHpB9+GWriM=; b=TZ1sDFrEeJz/nrtUMhhnmNKJdhF0tZ0ITkO1xMDbOduuh4mBAYr21pGCaxx5wdULeL hG1GTr226/D7G6XFC2mSSEZr2F4g6vrdF6ZHD5Q5rKFA4Mh9Q0kpigTLf3wQs3tw+jtd TJooAUPsB3AYnB1TUzubTDm1FwDsBoHCFgrvz3sX0Tl6rwNwn9RBJ5pcZpK9Z8wVDsc0 XrpHbhyQIFKnjv8J+uA7TCS+x0uBPMU8BVwfGhYAgt+Q07wVCRIzy7iRggfG+hBhijEs qtlpwz6gdKw5qxBFVeCTqjF4vLDxUQg3ejba0nbqJJwvkHRghuSJoBN+TQhGQlu2oabw S+hA== X-Gm-Message-State: AOAM533aGaEp8gWrMR7lVkWCGne1LaJsd/ungSqlaYzhyPtvar1QNJzU c0/sesr2ZkpMTVXoC9k+mnDAvBf1 X-Google-Smtp-Source: ABdhPJwYGukWo6O1v11HBT6ZalH0HRbCRve2LPeElxsrMq4TmgD8fH92bQOG5uCTJXlVuvCLgem/dg== X-Received: by 2002:a17:90b:d93:: with SMTP id bg19mr26021460pjb.46.1608721522180; Wed, 23 Dec 2020 03:05:22 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:aa7:96d4:: with SMTP id h20ls17616605pfq.5.gmail; Wed, 23 Dec 2020 03:05:21 -0800 (PST) X-Received: by 2002:a62:7907:0:b029:19d:cf5d:20ae with SMTP id u7-20020a6279070000b029019dcf5d20aemr3603309pfc.2.1608721521468; Wed, 23 Dec 2020 03:05:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608721521; cv=none; d=google.com; s=arc-20160816; b=QrDeNObM9fIbVXXRNU/yHqGRgU+r/OQnc2+lwKC1+o4UNUNVpYQKnNcv2m4E28qgkb 9sjfPapnVDli7asAzCSZlNHKM3t+XVDV+DBq78W6gNcJIIkeH3eaF+mmWWX856sbFehE mY4mKGC7bHy36xErCSuc2ImGlzery2ZQnT5YO3ezuJRX87IkdaA6XwPODBT/8pjdkswe kcR41I+l4Ew9Z48uWV52KkQC0UG1CE3M6hicP/SkqfrTTuURgt7W4jKHbJDlu2cWYuqX CjEjoS6IlgE9dMy0WBiWNgOyPnf9Gxv+tOmu8mpa7LAsVXkR6zqfyBo5rNIVrUX4IxDL sjug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=IeBVDoKx8P7ruCXAEHPJs+rWdNCAKxiwqnaq9oGNJaU=; b=Og0ZJW+jOYnNvbVZHQboYOfgIJWeGsMWeuqAMZ7wxnsYN7iMvEdsMxfJEqtlA8B0T4 WeC+Z+6IkUnnXntMqpWCC8gl3eHKMFfs6ToAHsgU1pPQ9/uxzWlu+lAG5hI1bJfTBX+L 8Lw2b6xow0c3xd+8Phws+q9d7F6tM4QgEQLxs2ha22lbPGMMAFyxVsFAbAsGsIWFeQ7v sof/47PbxT4tm4Ndf3t7etIoEqOZZ2s5KFC0iX1eq9diZLFcKjLqN27V78EHV0/fACOK KXVlMqVyb8mcMGdgl3zeCdJAuReqUvK3YSVW85lsu1ScEbdkaYZow6EOS9wmpyoeq394 QGIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=PVZhsMw+; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id m3sor124470pgi.13.2020.12.23.03.05.21 for (Google Transport Security); Wed, 23 Dec 2020 03:05:21 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a63:1401:: with SMTP id u1mr12411577pgl.229.1608721521191; Wed, 23 Dec 2020 03:05:21 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a884:eca4:40c1:8784:571c]) by smtp.gmail.com with ESMTPSA id 3sm23275909pfv.92.2020.12.23.03.05.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Dec 2020 03:05:20 -0800 (PST) From: Jagan Teki To: Rob Herring , Shawn Guo , Li Yang , Fabio Estevam , Krzysztof Kozlowski Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, NXP Linux Team , linux-amarula@amarulasolutions.com, Jagan Teki , Catalin Marinas , Will Deacon , Matteo Lisi Subject: [PATCH v3 3/6] arm64: dts: imx8mm: Add Engicam i.Core MX8M Mini SoM Date: Wed, 23 Dec 2020 16:33:40 +0530 Message-Id: <20201223110343.126638-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201223110343.126638-1-jagan@amarulasolutions.com> References: <20201223110343.126638-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=PVZhsMw+; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , i.Core MX8M Mini is an EDIMM SoM based on NXP i.MX8M Mini from Engicam. General features: - NXP i.MX8M Mini - Up to 2GB LDDR4 - 8/16GB eMMC - Gigabit Ethernet - USB 2.0 Host/OTG - PCIe Gen2 interface - I2S - MIPI DSI to LVDS - rest of i.MX8M Mini features i.Core MX8M Mini needs to mount on top of Engicam baseboards for creating complete platform solutions. Add support for it. Signed-off-by: Matteo Lisi Signed-off-by: Jagan Teki Reviewed-by: Krzysztof Kozlowski --- Changes for v3: - keep regulator min/max hoping Changes for v2: - updated commit message - add cpu nodes - add fec1 node - fixed pmic tree comments - dropped engicam from filename since it aligned with imx6 engicam dts files naming conventions. .../dts/freescale/imx8mm-icore-mx8mm.dtsi | 232 ++++++++++++++++++ 1 file changed, 232 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm.dtsi diff --git a/arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm.dtsi new file mode 100644 index 000000000000..b40148d728ea --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm.dtsi @@ -0,0 +1,232 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2018 NXP + * Copyright (c) 2019 Engicam srl + * Copyright (c) 2020 Amarula Solutons(India) + */ + +/ { + compatible = "engicam,icore-mx8mm", "fsl,imx8mm"; +}; + +&A53_0 { + cpu-supply = <®_buck4>; +}; + +&A53_1 { + cpu-supply = <®_buck4>; +}; + +&A53_2 { + cpu-supply = <®_buck4>; +}; + +&A53_3 { + cpu-supply = <®_buck4>; +}; + +&fec1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_fec1>; + phy-mode = "rgmii-id"; + phy-handle = <ðphy>; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ethphy: ethernet-phy@3 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <3>; + reset-gpios = <&gpio3 7 GPIO_ACTIVE_LOW>; + reset-assert-us = <10000>; + }; + }; +}; + +&i2c1 { + clock-frequency = <400000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c1>; + status = "okay"; + + pmic@8 { + compatible = "nxp,pf8121a"; + reg = <0x08>; + + regulators { + reg_ldo1: ldo1 { + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <5000000>; + regulator-always-on; + regulator-boot-on; + }; + + reg_ldo2: ldo2 { + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <5000000>; + regulator-always-on; + regulator-boot-on; + }; + + reg_ldo3: ldo3 { + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <5000000>; + regulator-always-on; + regulator-boot-on; + }; + + reg_ldo4: ldo4 { + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <5000000>; + regulator-always-on; + regulator-boot-on; + }; + + reg_buck1: buck1 { + regulator-min-microvolt = <400000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + regulator-boot-on; + }; + + reg_buck2: buck2 { + regulator-min-microvolt = <400000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + regulator-boot-on; + }; + + reg_buck3: buck3 { + regulator-min-microvolt = <400000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + regulator-boot-on; + }; + + reg_buck4: buck4 { + regulator-min-microvolt = <400000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + regulator-boot-on; + }; + + reg_buck5: buck5 { + regulator-min-microvolt = <400000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + regulator-boot-on; + }; + + reg_buck6: buck6 { + regulator-min-microvolt = <400000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + regulator-boot-on; + }; + + reg_buck7: buck7 { + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + regulator-boot-on; + }; + + reg_vsnvs: vsnvs { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + regulator-boot-on; + }; + }; + }; +}; + +&iomuxc { + pinctrl_fec1: fec1grp { + fsl,pins = < + MX8MM_IOMUXC_ENET_MDC_ENET1_MDC 0x3 + MX8MM_IOMUXC_ENET_MDIO_ENET1_MDIO 0x3 + MX8MM_IOMUXC_ENET_TD3_ENET1_RGMII_TD3 0x1f + MX8MM_IOMUXC_ENET_TD2_ENET1_RGMII_TD2 0x1f + MX8MM_IOMUXC_ENET_TD1_ENET1_RGMII_TD1 0x1f + MX8MM_IOMUXC_ENET_TD0_ENET1_RGMII_TD0 0x1f + MX8MM_IOMUXC_ENET_RD3_ENET1_RGMII_RD3 0x91 + MX8MM_IOMUXC_ENET_RD2_ENET1_RGMII_RD2 0x91 + MX8MM_IOMUXC_ENET_RD1_ENET1_RGMII_RD1 0x91 + MX8MM_IOMUXC_ENET_RD0_ENET1_RGMII_RD0 0x91 + MX8MM_IOMUXC_ENET_TXC_ENET1_RGMII_TXC 0x1f + MX8MM_IOMUXC_ENET_RXC_ENET1_RGMII_RXC 0x91 + MX8MM_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL 0x91 + MX8MM_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL 0x1f + MX8MM_IOMUXC_NAND_DATA01_GPIO3_IO7 0x19 + >; + }; + + pinctrl_i2c1: i2c1grp { + fsl,pins = < + MX8MM_IOMUXC_I2C1_SCL_I2C1_SCL 0x400001c3 + MX8MM_IOMUXC_I2C1_SDA_I2C1_SDA 0x400001c3 + >; + }; + + pinctrl_usdhc3: usdhc3grp { + fsl,pins = < + MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK 0x190 + MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD 0x1d0 + MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x1d0 + MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x1d0 + MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x1d0 + MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x1d0 + MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x1d0 + MX8MM_IOMUXC_NAND_RE_B_USDHC3_DATA4 0x1d0 + MX8MM_IOMUXC_NAND_CE2_B_USDHC3_DATA5 0x1d0 + MX8MM_IOMUXC_NAND_CE3_B_USDHC3_DATA6 0x1d0 + MX8MM_IOMUXC_NAND_CLE_USDHC3_DATA7 0x1d0 + MX8MM_IOMUXC_NAND_CE1_B_USDHC3_STROBE 0x190 + >; + }; + + pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp { + fsl,pins = < + MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK 0x194 + MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD 0x1d4 + MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x1d4 + MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x1d4 + MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x1d4 + MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x1d4 + MX8MM_IOMUXC_NAND_RE_B_USDHC3_DATA4 0x1d4 + MX8MM_IOMUXC_NAND_CE2_B_USDHC3_DATA5 0x1d4 + MX8MM_IOMUXC_NAND_CE3_B_USDHC3_DATA6 0x1d4 + MX8MM_IOMUXC_NAND_CLE_USDHC3_DATA7 0x1d4 + MX8MM_IOMUXC_NAND_CE1_B_USDHC3_STROBE 0x194 + >; + }; + + pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp { + fsl,pins = < + MX8MM_IOMUXC_NAND_WE_B_USDHC3_CLK 0x196 + MX8MM_IOMUXC_NAND_WP_B_USDHC3_CMD 0x1d6 + MX8MM_IOMUXC_NAND_DATA04_USDHC3_DATA0 0x1d6 + MX8MM_IOMUXC_NAND_DATA05_USDHC3_DATA1 0x1d6 + MX8MM_IOMUXC_NAND_DATA06_USDHC3_DATA2 0x1d6 + MX8MM_IOMUXC_NAND_DATA07_USDHC3_DATA3 0x1d6 + MX8MM_IOMUXC_NAND_RE_B_USDHC3_DATA4 0x1d6 + MX8MM_IOMUXC_NAND_CE2_B_USDHC3_DATA5 0x1d6 + MX8MM_IOMUXC_NAND_CE3_B_USDHC3_DATA6 0x1d6 + MX8MM_IOMUXC_NAND_CLE_USDHC3_DATA7 0x1d6 + MX8MM_IOMUXC_NAND_CE1_B_USDHC3_STROBE 0x196 + >; + }; +}; + +/* eMMC */ +&usdhc3 { + pinctrl-names = "default", "state_100mhz", "state_200mhz"; + pinctrl-0 = <&pinctrl_usdhc3>; + pinctrl-1 = <&pinctrl_usdhc3_100mhz>; + pinctrl-2 = <&pinctrl_usdhc3_200mhz>; + bus-width = <8>; + non-removable; + status = "okay"; +}; From patchwork Wed Dec 23 11:03:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1611 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 6D2123F086 for ; Wed, 23 Dec 2020 12:05:43 +0100 (CET) Received: by mail-pf1-f197.google.com with SMTP id x21sf8322356pff.14 for ; Wed, 23 Dec 2020 03:05:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1608721542; cv=pass; d=google.com; s=arc-20160816; b=VIT1jbQGlJU0nXVwoPr5epvIyeDd/YPOWR/8YkSWMFEDvbNvbvoL8anE5sm+sNjTdj c7C8NSFjVM5IdLpKs48QFRVVjwSPqCtkaFihHYCIiKLvqw9aD9MshDt51N8K4QafOwuk P6dmv2ue2n2khbmsEJ/yjJF5A1CpqWMKsf9C/hTmJ2qsDmiCffU17y3x2xL+2HDOPpbd J8PCM5HmU2+ZaOQJVoWOVLpDnamHFHi62sLPfGKpOt2mTzNfS/CSuwSDlVyYJGSL5o/s 7jce02i0AMCMjz/1JbbeIimvWOuXct3xyoCe+Ryswp5AgRCJv+0GmrPRNRI4PGMivYb6 7n3Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=6rpXXWg1Ku1iX3WKV00k12QJVxiBDBKkYTlD8ZgupPM=; b=MVBod3BvFkpJKUQpp+qPspfqFXSs5tMLtsi4moChW3zByKVaducXeY3287qWxUQXBF epx+Rqrf0RZYEKqGfRuOi+P01n2xsCu5ZAmMV/vigaRmz1i7LHzdELsBoRQRGkKx2hvJ LfNoIT/3Tt1MGUDI9l4L3yM1Pf1MqSmBKsn0UavRvzcT9pLboB9S7YePj+SNAZd4Tf3J RspivHqoULrHz/a1caFtNM7Om1HQtujxxaJm9cAgD6rjrvcWj3UYx66/bV7w/z91pudf HR0JAU53Jcq5iEaLr3UMy6BEesrpdOlScoFsDv0wm2junhgAaGPW2pYucd1bexqQzQNp 9SuA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="FZR/gcAP"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com 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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=6rpXXWg1Ku1iX3WKV00k12QJVxiBDBKkYTlD8ZgupPM=; b=ktZdTUTJ8868wzo759So8FK7HuMXtnq+JSVaeUkCa7vYM4aatq9exs5qx9Gwo618dE ZeBRiuav+S/23lZi7ugX+U+gJRwcvQrIpu5cEcXRp0XyRxRSD5y2ZtoosTe6pjZSXY/J h4V3YCXNvQLmHjKqMFrVHpJBOffTAH3Vd6SX8= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=6rpXXWg1Ku1iX3WKV00k12QJVxiBDBKkYTlD8ZgupPM=; b=pWkoW7yEAIzP5VCR56E6bSGSkUFJxbjZdkQOWGZp7Dw6UOsPccoOB4BbmRIVpfJqsI JxwyWHS3K+D30PaGqEOaGDqOnH0HjeobRf1QYXeGwGhVmfj09/uL5Pk46KQZsHMPTYvj 6ML50pgoNesbaK4YajQWR3rHkIRSI0PSXrkh2Ig5iNfG6caOq0oaabU6GLyVwEmZu7+T gaEhMik6BJqUPudDOjrtOFZXqcRQcGKm8F7sGPlXPlIzUegqmX4xpN69muSUR2aMC2SQ b8uGuXU/q6UF5aObflgH+7hSndib4PaLkqzb/c28/KIy5lAH9L5VU5eoc8gN9ZXNccG/ ER9w== X-Gm-Message-State: AOAM533coN1rVqrVoatppwb+Os4AuRIKJMS3mX900wQ+97D78Ixys6Cp y/0MHb5KOmVnk2rgSwSN8sM4QNTB X-Google-Smtp-Source: ABdhPJymjawTmFAKvjK8hNXPZCHepdyI9/8F274+nrJTInE8CPWmnKjl30er4z98gq1RbdKGQHlzdg== X-Received: by 2002:a65:434c:: with SMTP id k12mr22700365pgq.373.1608721542280; Wed, 23 Dec 2020 03:05:42 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:aa7:959d:: with SMTP id z29ls13715395pfj.2.gmail; Wed, 23 Dec 2020 03:05:41 -0800 (PST) X-Received: by 2002:a05:6a00:2384:b029:19a:eed3:7f42 with SMTP id f4-20020a056a002384b029019aeed37f42mr23604555pfc.4.1608721541528; Wed, 23 Dec 2020 03:05:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608721541; cv=none; d=google.com; s=arc-20160816; b=vSiEU7vDFtXYjfzliBduT2H6G3WfrppMPuTlwFJeJMp+plI6+DeRrE9NRpwSZrtRJm XLJz5MDzb+txh1ZT6TLZzlviBsbnyLfMhyXhtJancRAwTrCbw9dk+2aQaVHJD4LUow/B 99NrsRp0Wo7nmsFNTmhz/pm07QlyL4w662VZYRnxjDtIVM4f7p/2WNJ/Z4rgiWTszDEf aXzZftluD1ZSRlN0YSwCpib8QyEW6gbvy7Epi+brpBds9sZ5SmNiColwJg+0l0kTTOp4 WJCzq6kF6RTbn+rPzY3aPH79XV8moaA2z6S7vFAis1GYU5YjqKjuKcQTw+7FLt4MEx7t FW0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=jVdPMRsewutYyQa3a3tMwfhmr8a/l+PGH7T6jTGl21c=; b=aXDRBo1zP03vTE268Z1Nn/i5T+AujSWTkibLWuK4W2kA6ZLVt8M6cjL/LqIvOWVDKy BaQAZ0XW08yNUHYFn6iDEF6ofw6kDYzW2XwI7Da5QBfxRmZMKhk4mH9cNHj8y/k67loC XShxPJmG+kJwTGoALe16HFTAdn23YKyyyNwqCCVwP9qoPTRPfElkKQxVUs/ejoQQYb53 1XIkKjW2X6k+j+KM9tiyE6pRmCm/XdyIU4ke89ue2n0OAvm621ZDymc/qV8c27aGRObi 7fOHEgKJimLPwBgRy5V8Omcly9bob2BAQ7zfZnP6muPWN+MuHtJ+L4g5IKHNuihlqFVr OFlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="FZR/gcAP"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id e8sor10416104pjw.41.2020.12.23.03.05.41 for (Google Transport Security); Wed, 23 Dec 2020 03:05:41 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:90b:3844:: with SMTP id nl4mr26146461pjb.93.1608721541257; Wed, 23 Dec 2020 03:05:41 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a884:eca4:40c1:8784:571c]) by smtp.gmail.com with ESMTPSA id 3sm23275909pfv.92.2020.12.23.03.05.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Dec 2020 03:05:40 -0800 (PST) From: Jagan Teki To: Rob Herring , Shawn Guo , Li Yang , Fabio Estevam , Krzysztof Kozlowski Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, NXP Linux Team , linux-amarula@amarulasolutions.com, Jagan Teki , Catalin Marinas , Will Deacon , Matteo Lisi Subject: [PATCH v3 4/6] arm64: dts: imx8mm: Add Engicam i.Core MX8M Mini C.TOUCH 2.0 Date: Wed, 23 Dec 2020 16:33:41 +0530 Message-Id: <20201223110343.126638-5-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201223110343.126638-1-jagan@amarulasolutions.com> References: <20201223110343.126638-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="FZR/gcAP"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Engicam C.TOUCH 2.0 is an EDIMM compliant general purpose Carrier board. Genaral features: - Ethernet 10/100 - Wifi/BT - USB Type A/OTG - Audio Out - CAN - LVDS panel connector i.Core MX8M Mini is an EDIMM SoM based on NXP i.MX8M Mini from Engicam. i.Core MX8M Mini needs to mount on top of this Carrier board for creating complete i.Core MX8M Mini C.TOUCH 2.0 board. Add support for it. Signed-off-by: Matteo Lisi Signed-off-by: Jagan Teki --- Changes for v3: - don't maintain common nodes and include it, if no feature diff Changes for v2: - enabled fec1 node - updated commit message - dropped engicam from filename since it aligned with imx6 engicam dts files naming conventions. - add i2c nodes - fixed v1 comments arch/arm64/boot/dts/freescale/Makefile | 1 + .../dts/freescale/imx8mm-engicam-ctouch2.dtsi | 82 +++++++++++++++++++ .../freescale/imx8mm-icore-mx8mm-ctouch2.dts | 21 +++++ 3 files changed, 104 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-engicam-ctouch2.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm-ctouch2.dts diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 6f0777ee6cd6..8d49a2c74604 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -32,6 +32,7 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-lx2162a-qds.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-beacon-kit.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-evk.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-ddr4-evk.dtb +dtb-$(CONFIG_ARCH_MXC) += imx8mm-icore-mx8mm-ctouch2.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-kontron-n801x-s.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-var-som-symphony.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mn-evk.dtb diff --git a/arch/arm64/boot/dts/freescale/imx8mm-engicam-ctouch2.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-engicam-ctouch2.dtsi new file mode 100644 index 000000000000..f7870efd9dab --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-engicam-ctouch2.dtsi @@ -0,0 +1,82 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Engicam srl + * Copyright (c) 2020 Amarula Solutions(India) + */ + +&fec1 { + status = "okay"; +}; + +&i2c2 { + clock-frequency = <400000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c2>; + status = "okay"; +}; + +&i2c4 { + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c4>; + status = "okay"; +}; + +&iomuxc { + pinctrl_i2c2: i2c2grp { + fsl,pins = < + MX8MM_IOMUXC_I2C2_SCL_I2C2_SCL 0x400001c3 + MX8MM_IOMUXC_I2C2_SDA_I2C2_SDA 0x400001c3 + >; + }; + + pinctrl_i2c4: i2c4grp { + fsl,pins = < + MX8MM_IOMUXC_I2C4_SCL_I2C4_SCL 0x400001c3 + MX8MM_IOMUXC_I2C4_SDA_I2C4_SDA 0x400001c3 + >; + }; + + pinctrl_uart2: uart2grp { + fsl,pins = < + MX8MM_IOMUXC_UART2_RXD_UART2_DCE_RX 0x140 + MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX 0x140 + >; + }; + + pinctrl_usdhc1_gpio: usdhc1gpiogrp { + fsl,pins = < + MX8MM_IOMUXC_GPIO1_IO06_GPIO1_IO6 0x41 + >; + }; + + pinctrl_usdhc1: usdhc1grp { + fsl,pins = < + MX8MM_IOMUXC_SD1_CLK_USDHC1_CLK 0x190 + MX8MM_IOMUXC_SD1_CMD_USDHC1_CMD 0x1d0 + MX8MM_IOMUXC_SD1_DATA0_USDHC1_DATA0 0x1d0 + MX8MM_IOMUXC_SD1_DATA1_USDHC1_DATA1 0x1d0 + MX8MM_IOMUXC_SD1_DATA2_USDHC1_DATA2 0x1d0 + MX8MM_IOMUXC_SD1_DATA3_USDHC1_DATA3 0x1d0 + >; + }; +}; + +&uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart2>; + status = "okay"; +}; + +/* SD */ +&usdhc1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc1>, <&pinctrl_usdhc1_gpio>; + cd-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; + max-frequency = <50000000>; + bus-width = <4>; + no-1-8-v; + pm-ignore-notify; + keep-power-in-suspend; + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm-ctouch2.dts b/arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm-ctouch2.dts new file mode 100644 index 000000000000..8eb01b1f882a --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm-ctouch2.dts @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 NXP + * Copyright (c) 2019 Engicam srl + * Copyright (c) 2020 Amarula Solutions(India) + */ + +/dts-v1/; +#include "imx8mm.dtsi" +#include "imx8mm-engicam-ctouch2.dtsi" +#include "imx8mm-icore-mx8mm.dtsi" + +/ { + model = "Engicam i.Core MX8M Mini C.TOUCH 2.0"; + compatible = "engicam,icore-mx8mm-ctouch2", "engicam,icore-mx8mm", + "fsl,imx8mm"; + + chosen { + stdout-path = &uart2; + }; +}; From patchwork Wed Dec 23 11:03:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1612 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id E4D4D3F086 for ; Wed, 23 Dec 2020 12:06:06 +0100 (CET) Received: by mail-pg1-f197.google.com with SMTP id k21sf2276673pgh.3 for ; Wed, 23 Dec 2020 03:06:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1608721565; cv=pass; d=google.com; s=arc-20160816; b=ZCIGb8XKQpQGv9jDxxWg1asDqT7wD6krdXG/XVxvmH8epyARAPjR+5ZQRoyueDvVqj y0P9GwYDu2RTpOiDLtmBZzJ4j2GLyDL1cuwpApfgAcVGrY9L3d6dfS/Z6wYccMhmqSdF UmirV5oNxX0y1z+R3qfUj9xa703z/iPtrdb4qyp2sWfNNwQwbJSnPo+/v9hNggiM2Qh8 zgU/+FQty/PYwt1kQRwKDq/3kGRDCZ1UlfhVFHkcyAdqaovn3O2odXVIVNvftuymrK0G i780oXK9TfSeJsHtKMh2f4a7L1A9n66bDs8gEw8Iy759gQLIOBmUbIOx6taYbPXuvt1f J4tw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=JW30hv1AB7TR53F/2cMueNdltoFSW0HxEmtCRKqqb+0=; b=S0e6CjEn1T3TohOlt7VsxtUEguiqKidIVW/7b4vIgMFpuiMoLaxluiaRI3ncx3Nu4+ +CJMyW11za/DU0qSMJm4N7JP5BQWdxWg7prk7GOCFI+QdX1KJBJWLpWzUGHq78Zi18hO QOsnYVRFBITqGFrp9ohKChhxh/jRnxKKnkewvfAlYhs0nxo/H563LSfVwIlnfRlShN04 1peioeVLSGSHOiNeSt7d5cZ/8avNJ7oTaEgzMv7NJuqDRc9GujZkU6RHPBKlZd/Pc8vq 8GnAlKrw5eYE4VcPf8ke0JpGi+dcKaLgF0zQmqTKGfL/4G7Ohf7FsAy0oUBsg4bzRAVk mawQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=mMQ638Sn; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com 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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=JW30hv1AB7TR53F/2cMueNdltoFSW0HxEmtCRKqqb+0=; b=n3U8LW9TR0XxfLcTxuULIEvk6dANUIqykzFvodKiH1M2oRVF6xHIW6LZb4ep7BgXx/ OSnKhrOTvtFn7nl61vt/DLduSd0DSt92v87jQ1cvMgD1SlYqBSgK4hsqSl9U9sB8NIRB iFwM5uT8ofDgNsUphy5dpr5L3CbskmXc5KWqE= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=JW30hv1AB7TR53F/2cMueNdltoFSW0HxEmtCRKqqb+0=; b=V4B3PAcTbYraAaA/v/hAckZQX3vQ9FpSaPDUlfOrXaw3a1TlQf0dzA3YLQFLwXtzGt UdW7DGeR0HnjtuLzkHrg6I+WmIGR3zsscNgIDvaFMRoVqMCcNPJ5gSmxzJ2puV/bS12d 3iOmueJ+LdJWPOITwWfp0NEOe+Jix5Te5akfPlYyga3prry2ZplCyT9qQPq7BDsqTkSr bzrefotjOqIkaCIEvKVde2JoNYzUWmH9vt2//alPNvTN4WGE1zTgYRsc4LIicDTPWzbi 65wh90hRvhwvIK6jfDypLpa/yRpg/R0dPfIQNP88cBWOUsocPlcE8tIZUnUGBSC+cqQX Pnxg== X-Gm-Message-State: AOAM531WbNm0p5z7leUTzPKUN8tm+MWJkmAJVgR9Lqd6Bo4F5Rjg1/P+ BPZFc5U/c6HolDDzz56sKmk59s46 X-Google-Smtp-Source: ABdhPJxTkcarnV+lgQNKttEqk1Ts/4Mj8MBu4HynKnXPV3LxiMK/aWKOCurfOW7hwVd5Zp1lsNxaIw== X-Received: by 2002:a17:90b:e0d:: with SMTP id ge13mr25640975pjb.111.1608721565673; Wed, 23 Dec 2020 03:06:05 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:f601:: with SMTP id m1ls18062519pgh.4.gmail; Wed, 23 Dec 2020 03:06:05 -0800 (PST) X-Received: by 2002:a62:1ad0:0:b029:197:e389:fb26 with SMTP id a199-20020a621ad00000b0290197e389fb26mr23651399pfa.20.1608721564999; Wed, 23 Dec 2020 03:06:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608721564; cv=none; d=google.com; s=arc-20160816; b=aQDnuYOx3BRKAn2jnpQ42T9Kjk2AK9J9Ul+OtJM4kTLjOh3ZmEQqm9CaDCmfd9Ie71 yYQxi6eiu7DYws4G7oIv5z3PV0bqHijGVtILTB/deTO5ad+JRpx0lsRkxL5ad6IqEJri wvSnI780+mjfSQz28H6npSTnNixzKip2qqPv4k2o1fpA5H+7JzknrnUErjDs0VZ8MyNy PyZ13qfMZIO6RFPmbu4p7MUS7V9GXXfyXTarlLE4mNPJ6RnrcUH3oKpZLTO3WYabL0hw rypzbyeFnqkoGCFqnccKhULXFccxxKUeZEgC2RUm9JT3enpQ2Muf+DXgeqMnWy4QDrhg dZpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=+MoAq/+qDlbRWnGKVMG/RfZuRkWwtwV+6sJl8++tLE8=; b=sRv+W1KohChTA3t6tbqiWVIhpGPztDqS23wMiPlVXN2HXAtm6CNQUz7ERWIghacqoV R4CyID5+Yee9fwaCMLtJoiyL7KfJvLGhAPR/WE3UGOnM6SSwZqDKHUo78AacDJNMxAUE ROiScScSqwSXSB6gutEw3M53L9ZDDjIS98n3yyyqz6fmfvdNEgBH7bgtC01xXOY4tKH+ /LEf9f89gbPZRbXlL3KmDa7gPobYo8fBW5orPJTbY/rd+tZkY8GLZg+dRSVeExIOpRAT yzpOwZPbTUHxk+4tCU360oLsHztbz/pjHxtsU0EUYS8PCZGIio4I1AtszL8lhi4Jobxb vOZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=mMQ638Sn; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id j31sor2059049pgi.9.2020.12.23.03.06.04 for (Google Transport Security); Wed, 23 Dec 2020 03:06:04 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a63:4083:: with SMTP id n125mr24276013pga.356.1608721564767; Wed, 23 Dec 2020 03:06:04 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a884:eca4:40c1:8784:571c]) by smtp.gmail.com with ESMTPSA id 3sm23275909pfv.92.2020.12.23.03.05.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Dec 2020 03:06:04 -0800 (PST) From: Jagan Teki To: Rob Herring , Shawn Guo , Li Yang , Fabio Estevam , Krzysztof Kozlowski Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, NXP Linux Team , linux-amarula@amarulasolutions.com, Jagan Teki , Catalin Marinas , Will Deacon Subject: [PATCH v3 5/6] dt-bindings: arm: fsl: Add Engicam i.Core MX8M Mini EDIMM2.2 Starter Kit Date: Wed, 23 Dec 2020 16:33:42 +0530 Message-Id: <20201223110343.126638-6-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201223110343.126638-1-jagan@amarulasolutions.com> References: <20201223110343.126638-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=mMQ638Sn; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , i.Core MX8M Mini is an EDIMM SoM based on NXP i.MX8M Mini from Engicam. EDIMM2.2 Starter Kit is an EDIMM 2.2 Form Factor Capacitive Evaluation Board from Engicam. i.Core MX8M Mini needs to mount on top of this Evaluation board for creating complete i.Core MX8M Mini EDIMM2.2 Starter Kit. Add bindings for it. Signed-off-by: Jagan Teki Acked-by: Rob Herring --- Changes for v3: - fix dt-bindings Changes for v2: - update commit message Documentation/devicetree/bindings/arm/fsl.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index f1de68341873..2dab4b5bf99a 100644 --- a/Documentation/devicetree/bindings/arm/fsl.yaml +++ b/Documentation/devicetree/bindings/arm/fsl.yaml @@ -675,7 +675,9 @@ properties: - description: Engicam i.Core MX8M Mini SoM based boards items: - - const: engicam,icore-mx8mm-ctouch2 # i.MX8MM Engicam i.Core MX8M Mini C.TOUCH 2.0 + - enum: + - engicam,icore-mx8mm-ctouch2 # i.MX8MM Engicam i.Core MX8M Mini C.TOUCH 2.0 + - engicam,icore-mx8mm-edimm2.2 # i.MX8MM Engicam i.Core MX8M Mini EDIMM2.2 Starter Kit - const: engicam,icore-mx8mm # i.MX8MM Engicam i.Core MX8M Mini SoM - const: fsl,imx8mm From patchwork Wed Dec 23 11:03:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1613 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 80AC43F086 for ; Wed, 23 Dec 2020 12:06:34 +0100 (CET) Received: by mail-pl1-f199.google.com with SMTP id bg11sf6317887plb.16 for ; Wed, 23 Dec 2020 03:06:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1608721593; cv=pass; d=google.com; s=arc-20160816; b=Cl5EX2hLLAjr94TclfcntpyYKy/c+Ej5gzRhJVXycW+1XfgF7sB46+TWZ8weW287Bc K84/2L8rjBBDaGMefGBjiX+VHlsvk0ZJLvJbTLfazMbZBFSw42U+I9QaMx0QzokMJHB3 SVDY0D1msl84jU0n8VlntBvPZI+zkYSHHReuEz401+gW5zsKHLbDDf4fFclCH2yCH4+T Stx4003StISEY8GYkHn6TwH9HDGjxpEfckcggvU09YQqzXw1xsGsMQJOMkjfmZCicBhO svRV1rT8WDdXuMMoVZcx/dGUJb7Xfhlm3SAees6aOoSPnN+z/s2F9FRKjFQq8QxRl0iv /YLw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=F95KjLDTU4DQUKtTxvWovXHtShwnVeu90HDmZ1DGVkY=; b=NuBg6267j9MqNfq35LSCcTtqnnGVPTLMVYeG2DcGN5dZWWrenmYL/WwAe1aKLhbWY9 4QhFVp4LMJpNA94mg6NTE4Fv/8T++4cOvvx211tLs5dCnhCiXb1qR3IwIE6hBsBhc0QL mprIGtBSQil5gVbquRIpnDHS6MvWnTlxMjP9vMIs8KTzst+NiurIo0kaV0E5EgH1+Qa3 vgI6BCLOm1L0Wvfyqg4OFNZGRnNSEoLqNaI9zm+8aNbzxeLAyupuJs+d7fdRfpiQurCh e4P2KoQTJ8zdq4KlNWe3PLfqUrTWMo1T9DxaCnWK5UQUpBNLXhJYgiXR2oY9/Tz9yH3e wkDA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=p3zJlQz9; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com 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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=F95KjLDTU4DQUKtTxvWovXHtShwnVeu90HDmZ1DGVkY=; b=RGGBSYDlaQQw6C8zIZP7Q+gEjn45gb0kTyXrkRPTdKXhuJukiWyknPwXXBIOQ+YfEN Qa3bLKqH+C0Q9eZOdJLXfed4Z15Js+r5zTGfV9nAO1OsKedE2shscyI4AWQ4rjuZPchs r82RpKbpfPqChJ16Gc+kwZ1bN0imf5e8MDzPA= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=F95KjLDTU4DQUKtTxvWovXHtShwnVeu90HDmZ1DGVkY=; b=RH4b1uFXxY0XUoUfxxaKSPVzzjO4epRHbt7zBMbbY12Kr+mVmFWYrdDWJI90VmM62v sm30TMlqtyn6G4i0TQF2TGZn1idc+2Qs9ZsGhj8ivPAdgKBEreQYsqbdecyL/gjtVfR0 YWd8fLy/OZ5lJ8ShOHTzraoe8BRQdGcsFaWjmTspZeA2HMQYNqm1M9DXZhO1uEQxAj8O TvaUzSL92drW7jOzmzcITkseCzGnPdo8FXLrfzgqwlbgYYAArKzJMDlxvhvOKydXoTFz w/AlbwM4fRe2mU22m1DIUA6OjDrBVpYTnS7ESYfvVxREPzp6h/1gQOhKKyVQ+VxEYbRO oWGQ== X-Gm-Message-State: AOAM532QAX0y9WgiWsGR7AXrppESsOMLFYEnC/3YDU+4t3kbmZmCaUBJ 1hO3pPfitlAJAN80+AQWl8h9xyRx X-Google-Smtp-Source: ABdhPJxMcJNdqSgv6dhJqhaSYIwSDFphqNtQs2JhaZwr/cU1566JwWTwHWEQxGY0O7avk8heft+RqA== X-Received: by 2002:aa7:8d86:0:b029:19e:cb57:2849 with SMTP id i6-20020aa78d860000b029019ecb572849mr23735608pfr.54.1608721593103; Wed, 23 Dec 2020 03:06:33 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:4f4b:: with SMTP id p11ls18036605pgl.10.gmail; Wed, 23 Dec 2020 03:06:32 -0800 (PST) X-Received: by 2002:aa7:9813:0:b029:19d:c82a:92e7 with SMTP id e19-20020aa798130000b029019dc82a92e7mr23448474pfl.71.1608721592387; Wed, 23 Dec 2020 03:06:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608721592; cv=none; d=google.com; s=arc-20160816; b=yCEmP/t0z/AElaJWCuaJMA0l/bjVQxV6fRjcXQt5ORGlPwWkLj3uMPrMhb6XpTddKh hg5sTowpEaCd+zY4d83NGgtaaasrQ4T/aNrJP8EuDFZyHslzarAV5TkwKPnfivKFqJaz zkcXTtL04CKb06dRtee3VPkvr+iC86lOiHUR+FIZX0bEjz1Uh3eTcZCI51cncAYY8wa7 9bkC0VoHrH+JCZIBMT3lNDIUtWhyaEcgyqumDngfCkOz+DZBs7M5q2xjGOAg6w/pay5K 3Ws8KG/KRei5M+Dg/lFw5qpgwAvnU6B/1lwqzG6t3sSJLfyMn2/wXC8XvDg9kaOxereC 8p8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=WOYP5E3jVy3ELBPtvkaJkjlrVuze1hWdvp4c36IdX2U=; b=PWOzv3pio50ASb29qVC0f3RWkgBM3ntz3o7xmylWMt5UvduU5mYOGmnbdsM6QsB/uC /Moi5+FQPZLk2zxBSXM3TjLe6K5ycI52QjwBuGvrmX+ekUmH7bBocY6WNnbW2ExrVAGs nyOVfjAny+lD1tIE074GZSws/Q17XYHUCv8VuoRo/G4Z6MxyseP99KNAZDhxTsRRJ7yJ j9uQKZITF0M5m3Vum2aTAHTxT739GqA7jCwVVyJpshE6NI0gtcyfyqAMhazmQx8gDRqb BM8o3XNp3XKeWONf0Lwr0shEvOLs8ig0NeIZFpBV1o+vEbm5b1J3dOg4te5dIgMcDMz3 nM6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=p3zJlQz9; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id iq22sor10521852pjb.38.2020.12.23.03.06.32 for (Google Transport Security); Wed, 23 Dec 2020 03:06:32 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:90a:cc0a:: with SMTP id b10mr25930062pju.59.1608721592088; Wed, 23 Dec 2020 03:06:32 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a884:eca4:40c1:8784:571c]) by smtp.gmail.com with ESMTPSA id 3sm23275909pfv.92.2020.12.23.03.06.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Dec 2020 03:06:31 -0800 (PST) From: Jagan Teki To: Rob Herring , Shawn Guo , Li Yang , Fabio Estevam , Krzysztof Kozlowski Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, NXP Linux Team , linux-amarula@amarulasolutions.com, Jagan Teki , Catalin Marinas , Will Deacon , Matteo Lisi Subject: [PATCH v3 6/6] arm64: dts: imx8mm: Add Engicam i.Core MX8M Mini EDIMM2.2 Starter Kit Date: Wed, 23 Dec 2020 16:33:43 +0530 Message-Id: <20201223110343.126638-7-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201223110343.126638-1-jagan@amarulasolutions.com> References: <20201223110343.126638-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=p3zJlQz9; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 i.Core MX8M Mini is an EDIMM SoM based on NXP i.MX8M Mini from Engicam. i.Core MX8M Mini needs to mount on top of this Evaluation board for creating complete i.Core MX8M Mini EDIMM2.2 Starter Kit. PCIe, DSI, CSI nodes will add it into imx8mm-engicam-edimm2.2.dtsi once Mainline Linux supported. Add support for it. Signed-off-by: Matteo Lisi Signed-off-by: Jagan Teki --- Changes for v3: - don't maintain common nodes and include it, if no feature diff Changes for v2: - updated commit message - dropped engicam from filename since it aligned with imx6 engicam dts files naming conventions. arch/arm64/boot/dts/freescale/Makefile | 1 + .../freescale/imx8mm-engicam-edimm2.2.dtsi | 82 +++++++++++++++++++ .../freescale/imx8mm-icore-mx8mm-edimm2.2.dts | 21 +++++ 3 files changed, 104 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-engicam-edimm2.2.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm-edimm2.2.dts diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 8d49a2c74604..43783076f856 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -33,6 +33,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mm-beacon-kit.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-evk.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-ddr4-evk.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-icore-mx8mm-ctouch2.dtb +dtb-$(CONFIG_ARCH_MXC) += imx8mm-icore-mx8mm-edimm2.2.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-kontron-n801x-s.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-var-som-symphony.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mn-evk.dtb diff --git a/arch/arm64/boot/dts/freescale/imx8mm-engicam-edimm2.2.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-engicam-edimm2.2.dtsi new file mode 100644 index 000000000000..f7870efd9dab --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-engicam-edimm2.2.dtsi @@ -0,0 +1,82 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Engicam srl + * Copyright (c) 2020 Amarula Solutions(India) + */ + +&fec1 { + status = "okay"; +}; + +&i2c2 { + clock-frequency = <400000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c2>; + status = "okay"; +}; + +&i2c4 { + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c4>; + status = "okay"; +}; + +&iomuxc { + pinctrl_i2c2: i2c2grp { + fsl,pins = < + MX8MM_IOMUXC_I2C2_SCL_I2C2_SCL 0x400001c3 + MX8MM_IOMUXC_I2C2_SDA_I2C2_SDA 0x400001c3 + >; + }; + + pinctrl_i2c4: i2c4grp { + fsl,pins = < + MX8MM_IOMUXC_I2C4_SCL_I2C4_SCL 0x400001c3 + MX8MM_IOMUXC_I2C4_SDA_I2C4_SDA 0x400001c3 + >; + }; + + pinctrl_uart2: uart2grp { + fsl,pins = < + MX8MM_IOMUXC_UART2_RXD_UART2_DCE_RX 0x140 + MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX 0x140 + >; + }; + + pinctrl_usdhc1_gpio: usdhc1gpiogrp { + fsl,pins = < + MX8MM_IOMUXC_GPIO1_IO06_GPIO1_IO6 0x41 + >; + }; + + pinctrl_usdhc1: usdhc1grp { + fsl,pins = < + MX8MM_IOMUXC_SD1_CLK_USDHC1_CLK 0x190 + MX8MM_IOMUXC_SD1_CMD_USDHC1_CMD 0x1d0 + MX8MM_IOMUXC_SD1_DATA0_USDHC1_DATA0 0x1d0 + MX8MM_IOMUXC_SD1_DATA1_USDHC1_DATA1 0x1d0 + MX8MM_IOMUXC_SD1_DATA2_USDHC1_DATA2 0x1d0 + MX8MM_IOMUXC_SD1_DATA3_USDHC1_DATA3 0x1d0 + >; + }; +}; + +&uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart2>; + status = "okay"; +}; + +/* SD */ +&usdhc1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc1>, <&pinctrl_usdhc1_gpio>; + cd-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; + max-frequency = <50000000>; + bus-width = <4>; + no-1-8-v; + pm-ignore-notify; + keep-power-in-suspend; + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm-edimm2.2.dts b/arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm-edimm2.2.dts new file mode 100644 index 000000000000..672aee1800c4 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mm-icore-mx8mm-edimm2.2.dts @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 NXP + * Copyright (c) 2019 Engicam srl + * Copyright (c) 2020 Amarula Solutions(India) + */ + +/dts-v1/; +#include "imx8mm.dtsi" +#include "imx8mm-engicam-edimm2.2.dtsi" +#include "imx8mm-icore-mx8mm.dtsi" + +/ { + model = "Engicam i.Core MX8M Mini EDIMM2.2 Starter Kit"; + compatible = "engicam,icore-mx8mm-edimm2.2", "engicam,icore-mx8mm", + "fsl,imx8mm"; + + chosen { + stdout-path = &uart2; + }; +};