Skip to content

Commit c00304a

Browse files
committed
Merge tag 'arm-soc/for-6.9/drivers' of https://github.com/Broadcom/stblinux into soc/late
This pull request contains Broadcom SoC device drivers changes for 6.9, please pull the following: - Florian adds support for the 74165 GISB arbiter layout which shuffled register offsets around * tag 'arm-soc/for-6.9/drivers' of https://github.com/Broadcom/stblinux: bus: brcmstb_gisb: Added support for 74165 register layout dt-bindings: bus: Document Broadcom GISB arbiter 74165 compatible Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
2 parents de79649 + 86964bb commit c00304a

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

Documentation/devicetree/bindings/bus/brcm,gisb-arb.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ properties:
1818
- const: brcm,gisb-arb
1919
- items:
2020
- enum:
21+
- brcm,bcm74165-gisb-arb # for V7 new style 16nm chips
2122
- brcm,bcm7278-gisb-arb # for V7 28nm chips
2223
- brcm,bcm7435-gisb-arb # for newer 40nm chips
2324
- brcm,bcm7400-gisb-arb # for older 40nm chips and all 65nm chips

drivers/bus/brcmstb_gisb.c

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,20 @@ static const int gisb_offsets_bcm7400[] = {
9696
[ARB_ERR_CAP_MASTER] = 0x0d8,
9797
};
9898

99+
static const int gisb_offsets_bcm74165[] = {
100+
[ARB_TIMER] = 0x008,
101+
[ARB_BP_CAP_CLR] = 0x044,
102+
[ARB_BP_CAP_HI_ADDR] = -1,
103+
[ARB_BP_CAP_ADDR] = 0x048,
104+
[ARB_BP_CAP_STATUS] = 0x058,
105+
[ARB_BP_CAP_MASTER] = 0x05c,
106+
[ARB_ERR_CAP_CLR] = 0x038,
107+
[ARB_ERR_CAP_HI_ADDR] = -1,
108+
[ARB_ERR_CAP_ADDR] = 0x020,
109+
[ARB_ERR_CAP_STATUS] = 0x030,
110+
[ARB_ERR_CAP_MASTER] = 0x034,
111+
};
112+
99113
static const int gisb_offsets_bcm7435[] = {
100114
[ARB_TIMER] = 0x00c,
101115
[ARB_BP_CAP_CLR] = 0x014,
@@ -393,6 +407,7 @@ static const struct of_device_id brcmstb_gisb_arb_of_match[] = {
393407
{ .compatible = "brcm,bcm7400-gisb-arb", .data = gisb_offsets_bcm7400 },
394408
{ .compatible = "brcm,bcm7278-gisb-arb", .data = gisb_offsets_bcm7278 },
395409
{ .compatible = "brcm,bcm7038-gisb-arb", .data = gisb_offsets_bcm7038 },
410+
{ .compatible = "brcm,bcm74165-gisb-arb", .data = gisb_offsets_bcm74165 },
396411
{ },
397412
};
398413

0 commit comments

Comments
 (0)