* [PATCH] ARM: OMAP2+: Fix socbus family info for AM33xx devices
@ 2015-03-11 23:38 ` Suman Anna
0 siblings, 0 replies; 4+ messages in thread
From: Suman Anna @ 2015-03-11 23:38 UTC (permalink / raw)
To: Tony Lindgren; +Cc: linux-omap, linux-arm-kernel, Suman Anna
The family information in the soc-bus data is currently
not classified properly for AM33xx devices, and a read
of /sys/bus/soc/devices/soc0/family currently shows
"Unknown". Fix the same.
Signed-off-by: Suman Anna <s-anna@ti.com>
---
arch/arm/mach-omap2/id.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c
index 2a2f4d56e4c8..25f1beea453e 100644
--- a/arch/arm/mach-omap2/id.c
+++ b/arch/arm/mach-omap2/id.c
@@ -720,6 +720,8 @@ static const char * __init omap_get_family(void)
return kasprintf(GFP_KERNEL, "OMAP4");
else if (soc_is_omap54xx())
return kasprintf(GFP_KERNEL, "OMAP5");
+ else if (soc_is_am33xx() || soc_is_am335x())
+ return kasprintf(GFP_KERNEL, "AM33xx");
else if (soc_is_am43xx())
return kasprintf(GFP_KERNEL, "AM43xx");
else if (soc_is_dra7xx())
--
2.3.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] ARM: OMAP2+: Fix socbus family info for AM33xx devices
@ 2015-03-11 23:38 ` Suman Anna
0 siblings, 0 replies; 4+ messages in thread
From: Suman Anna @ 2015-03-11 23:38 UTC (permalink / raw)
To: linux-arm-kernel
The family information in the soc-bus data is currently
not classified properly for AM33xx devices, and a read
of /sys/bus/soc/devices/soc0/family currently shows
"Unknown". Fix the same.
Signed-off-by: Suman Anna <s-anna@ti.com>
---
arch/arm/mach-omap2/id.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c
index 2a2f4d56e4c8..25f1beea453e 100644
--- a/arch/arm/mach-omap2/id.c
+++ b/arch/arm/mach-omap2/id.c
@@ -720,6 +720,8 @@ static const char * __init omap_get_family(void)
return kasprintf(GFP_KERNEL, "OMAP4");
else if (soc_is_omap54xx())
return kasprintf(GFP_KERNEL, "OMAP5");
+ else if (soc_is_am33xx() || soc_is_am335x())
+ return kasprintf(GFP_KERNEL, "AM33xx");
else if (soc_is_am43xx())
return kasprintf(GFP_KERNEL, "AM43xx");
else if (soc_is_dra7xx())
--
2.3.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] ARM: OMAP2+: Fix socbus family info for AM33xx devices
2015-03-11 23:38 ` Suman Anna
@ 2015-03-16 22:30 ` Tony Lindgren
-1 siblings, 0 replies; 4+ messages in thread
From: Tony Lindgren @ 2015-03-16 22:30 UTC (permalink / raw)
To: Suman Anna; +Cc: linux-omap, linux-arm-kernel
* Suman Anna <s-anna@ti.com> [150311 16:39]:
> The family information in the soc-bus data is currently
> not classified properly for AM33xx devices, and a read
> of /sys/bus/soc/devices/soc0/family currently shows
> "Unknown". Fix the same.
>
> Signed-off-by: Suman Anna <s-anna@ti.com>
Thanks applying into omap-for-v4.0/fixes.
Tony
> ---
> arch/arm/mach-omap2/id.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c
> index 2a2f4d56e4c8..25f1beea453e 100644
> --- a/arch/arm/mach-omap2/id.c
> +++ b/arch/arm/mach-omap2/id.c
> @@ -720,6 +720,8 @@ static const char * __init omap_get_family(void)
> return kasprintf(GFP_KERNEL, "OMAP4");
> else if (soc_is_omap54xx())
> return kasprintf(GFP_KERNEL, "OMAP5");
> + else if (soc_is_am33xx() || soc_is_am335x())
> + return kasprintf(GFP_KERNEL, "AM33xx");
> else if (soc_is_am43xx())
> return kasprintf(GFP_KERNEL, "AM43xx");
> else if (soc_is_dra7xx())
> --
> 2.3.0
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] ARM: OMAP2+: Fix socbus family info for AM33xx devices
@ 2015-03-16 22:30 ` Tony Lindgren
0 siblings, 0 replies; 4+ messages in thread
From: Tony Lindgren @ 2015-03-16 22:30 UTC (permalink / raw)
To: linux-arm-kernel
* Suman Anna <s-anna@ti.com> [150311 16:39]:
> The family information in the soc-bus data is currently
> not classified properly for AM33xx devices, and a read
> of /sys/bus/soc/devices/soc0/family currently shows
> "Unknown". Fix the same.
>
> Signed-off-by: Suman Anna <s-anna@ti.com>
Thanks applying into omap-for-v4.0/fixes.
Tony
> ---
> arch/arm/mach-omap2/id.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c
> index 2a2f4d56e4c8..25f1beea453e 100644
> --- a/arch/arm/mach-omap2/id.c
> +++ b/arch/arm/mach-omap2/id.c
> @@ -720,6 +720,8 @@ static const char * __init omap_get_family(void)
> return kasprintf(GFP_KERNEL, "OMAP4");
> else if (soc_is_omap54xx())
> return kasprintf(GFP_KERNEL, "OMAP5");
> + else if (soc_is_am33xx() || soc_is_am335x())
> + return kasprintf(GFP_KERNEL, "AM33xx");
> else if (soc_is_am43xx())
> return kasprintf(GFP_KERNEL, "AM43xx");
> else if (soc_is_dra7xx())
> --
> 2.3.0
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-03-16 22:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-11 23:38 [PATCH] ARM: OMAP2+: Fix socbus family info for AM33xx devices Suman Anna
2015-03-11 23:38 ` Suman Anna
2015-03-16 22:30 ` Tony Lindgren
2015-03-16 22:30 ` Tony Lindgren
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.