Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp964528ybg; Wed, 29 Jul 2020 02:14:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwObLCO9yC8uKhk0nwrggp/rF1nZUT3fi7i+9hGmcPcD8yEHk48xjKw+v/D+8fMWpzhU41G X-Received: by 2002:a17:906:1e0c:: with SMTP id g12mr20181353ejj.103.1596014084900; Wed, 29 Jul 2020 02:14:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596014084; cv=none; d=google.com; s=arc-20160816; b=FXCtQA4bwnDBfdhLMAl9gUv6j3mDw0zuqqQLijRF1A7DqQvhekYNM9MQ7rdhqb0zYi RCY9uJoIL5jLVP3+7HaN4+OIEaw2EOOcozAnvRePzzYiDAzdCEJpMzPkddhZsEDYH08V F0gsijeBCUnNxU/6nzgaAe1RTwIU3GD7eIe9JHqHAWFPQeCsHjMpQCzZR02ePQ9h4peY 9Lk/SL7RM0M0v/+9IEFRh5o3p9ICBwlw/IltW3vOhyroigHMdZcE/9GhOPrNGr+ZVi4N WTNQR4N+KFkW7GXiQzskEh4hqajVNhDwL1L5e3LYpX3OzofBwPcZtZtKCWZ6Sc0TzrVO kg6w== 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:dkim-signature; bh=UP89gGtNifZ2OXiYa2igFr8vAWMBLRJL0ocxb3qTc7I=; b=QeylDCG45ef+2LHGQPGnC6UR8xryr3n/2WpPlm8hg0FGJjgkI1wNf/H44KiCjzmHfA bV1knw9f9Ph6uADEh6okzaYqIcOuVok8goBP5+0mRkIxW32/BImk2L286winxSNrQW5U 2uqOVYD5eIivhx0sWngOWSnBm/azLpcbuiQo1PTDfKXqr00iTYmip7n7uXmVi9Arzf/M hCuGjvidjcS6+EUI4kcN5pDESEuvtthlyTCWjI0AfW1Q9WzzVe1+hwhdkkQNbOYZCL6r W/ZS+TT8x5xP2NlzhkUM5k88mFWILisqSEoBZjIEYfP1/rAsGa7t2onm/3VjWZsEj3Sr 5nmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@0x0f.com header.s=google header.b=NEIJjohV; 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 h4si676113eje.121.2020.07.29.02.14.21; Wed, 29 Jul 2020 02:14:44 -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=NEIJjohV; 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 S1727920AbgG2JOH (ORCPT + 99 others); Wed, 29 Jul 2020 05:14:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727007AbgG2JOH (ORCPT ); Wed, 29 Jul 2020 05:14:07 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE8FFC0619D2 for ; Wed, 29 Jul 2020 02:14:06 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id q76so988957wme.4 for ; Wed, 29 Jul 2020 02:14:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x0f.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UP89gGtNifZ2OXiYa2igFr8vAWMBLRJL0ocxb3qTc7I=; b=NEIJjohV6bX1tKEzqf+d3D5YWkpcvrUyHjdAD7fzT7Rjms6K9mKPEiKdljtYOh4rOA zZWmulfdjV2YX09WLBGwAufZi38QenV6qAA9nJYmi2uZZjdLhOkuQAKS/JegMqn1YMzU 8yIVkUZ2zLd+yFcPDVkfQsL5WhoYKUn6ct5yY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UP89gGtNifZ2OXiYa2igFr8vAWMBLRJL0ocxb3qTc7I=; b=q8tRjhnhIep3fshDuvYUVTGw6bThObedCBISVyD70lD6Jeu740MbUh+402Cw6r3DcD /e4K+yEGLEVkXBINCsROnuFRHkP8Z3oT5XUGX1L/rmlA4NLT5jMzMGf4uIuJGfn9zfv9 rFS8PD5r/YmtP78mbHDRnd1lo8itAxBfwJOqq6db0P3BsYjYG40tiu1F6H7+zubeuAgA LMFQcfe6xXRrlTVW+fq2iOiR/hoRPpveoavDnbq8yd/U0lZPFvdOdlCaK2uzPjHd/xAT s5G5qKAh9y9wTtr+YrLkz7MW02yWxZMcFZETfaCODkeK/fQshehgiOaIKoyTGAfI0BYQ 6hoA== X-Gm-Message-State: AOAM533USsD9qfKGuH2ud33P+NThhYVDs+q1Bf37ar5gjLcA80njTKjM sIqyicpZduuCN+V/oOcROtqvVH6DtgiMbpMJvmAQcQ== X-Received: by 2002:a7b:c0c8:: with SMTP id s8mr8087059wmh.4.1596014045518; Wed, 29 Jul 2020 02:14:05 -0700 (PDT) MIME-Version: 1.0 References: <20200728100321.1691745-1-daniel@0x0f.com> <20200728100321.1691745-2-daniel@0x0f.com> <20200728191842.GB2778962@bogus> In-Reply-To: <20200728191842.GB2778962@bogus> From: Daniel Palmer Date: Wed, 29 Jul 2020 18:13:54 +0900 Message-ID: Subject: Re: [PATCH v2 1/9] dt-bindings: arm: mstar: Add binding details for mstar,pmsleep To: Rob Herring Cc: SoC Team , DTML , linux-arm-kernel , linux-kernel@vger.kernel.org, Arnd Bergmann Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, On Wed, 29 Jul 2020 at 04:18, Rob Herring wrote: > > +properties: > > + compatible: > > + oneOf: > > + - items: > > + - enum: > > + - mstar,pmsleep > > Needs to be SoC specific. Random collections of bits are never > 'standard' from one SoC to the next. I don't have a manual for any of the chips so I can't say for sure but so far all of the chips in this group (ARMv7 based MStar/Sigmastar) has the same layout for the registers i.e. the reset register, the resume address registers are at the same place for all of them. Does calling it "mstar,pmsleepv7" make more sense? I'm not sure what to call it really. > If your never going to have child nodes, then you can just add the > compatible to syscon.yaml. Considering the above would it make sense to drop the specific compatible string for now and just leave it as syscon until there is a reason to make it more specific? Thanks, Daniel