2019-07-01 11:56:20

by Neil Armstrong

[permalink] [raw]
Subject: [RFC 01/11] soc: amlogic: meson-gx-socinfo: Add SM1 and S905X3 IDs

Add the SoC IDs for the S905X3 Amlogic SM1 SoC.

Signed-off-by: Neil Armstrong <[email protected]>
---
drivers/soc/amlogic/meson-gx-socinfo.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/soc/amlogic/meson-gx-socinfo.c b/drivers/soc/amlogic/meson-gx-socinfo.c
index bca34954518e..eb81d391b620 100644
--- a/drivers/soc/amlogic/meson-gx-socinfo.c
+++ b/drivers/soc/amlogic/meson-gx-socinfo.c
@@ -39,6 +39,7 @@ static const struct meson_gx_soc_id {
{ "TXHD", 0x27 },
{ "G12A", 0x28 },
{ "G12B", 0x29 },
+ { "SM1", 0x2b },
};

static const struct meson_gx_package_id {
@@ -65,6 +66,7 @@ static const struct meson_gx_package_id {
{ "S905D2", 0x28, 0x10, 0xf0 },
{ "S905X2", 0x28, 0x40, 0xf0 },
{ "S922X", 0x29, 0x40, 0xf0 },
+ { "S905X3", 0x2b, 0x50, 0xf0 },
};

static inline unsigned int socinfo_to_major(u32 socinfo)
--
2.21.0


2019-07-02 09:53:44

by Jerome Brunet

[permalink] [raw]
Subject: Re: [RFC 01/11] soc: amlogic: meson-gx-socinfo: Add SM1 and S905X3 IDs

On Mon 01 Jul 2019 at 12:46, Neil Armstrong <[email protected]> wrote:

> Add the SoC IDs for the S905X3 Amlogic SM1 SoC.
>
> Signed-off-by: Neil Armstrong <[email protected]>

Reviewed-by: Jerome Brunet <[email protected]>

> ---
> drivers/soc/amlogic/meson-gx-socinfo.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/soc/amlogic/meson-gx-socinfo.c b/drivers/soc/amlogic/meson-gx-socinfo.c
> index bca34954518e..eb81d391b620 100644
> --- a/drivers/soc/amlogic/meson-gx-socinfo.c
> +++ b/drivers/soc/amlogic/meson-gx-socinfo.c
> @@ -39,6 +39,7 @@ static const struct meson_gx_soc_id {
> { "TXHD", 0x27 },
> { "G12A", 0x28 },
> { "G12B", 0x29 },
> + { "SM1", 0x2b },
> };
>
> static const struct meson_gx_package_id {
> @@ -65,6 +66,7 @@ static const struct meson_gx_package_id {
> { "S905D2", 0x28, 0x10, 0xf0 },
> { "S905X2", 0x28, 0x40, 0xf0 },
> { "S922X", 0x29, 0x40, 0xf0 },
> + { "S905X3", 0x2b, 0x50, 0xf0 },
> };
>
> static inline unsigned int socinfo_to_major(u32 socinfo)
> --
> 2.21.0

2019-07-03 00:48:53

by Martin Blumenstingl

[permalink] [raw]
Subject: Re: [RFC 01/11] soc: amlogic: meson-gx-socinfo: Add SM1 and S905X3 IDs

On Mon, Jul 1, 2019 at 12:48 PM Neil Armstrong <[email protected]> wrote:
>
> Add the SoC IDs for the S905X3 Amlogic SM1 SoC.
>
> Signed-off-by: Neil Armstrong <[email protected]>
Reviewed-by: Martin Blumenstingl <[email protected]>