From patchwork Wed Jul 29 15:07:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Palmer X-Patchwork-Id: 11691159 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F104E13B6 for ; Wed, 29 Jul 2020 15:08:00 +0000 (UTC) Received: by mail.kernel.org (Postfix) id EC5972083E; Wed, 29 Jul 2020 15:08:00 +0000 (UTC) Delivered-To: soc@kernel.org Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CB2D72083B for ; Wed, 29 Jul 2020 15:08:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=0x0f.com header.i=@0x0f.com header.b="Q5NcUbxb" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CB2D72083B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=0x0f.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=daniel@0x0f.com Received: by mail-pg1-f196.google.com with SMTP id s15so2847443pgc.8 for ; Wed, 29 Jul 2020 08:08:00 -0700 (PDT) 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=fLWyfEUhKxXNKJFrSYCE0dME2LhnACi7EQ1AP/MIj5Q=; b=Q5NcUbxbJL2tzk4NSOjxEP86/y7iXE/BKfpf4R8r781lbtlWBGEPj8Go7eRSvqg/tX 668V1XwkzjMmAAZ4KArwoDV4Emv0KSCP+FL/fJtMnxwBt2fl+340li9mMpuCJqTlkZua gE5Jy4w4JyB5B207TNc9VX+pBmHiiysKdiy2E= 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=fLWyfEUhKxXNKJFrSYCE0dME2LhnACi7EQ1AP/MIj5Q=; b=OgccP4BG3OHHTu1rbgbvPyQqM8YNKOgPEdgltNusGKpJ+Su//L/SwLKb44r0YeOhTU hcOs+/pCjkyvfzvNbqnmNYXm70gDqQIjYKsniGKY8JTlKvhUCq3WN5FsdD1zfDFFp6LF maZRJW6RkVcEf/PCu+h81iWpgXL5j7OL6ep0A3pSEqQfbLG7dpQWBgOO3GknlDtE19SR vSTKHXLGcxuZA5pas0S6XBZH8d7gsaKw5LkxEszwWF3EUQVxliaQtZ4kg/34U2EtWso4 qMACCieTMCSC7XPqeyHYHm5KoqK5B1ZjnalVtHHzvSmh8v82hBSJdetRIOj0ZKFcMmyI jimw== X-Gm-Message-State: AOAM533nmIewAi15+jiOUrCLrrvp32usWRSEJh69m0zX51N8ORxV0HQL RYI8tE3yB/0kOOCzdzahfSI3kuol4ek= X-Google-Smtp-Source: ABdhPJz/66JXRSWGtpeKrp5Yo0ZHqUK71S6otyWtJitmYVlxgEiPcuU9A7VikImtfuUpkv5uI2XYMA== X-Received: by 2002:aa7:810c:: with SMTP id b12mr30728293pfi.69.1596035279685; Wed, 29 Jul 2020 08:07:59 -0700 (PDT) Received: from shiro.work (p532183-ipngn200506sizuokaden.shizuoka.ocn.ne.jp. [153.199.2.183]) by smtp.googlemail.com with ESMTPSA id q11sm2688058pgr.69.2020.07.29.08.07.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jul 2020 08:07:58 -0700 (PDT) From: Daniel Palmer List-Id: To: soc@kernel.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, arnd@arndb.de, robh@kernel.org, Daniel Palmer Subject: [PATCH 1/3] dt-bindings: mfd: syscon: add compatible string for mstar,msc313-pmsleep Date: Thu, 30 Jul 2020 00:07:46 +0900 Message-Id: <20200729150748.1945589-2-daniel@0x0f.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200729150748.1945589-1-daniel@0x0f.com> References: <20200729150748.1945589-1-daniel@0x0f.com> MIME-Version: 1.0 Add a compatible string for the pmsleep register region in the MStar MSC313 SoC. Signed-off-by: Daniel Palmer --- Documentation/devicetree/bindings/mfd/syscon.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml index f3fba860d3cc..614e58bb5d7d 100644 --- a/Documentation/devicetree/bindings/mfd/syscon.yaml +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml @@ -39,6 +39,7 @@ properties: - allwinner,sun8i-v3s-system-controller - allwinner,sun50i-a64-system-controller - microchip,sparx5-cpu-syscon + - mstar,msc313-pmsleep - const: syscon From patchwork Wed Jul 29 15:07:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Palmer X-Patchwork-Id: 11691161 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6EBE714E3 for ; Wed, 29 Jul 2020 15:08:05 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 6A45322B47; Wed, 29 Jul 2020 15:08:05 +0000 (UTC) Delivered-To: soc@kernel.org Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4911F20829 for ; Wed, 29 Jul 2020 15:08:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=0x0f.com header.i=@0x0f.com header.b="v1LXIVF7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4911F20829 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=0x0f.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=daniel@0x0f.com Received: by mail-pf1-f170.google.com with SMTP id m8so6220038pfh.3 for ; Wed, 29 Jul 2020 08:08:05 -0700 (PDT) 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=rVogIxgDbFpKEnc2TvUT3powwKOjhzEzUdbOqW/tUl8=; b=v1LXIVF7mkdh7FgGzsKCTpqSCqNmesjM2EXQjHqz9dTOmwzqyXsMRjftwhjAeBiw3w U4wrskzCyaqi1dVzDfKoAOyrGmGKa0LzdwbcZa/vmRdiKg12vRLptYtd1QGqQhpBXFNW njHWuv8ubOl7MO4sjqHimzTgHb5iQWkOOfxB0= 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=rVogIxgDbFpKEnc2TvUT3powwKOjhzEzUdbOqW/tUl8=; b=hqI/r5dis8I590ZiijFbL3kVKhj+TaKoatfUaT1vyKf6nT+4lomHOEBw0bWjjoJfbm 5AU7tbD0anAMo6m7ABFidL+z79ICQHSZDoT2J5hnyMfm5V9uEjseJl7njWq8WSyqep2X j8PPG5L3dI+RgTTp/RFFQk0NECV62NX9p1DQ9ajNM9nKpRgqEE9fqfLecWZ66XjBszQ6 S5HoQ1yVh9JhGMpUjP/V59lDChFfB4FmSxbp8puhl5nnkHbb/vdtI7UAHZa9jPyuBcWl 5N9XhIFMawkiXqqC8NkfroG38qoqIWZjNe7682Iv4MP3n2IGuLLRzyYmmvCAfE8XgW5q 0hiA== X-Gm-Message-State: AOAM530BAR8cXCkQjyvH+kV+3KBMjYM8jGsSWVcR8Oi6bKAhTPSKjr6a RSyp+COgHKu8QsEWOgInCskqW3lQ6TI= X-Google-Smtp-Source: ABdhPJxHb8vfoFnXpcAydflPLzAkP3b2h3f7mUtrqgqBxfDdRNZ53hGv+S7rJE4QMlReKaAhQVFftg== X-Received: by 2002:a65:484c:: with SMTP id i12mr31148110pgs.145.1596035283531; Wed, 29 Jul 2020 08:08:03 -0700 (PDT) Received: from shiro.work (p532183-ipngn200506sizuokaden.shizuoka.ocn.ne.jp. [153.199.2.183]) by smtp.googlemail.com with ESMTPSA id q11sm2688058pgr.69.2020.07.29.08.07.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jul 2020 08:08:01 -0700 (PDT) From: Daniel Palmer List-Id: To: soc@kernel.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, arnd@arndb.de, robh@kernel.org, Daniel Palmer Subject: [PATCH 2/3] dt-bindings: arm: mstar: remove the binding description for mstar,pmsleep Date: Thu, 30 Jul 2020 00:07:47 +0900 Message-Id: <20200729150748.1945589-3-daniel@0x0f.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200729150748.1945589-1-daniel@0x0f.com> References: <20200729150748.1945589-1-daniel@0x0f.com> MIME-Version: 1.0 Remove the unneeded binding description. Compatible string is in mfd/syscon.yaml now. Signed-off-by: Daniel Palmer --- .../bindings/arm/mstar/mstar,pmsleep.yaml | 43 ------------------- 1 file changed, 43 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/mstar/mstar,pmsleep.yaml diff --git a/Documentation/devicetree/bindings/arm/mstar/mstar,pmsleep.yaml b/Documentation/devicetree/bindings/arm/mstar/mstar,pmsleep.yaml deleted file mode 100644 index 0b45e7012ceb..000000000000 --- a/Documentation/devicetree/bindings/arm/mstar/mstar,pmsleep.yaml +++ /dev/null @@ -1,43 +0,0 @@ -# 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,pmsleep.yaml#" -$schema: "http://devicetree.org/meta-schemas/core.yaml#" - -title: MStar/SigmaStar Armv7 SoC pmsleep register region - -maintainers: - - Daniel Palmer - -description: | - MStar/Sigmastar's Armv7 SoCs contain a region of registers that are - in the always on domain that the vendor code calls the "pmsleep" area. - - This area contains registers and bits for a broad range of functionality - ranging from registers that control going into deep sleep to bits that - turn things like the internal temperature sensor on and off. - -properties: - compatible: - oneOf: - - items: - - enum: - - mstar,pmsleep - - const: syscon - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - pmsleep: pmsleep@1c00 { - compatible = "mstar,pmsleep", "syscon"; - reg = <0x1c00 0x100>; - }; From patchwork Wed Jul 29 15:07:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Palmer X-Patchwork-Id: 11691163 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B97FE13B6 for ; Wed, 29 Jul 2020 15:08:08 +0000 (UTC) Received: by mail.kernel.org (Postfix) id B25282083E; Wed, 29 Jul 2020 15:08:08 +0000 (UTC) Delivered-To: soc@kernel.org Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8D90720829 for ; Wed, 29 Jul 2020 15:08:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=0x0f.com header.i=@0x0f.com header.b="iDXM1/8S" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8D90720829 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=0x0f.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=daniel@0x0f.com Received: by mail-pf1-f175.google.com with SMTP id j20so13077189pfe.5 for ; Wed, 29 Jul 2020 08:08:08 -0700 (PDT) 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=c4vnIQdazwv0RnAO3xap/+yfl/5PtuE2gJfge3l6agU=; b=iDXM1/8SawXZ5E83U80On87e5K4aZufAnhJ2GwdylXS1tgKwkzY2zqreO4WDQE5w7J eXRSbMf8FgJNXTH0aB7mwA2cVJMbWJjE16zDLhhwz5Q4/Ofed/JiHF6OD7M/Uv0Yg3pP iBQlFniCRithPNU26p9ZA5Mdd/qRwvkOnNm5c= 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=c4vnIQdazwv0RnAO3xap/+yfl/5PtuE2gJfge3l6agU=; b=Jz2TKP34IfRTd/Ffgk9mJSf8joQ4RMDY1PWn2bbst8jiYgBiQFm88VrTog76bWqiAZ lXQRW8TYayky0tx5aB/KFxr4XUNwBeiiWyhtut7qBpLStf052ygAawWDzh6QBkucSAjT sRJw+BKWzz07IP5/Iyzf3vWmphw2MRz15YT10lkk4v0uv7I/uDAZ0lJ9fL/s4nN4AaHp wggqgkdOb4mYl9+qgndHup02r6YCmf3pp6TwZxsYE60rWajWClGGoOMQzLO7/JiroxMt JiuhAS6PGxx1oVpFx+6CLZOjm32W6h7jO7z7fHMlLcSs6SZtv21AXMwTu9r2phIctxD/ ZuTw== X-Gm-Message-State: AOAM532M/gOSZZInti69w6MGL7vBeBVSvD632yIyF++8Yfp9RuWduDrB zKi0bSOfefll1lYh88YwXPnMWtsv/JE= X-Google-Smtp-Source: ABdhPJzqnctBQjLflJW7XAfkHJZ7HeS4kd6WtFxf8/eUYhk1P3OYbgfPq6TBFkRp/sbmurW6dnlnnA== X-Received: by 2002:a63:5a60:: with SMTP id k32mr29215121pgm.73.1596035286619; Wed, 29 Jul 2020 08:08:06 -0700 (PDT) Received: from shiro.work (p532183-ipngn200506sizuokaden.shizuoka.ocn.ne.jp. [153.199.2.183]) by smtp.googlemail.com with ESMTPSA id q11sm2688058pgr.69.2020.07.29.08.08.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jul 2020 08:08:05 -0700 (PDT) From: Daniel Palmer List-Id: To: soc@kernel.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, arnd@arndb.de, robh@kernel.org, Daniel Palmer Subject: [PATCH 3/3] ARM: mstar: Correct the compatible string for pmsleep Date: Thu, 30 Jul 2020 00:07:48 +0900 Message-Id: <20200729150748.1945589-4-daniel@0x0f.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200729150748.1945589-1-daniel@0x0f.com> References: <20200729150748.1945589-1-daniel@0x0f.com> MIME-Version: 1.0 The compatible string for the pmsleep region has changed. Update the MStar/Sigmastar v7 base dtsi with the new string. Signed-off-by: Daniel Palmer --- arch/arm/boot/dts/mstar-v7.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/mstar-v7.dtsi b/arch/arm/boot/dts/mstar-v7.dtsi index c7458c67c4df..3b7b9b793736 100644 --- a/arch/arm/boot/dts/mstar-v7.dtsi +++ b/arch/arm/boot/dts/mstar-v7.dtsi @@ -74,7 +74,7 @@ riu: bus@1f000000 { ranges = <0x0 0x1f000000 0x00400000>; pmsleep: syscon@1c00 { - compatible = "mstar,pmsleep", "syscon"; + compatible = "mstar,msc313-pmsleep", "syscon"; reg = <0x1c00 0x100>; };