Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp848859ybg; Mon, 27 Jul 2020 00:50:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8/k/T/P83AEZ/XzzrZyFcgKTnzz0I0Bu772kN1JRoT1gDlukoaOzO7ScBcWY7osvsDSYj X-Received: by 2002:a17:906:2714:: with SMTP id z20mr20589825ejc.469.1595836216745; Mon, 27 Jul 2020 00:50:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595836216; cv=none; d=google.com; s=arc-20160816; b=VDIenmzW2vYZUYh0EhHvLdznbDs9yyHtULklNu/1FwZUmgqYU6ecjyp+paDLExwNLO A1qeFYW+ewqbWA2MbbZPGCGQXSBUatyBmBLGg3os7Kya4wKZv0FE+XAX1+g2gu0/67I5 KvrCJf0z0UjKLDm8adgX06mUJBovvAKZrpBDP6QQcdQG/DSFUM/jkoLAoDJC67VErHYu kaEAuwRjmojZNNV58LHGWQ+JvyoGAb21XWVYQ1p9yxKN2FaI8MXNQH6auBcASZuAWktm qlGPzy5JdGqFOZodPXrfd1kRdJ7oZy5reLtnkVYqFWB63mEv7u1dWvDSNVw5w0xzWynq cH+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=EK8OuYBbJk5Z8ZYfCaYXS9gDZYSqhKZJR60X0+Y5LEI=; b=Q/gXLmY/NonnKlb07z5b1d1EVdNwrAKCO2zcXKoFx0swF+2+NAr6RFKs8jeNU/jmqY lGdd1fkJEmwWkWR2ezSjcOJfF2uGJoTK1p+WOQ9hJheBqVZCqzfxTVxp2qb/qDco9Hin IUFuPK43d8aqgSI//va2K7NPXvIFe/eAjo/8RD0rWulrNK5WJik/8hZgb2Ayr9TbXpgJ 22ZvCbLV6DHXKHNCLzhn7pp1ffBxE+iX14lE7iiNrD4PltdYDwjOWem7SQD9hkaQ5SFR /YIEO5nkWvfkTHdWKevDKvS4hguoWlQSenIuWk0vWv3Q8AUV401/EFmUCzmY8DFPYAAW bHXA== ARC-Authentication-Results: i=1; mx.google.com; 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 i12si5133639ejg.255.2020.07.27.00.49.54; Mon, 27 Jul 2020 00:50:16 -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; 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 S1726270AbgG0Htl (ORCPT + 99 others); Mon, 27 Jul 2020 03:49:41 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:49773 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726116AbgG0Htk (ORCPT ); Mon, 27 Jul 2020 03:49:40 -0400 Received: from mail-qt1-f171.google.com ([209.85.160.171]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.129]) with ESMTPSA (Nemesis) id 1MmU9R-1ki8LS0GDx-00iQrk for ; Mon, 27 Jul 2020 09:49:39 +0200 Received: by mail-qt1-f171.google.com with SMTP id b25so11538091qto.2 for ; Mon, 27 Jul 2020 00:49:38 -0700 (PDT) X-Gm-Message-State: AOAM531x8u5CXtQTSfWSDrreOdb0juCJhNPaphjFiz8wO4S3OBXLW0/d zspr+RSjtzmXBxNxlPeY5fznhx5d9Ho+H2DD8rs= X-Received: by 2002:aed:2946:: with SMTP id s64mr614510qtd.204.1595836177987; Mon, 27 Jul 2020 00:49:37 -0700 (PDT) MIME-Version: 1.0 References: <20200726043948.1357573-1-daniel@0x0f.com> <20200726043948.1357573-7-daniel@0x0f.com> In-Reply-To: <20200726043948.1357573-7-daniel@0x0f.com> From: Arnd Bergmann Date: Mon, 27 Jul 2020 09:49:22 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 6/7] ARM:mstar: Add syscon node for "pmsleep" area To: Daniel Palmer Cc: SoC Team , Linux ARM , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:BIN1nKwO5OyDJZP5VcffJDmmkyLkZJ27LEzfx9XapM2fEemNskh wLhRObCNnuVEsrUaLlyZcB99Yo7JemJrNxnN/qjCIijSHgNGPa4P7W243s2Ag6qG2R6aMIV HtmI/MGMsMNyGLowsA6bk8WM0JrKlI+ThP3IX9ByY1mTtQhqU7pyBjjAOV9PvZe+ueBVdjz FSVNCpGflgB370noq7/3A== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:DcSsac6gRNs=:MKtDngoHSRyVWOyNjPRL5E mPAoMDsJOBQdKwpIcwOg7QFvvrzFKgHy09xa5rPsxkfh7KlYbaH2Dlp8LKVP3LOPs/XN6TYQg u2JHG4c9hmjZpJyHQekrmubujBUftjcVxD3pkUafMYULMXGhW3sb3grKbowu0hvopy8mcyboQ i9eNQLclquPBEe5lr9xp/V566QFGDdyPt4qwT88o3ZKV22c7Uskd5qN+fASbE4MN4KmXQTSnz 29zWlIHaWMZF72oojMRxUiNINTJ4RLyvBYm3CxzZCKAxu2RDMKwHaseu+GfhKFNEt0db8J/oi pL+nxW5AROQQL1m3xrc9wq/K+3k2U7zGrlFpP5nDdhUBR8BeYo0A857wdChjjIs0YWcuxQ3z/ YUsrqWiLR8dzx9ydwys0T+T7j+WfIWjXUNzpi7F/+DeVrcc3GvbSpnkBaexzXHMPXW2ldZ6/B AQ1ZL7YbA6PHo8vLUEKg1Ombpf5L/JJTGTjcVxTL6bSc43CiTtnptSmH2pzOlMhC0pP4FhR2t r1S+DAQFDPXwzRzaHep1wIUa/ByApNfc+TzLN/jqRVMS1szyQk0oM3FgsS+p6JCaBHHmqA2hS uAn0UywcQNQjBFHVRNEgqYDPZgFzX0uGZAo+KAWULxtJWf3ES+TSEKjGhHxM7DYWiJUq422rb hokBW9G4zLfFg/X8y2ZP3UAH9DB65rV67KQ7tS1I1+Yd1dNZyFtNZF7uQSaGZYa3Dv+TmciEB aaKY4IBoEWAPLIO6V/e+FBmwc+fpFR/5FPL0nlyy3zZNjcF1IbLmzNUDO1aB1QnvSKYYtiTpZ 6EIYYKPqyZeVRaAExswAaO3Z4sC+NW6VdmlVmYX/nLtOHnq5QKuuw/6o4Q1lx+tfudoi+YR8t YU4o4uetOu1zUioWgeYDa6wnKwdPBD72q/uJ3XMYcW7JXjQ3NVAgeWu2yRen2exxUiLQ4arJD cAdbbeyPSgf1BwN07o2S2gsYwhxguFkxiaW3DrFIJpKx+jUvqO3uY Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 26, 2020 at 6:40 AM Daniel Palmer wrote: > > MStar v7 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 for a broad range of functionality and > needs to be shared between drivers. > > This patch adds a syscon node for the pmsleep area so that other > drivers can access registers in the area. > > Signed-off-by: Daniel Palmer I think it would be better to add a more specific compatible string in addition to the "syscon" one, to make it possible to later add a proper driver for this area, in case there is a need for that. Arnd > --- > arch/arm/boot/dts/mstar-v7.dtsi | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm/boot/dts/mstar-v7.dtsi b/arch/arm/boot/dts/mstar-v7.dtsi > index a73b1d162dfd..c8b192569d05 100644 > --- a/arch/arm/boot/dts/mstar-v7.dtsi > +++ b/arch/arm/boot/dts/mstar-v7.dtsi > @@ -73,6 +73,11 @@ riu: bus@1f000000 { > #size-cells = <1>; > ranges = <0x0 0x1f000000 0x00400000>; > > + pmsleep: syscon@1c00 { > + compatible = "syscon"; > + reg = <0x1c00 0x100>; > + }; > + > l3bridge: l3bridge@204400 { > compatible = "mstar,l3bridge"; > reg = <0x204400 0x200>; > -- > 2.27.0 >