From: shawnguo@kernel.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/4] ARM: imx: add initial support for imx7ulp
Date: Sun, 21 May 2017 15:05:58 +0800 [thread overview]
Message-ID: <20170521070553.GF26102@dragon> (raw)
In-Reply-To: <20170518053006.GA28011@b29396-OptiPlex-7040>
On Thu, May 18, 2017 at 01:30:06PM +0800, Dong Aisheng wrote:
> > > diff --git a/arch/arm/mach-imx/pm-imx7ulp.c b/arch/arm/mach-imx/pm-imx7ulp.c
> > > new file mode 100644
> > > index 0000000..df5d6b6
> > > --- /dev/null
> > > +++ b/arch/arm/mach-imx/pm-imx7ulp.c
> > > @@ -0,0 +1,33 @@
> > > +/*
> > > + * Copyright (C) 2016 Freescale Semiconductor, Inc.
> > > + * Copyright (C) 2017 NXP
> > > + *
> > > + * The code contained herein is licensed under the GNU General Public
> > > + * License. You may obtain a copy of the GNU General Public License
> > > + * Version 2 or later at the following locations:
> > > + *
> > > + * http://www.opensource.org/licenses/gpl-license.html
> > > + * http://www.gnu.org/copyleft/gpl.html
> > > + */
> > > +
> > > +#include <linux/io.h>
> > > +#include <linux/of.h>
> > > +#include <linux/of_address.h>
> > > +
> > > +#define SMC_PMCTRL 0x10
> > > +#define BP_PMCTRL_PSTOPO 16
> > > +#define PSTOPO_PSTOP3 0x3
> > > +
> > > +void __init imx7ulp_pm_init(void)
> > > +{
> > > + struct device_node *np;
> > > + void __iomem *smc1_base;
> > > +
> > > + np = of_find_compatible_node(NULL, NULL, "fsl,imx7ulp-smc1");
> >
> > so actually there no dt-binding for this compatible, because there is no driver?
>
> Yes, probably we'd better add another binding doc for it under
> Documentation/devicetree/bindings/arm/freescale/.
> And there's another fsl,aips-bus also has no binding doc, i'm not sure
> whether we need add a binding doc it as well. It seems already exist
> on many imx dts files.
>
> Shawn,
> your suggestion?
Strictly speaking, every compatible should be documented. But in
reality, some compatibles not used by kernel may be missing the
documentation. You're welcomed to add them.
Shawn
next prev parent reply other threads:[~2017-05-21 7:05 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-17 15:50 [PATCH 0/4] ARM: imx: add imx7ulp support Dong Aisheng
2017-05-17 15:50 ` [PATCH 1/4] dt-bindings: fsl: add compatible for imx7ulp evk Dong Aisheng
2017-05-23 0:51 ` Rob Herring
2017-05-17 15:50 ` [PATCH 2/4] ARM: imx: add initial support for imx7ulp Dong Aisheng
2017-05-17 17:36 ` Stefan Wahren
2017-05-18 5:30 ` Dong Aisheng
2017-05-21 7:05 ` Shawn Guo [this message]
2017-05-17 15:50 ` [PATCH 3/4] dts: imx: add imx7ulp evk support Dong Aisheng
2017-05-17 17:46 ` Stefan Wahren
2017-05-18 5:35 ` Dong Aisheng
2017-05-18 5:42 ` Stefan Wahren
2017-05-18 5:48 ` A.S. Dong
2017-05-17 15:50 ` [PATCH 4/4] ARM: imx_v6_v7_defconfig: add imx7ulp support Dong Aisheng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170521070553.GF26102@dragon \
--to=shawnguo@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox