Skip to content

Commit 249d30b

Browse files
committed
Merge tag 'amlogic-drivers-for-v6.12' of https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux into soc/drivers
Amlogic drivers changes for v6.12: - Support new Amlogic SoCs in meson-gx-ao-secure & meson-gx-socinfo * tag 'amlogic-drivers-for-v6.12' of https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux: soc: amlogic: meson-gx-socinfo: add new SoCs id dt-bindings: arm: amlogic: meson-gx-ao-secure: support more SoCs Link: https://lore.kernel.org/r/577ad7fe-19b1-468a-b994-573855493fd7@linaro.org Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2 parents 6d67480 + 009ff80 commit 249d30b

2 files changed

Lines changed: 22 additions & 4 deletions

File tree

Documentation/devicetree/bindings/arm/amlogic/amlogic,meson-gx-ao-secure.yaml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,18 @@ select:
2525

2626
properties:
2727
compatible:
28-
items:
29-
- const: amlogic,meson-gx-ao-secure
30-
- const: syscon
31-
28+
oneOf:
29+
- items:
30+
- const: amlogic,meson-gx-ao-secure
31+
- const: syscon
32+
- items:
33+
- enum:
34+
- amlogic,a4-ao-secure
35+
- amlogic,c3-ao-secure
36+
- amlogic,s4-ao-secure
37+
- amlogic,t7-ao-secure
38+
- const: amlogic,meson-gx-ao-secure
39+
- const: syscon
3240
reg:
3341
maxItems: 1
3442

drivers/soc/amlogic/meson-gx-socinfo.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ static const struct meson_gx_soc_id {
4141
{ "G12B", 0x29 },
4242
{ "SM1", 0x2b },
4343
{ "A1", 0x2c },
44+
{ "T7", 0x36 },
45+
{ "S4", 0x37 },
46+
{ "A5", 0x3c },
47+
{ "C3", 0x3d },
48+
{ "A4", 0x40 },
4449
};
4550

4651
static const struct meson_gx_package_id {
@@ -76,6 +81,11 @@ static const struct meson_gx_package_id {
7681
{ "S905X3", 0x2b, 0x10, 0x3f },
7782
{ "S905D3", 0x2b, 0x30, 0x3f },
7883
{ "A113L", 0x2c, 0x0, 0xf8 },
84+
{ "S805X2", 0x37, 0x2, 0xf },
85+
{ "C308L", 0x3d, 0x1, 0xf },
86+
{ "A311D2", 0x36, 0x1, 0xf },
87+
{ "A113X2", 0x3c, 0x1, 0xf },
88+
{ "A113L2", 0x40, 0x1, 0xf },
7989
};
8090

8191
static inline unsigned int socinfo_to_major(u32 socinfo)

0 commit comments

Comments
 (0)