Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp175196ybg; Tue, 28 Jul 2020 03:06:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyikb1tgrQiOh7xgKKLEfOfXX/SxMYmOX5nxvrcMu7cwa3QP11Az3cK36ZI/4pNA8GwFDeC X-Received: by 2002:a17:906:a081:: with SMTP id q1mr23641474ejy.499.1595930797636; Tue, 28 Jul 2020 03:06:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595930797; cv=none; d=google.com; s=arc-20160816; b=GlWmsuHZpjQrJnr93q0wvyIg4gHQxcHpNoOdru0yvVHJ3XMGvbUOid12T+jih45pTp YBxX7yWKSIlryp5UWHLHlJwhH3nr8TON0aPcNUsKEKrCCHPHRq4HApLValIU6G1k6Wz+ Ca4t4L20vzAtRqLyH4fTou1FqsHmPXfDpvimnJZ7BhmexYu5S6v7VOLWVBRWrLXHZpwc ELcRyA8qZC2pdxa9I8BaBSm61O64AWrGpCinaNMjB8poIMEIcH5CtQuNhaAM4jFuT6US xwHxyNYaXy8TaK/JfI3aAvX+bNnSPnYmy6xXZIfNEWnkercgcBBZrwydY3IvrRX3Kvrb qBZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=UGsiii/VuwmqPfClt9nZik7lgTCfAI/hYH2Kw3sm0tw=; b=GVOLrp01T3Y1h1FOWf3F6CcXtrgMdrrcDmuQJRxWYc11SGEqrZ5ANlVKRemztbxd4S 21sv3jd6JQAqF6LFstLPNLEpcyfIe7PdUeh44B/cEZSfg2+AnR6tIhxTzsAQ17eldrQr SAZI8NyWTuLc+/jnYHz5if/UnIS6o+VF5XjNZFutYTiSTXb/YBKMGUxelkip8DL/bOcz yk7RNPngRL/I2qEg7GnAeBtcSvJn+nJYV01PguglCWCI2jcwi955LD3aZ6XoFnlrudob zoGR4CoKOn3mvorOsKVMcbcA0O//RcybB0jpkpPcGOH0M1sS4YzUmmt6XJp9eNlAk6ct 1Cmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@0x0f.com header.s=google header.b=aZjlb1Tl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b10si2665267eje.310.2020.07.28.03.06.15; Tue, 28 Jul 2020 03:06:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@0x0f.com header.s=google header.b=aZjlb1Tl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728575AbgG1KDh (ORCPT + 99 others); Tue, 28 Jul 2020 06:03:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728413AbgG1KDf (ORCPT ); Tue, 28 Jul 2020 06:03:35 -0400 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9C72C061794 for ; Tue, 28 Jul 2020 03:03:34 -0700 (PDT) Received: by mail-pl1-x643.google.com with SMTP id m16so9624121pls.5 for ; Tue, 28 Jul 2020 03:03:34 -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=UGsiii/VuwmqPfClt9nZik7lgTCfAI/hYH2Kw3sm0tw=; b=aZjlb1TlqNvnHjgbpdqBb3Zqpxfsv5kqxXU5K0hc7pxtuRjGdbxT99bec2EbRjReh0 Lcr0m7kvXywHYDcrxwdqcmRpq06W1qwMj5Ie3iZyNh7vNUwGiVS0iam9CK5iXvt++CU+ McY66LsbpIcc74LqmkM6683uVifmqZWHfif+0= 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=UGsiii/VuwmqPfClt9nZik7lgTCfAI/hYH2Kw3sm0tw=; b=FNDq7jb2K74n44N0F8SQnyC8hiPdfQgmRBbF23vXZY9sK+oKX+YHWGxIChUKTZM9kd EBLD8sMVC+DLaZJBvBivm7CsK0iAsrXXiQKIubl/qnTWkFoWJoAj2LSllJNZCtW4n0BN FqFzK+f5PmClfCBceKArqwaBLWXdDUOa9O0AwWTakLlxFmGXwQmV6st6y2fyIGE5GJcX yoy2ZAxaNj28ddYvMN/5HvOfxDRkyLC4G2oZtBO8Nqet9DuUSb2ln6VAmo7Rlo4nW81/ 5n020IHo7c41LxHjsJEjSJAlryQhG+53QbyBtgaOf6wk1LLnbs/GSDqgEjvpogZ3ImfR 2O3g== X-Gm-Message-State: AOAM531/XlA0yf6VA2eDGlkj9G164iFnZSt1JWBx7opKRNkvYjyShiVx hwJzpyqU8meqaVAVFmp/UBRa3w== X-Received: by 2002:a17:902:b693:: with SMTP id c19mr22444382pls.102.1595930614254; Tue, 28 Jul 2020 03:03:34 -0700 (PDT) Received: from shiro.work (p532183-ipngn200506sizuokaden.shizuoka.ocn.ne.jp. [153.199.2.183]) by smtp.googlemail.com with ESMTPSA id u66sm17779018pfb.191.2020.07.28.03.03.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Jul 2020 03:03:33 -0700 (PDT) From: Daniel Palmer 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 v2 1/9] dt-bindings: arm: mstar: Add binding details for mstar,pmsleep Date: Tue, 28 Jul 2020 19:03:13 +0900 Message-Id: <20200728100321.1691745-2-daniel@0x0f.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200728100321.1691745-1-daniel@0x0f.com> References: <20200728100321.1691745-1-daniel@0x0f.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This adds a YAML description of the pmsleep node used by MStar/SigmaStar Armv7 SoCs. Signed-off-by: Daniel Palmer --- .../bindings/arm/mstar/mstar,pmsleep.yaml | 43 +++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 44 insertions(+) create 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 new file mode 100644 index 000000000000..ef78097a7087 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/mstar/mstar,pmsleep.yaml @@ -0,0 +1,43 @@ +# 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 = <0x0x1c00 0x100>; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 991814ea6f76..432fcc867ed6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2140,6 +2140,7 @@ L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) S: Maintained W: http://linux-chenxing.org/ F: Documentation/devicetree/bindings/arm/mstar.yaml +F: Documentation/devicetree/bindings/arm/mstar/* F: arch/arm/boot/dts/infinity*.dtsi F: arch/arm/boot/dts/mercury*.dtsi F: arch/arm/boot/dts/mstar-v7.dtsi -- 2.27.0