From patchwork Thu Sep 23 17:07:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 12513355 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,URIBL_BLOCKED, 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 A8B50C433EF for ; Thu, 23 Sep 2021 17:10:17 +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 76CAC61211 for ; Thu, 23 Sep 2021 17:10:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 76CAC61211 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=QKzNM0ErmvyCwc 4WJoQ9Vf+Jm7Hweo5a8/v1oYlzdmJsfa+bPaEfQzgQlbS9UgYRhZVSAM2njhkbAM+AGvZxWk0fx/u 4MNQPP6MhCE+cKsFgeaZYUzlEwpiGxHrb9xCbxd6RtQyXpiXb8WnSBhoGNLY3+4PrJmTkrGpYmT47 DlAQLJwZI/S1J6zh9o1l8jHNEf6cutm67d5yc0znZIFe/fEBton3dmQYmD9/T4ekjQu0VAAWGormQ cfBMjc5fD9ZL+fELlIxn3QvpYvvkg5wKQOKYzQwqgqJX4yIRvjv4CwDQ+pDPzHOHPmOpHiT4mPCOw R0hnvF2KEPLEFCfjPueQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTSCm-00CEkG-LD; Thu, 23 Sep 2021 17:08:16 +0000 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTSCZ-00CEhQ-9k for linux-arm-kernel@lists.infradead.org; Thu, 23 Sep 2021 17:08:04 +0000 Received: by mail-wr1-x436.google.com with SMTP id u15so19170052wru.6 for ; Thu, 23 Sep 2021 10:08:02 -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=DaUjSqDwLae/vY8ch/tHiryo0g1rXA9ht28tFsDeGiKU7uYJbgg5DtZsyNAxEuCTsU nRPVPxq0x86rO1UUleyF5+qD7gkrRKMPDowp3DWHo+cIstXwg7XmN13mBUaOgKsD+Bq1 XQAdgzRmCnSC7S0nvSICFj7eXLTPsgtg6qx47hjyJQ8atvvTiLGLvBWW1ahwTohFNI0s 8N8ey3sVFKbh3IrHiK23wYn8CPSwP1PLeekEw6Ce8KJgDJyHv0Q9HhVcUa13KLSjto57 DneOvWf054Rr/lUisVSu5mueZJuau2wl3TFy3qLEG92unPSIoFJsJEMSc4s8px4DhUYl R2ew== 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=YSSsmjJSjh/oYf7+GIARs1tpGIUiDqSutYpI8YNryaMnBLdubW4NSVIZnkYvGK2DER QSY7kM6uPSYvExnxF13TrpPLPRysRGOJsISu4C/Q9tavpGCDf/pcTbv8BgBzxAsoVLAC OlivnwsZh2bMLAJgHNjOHZPiZuLFGsq3G+E0ML/EBH6uVj93Y4ULmG9rf/UtPoOWCl+c cxjB7EswteVIqtls2A7fdyTKzUzuTkouwwPKKwCuhX6Kj7mj3MM/1ADb8YmUqftE5i8k gyUaXayPDn/aIeUqvP0YZHX6/ng4V4RmG8GvW97mz3rJHGNFvBEOcjx1kPdmIMl2w9JH rMaw== X-Gm-Message-State: AOAM530dyM1giKiHTBcKtVKgoQOh/6NP0FOyOLXvwq/yzpZJrMJlEdJA e464lHZgRN6RqFQpF5ZqVkmUGBkhhaI= X-Google-Smtp-Source: ABdhPJwc5rZge2VddobYbUqB+xzRpzBaufb/ijUFot1OzKeSNJ9ItO+XUojkLEEOQXL+p5H3CzWPEA== X-Received: by 2002:adf:fb89:: with SMTP id a9mr6475050wrr.164.1632416881495; Thu, 23 Sep 2021 10:08:01 -0700 (PDT) Received: from debby ([2a01:e0a:a6d:a8d0:7ff4:8f61:5574:9f95]) by smtp.gmail.com with ESMTPSA id 25sm11219573wmo.9.2021.09.23.10.08.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Sep 2021 10:08:01 -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 v3 1/3] ARM: dts: mstar: Mark timer with arm, cpu-registers-not-fw-configured Date: Thu, 23 Sep 2021 19:07:45 +0200 Message-Id: <20210923170747.5786-2-romain.perier@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210923170747.5786-1-romain.perier@gmail.com> References: <20210923170747.5786-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-20210923_100803_380119_1ED7E555 X-CRM114-Status: GOOD ( 11.44 ) 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 Thu Sep 23 17:07:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 12513359 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,URIBL_BLOCKED, 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 09173C433F5 for ; Thu, 23 Sep 2021 17:10:20 +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 CFAFC61090 for ; Thu, 23 Sep 2021 17:10:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org CFAFC61090 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=lhKW8SJT6K6KLIubVZsqrWsHXX9dvArbPDgbwYUn2T8=; b=Vcpx7b1JqoEplO ycQfs0gQEXTGcXhCHARi19zCXzp0bp9FIQ0p1uLHG2bZpGpz0wEPoL0TcQPSSfHiREoVu0zUfIoNZ x5QDn8+16OBCvACq0Tc3O1jIECbImV6haV8q20sdom8bqyr+PqnW1JYMQlxPO+6ZeGjJWY3uvFGh8 zUigN5KmY/XQfFoT0ZAbIuGo+0GTcUMT+smJMDDevfHbwaGhHhHun0SlezsJ6yZcZ7V5KxsifgUo4 iMmMP6SpN1RkP5J4dggAkcPoz0niux4gvgD2GBpMtW3NI3D3gzyfSlZi1mg2VM+V2sJsEgF0brjzL vWJrKxp9wzEVtTaZc94Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTSCy-00CEkm-53; Thu, 23 Sep 2021 17:08:28 +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 1mTSCa-00CEhf-Fj for linux-arm-kernel@lists.infradead.org; Thu, 23 Sep 2021 17:08:05 +0000 Received: by mail-wr1-x430.google.com with SMTP id i23so19273669wrb.2 for ; Thu, 23 Sep 2021 10:08:03 -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=IvlYwMJ6XAVpgLYVyPYDsIW2zKVqln8G4gH8tVla7vA=; b=hACYGrr1gKMmyGT28hjxOEZADRDTfqHvzWKpQwt6s6JUDlwq8NlB491piCB41BVXyf NL/QcPzjMYKXaxq1oMD6LMTMt7n72Ocv4b72PRkND0xdG8thNbggr14DQsBu9Zldo2lH ZUg4OZjFBrJtjhdReaFLoGlLPqI1aDJpiJuSR+LFbFjxUP97isxPvZh4snjeFNWaYw49 GOz6kDiRmlN2F9C0pTWXtA983GbtP87BBMfH66ICAq1K0fZy6zGJz04DkTibpQxW99tQ ZJhGYOmU9DeOHbnn1zgXVThLuXIPShhmQ+BaPZ4FeW5xxsW34wKKEVbtkbk7/PETpU+i ZyLg== 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=IvlYwMJ6XAVpgLYVyPYDsIW2zKVqln8G4gH8tVla7vA=; b=KWBJ6jA+urTvtQcWn+fFSAkE2+9UJkZEwMi5/dy8BVz+OHdXzmlwCSnvkEs9Kpreze sJ8A5zEbg9pQixGMjewjRsQpu8jHWRDEhyt+/cQHPvaHUEwquQZ+MDNrOlTAojTJHIRO 9IjNQKouiTP0rgro7JdDoVNQ2lRrJETF4/NJYiizF994d0OwYOAf+RPKDcMvPaa3RCzx HiIf+kPgeh0VRok1oP3bWxOCGhKJRkTCSIEoh4bVsX3HMpaIpoI7PjwV8uD27SElBKiU k5yx2lJMLUC73vnNEV5Q4P/3+fwFkVl5P6rhbK7LqAmDGxWZzttsf2yCJPHQh68Jq+tf 0+bA== X-Gm-Message-State: AOAM5330q+cgpak7wRYjMJ9GMFOiBSamwdCAqgb6Oyr7G8xdOpa4jgpH lLTQtMsF/IWMmJAy+7l9wh4= X-Google-Smtp-Source: ABdhPJym6aI9MUsWn0xe6+XmUGG3SRoWNq+qXjv4ejD+zTldk2wJFtnWlPA55sP0XHfSUrTZ4ul0eA== X-Received: by 2002:a5d:47a4:: with SMTP id 4mr6372262wrb.274.1632416882680; Thu, 23 Sep 2021 10:08:02 -0700 (PDT) Received: from debby ([2a01:e0a:a6d:a8d0:7ff4:8f61:5574:9f95]) by smtp.gmail.com with ESMTPSA id m29sm6028736wrb.89.2021.09.23.10.08.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Sep 2021 10:08:02 -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, Rob Herring Subject: [PATCH v3 2/3] dt-bindings: add vendor prefix for Wireless Tag Date: Thu, 23 Sep 2021 19:07:46 +0200 Message-Id: <20210923170747.5786-3-romain.perier@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210923170747.5786-1-romain.perier@gmail.com> References: <20210923170747.5786-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-20210923_100804_588494_5A0F1554 X-CRM114-Status: GOOD ( 10.47 ) 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 Thu Sep 23 17:07:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 12513361 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,URIBL_BLOCKED, 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 24C06C433F5 for ; Thu, 23 Sep 2021 17:11:05 +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 E6E2860F70 for ; Thu, 23 Sep 2021 17:11:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E6E2860F70 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=JdfTjYMgzzGpC4JspW2p7MA07A2/rwpd7S+8OpzS4zU=; b=Xb86uSIux8ttGe hZSJppQQxinnl0LvphX0AqWnqk4RS3ZCIqwBAHs2ujMYKFfq28n4pWRF1rFzLcaVFWnyI4iTcCgeq v0XQ+nrQL3se43EG9eJj9hO4QeRtYemQoKSIvrleT3O9ZhY9CV1RbUuw/Ikn6g9r650Ei23robkpC Q0nT2174V36QTkNjZJR6Gals+zHL8kohuqUTyao8W1M4psxcc0FtQCwOf4SWLCZZCGve+URtAjGDW 3X8oALdiych6HvQ/U0/25dPs5eKrIvMQKOo2UQCQPee5sPRFnfGoIO3BTK2YFeaxZNCQZ++Le7NW9 MfQ8zNtIM89PDbNH77Bw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTSD8-00CEmq-MW; Thu, 23 Sep 2021 17:08:38 +0000 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTSCb-00CEi6-S3 for linux-arm-kernel@lists.infradead.org; Thu, 23 Sep 2021 17:08:07 +0000 Received: by mail-wr1-x434.google.com with SMTP id d6so19053958wrc.11 for ; Thu, 23 Sep 2021 10:08:05 -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=uIinKBS9FeiYnOYPRjX8LavNUj4ddGEM/7cyQd1I1js=; b=eYyF5PkIazC9f6LenPDpuFn6MeJUv3rMuuAeB30pvQg1DdqHcHSg5a8sjc6ihpryuU nV7K8lkQfIf7kdRTM3YPq2LCccKQtF3+saKwFHqdWqgucQwgFm/9f4hOl1ygPL6/LnR0 qvxxyJdh6/PcMWVZv+4I9wJRARG36WzQUfMI8LBHK/IY1xvkXUONMOsP/k2s/qipjwi1 x59osTcWslepmYboLEfrF6z9FVSZ09wu0Xt0v2hEgQY+Fj2foXPfEhNGk12jn9J2CY20 kEcXoQIwsY+iRo+6MM5ik0xaH6hB2zsRlFVT7bvS0IipTBwDIqePFgRn9D57TN8twmXz SrWg== 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=uIinKBS9FeiYnOYPRjX8LavNUj4ddGEM/7cyQd1I1js=; b=Gz4NBYVvCElMGqZyzwuxb0oGRHafVtiPto5e7O601waE0iCWlPCgy8E0Xm+7J4hSDA n+reF/naN7mHt57puV8qinJAS3sI0cqstQTZ3Odh3qiucH0hGXbB7kLHTW72jfpCWX2f 6M/JGOWTTfO6Mlc51XK1zMdvM/tLUnqzM5pY9pev4II0WPn15x1fJ3a0W7eLzGJJnLYC OCxAxgf8aImfhB1pTeIlW7bbylcaz10rDOkB99qApqX8x6S4FimuBJzuJZWTG3CpLt8Q Nm9UX3dY34CGAgBcxJ+J+RrNPA3+Xdn5ROTTdUa9oTtPI/7A9WQFbIJMufIl+J1RUjcO JzJA== X-Gm-Message-State: AOAM533Pxn1BVQ7Y4yg/kk8LtmngdPeeaaWFGKbK8+q5q1vRjX7UHLKv hb1duOvYOvzgTkAYSqiAnjzc72qxV4o= X-Google-Smtp-Source: ABdhPJzXr84J/NdR9S/3eLRdVw4e0kunLKUzB+kC41IcIR0VsHK/9EkvQT3WTd7YDbGXwCYtw60Biw== X-Received: by 2002:a7b:c959:: with SMTP id i25mr5782194wml.55.1632416883912; Thu, 23 Sep 2021 10:08:03 -0700 (PDT) Received: from debby ([2a01:e0a:a6d:a8d0:7ff4:8f61:5574:9f95]) by smtp.gmail.com with ESMTPSA id m4sm7097598wrx.81.2021.09.23.10.08.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Sep 2021 10:08:03 -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 v3 3/3] ARM: dts: mstar: Add the Wireless Tag IDO-SBC2D06-V1B-22W Date: Thu, 23 Sep 2021 19:07:47 +0200 Message-Id: <20210923170747.5786-4-romain.perier@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210923170747.5786-1-romain.perier@gmail.com> References: <20210923170747.5786-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-20210923_100805_962020_B72D5A82 X-CRM114-Status: GOOD ( 17.51 ) 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 Reviewed-by: Rob Herring --- .../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..b15c40762bc0 --- /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", "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>; +};