From: Sebastian Reichel <sre-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
"Benoît Cousson"
<bcousson-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
"Mark Rutland" <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
"Rob Herring" <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Subject: Re: [PATCH 08/17] ARM: dts: Add missing hsi node for omap4
Date: Sun, 1 Oct 2017 17:25:14 +0200 [thread overview]
Message-ID: <20171001152514.hjoa5osvadfpnkim@earth> (raw)
In-Reply-To: <20170830202519.GI6008-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 4453 bytes --]
Hi,
On Wed, Aug 30, 2017 at 01:25:20PM -0700, Tony Lindgren wrote:
> Thanks, updated patch below.
Thanks, I applied the DT binding part to the HSI subsystem:
https://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi.git/commit/?h=for-next&id=8635d6b3afe68cdde2f646c2a3bbd8149c031e8c
-- Sebastian
> 8< --------------------
> From tony Mon Sep 17 00:00:00 2001
> From: Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
> Date: Wed, 30 Aug 2017 08:07:51 -0700
> Subject: [PATCH] ARM: dts: Add missing hsi node for omap4
>
> On omap4 we're missing the hsi node with it's related "ti,hwmods"
> property that the SoC interconnect code needs.
>
> Note that this will only show up as a bug with "doesn't have
> mpu register target base" boot errors when the legacy platform
> data is removed.
>
> Let's also update the binding accrodingly while at it.
>
> Cc: Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>
> Cc: Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
> Reviewed-by: Sebastian Reichel <sre-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
> Signed-off-by: Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
> ---
> Documentation/devicetree/bindings/hsi/omap-ssi.txt | 13 +++++++--
> arch/arm/boot/dts/omap4.dtsi | 34 ++++++++++++++++++++++
> 2 files changed, 44 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/hsi/omap-ssi.txt b/Documentation/devicetree/bindings/hsi/omap-ssi.txt
> --- a/Documentation/devicetree/bindings/hsi/omap-ssi.txt
> +++ b/Documentation/devicetree/bindings/hsi/omap-ssi.txt
> @@ -1,10 +1,12 @@
> OMAP SSI controller bindings
>
> -OMAP Synchronous Serial Interface (SSI) controller implements a legacy
> -variant of MIPI's High Speed Synchronous Serial Interface (HSI).
> +OMAP3's Synchronous Serial Interface (SSI) controller implements a
> +legacy variant of MIPI's High Speed Synchronous Serial Interface (HSI),
> +while the controller found inside OMAP4 is supposed to be fully compliant
> +with the HSI standard.
>
> Required properties:
> -- compatible: Should include "ti,omap3-ssi".
> +- compatible: Should include "ti,omap3-ssi" or "ti,omap4-hsi"
> - reg-names: Contains the values "sys" and "gdd" (in this order).
> - reg: Contains a matching register specifier for each entry
> in reg-names.
> @@ -27,6 +29,7 @@ Each port is represented as a sub-node of the ti,omap3-ssi device.
> Required Port sub-node properties:
> - compatible: Should be set to the following value
> ti,omap3-ssi-port (applicable to OMAP34xx devices)
> + ti,omap4-hsi-port (applicable to OMAP44xx devices)
> - reg-names: Contains the values "tx" and "rx" (in this order).
> - reg: Contains a matching register specifier for each entry
> in reg-names.
> @@ -38,6 +41,10 @@ Required Port sub-node properties:
> property. If it's missing the port will not be
> enabled.
>
> +Optional properties:
> +- ti,hwmods: Shall contain TI interconnect module name if needed
> + by the SoC
> +
> Example for Nokia N900:
>
> ssi-controller@48058000 {
> diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi
> --- a/arch/arm/boot/dts/omap4.dtsi
> +++ b/arch/arm/boot/dts/omap4.dtsi
> @@ -632,6 +632,40 @@
> dma-names = "tx", "rx";
> };
>
> + hsi: hsi@4a058000 {
> + compatible = "ti,omap4-hsi";
> + reg = <0x4a058000 0x4000>,
> + <0x4a05c000 0x1000>;
> + reg-names = "sys", "gdd";
> + ti,hwmods = "hsi";
> +
> + clocks = <&hsi_fck>;
> + clock-names = "hsi_fck";
> +
> + interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
> + interrupt-names = "gdd_mpu";
> +
> + #address-cells = <1>;
> + #size-cells = <1>;
> + ranges = <0 0x4a058000 0x4000>;
> +
> + hsi_port1: hsi-port@2000 {
> + compatible = "ti,omap4-hsi-port";
> + reg = <0x2000 0x800>,
> + <0x2800 0x800>;
> + reg-names = "tx", "rx";
> + interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
> + };
> +
> + hsi_port2: hsi-port@3000 {
> + compatible = "ti,omap4-hsi-port";
> + reg = <0x3000 0x800>,
> + <0x3800 0x800>;
> + reg-names = "tx", "rx";
> + interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
> + };
> + };
> +
> mmu_dsp: mmu@4a066000 {
> compatible = "ti,omap4-iommu";
> reg = <0x4a066000 0x100>;
> --
> 2.14.1
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2017-10-01 15:25 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-30 15:19 [PATCHv2 00/17] Fix missing device tree hwmods and IO ranges omap variants Tony Lindgren
[not found] ` <20170830151953.30856-1-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2017-08-30 15:19 ` [PATCH 01/17] ARM: dts: Add missing dma hwmods property for omap3 Tony Lindgren
2017-08-30 15:19 ` [PATCH 02/17] ARM: dts: Configure pmu without interrupt for omap4430 Tony Lindgren
2017-08-30 15:19 ` [PATCH 03/17] ARM: dts: Add missing properties for omap4 control modules Tony Lindgren
[not found] ` <20170830151953.30856-4-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2017-09-11 21:08 ` Rob Herring
2017-08-30 15:19 ` [PATCH 04/17] ARM: dts: Add missing hwmods property for omap4 dma Tony Lindgren
2017-08-30 15:19 ` [PATCH 05/17] ARM: dts: Add missing smartreflex node and binding for omap4 Tony Lindgren
[not found] ` <20170830151953.30856-6-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2017-09-11 21:39 ` Rob Herring
2017-08-30 15:19 ` [PATCH 06/17] ARM: dts: Add missing slimbus " Tony Lindgren
[not found] ` <20170830151953.30856-7-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2017-09-11 21:41 ` Rob Herring
2017-08-30 15:19 ` [PATCH 07/17] ARM: dts: Add missing onewire node " Tony Lindgren
2017-08-30 15:19 ` [PATCH 08/17] ARM: dts: Add missing hsi " Tony Lindgren
[not found] ` <20170830151953.30856-9-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2017-08-30 19:37 ` Sebastian Reichel
2017-08-30 20:25 ` Tony Lindgren
[not found] ` <20170830202519.GI6008-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2017-10-01 15:25 ` Sebastian Reichel [this message]
2017-10-01 16:47 ` Tony Lindgren
2017-09-11 21:42 ` Rob Herring
2017-08-30 15:19 ` [PATCH 09/17] ARM: dts: Add missing iss node and binding " Tony Lindgren
[not found] ` <20170830151953.30856-10-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2017-09-11 21:44 ` Rob Herring
2017-08-30 15:19 ` [PATCH 10/17] ARM: dts: Add missing wdt3 node " Tony Lindgren
2017-08-30 15:19 ` [PATCH 11/17] ARM: dts: Add missing mcasp " Tony Lindgren
[not found] ` <20170830151953.30856-12-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2017-08-31 5:47 ` Peter Ujfalusi
[not found] ` <aef213f9-723f-dbf9-f0d2-8b1dd8b1eae1-l0cyMroinI0@public.gmane.org>
2017-08-31 14:44 ` Tony Lindgren
2017-08-30 15:19 ` [PATCH 12/17] ARM: dts: Add missing aess node and binding " Tony Lindgren
[not found] ` <20170830151953.30856-13-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2017-08-31 5:54 ` Peter Ujfalusi
[not found] ` <30241474-5f96-2d94-b1a9-4f163c8a4914-l0cyMroinI0@public.gmane.org>
2017-08-31 14:51 ` Tony Lindgren
2017-08-30 15:19 ` [PATCH 13/17] ARM: dts: Add missing fdif " Tony Lindgren
[not found] ` <20170830151953.30856-14-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2017-08-30 17:05 ` Laurent Pinchart
2017-09-11 21:47 ` Rob Herring
2017-08-30 15:19 ` [PATCH 14/17] ARM: dts: Add missing gpu " Tony Lindgren
[not found] ` <20170830151953.30856-15-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2017-09-11 21:50 ` Rob Herring
2017-12-02 0:18 ` Adam Ford
[not found] ` <CAHCN7xL81vq+eUX_mPr7jrxTMBygqLST15okF5hipQDAP0j2PQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-12-02 17:00 ` Tony Lindgren
2017-08-30 15:19 ` [PATCH 15/17] ARM: dts: Add missing dma hwmod property for omap5 Tony Lindgren
2017-08-30 15:19 ` [PATCH 16/17] ARM: dts: Add missing hwmod related nodes for am33xx Tony Lindgren
[not found] ` <20170830151953.30856-17-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2017-09-11 21:51 ` Rob Herring
2017-08-30 15:19 ` [PATCH 17/17] ARM: dts: Add missing hwmod related properties for dra7 Tony Lindgren
-- strict thread matches above, loose matches on Subject: below --
2017-08-28 21:19 [PATCH 00/17] Fix missing device tree hwmods and IO ranges omap variants Tony Lindgren
[not found] ` <20170828211918.11573-1-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2017-08-28 21:19 ` [PATCH 08/17] ARM: dts: Add missing hsi node for omap4 Tony Lindgren
[not found] ` <20170828211918.11573-9-tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2017-08-29 9:18 ` Sebastian Reichel
2017-08-29 14:20 ` 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=20171001152514.hjoa5osvadfpnkim@earth \
--to=sre-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
--cc=bcousson-rdvid1DuHRBWk0Htik3J/w@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
--cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.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