Skip to content

Commit

Permalink
enhance(hpm68): split sub families
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed Jun 27, 2024
1 parent fa5cffe commit 95392bb
Show file tree
Hide file tree
Showing 5 changed files with 135 additions and 132 deletions.
1 change: 1 addition & 0 deletions data/chips/HPM6850.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ cores:
include_peripherals:
- "../family/COMMON.yaml"
- "../family/HPM6800.yaml"
- "../family/HPM6800_NonBasic.yaml"
include_interrupts: "../interrupts/HPM6850.yaml"
include_dmamux: "../dmamux/HPM6880.yaml"
gen_dma_channels:
Expand Down
2 changes: 2 additions & 0 deletions data/chips/HPM6880.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ cores:
include_peripherals:
- "../family/COMMON.yaml"
- "../family/HPM6800.yaml"
- "../family/HPM6800_NonBasic.yaml"
- "../family/HPM6800_Adv.yaml"
include_interrupts: "../interrupts/HPM6880.yaml"
include_dmamux: "../dmamux/HPM6880.yaml"
gen_dma_channels:
Expand Down
133 changes: 1 addition & 132 deletions data/family/HPM6800.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,138 +196,7 @@

# visual processing

- name: GPU
address: 0xF1080000
registers:
kind: gpu
version: v68
block: GPU

- name: MIPI_DSI0
address: 0xF1020000
registers:
kind: mipidsi
version: v68
block: MIPI_DSI
- name: MIPI_DSI1
address: 0xF1024000
registers:
kind: mipidsi
version: v68
block: MIPI_DSI

- name: MIPI_DSI_PHY0
address: 0xF4140000
registers:
kind: mipidsiphy
version: v68
block: MIPI_DSI_PHY
- name: MIPI_DSI_PHY1
address: 0xF4144000
registers:
kind: mipidsiphy
version: v68
block: MIPI_DSI_PHY

- name: MIPI_CSI0
address: 0xF1028000
registers:
kind: mipicsi
version: v68
block: MIPI_CSI
- name: MIPI_CSI1
address: 0xF102C000
registers:
kind: mipicsi
version: v68
block: MIPI_CSI

- name: MIPI_CSI_PHY0
address: 0xF4148000
registers:
kind: mipicsiphy
version: v68
block: MIPI_CSI_PHY
- name: MIPI_CSI_PHY1
address: 0xF414C000
registers:
kind: mipicsiphy
version: v68
block: MIPI_CSI_PHY

- name: LCDC0
address: 0xF1000000
registers:
kind: lcdc
version: v68
block: LCDC
- name: LCDC1
address: 0xF1004000
registers:
kind: lcdc
version: v68
block: LCDC

- name: CAM0
address: 0xF1008000
registers:
kind: cam
version: v68
block: CAM
- name: CAM1
address: 0xF100C000
registers:
kind: cam
version: v68
block: CAM

- name: PDMA
address: 0xF1010000
registers:
kind: pdma
version: v68
block: PDMA

- name: JPEG
address: 0xF1014000
registers:
kind: jpeg
version: common
block: JPEG

- name: GWC0
address: 0xF1018000
registers:
kind: gwc
version: v68
block: GWC
- name: GWC1
address: 0xF101C000
registers:
kind: gwc
version: v68
block: GWC

- name: LVB
address: 0xF1030000
registers:
kind: lvb
version: v68
block: LVB

- name: LCB
address: 0xF1038000
registers:
kind: lcb
version: v68
block: LCB

- name: PIXELMUX
address: 0xF1034000
registers:
kind: pixelmux
version: v68
block: PIXEL_MUX
# in NonBasic

# audio peripherals

Expand Down
13 changes: 13 additions & 0 deletions data/family/HPM6800_Adv.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
- name: GPU
address: 0xF1080000
registers:
kind: gpu
version: v68
block: GPU

- name: JPEG
address: 0xF1014000
registers:
kind: jpeg
version: common
block: JPEG
118 changes: 118 additions & 0 deletions data/family/HPM6800_NonBasic.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
- name: LCDC0
address: 0xF1000000
registers:
kind: lcdc
version: v68
block: LCDC
- name: LCDC1
address: 0xF1004000
registers:
kind: lcdc
version: v68
block: LCDC

- name: MIPI_DSI0
address: 0xF1020000
registers:
kind: mipidsi
version: v68
block: MIPI_DSI
- name: MIPI_DSI1
address: 0xF1024000
registers:
kind: mipidsi
version: v68
block: MIPI_DSI

- name: MIPI_DSI_PHY0
address: 0xF4140000
registers:
kind: mipidsiphy
version: v68
block: MIPI_DSI_PHY
- name: MIPI_DSI_PHY1
address: 0xF4144000
registers:
kind: mipidsiphy
version: v68
block: MIPI_DSI_PHY

- name: MIPI_CSI0
address: 0xF1028000
registers:
kind: mipicsi
version: v68
block: MIPI_CSI
- name: MIPI_CSI1
address: 0xF102C000
registers:
kind: mipicsi
version: v68
block: MIPI_CSI

- name: MIPI_CSI_PHY0
address: 0xF4148000
registers:
kind: mipicsiphy
version: v68
block: MIPI_CSI_PHY
- name: MIPI_CSI_PHY1
address: 0xF414C000
registers:
kind: mipicsiphy
version: v68
block: MIPI_CSI_PHY

- name: CAM0
address: 0xF1008000
registers:
kind: cam
version: v68
block: CAM
- name: CAM1
address: 0xF100C000
registers:
kind: cam
version: v68
block: CAM

- name: PDMA
address: 0xF1010000
registers:
kind: pdma
version: v68
block: PDMA

- name: LVB
address: 0xF1030000
registers:
kind: lvb
version: v68
block: LVB

- name: LCB
address: 0xF1038000
registers:
kind: lcb
version: v68
block: LCB

- name: GWC0
address: 0xF1018000
registers:
kind: gwc
version: v68
block: GWC
- name: GWC1
address: 0xF101C000
registers:
kind: gwc
version: v68
block: GWC

- name: PIXELMUX
address: 0xF1034000
registers:
kind: pixelmux
version: v68
block: PIXEL_MUX

0 comments on commit 95392bb

Please sign in to comment.