From patchwork Fri Nov 5 09:13:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ying-Chun Liu X-Patchwork-Id: 516818 Delivered-To: patch@linaro.org Received: by 2002:ad5:5208:0:0:0:0:0 with SMTP id p8csp2941268iml; Fri, 5 Nov 2021 02:13:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxspBL3qi9MIKUWZuXdsqe/jasRODvIMf/W0bJv77sQ1rWlxRFbn5tqDAC4jO+NmSdGsreW X-Received: by 2002:a05:6402:2687:: with SMTP id w7mr35835058edd.266.1636103625568; Fri, 05 Nov 2021 02:13:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636103625; cv=none; d=google.com; s=arc-20160816; b=Uce5xJyc97XZHYj6e+jmquc5up7uePCaVS3TmwS2UMUyqodLQNUpPCX86Zo84flVV1 9z/VhicNSWA7ZOfuhVnVDWoG+/9nlL65j+We5kijGuTzHchi9SQj89O/2+ZLlKGJTiKO fsA0sXt7a1cOqJiZHQU+WN4CIMUnrSeiYJjKkA5KjugZS+4uHOGZq4diHpoeHBefOSWr ZHfhwo7qvb7eoOYSN3Cq4vhkzm+4b3zow7m6GOITSVoh+EwBtaUEfpZnKsoUh8Uor8vu v8wqEyD86rKOF75u/85xKeEv140B8fqZ+sjiAp4wZ8Jb4OMt1WZjrOWJEzfV8ZlcQgdw bSkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=SIiAlp0d0ivCZdTlcIdYPLBIPEQh5iJgJiauxG2AzCU=; b=Z/bLGgU1p1YvRx3NIx0LBrsh3BdVbs+SLxADOz0MdzZKAVTqY7F7mOKHdMfzhfo89m tT7/T8Ethnk81Vt+wHi6FT6cKlU0uSLACDzuP/JR82iZKMA/tBCMEmx8uWJBJLG4NR2/ WEccADEVybLF44RbiJZqUuxGOKeWRNGwKxZI9ExSAKJTW7NN63Nuq7tGjBm9J/MVZkd6 UD7WatWrZfVMO8JYVgSAHsnIS7pJk5uWfuzwnp8W62aM/iwbXckriXBEA85iJuy2yTKz KP8qsAbKtuGBsRLM6vCJ5d+iurHmb+VP4tXKdTdoYsHTNXFRLwUTMk4lcmDxf8Eqvyc5 9BEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=aP3YJ1Z3; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id kk5si10123191ejc.134.2021.11.05.02.13.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Nov 2021 02:13:45 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=aP3YJ1Z3; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6D223836C4; Fri, 5 Nov 2021 10:13:41 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="aP3YJ1Z3"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2408F8356D; Fri, 5 Nov 2021 10:13:39 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 577CF836A7 for ; Fri, 5 Nov 2021 10:13:34 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=grandpaul@gmail.com Received: by mail-pf1-x429.google.com with SMTP id l3so6401658pfu.13 for ; Fri, 05 Nov 2021 02:13:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=SIiAlp0d0ivCZdTlcIdYPLBIPEQh5iJgJiauxG2AzCU=; b=aP3YJ1Z3fsR6qiXIxK1OyN7BcZ6Li0By8lbgHI1Tu1R3ocHID06BDNRBlytzVUuY9y ZPhrMlQZ0O25czwTo5CWt8jr02rVZNlAHu/2pGkJv1+jfU9RKiauSzuQH3dpzg7RO3av GXbwfoO0V0oksQdaEVYImobwD3AzqA459nj9fDn0A6tpSuIQSwKL/UgPwdqdhskSUFmR Dxom8dyMwOg3JkjQtMBomNUHrGWfCqCHM6WapbyQMD/QkXYGKkuqTHk+AKBs8rhpmxyf MP9ZMPRAxwrobz5BPNeCotCAz2uAbSa2WiU4fmunFavmbouwZjbngM3pZJMLDxhRGRWU YuKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=SIiAlp0d0ivCZdTlcIdYPLBIPEQh5iJgJiauxG2AzCU=; b=NYVzmyxiYIoiFNVcZxdrhyzre97QLDO5WhPkqyqlK967xT/LBzyjX53Q4mcg6ri8bJ QxoTHGyLxGNkxXzi7Pw/zQQee/7z7GZMRstj5hH9AXXPd0+U2iDMsMtmnAEwYg+hGIua QodC3tpCzmdDz19vymYfMxciokilC15oi1AXTNmEwKhG9gzcbvuz35Yag75884gMGqHe PP9YOEhjcYz+T+LbGbcffZ3PjnOwIZK5ZH1JYzfEwz+NNU3rVPypSbyCfL53eS6qt6PH U3wPnRLubhPShUqShNS8paF/Hxg2g3xeMCutE5H4WZsKr/pnmdHhWjmuHK64mUODZLEe iAPA== X-Gm-Message-State: AOAM533qItZKmfxG2r8rusFkR0dX5r4wUlinvpzBILnXM1Y7Ceqp5tY3 9N4jB2+XisMUKRafpqJeL2yMH+LFtKo= X-Received: by 2002:a05:6a00:16c6:b029:32d:e190:9dd0 with SMTP id l6-20020a056a0016c6b029032de1909dd0mr58342452pfc.70.1636103611131; Fri, 05 Nov 2021 02:13:31 -0700 (PDT) Received: from localhost (host-111-184-129-17.dynamic.kbtelecom.net. [111.184.129.17]) by smtp.gmail.com with ESMTPSA id f16sm7507939pfe.172.2021.11.05.02.13.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Nov 2021 02:13:30 -0700 (PDT) From: Ying-Chun Liu To: u-boot@lists.denx.de Cc: "Ying-Chun Liu (PaulLiu)" Subject: [PATCH 0/2] arm: imx8m: imx8mm-cl-iot-gate: detect extension board Date: Fri, 5 Nov 2021 17:13:23 +0800 Message-Id: <20211105091325.245043-1-grandpaul@gmail.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean From: "Ying-Chun Liu (PaulLiu)" Extension boards can be added to Compulab's iot-gate-imx8mm. We implement extension board manager for detecting the extension boards. The following overlays are added: - IED extension board - CAN/TPM/ADC extension board on IED board. Ying-Chun Liu (PaulLiu) (2): arm: dts: imx8mm-cl-iot-gate: add Compulab's ied overlays arm: imx8m: imx8mm-cl-iot-gate: detect extension board arch/arm/dts/Makefile | 20 +- arch/arm/dts/imx8mm-cl-iot-gate-ied-adc0.dts | 30 ++ arch/arm/dts/imx8mm-cl-iot-gate-ied-adc1.dts | 30 ++ arch/arm/dts/imx8mm-cl-iot-gate-ied-can0.dts | 53 +++ arch/arm/dts/imx8mm-cl-iot-gate-ied-can1.dts | 53 +++ arch/arm/dts/imx8mm-cl-iot-gate-ied-tpm0.dts | 45 +++ arch/arm/dts/imx8mm-cl-iot-gate-ied-tpm1.dts | 45 +++ arch/arm/dts/imx8mm-cl-iot-gate-ied.dts | 85 +++++ arch/arm/mach-imx/imx8m/Kconfig | 2 + .../imx8mm-cl-iot-gate/imx8mm-cl-iot-gate.c | 333 ++++++++++++++++++ 10 files changed, 693 insertions(+), 3 deletions(-) create mode 100644 arch/arm/dts/imx8mm-cl-iot-gate-ied-adc0.dts create mode 100644 arch/arm/dts/imx8mm-cl-iot-gate-ied-adc1.dts create mode 100644 arch/arm/dts/imx8mm-cl-iot-gate-ied-can0.dts create mode 100644 arch/arm/dts/imx8mm-cl-iot-gate-ied-can1.dts create mode 100644 arch/arm/dts/imx8mm-cl-iot-gate-ied-tpm0.dts create mode 100644 arch/arm/dts/imx8mm-cl-iot-gate-ied-tpm1.dts create mode 100644 arch/arm/dts/imx8mm-cl-iot-gate-ied.dts -- 2.33.0