From patchwork Tue Sep 14 18:41:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 12494431 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8DDEEC433F5 for ; Tue, 14 Sep 2021 18:44:42 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 5F33D61130 for ; Tue, 14 Sep 2021 18:44:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5F33D61130 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pnuhsJReuuBeA7KO8MU8PAdGanTVIhtUMIVsDw5BER8=; b=HnoYScFJ/2j+/E ryjVa8GoGFEFRv/IHKcVhZRsEkE3Dkvm52ydLflorihmJIjySKmfZmUj8jhYnJ2stWknxn7hBSr5C /ByxpNJWSa2dCBXrFn/y6xvFNOzybv74sRnJI2Ah8gIP6mFat2iP5S27E4FqXer7svo/3YSuu642p v7PJdJRpO/OQJHoiGBnMbPd1lvB7XBzcW4XRlGo2VO9yKnosh6u8yqmUNzA9I0HyxHnWEbA78Mxos tRMJr/0fL6hmFPGqa4KJkQxpNbTtAMIF8V7QPoHZP2ZvxywtCSc/6RI7LZ49k7feWBESU7e+WZiTz oKtG0Mgr89NcIgGa56xw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mQDOD-006odZ-Ez; Tue, 14 Sep 2021 18:42:41 +0000 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mQDNl-006oXW-Dg for linux-arm-kernel@lists.infradead.org; Tue, 14 Sep 2021 18:42:14 +0000 Received: by mail-wm1-x32c.google.com with SMTP id s24so272402wmh.4 for ; Tue, 14 Sep 2021 11:42:09 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=SSna1bEaXtn8m7SSEUg3SHS/YUvgM9x34Z5EWR+22QI=; b=SzyTWssUaWOYbYidrB26dISRs1wym5Iw58QSGGFaGGuHB8g0U3UHKKF/8TmZciMoQE tT8Z63Qs1y4s5QTCtWx4QVZu2kDp4OARcxgVk14pd2ra9pGiD94z7YOxdOsyGFIFxJbH v3nMo2BvyQ8BwTpfQFQuQDlHmDfiMQahFMNaOko8DBWG8VPsooCWK5zTZUQh3KPoubvq WWrItAfk8PauLRMcTRB3VS5YXBj7ULV8uOjUysYjb6KoGiqB9IRLk06oWfswI61E2g0D ZxXs5e+1JOArTmmCKXDXtXfdKtnoj09/abHj2fM1oAW56s3nEL6BZurUlZT3KjG1HXJd TMsQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=SSna1bEaXtn8m7SSEUg3SHS/YUvgM9x34Z5EWR+22QI=; b=RcegPa/EAWwO4uZLFlDG/qJfSWiAFpJP6iPRel8zn4Z2nL/tpsPcZvHAywIwZ7GC6Z Dqq02vQz8+shX7gbDfoAEz3SnkZrK/xIwcGyHlN4PLcdxjoV1jm7yNZVlW7Je/5zO/PZ 0cAu8lUptp2AezwtbDhwy075F4m5yuVyAsKi4veWWEYRqXZOeUQua+2yYe5cc7NCSUXX 4ke8s32zetAWfO9KGvVZV/sitrIY8ovii61mSHclbdnmdDAcEorEgUMmRLZaGZ85ErxT pjbwmDJRgnWkryDDDWtstKod5oZlPW4IpWRB5pqFYypzu6ZPjjEPDKR1/aPDBSf4IfOs Ctrg== X-Gm-Message-State: AOAM532iQO3wfEidnxuhR/0JglVD/URiTdPgPccwgQrl+9KfbvwOKIt8 Yus7bCag2Bvw6EqOwBOcRekPS3+WTtQ= X-Google-Smtp-Source: ABdhPJyp9YNb3Mn/aWtXM24TtfjFR2LXgLSLY6nngvb47buscOrJ5HOVI/aOjgm2BKxlfnP0aQklOw== X-Received: by 2002:a1c:7713:: with SMTP id t19mr528445wmi.162.1631644928473; Tue, 14 Sep 2021 11:42:08 -0700 (PDT) Received: from debby ([2a01:e0a:a6d:a8d0:7ff4:8f61:5574:9f95]) by smtp.gmail.com with ESMTPSA id f1sm10566247wri.43.2021.09.14.11.42.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Sep 2021 11:42:08 -0700 (PDT) From: Romain Perier To: Daniel Palmer , Romain Perier , Rob Herring , Arnd Bergmann , Olof Johansson Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/3] ARM: mstar: Mark timer with arm, cpu-registers-not-fw-configured Date: Tue, 14 Sep 2021 20:41:39 +0200 Message-Id: <20210914184141.32700-2-romain.perier@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210914184141.32700-1-romain.perier@gmail.com> References: <20210914184141.32700-1-romain.perier@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210914_114213_549332_5CD2BFD3 X-CRM114-Status: GOOD ( 11.42 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The vendor u-boot does not configure the arch timer correctly on MStar, let Linux do it. Signed-off-by: Romain Perier --- arch/arm/boot/dts/mstar-v7.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/mstar-v7.dtsi b/arch/arm/boot/dts/mstar-v7.dtsi index 2273295e140f..982dba9d28eb 100644 --- a/arch/arm/boot/dts/mstar-v7.dtsi +++ b/arch/arm/boot/dts/mstar-v7.dtsi @@ -39,6 +39,7 @@ arch_timer { * u-boot is broken */ clock-frequency = <6000000>; + arm,cpu-registers-not-fw-configured; }; pmu: pmu { From patchwork Tue Sep 14 18:41:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 12494433 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1560EC433FE for ; Tue, 14 Sep 2021 18:44:44 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 D8E4E61130 for ; Tue, 14 Sep 2021 18:44:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D8E4E61130 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=UUL/g71rjNA/Wd7ALZypKlrfdtkSYLjOW71/6v1TEPc=; b=JBwr3kk1vQC/8a HdPjBad6ytzbiGXlC2yt8+rbLm0z8VxtXQUmnGQO5p8Lx/COLrCFwlOIHNHdwWUaZl3lV0DmxvS6i MNQ6oZ7cAij62NCsEAhwxqjDst9/EgiM0aHTf2J8PVXZ/c+2NyIUO7BXskq0jbvCfcEaC5HY7zuhk 8mJztUfzAjP4C2ZJM5d0UxQUoUWKDd+QQvqPv0Tc4PygFk8yg3faYkeq0jY3He6Dm6BMEZpqVIJ39 uf4uMa6ArG0DhA3GG+v9k0blRh/LGDNyCnTQEyC8Ro2c5Ph90NidfBBXl79V+fXmcY6IZEqJJgIjb NLYsUI/hwBRTxytVFPOg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mQDO2-006ocT-L2; Tue, 14 Sep 2021 18:42:30 +0000 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mQDNk-006oXd-UN for linux-arm-kernel@lists.infradead.org; Tue, 14 Sep 2021 18:42:14 +0000 Received: by mail-wm1-x333.google.com with SMTP id y132so302142wmc.1 for ; Tue, 14 Sep 2021 11:42:10 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=xyJobn76MJiXHkPQp9MLWLMLF6o7dTUGkJBoxNkALkM=; b=Kts+kWt8sMohhqvdQt3uH2CVwp1uYiuSo+4Q0UbSQKA4bWzOTo8+gkqIBoaIxdBDZ4 6g6uJzelPRzCwGV/6iEV+Iykq4MbAdTQr5DmBzdZlolHU8FcM2AwtZB9PMHc6cM6Uudx vLGAVRB+LEx6E/lH4YLNSwP9NFeLOh/xNTXEIYq57OBL8feCRXnImG6nAUCHTB6zG00g fB7wrPCCAn424owDDCGPnpsd4gbnqorPRR5YwQI0ZtYmhIah8fmEhQGXF3xayJ+PwkO4 eKD6kC3fzVOiM9eD+ynIkvB4JSSUEM0VlQkdYBASf66JVkSLZhrOOdWV9tmuWemOBMcQ KHrA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=xyJobn76MJiXHkPQp9MLWLMLF6o7dTUGkJBoxNkALkM=; b=hSRt8y1Wl+nSNB2gz71PLou1GWkCMgMRuOwdbwQWD1wjtbgKRhI1UQL8BLu7G25DZY jgFISBxKJQzxxurY/lTccQtjhe34XZ034SASm3H/YCKri1eDhSlptXaUHwYVL2NKxQs/ Zec+Ak9m1UIk/hqUU9hZ4zSI9Fsn6CHQdl8+AkYNBV9UcfED/5kfaNPLAsL9mFfXONzk K+XB6w+0mBOgYHI8a3P/bhD0ERwpYIvlH96fO+zNw6A0BJ67bt2o8qH6HffWTspVqo33 RAKvPY7JicbScNITLrV2Tdn4ruTibz1vZhspfwM/bP0faZVdsaNP5MxqPYZVSUSRlAQ/ qNFw== X-Gm-Message-State: AOAM530/pGES17/At+zc7RUAEOfvf6tjhixPEkCYWMDRcwULd8q5zgYA YRaAoUNrB0nAxpXKUXtDWMM= X-Google-Smtp-Source: ABdhPJy6mN2vjzQdkKdWzD8chfGsauJJi82R8tcWK1tawsu6+1u83PPV3ZABhEOnik8+F4ZydtWNtA== X-Received: by 2002:a1c:210a:: with SMTP id h10mr472726wmh.165.1631644929595; Tue, 14 Sep 2021 11:42:09 -0700 (PDT) Received: from debby ([2a01:e0a:a6d:a8d0:7ff4:8f61:5574:9f95]) by smtp.gmail.com with ESMTPSA id y6sm3661042wrp.46.2021.09.14.11.42.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Sep 2021 11:42:09 -0700 (PDT) From: Romain Perier To: Daniel Palmer , Romain Perier , Rob Herring , Arnd Bergmann , Olof Johansson Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/3] dt-bindings: add vendor prefix for Wireless Tag Date: Tue, 14 Sep 2021 20:41:40 +0200 Message-Id: <20210914184141.32700-3-romain.perier@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210914184141.32700-1-romain.perier@gmail.com> References: <20210914184141.32700-1-romain.perier@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210914_114213_023737_B405979C X-CRM114-Status: GOOD ( 11.01 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This adds a vendor prefix for wireless tag boards and SOMs. Signed-off-by: Romain Perier Acked-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index a867f7102c35..de18b6fdbf56 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -1296,6 +1296,8 @@ patternProperties: description: Winbond Electronics corp. "^winstar,.*": description: Winstar Display Corp. + "^wirelesstag,.*": + description: Wireless Tag (qiming yunduan) "^wits,.*": description: Shenzhen Merrii Technology Co., Ltd. (WITS) "^wlf,.*": From patchwork Tue Sep 14 18:41:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 12494435 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.0 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLACK, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 78F1EC433EF for ; Tue, 14 Sep 2021 18:44:59 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 405CE61130 for ; Tue, 14 Sep 2021 18:44:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 405CE61130 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=NCaz+o45CvTvvWoBQKHIUdAEuBrwAz6eIZ3Hcrp7Fcw=; b=qO6XJbfVdrPYb8 RziD71LiwBakOBadNzj3FOAKb+YLom1oA9tdfSwS4VW82KuxAoFvJFqSfViUKWK4tbQnPNC5iQmnO sq90yMjtXxeAzzgOn6arEjSJJROujio9N6W4k/i2etqE6HMqlh3624p9PYtkexB1mrb7fMhaVYamW 7ix9+eOayUgBFEiQb27gBqePwaoqLl1cznlXJxVG+JBl7xdLDDNJGruv+NpipyR1v7rGzpAdRVqVk gmnLrqqQXLXHdmBCGgEvUXJ8544oo/xhxGj1crZK0qJ7sYFpV+cM6ypA38gSBZwx2Dn6f+UAFbXvf Di9qT+B70Ptv3GQq7vlQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mQDOP-006ofy-IR; Tue, 14 Sep 2021 18:42:53 +0000 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mQDNm-006oXs-CU for linux-arm-kernel@lists.infradead.org; Tue, 14 Sep 2021 18:42:16 +0000 Received: by mail-wr1-x430.google.com with SMTP id d6so21791798wrc.11 for ; Tue, 14 Sep 2021 11:42:12 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=0ApBGn7VsjGvZYRPP4n5f95vzaxAoc+aB8E6/mGL1rI=; b=NVVyyD02LM6Uju7M4/wX4QgAXtwAFU0ILGf3hYkPEFV+vyLm6QU5Pmm2prpzcg3nLX wKlB4/v/YxF5C5K8tg6uq2pYlU/FYvr3dainU/ApRhN2TRzZku8TMDcLc8oegRskgh25 wANZCc2oxAUaxqIUGNLxM+c0QJFR5v/4zYKVm3wVy/gKBZl6FqnHFCbbf/W5kx+7saxm fRhoCA1VTZbX+petZ2/kh9Y4ybJ6+ldQjyI5SFR1q9xPm/sEYjrTkoLy6WbYQ7CGqubZ LZbzxoReVxnjftI5FdPmuwVJ8gLqjfZVelc4Er4ZY1Xtt+78FwfzE5ELzJo5nnAZ3VMg upqw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=0ApBGn7VsjGvZYRPP4n5f95vzaxAoc+aB8E6/mGL1rI=; b=7ZGq5/2ouHblEZWiM/U9xsO/arZgQWlVyuPB4t5K/tFBK3kjrNuaFyP3zD5JKsaxIA P+JNJ8Kip22dJ2q/VUXxqOCIiLLd2EHjnk3ra5/lf9U5lM9DooM7BNokrENXZNuQyuf/ 1O0sVhRUZRxziDZ0yZGZXo0S8EC26oU2B9O2HfsDi81KiYXyURSR47qi2HXYOCtv9az4 l4OJsu84w6zWSrUqtirPW+/S4p5uDdaFEzavrfa3BNk0xJkAEuD0aDCviwKQlAsjBPxB CgQjUfGvtV6aQHtwoOAwlIgro4qFjdNpyZU+kkPFEG5Ex4uD60LD2LFnqb1+WJw8lhxj yVfQ== X-Gm-Message-State: AOAM531QpIJCaL9zXrQNygUO7MhOYAKj2cEWcDYmlMGXZ8XJJNqfdCWR XIirUGmiWVv73IXD9Uncvi/LKb/oAYk= X-Google-Smtp-Source: ABdhPJxFfMOkrk5X6zq6WnstG9za28HVrCWr5U+hngP7JVwpsY0oOHOgYSfPx9ABvuSYJgYi6AyuCg== X-Received: by 2002:adf:f101:: with SMTP id r1mr602031wro.355.1631644930948; Tue, 14 Sep 2021 11:42:10 -0700 (PDT) Received: from debby ([2a01:e0a:a6d:a8d0:7ff4:8f61:5574:9f95]) by smtp.gmail.com with ESMTPSA id t9sm11439764wrg.4.2021.09.14.11.42.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Sep 2021 11:42:10 -0700 (PDT) From: Romain Perier To: Daniel Palmer , Romain Perier , Rob Herring , Arnd Bergmann , Olof Johansson Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/3] ARM: dts: mstar: Add the Wireless Tag IDO-SBC2D06-V1B-22W Date: Tue, 14 Sep 2021 20:41:41 +0200 Message-Id: <20210914184141.32700-4-romain.perier@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210914184141.32700-1-romain.perier@gmail.com> References: <20210914184141.32700-1-romain.perier@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210914_114214_494297_768B86B1 X-CRM114-Status: GOOD ( 18.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The Wireless Tag IDO-SBC2D06-V1B-22W[1] is an SBC powered by SSD202D with a dual Ethernet and a connector for a 4-inch and 7-inch display. It embeds a System-On-Module IDO-SOM2D01[2] with an Mstar SSD202 SoC dual-core Cortex-A7 CPU @ 1.2Ghz , 2D GPU, 128 MB DDR3 (on-chip) and a 256MB SPI NAND flash. This commit adds basic definition for this board. 1. http://linux-chenxing.org/infinity2/ido-sbc2d06 2. http://www.wireless-tag.com/portfolio/ido-som2d01 Signed-off-by: Romain Perier --- .../devicetree/bindings/arm/mstar/mstar.yaml | 2 ++ arch/arm/boot/dts/Makefile | 1 + .../dts/mstar-infinity2m-ssd201-som2d01.dtsi | 20 +++++++++++++ ...sd202d-wirelesstag-ido-sbc2d06-v1b-22w.dts | 23 +++++++++++++++ ...ity2m-ssd202d-wirelesstag-ido-som2d01.dtsi | 28 +++++++++++++++++++ 5 files changed, 74 insertions(+) create mode 100644 arch/arm/boot/dts/mstar-infinity2m-ssd201-som2d01.dtsi create mode 100644 arch/arm/boot/dts/mstar-infinity2m-ssd202d-wirelesstag-ido-sbc2d06-v1b-22w.dts create mode 100644 arch/arm/boot/dts/mstar-infinity2m-ssd202d-wirelesstag-ido-som2d01.dtsi diff --git a/Documentation/devicetree/bindings/arm/mstar/mstar.yaml b/Documentation/devicetree/bindings/arm/mstar/mstar.yaml index a316eef1b728..10efd703717e 100644 --- a/Documentation/devicetree/bindings/arm/mstar/mstar.yaml +++ b/Documentation/devicetree/bindings/arm/mstar/mstar.yaml @@ -25,6 +25,8 @@ properties: - enum: - honestar,ssd201htv2 # Honestar SSD201_HT_V2 devkit - m5stack,unitv2 # M5Stack UnitV2 + - wirelesstag,ido-som2d01 # Wireless Tag IDO-SOM2D01 + - wirelesstag,ido-sbc2d06-v1b-22w # Wireless Tag IDO-SBC2D06-1VB-22W - const: mstar,infinity2m - description: infinity3 boards diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 7e0934180724..7f0e92cea716 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1448,6 +1448,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \ dtb-$(CONFIG_ARCH_MILBEAUT) += milbeaut-m10v-evb.dtb dtb-$(CONFIG_ARCH_MSTARV7) += \ mstar-infinity-msc313-breadbee_crust.dtb \ + mstar-infinity2m-ssd202d-wirelesstag-ido-sbc2d06-v1b-22w.dtb \ mstar-infinity2m-ssd202d-ssd201htv2.dtb \ mstar-infinity2m-ssd202d-unitv2.dtb \ mstar-infinity3-msc313e-breadbee.dtb \ diff --git a/arch/arm/boot/dts/mstar-infinity2m-ssd201-som2d01.dtsi b/arch/arm/boot/dts/mstar-infinity2m-ssd201-som2d01.dtsi new file mode 100644 index 000000000000..34df472fed71 --- /dev/null +++ b/arch/arm/boot/dts/mstar-infinity2m-ssd201-som2d01.dtsi @@ -0,0 +1,20 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright (c) 2021 thingy.jp. + * Author: Daniel Palmer + * Author: Romain Perier + */ + +/ { + reg_vcc_dram: regulator-vcc-dram { + compatible = "regulator-fixed"; + regulator-name = "vcc_dram"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-boot-on; + }; +}; + +&pm_uart { + status = "okay"; +}; diff --git a/arch/arm/boot/dts/mstar-infinity2m-ssd202d-wirelesstag-ido-sbc2d06-v1b-22w.dts b/arch/arm/boot/dts/mstar-infinity2m-ssd202d-wirelesstag-ido-sbc2d06-v1b-22w.dts new file mode 100644 index 000000000000..20b40b711d4f --- /dev/null +++ b/arch/arm/boot/dts/mstar-infinity2m-ssd202d-wirelesstag-ido-sbc2d06-v1b-22w.dts @@ -0,0 +1,23 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright (c) 2021 thingy.jp. + * Author: Daniel Palmer + * Author: Romain Perier + */ + +/dts-v1/; +#include "mstar-infinity2m-ssd202d-wirelesstag-ido-som2d01.dtsi" +#include + +/ { + model = "Wireless Tag IDO-SBC2D06-1VB-22W"; + compatible = "wirelesstag,ido-sbc2d06-v1b-22w", "wirelesstag,ido-som2d01", "mstar,infinity2m"; + + leds { + compatible = "gpio-leds"; + sys_led { + gpios = <&gpio SSD20XD_GPIO_GPIO85 GPIO_ACTIVE_LOW>; + linux,default-trigger = "heartbeat"; + }; + }; +}; diff --git a/arch/arm/boot/dts/mstar-infinity2m-ssd202d-wirelesstag-ido-som2d01.dtsi b/arch/arm/boot/dts/mstar-infinity2m-ssd202d-wirelesstag-ido-som2d01.dtsi new file mode 100644 index 000000000000..d877aff85033 --- /dev/null +++ b/arch/arm/boot/dts/mstar-infinity2m-ssd202d-wirelesstag-ido-som2d01.dtsi @@ -0,0 +1,28 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright (c) 2021 thingy.jp. + * Author: Daniel Palmer + * Author: Romain Perier + */ + +/dts-v1/; +#include "mstar-infinity2m-ssd202d.dtsi" +#include "mstar-infinity2m-ssd201-som2d01.dtsi" + +/ { + model = "Wireless Tag IDO-SOM2D01 (SSD202D)"; + compatible = "wirelesstag,ido-som2d01", "mstar,infinity2m"; + + aliases { + serial0 = &pm_uart; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +®_vcc_dram { + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <1500000>; +};