From: Stanimir Varbanov <svarbanov@mm-sol.com>
To: Suman Anna <s-anna@ti.com>
Cc: Ohad Ben-Cohen <ohad@wizery.com>,
Tony Lindgren <tony@atomide.com>,
Benoit Cousson <bcousson@baylibre.com>,
Kumar Gala <galak@codeaurora.org>,
linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org,
devicetree@vger.kernel.org
Subject: Re: [PATCH 1/2] hwspinlock/omap: add support for dt nodes
Date: Wed, 04 Sep 2013 11:09:57 +0300 [thread overview]
Message-ID: <5226EAD5.8070400@mm-sol.com> (raw)
In-Reply-To: <1378230767-54931-1-git-send-email-s-anna@ti.com>
Hi Suman,
Thanks for the patch.
On 09/03/2013 08:52 PM, Suman Anna wrote:
> HwSpinlock IP is present only on OMAP4 and other newer SoCs,
> which are all device-tree boot only. This patch adds the
> base support for parsing the DT nodes, and removes the code
> dealing with the traditional platform device instantiation.
>
> Signed-off-by: Suman Anna <s-anna@ti.com>
> ---
> .../devicetree/bindings/hwlock/omap-hwspinlock.txt | 28 ++++++++++
> arch/arm/mach-omap2/Makefile | 3 --
> arch/arm/mach-omap2/hwspinlock.c | 60 ----------------------
> drivers/hwspinlock/omap_hwspinlock.c | 21 ++++++--
> 4 files changed, 45 insertions(+), 67 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/hwlock/omap-hwspinlock.txt
> delete mode 100644 arch/arm/mach-omap2/hwspinlock.c
>
> diff --git a/Documentation/devicetree/bindings/hwlock/omap-hwspinlock.txt b/Documentation/devicetree/bindings/hwlock/omap-hwspinlock.txt
> new file mode 100644
> index 0000000..adfb8ad
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/hwlock/omap-hwspinlock.txt
> @@ -0,0 +1,28 @@
> +OMAP4+ HwSpinlock Driver
> +
> +Required properties:
> +- compatible: Currently supports only "ti,omap4-hwspinlock" for
> + OMAP44xx, OMAP54xx, AM33xx, AM43xx, DRA7xx SoCs
> +- reg: Contains the hwspinlock register address range (base
> + address and length)
> +- ti,hwmods: Name of the hwmod associated with the hwspinlock device
> +
> +Optional properties:
> +- base_id: Base Id for the locks for a particular hwspinlock
Could you rename base_id to base-id. The property name convention is to
use dashes in DT world.
regards,
Stan
next prev parent reply other threads:[~2013-09-04 8:09 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-03 17:52 [PATCH 1/2] hwspinlock/omap: add support for dt nodes Suman Anna
2013-09-03 17:52 ` Suman Anna
2013-09-03 18:50 ` Kumar Gala
2013-09-03 18:50 ` Kumar Gala
2013-09-03 19:10 ` Suman Anna
2013-09-03 19:10 ` Suman Anna
2013-09-03 19:37 ` Kumar Gala
2013-09-03 19:37 ` Kumar Gala
2013-09-03 22:34 ` Suman Anna
2013-09-03 22:34 ` Suman Anna
2013-09-04 14:46 ` Kumar Gala
2013-09-04 14:46 ` Kumar Gala
2013-09-04 16:27 ` Suman Anna
2013-09-04 16:27 ` Suman Anna
2013-09-04 16:42 ` Kumar Gala
2013-09-04 16:42 ` Kumar Gala
2013-09-04 17:03 ` Suman Anna
2013-09-04 17:03 ` Suman Anna
2013-09-04 17:51 ` Kumar Gala
2013-09-04 17:51 ` Kumar Gala
2013-09-04 20:04 ` Suman Anna
2013-09-04 20:04 ` Suman Anna
2013-09-04 8:09 ` Stanimir Varbanov [this message]
2013-09-04 16:30 ` Suman Anna
2013-09-04 16:30 ` Suman Anna
2013-10-03 18:05 ` Tony Lindgren
[not found] ` <20131003180546.GP8949-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2013-10-03 18:16 ` Suman Anna
2013-10-03 18:16 ` Suman Anna
[not found] ` <524DB48B.7020906-l0cyMroinI0@public.gmane.org>
2013-10-03 18:19 ` Tony Lindgren
2013-10-03 18:19 ` Tony Lindgren
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=5226EAD5.8070400@mm-sol.com \
--to=svarbanov@mm-sol.com \
--cc=bcousson@baylibre.com \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=ohad@wizery.com \
--cc=s-anna@ti.com \
--cc=tony@atomide.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.