From patchwork Tue Dec 1 13:43:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Palmer X-Patchwork-Id: 1408838 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=0x0f.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=0x0f.com header.i=@0x0f.com header.a=rsa-sha256 header.s=google header.b=mrbeoE9E; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4CljyH2chCz9sVH for ; Wed, 2 Dec 2020 00:44:39 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729599AbgLANoW (ORCPT ); Tue, 1 Dec 2020 08:44:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729261AbgLANoV (ORCPT ); Tue, 1 Dec 2020 08:44:21 -0500 Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1817C0617A7 for ; Tue, 1 Dec 2020 05:43:40 -0800 (PST) Received: by mail-pg1-x533.google.com with SMTP id m9so1223541pgb.4 for ; Tue, 01 Dec 2020 05:43:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x0f.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=plvQeaUD9wIIwbJapMgxHoz9Nu1G0OxoMzRow/yYT1o=; b=mrbeoE9Eh+XfdYw5G5mGNFmFb6DualPxipg3j34VULsY5vvlx0f86/9u7So6M5fPcK Ah0c4EN/OHfQqaHSrJ+93s7QOmADJNuZX4X5XDU18uSXKQBf7AmCsaQNx4C3d519+0MB Ybu/T+58N1UvvhXJ6BdtanFw3QUy4wJSvIlFk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=plvQeaUD9wIIwbJapMgxHoz9Nu1G0OxoMzRow/yYT1o=; b=UkI7cPImfUsRBGK6uxJI2ikgW+cs5y6H44AM2djSawzaVDk9dnJXIv6cWNg8FzuwQA mIutJanJkoEj7q4RzZ1w5XCAI9zPF4Dqg4qWbLrKROniozGNygcyCLnYsmw/iF4TqZrn BD3g28wWsRdfOqLpPAizeAoEVwFAnusWefREK0HcmNEbg2aozMo3U/JxqVyoG3gHNVlC SfudKpIQQnoznqSXWptUknliWlVmYdM67+oQH46Gzpi1Mu060ADODssQ+zoQO9Tk67Hx i0+9ebf4w24lTcNA23VRmLISXwpOSk3zyxHFXCfHvsOtKZ/WuU0O4NF64QHjlC8m5o7e 28rQ== X-Gm-Message-State: AOAM532RVpKftFqMMRaqNiyobf0ALOYMGHPn1NSSmRDzoiw+zjew/2e3 36va0TIBPgbPJ8bQ1iux+zcKYzghhV11Sg== X-Google-Smtp-Source: ABdhPJzxeEuwbvL+1kRV6+uUT7mx09UASek8f5bclJNvTywXMbmSqEQERWDw7AskMIvw+oaxcr+v9g== X-Received: by 2002:aa7:96ca:0:b029:19a:8ccd:895 with SMTP id h10-20020aa796ca0000b029019a8ccd0895mr2498359pfq.61.1606830220296; Tue, 01 Dec 2020 05:43:40 -0800 (PST) Received: from shiro.work (p1268123-ipngn200803sizuokaden.shizuoka.ocn.ne.jp. [118.13.124.123]) by smtp.googlemail.com with ESMTPSA id g14sm2839248pji.32.2020.12.01.05.43.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2020 05:43:39 -0800 (PST) From: Daniel Palmer To: devicetree@vger.kernel.org, soc@kernel.org, linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, olof@lixom.net, arnd@arndb.de, robh@kernel.org, w@1wt.eu, daniel@0x0f.com Subject: [PATCH v2 01/10] dt-bindings: mstar: Add binding details for mstar,smpctrl Date: Tue, 1 Dec 2020 22:43:21 +0900 Message-Id: <20201201134330.3037007-2-daniel@0x0f.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201201134330.3037007-1-daniel@0x0f.com> References: <20201201134330.3037007-1-daniel@0x0f.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This adds a YAML description of the smpctrl node needed by the platform code for the MStar/SigmaStar Armv7 SoCs to boot secondary cpus. Signed-off-by: Daniel Palmer --- .../bindings/arm/mstar/mstar,smpctrl.yaml | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/mstar/mstar,smpctrl.yaml diff --git a/Documentation/devicetree/bindings/arm/mstar/mstar,smpctrl.yaml b/Documentation/devicetree/bindings/arm/mstar/mstar,smpctrl.yaml new file mode 100644 index 000000000000..599c65980f5d --- /dev/null +++ b/Documentation/devicetree/bindings/arm/mstar/mstar,smpctrl.yaml @@ -0,0 +1,40 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2020 thingy.jp. +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/arm/mstar/mstar,smpctrl.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: MStar/SigmaStar Armv7 SoC SMP control registers + +maintainers: + - Daniel Palmer + +description: | + MStar/SigmaStar's Armv7 SoCs that have more than one processor + have a region of registers that allow setting the boot address + and a magic number that allows secondary processors to leave + the loop they are parked in by the boot ROM. + +properties: + compatible: + items: + - enum: + - sstar,ssd201-smpctrl # SSD201/SSD202D + - const: mstar,smpctrl + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + smpctrl@204000 { + compatible = "sstar,ssd201-smpctrl", "mstar,smpctrl"; + reg = <0x204000 0x200>; + }; From patchwork Tue Dec 1 13:43:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Palmer X-Patchwork-Id: 1408840 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=0x0f.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=0x0f.com header.i=@0x0f.com header.a=rsa-sha256 header.s=google header.b=s+sQYh9u; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4CljyJ1W8tz9sW4 for ; Wed, 2 Dec 2020 00:44:40 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729798AbgLANoa (ORCPT ); Tue, 1 Dec 2020 08:44:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727702AbgLANoa (ORCPT ); Tue, 1 Dec 2020 08:44:30 -0500 Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15E43C061A47 for ; Tue, 1 Dec 2020 05:43:44 -0800 (PST) Received: by mail-pg1-x529.google.com with SMTP id o4so1238228pgj.0 for ; Tue, 01 Dec 2020 05:43:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x0f.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1Dt1UKiHvns/wxXXTVZSOMf0MQOF2uaj5QHuWAWvMyQ=; b=s+sQYh9u4PNPxijEivUJmC+SmfbhXD8FTmrOqhu9dToUrWo5DfciQQJdy4IbfxcQ8O AvhBgVMH/tidGkmkSpJtKl6wamNJiCATDJRvLEaPd6mdat4f0wIX9IBlLAlYf+iT6TbR 9+uWSA6ucNTLiF3WfGTsnnNF3hWW8jRU5yLmk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1Dt1UKiHvns/wxXXTVZSOMf0MQOF2uaj5QHuWAWvMyQ=; b=VxOu1h/0odNgULZ4MOKn84AN0UIEFWoEUxOqODKV+2CtmMct5YuNjVqlyh46jrsCUt /9D/kktTSaDPyNgiGQ24y3BYPA0uYFnhIOkX8AdBV0Zhjmkg6DQiel7FqocX8r1a6UsT cLX9Lz2RW+eyWKoaHNqyJZU0eK7XlaeAw8oQUk40UhrDKDDts6Z3hdoTR0P79iU+bqhB 0wyYcPoqbxlWq6xDRYoGrql4D4hs7b5mHMRL/bts1L45ptAGleJmjdSAgvspnnoEzrlc oLkOvZFXpqSjnAhcIGIJZ9Ejy65scHSRzBmjLJPj21XoB3tTszbaUFNYywXdQ7LbG/Zu MLTg== X-Gm-Message-State: AOAM531JHttKbsnyD12thsAaG6Y5EfyNuo+tAW8nWp6GwaBHpFMTbCH1 wzKd38NFnUEIP2pTeEP3cMiyYkvBg927kQ== X-Google-Smtp-Source: ABdhPJz6Fbr0orPaVYv9paiSOtvGm5Y86cBYdh70h4VRs2mpXlZ7xEcjl96/rs7H5GIcwZsfby+XCQ== X-Received: by 2002:a65:620c:: with SMTP id d12mr706840pgv.220.1606830223429; Tue, 01 Dec 2020 05:43:43 -0800 (PST) Received: from shiro.work (p1268123-ipngn200803sizuokaden.shizuoka.ocn.ne.jp. [118.13.124.123]) by smtp.googlemail.com with ESMTPSA id g14sm2839248pji.32.2020.12.01.05.43.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2020 05:43:42 -0800 (PST) From: Daniel Palmer To: devicetree@vger.kernel.org, soc@kernel.org, linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, olof@lixom.net, arnd@arndb.de, robh@kernel.org, w@1wt.eu, daniel@0x0f.com Subject: [PATCH v2 02/10] dt-bindings: vendor-prefixes: Add honestar vendor prefix Date: Tue, 1 Dec 2020 22:43:22 +0900 Message-Id: <20201201134330.3037007-3-daniel@0x0f.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201201134330.3037007-1-daniel@0x0f.com> References: <20201201134330.3037007-1-daniel@0x0f.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add prefix for Honestar Technologies Co., Ltd. Signed-off-by: Daniel Palmer --- 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 2735be1a8470..a6cf2cef6f89 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -451,6 +451,8 @@ patternProperties: description: Holt Integrated Circuits, Inc. "^honeywell,.*": description: Honeywell + "^honestar,.*": + description: Honestar Technologies Co., Ltd. "^hoperun,.*": description: Jiangsu HopeRun Software Co., Ltd. "^hp,.*": From patchwork Tue Dec 1 13:43:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Palmer X-Patchwork-Id: 1408841 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=0x0f.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=0x0f.com header.i=@0x0f.com header.a=rsa-sha256 header.s=google header.b=RM1NldzB; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4CljzJ181qz9sWC for ; Wed, 2 Dec 2020 00:45:32 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391214AbgLANpJ (ORCPT ); Tue, 1 Dec 2020 08:45:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391208AbgLANpH (ORCPT ); Tue, 1 Dec 2020 08:45:07 -0500 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E56E7C061A4A for ; Tue, 1 Dec 2020 05:43:46 -0800 (PST) Received: by mail-pg1-x544.google.com with SMTP id f17so1221098pge.6 for ; Tue, 01 Dec 2020 05:43:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x0f.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=TdRqXYI9+LXautyFSgQZPVbiKxi/AYNw4/5pXTCk/R4=; b=RM1NldzBUV9eilnHZx/H3MAmxMfGI28r9EeIMlH6hqjZCvYEFhQy3qUQw11icYoss1 FMw9JD/wlHbe5sr6+x8tAyfmla93e6MUxcZLwvjqWsmfCsGIfJ2Ch0E6O+eklS6yZzTR 4gzxI2q6rs+2PS7LC3nZvBkN/Aa69HTvyKO7I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=TdRqXYI9+LXautyFSgQZPVbiKxi/AYNw4/5pXTCk/R4=; b=Hn5+oT0jZH819cWM5TrfkK6Xb5JkK7aWB35FIz2n/H0jBpSfhHJVfRkXAN723KfgtJ N+dwn/8D3BbwYrRZ37rOtgjFdTNZi4l6Xv9fJIlLXwY8EnT125Wjf8U2H81CTcuKzVsE KOY1WWyLulVIkGY0qnYAmTV5Ta7miOXe6IsSRHqFgTjR/59ArRHqxq0EVBkrp5Ny6Phl 0eeoJPX95KgLSeK/n/w4lXGqm+FdU+H5ecOXPoMVeorWVv+VrKJrd2m2orejJW6YAQLz bgzmvHXO1DiKiZZBQoV6Ps/k9jq8d9rNL9ioJ0gzzztTUMciXgDrqf+hX+43++UoZMDu gDrQ== X-Gm-Message-State: AOAM533O8oaPxHF53QqW6hUo9+5KxWnuC+ZTrUoDcOgV/URwPfcUTlOe qGJqhubBrtE2ttUOKVpvrF3zwlWi/sC3dA== X-Google-Smtp-Source: ABdhPJzTIgKg7pAUw9IZNPEUcFY3ziV2gQbl96vChMSNwAgbfi0peMLDJMiAe0RBB4RvEnGDI/f/VQ== X-Received: by 2002:a63:f20:: with SMTP id e32mr2301093pgl.130.1606830226259; Tue, 01 Dec 2020 05:43:46 -0800 (PST) Received: from shiro.work (p1268123-ipngn200803sizuokaden.shizuoka.ocn.ne.jp. [118.13.124.123]) by smtp.googlemail.com with ESMTPSA id g14sm2839248pji.32.2020.12.01.05.43.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2020 05:43:45 -0800 (PST) From: Daniel Palmer To: devicetree@vger.kernel.org, soc@kernel.org, linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, olof@lixom.net, arnd@arndb.de, robh@kernel.org, w@1wt.eu, daniel@0x0f.com Subject: [PATCH v2 03/10] dt-bindings: mstar: Add Honestar SSD201_HT_V2 to mstar boards Date: Tue, 1 Dec 2020 22:43:23 +0900 Message-Id: <20201201134330.3037007-4-daniel@0x0f.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201201134330.3037007-1-daniel@0x0f.com> References: <20201201134330.3037007-1-daniel@0x0f.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The Honestar SSD201_HT_V2 is a full size devkit for the SigmaStar SSD201 or SSD202D (they are pin compatible). Currently only the SSD202D version is supported as that's the one I have. Link: https://linux-chenxing.org/infinity2/ssd201_ht_v2/ Signed-off-by: Daniel Palmer Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/mstar/mstar.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/mstar/mstar.yaml b/Documentation/devicetree/bindings/arm/mstar/mstar.yaml index 7c787405bb2f..61d08c473eb8 100644 --- a/Documentation/devicetree/bindings/arm/mstar/mstar.yaml +++ b/Documentation/devicetree/bindings/arm/mstar/mstar.yaml @@ -20,6 +20,12 @@ properties: - thingyjp,breadbee-crust # thingy.jp BreadBee Crust - const: mstar,infinity + - description: infinity2m boards + items: + - enum: + - honestar,ssd201htv2 # Honestar SSD201_HT_V2 devkit + - const: mstar,infinity2m + - description: infinity3 boards items: - enum: