Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
60f97f8
dt-bindings: phy: google,gs201-mipi-dcphy-rx: Add zumapro
W4HO-ham Oct 27, 2026
d2d149d
phy: samsung: gs201-mipi-dcphy-rx: Add the zumapro receiver
W4HO-ham Oct 27, 2026
95c4ef8
dt-bindings: media: google,gs201-csis: Add zumapro
W4HO-ham Oct 27, 2026
aa01517
media: gs201-csis: Add a link-only zumapro variant
W4HO-ham Oct 27, 2026
b864279
dt-bindings: media: google,gs201-csis: Add the zumapro CSIS core
W4HO-ham Oct 27, 2026
120c421
media: gs201-csis: Write zumapro frames through the CSIS core
W4HO-ham Oct 27, 2026
57bbdd4
dt-bindings: media: i2c: samsung,s5kgn1: Add the S5KGN8
W4HO-ham Oct 27, 2026
0a4543c
media: i2c: s5kgn1: Add the S5KGN8
W4HO-ham Oct 27, 2026
763c3b1
media: gs201-csis: Reset the zumapro LoCH before each stream
W4HO-ham Oct 27, 2026
74ef7c6
media: gs201-csis: Leave PHY_CMN_CTRL alone on zumapro
W4HO-ham Oct 27, 2026
a153db0
dt-bindings: media: google,gs201-csis: Add zumapro's ISP front end cl…
W4HO-ham Oct 27, 2026
8a266a5
media: gs201-csis: Raise zumapro's ISP front end clock while streaming
W4HO-ham Oct 27, 2026
3de3475
dt-bindings: media: i2c: sony,imx386: Add the IMX712
W4HO-ham Oct 27, 2026
654639e
media: i2c: imx386: Add the IMX712
W4HO-ham Oct 27, 2026
4865106
media: gs201-csis: zumapro: Cite the LoCH register source, drop an un…
W4HO-ham Oct 28, 2026
1e38ecb
media: i2c: s5kgn1: Name the GN8 sequence's source and its ldo4/ldo5 …
W4HO-ham Oct 28, 2026
e4bc9d0
MAINTAINERS: Add the gs201/zumapro camera receiver, DC-PHY and sensors
W4HO-ham Oct 28, 2026
9a0f19a
media: gs201-csis: zumapro: Abort a LoCH left bound to its last link
W4HO-ham Oct 28, 2026
9892d2e
media: gs201-csis: Leave ERR_WRONG_CONFIG out of the link's error int…
W4HO-ham Oct 28, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
137 changes: 105 additions & 32 deletions Documentation/devicetree/bindings/media/google,gs201-csis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
$id: http://devicetree.org/schemas/media/google,gs201-csis.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Google gs201 CSIS camera receiver link and CSIS WDMA
title: Google gs201 and zumapro CSIS camera receiver link and CSIS WDMA

maintainers:
- Derek Ross <derekross@gmail.com>
Expand All @@ -13,57 +13,45 @@ description:
The camera block of Google's gs201 SoC has eight MIPI CSI-2 receiver links
(CSIS) and a DMA block whose CSIS WDMA contexts write a link's frames to
memory. One node describes one link and the WDMA context it feeds.
zumapro (Tensor G4) has the same receiver link in its ISP front end, with
twelve link contexts; its DMA path is different and not described here.

properties:
compatible:
const: google,gs201-csis
enum:
- google,gs201-csis
- google,zumapro-csis

reg:
minItems: 3
items:
- description: the CSIS link registers
- description: the CSIS DMA block's common page (shared by all links)
- description: the CSIS WDMA context (links may share one; they then
stream one at a time)
- description: the EBUF control (shared by all links), bypassed on the
way to the WDMA
minItems: 1
maxItems: 4

reg-names:
minItems: 3
items:
- const: link
- const: dma
- const: wdma
- const: ebuf
minItems: 1
maxItems: 4

interrupts:
items:
- description: link interrupt
- description: WDMA context interrupt
minItems: 1
maxItems: 2

interrupt-names:
items:
- const: link
- const: wdma
minItems: 1
maxItems: 2

clocks:
items:
- description: the camera block's DVFS domain
- description: the bus (INT) DVFS domain
maxItems: 2

clock-names:
items:
- const: cam
- const: int
maxItems: 2

phys:
maxItems: 1
description: The link's DC-PHY receiver.

google,csis-link:
$ref: /schemas/types.yaml#/definitions/uint32
maximum: 7
description: Index of the CSIS link.
maximum: 11
description: Index of the CSIS link (0-7 on gs201).

google,wdma-context:
$ref: /schemas/types.yaml#/definitions/uint32
Expand All @@ -82,6 +70,13 @@ properties:
description:
WDMA input slot the link is routed to; defaults to the context index.

google,image-loch:
$ref: /schemas/types.yaml#/definitions/uint32
maximum: 6
description:
zumapro only. The CSIS core's image logical channel the link writes
its frames through; defaults to 0.

google,lrte-packet-delimiters:
type: boolean
description:
Expand Down Expand Up @@ -132,10 +127,88 @@ required:
- interrupt-names
- phys
- google,csis-link
- google,wdma-context
- google,csis-sysreg
- port

allOf:
- if:
properties:
compatible:
const: google,gs201-csis
then:
properties:
reg:
minItems: 3
items:
- description: the CSIS link registers
- description: the CSIS DMA block's common page (shared by all links)
- description: the CSIS WDMA context (links may share one; they
then stream one at a time)
- description: the EBUF control (shared by all links), bypassed on
the way to the WDMA
reg-names:
minItems: 3
items:
- const: link
- const: dma
- const: wdma
- const: ebuf
interrupts:
items:
- description: link interrupt
- description: WDMA context interrupt
interrupt-names:
items:
- const: link
- const: wdma
clocks:
items:
- description: the camera block's DVFS domain
- description: the bus (INT) DVFS domain
clock-names:
items:
- const: cam
- const: int
google,csis-link:
maximum: 7
google,image-loch: false
required:
- google,wdma-context
- google,csis-sysreg
else:
properties:
reg:
minItems: 1
items:
- description: the CSIS link registers
- description: the ISP front end's CSIS core page, shared by all
links; without it the link runs without DMA
reg-names:
minItems: 1
items:
- const: link
- const: core
interrupts:
minItems: 1
items:
- description: link interrupt
- description: CSIS core interrupt, shared by all links
interrupt-names:
minItems: 1
items:
- const: link
- const: core
clocks:
items:
- description: the INT DVFS domain, the ISP front end clock's rail
- description: the ISP front end's NOC clock
clock-names:
items:
- const: int
- const: fe
google,wdma-context: false
google,csis-sysreg: false
google,ebuf: false

additionalProperties: false

examples:
Expand Down
26 changes: 24 additions & 2 deletions Documentation/devicetree/bindings/media/i2c/samsung,s5kgn1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,38 @@ description:
Samsung Bayer CMOS sensors with a MIPI CSI-2 C-PHY or D-PHY output,
controlled over I2C - the S5KGN1 (ISOCELL GN1, 50 MP, dual-pixel phase
detection), the S5K3J1 (10.5 MP, dual-pixel phase detection) and the
S5KGM5 (ISOCELL GM5, 48 MP). Their initialisation and readout modes are
S5KGM5 (ISOCELL GM5, 48 MP), and the S5KGN8 (model 0x08e8, the Pixel 9a
main camera). Their initialisation and readout modes are
loaded from a data file named by firmware-name.

allOf:
- $ref: /schemas/media/video-interface-devices.yaml#
- if:
properties:
compatible:
const: samsung,s5kgn1
enum:
- samsung,s5kgn1
- samsung,s5kgn8
then:
required:
- vaux-supply
- vana-supply
else:
properties:
vaux-supply: false
- if:
properties:
compatible:
const: samsung,s5kgn8
then:
required:
- vaux2-supply
- vdig-supply
properties:
vsw-supply: false
else:
properties:
vaux2-supply: false
- if:
properties:
compatible:
Expand All @@ -52,6 +68,7 @@ properties:
- samsung,s5k3j1
- samsung,s5kgm5
- samsung,s5kgn1
- samsung,s5kgn8

reg:
maxItems: 1
Expand All @@ -71,6 +88,11 @@ properties:
The module's auxiliary supply (2.9 V on the Pixel 7 Pro, shared with
its focus actuator), switched on right after the interface supply.

vaux2-supply:
description:
A second auxiliary supply (2.9 V on the Pixel 9a, shared with the
module's focus actuator and EEPROM), switched on after vaux-supply.

vsw-supply:
description:
A switched module supply, on before the core supplies (S5KGN1) or
Expand Down
11 changes: 7 additions & 4 deletions Documentation/devicetree/bindings/media/i2c/sony,imx386.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,25 @@
$id: http://devicetree.org/schemas/media/i2c/sony,imx386.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Sony IMX386 image sensor
title: Sony IMX386 and IMX712 image sensors

maintainers:
- Derek Ross <derekross@gmail.com>

description:
Sony IMX386 12 MP Bayer CMOS sensor with a MIPI CSI-2 D-PHY output,
controlled over I2C. Its initialisation and readout modes are loaded from
a data file named by firmware-name.
controlled over I2C, and the IMX712 (the Pixel 9a's ultrawide and front
cameras), which has the same register map. Their initialisation and
readout modes are loaded from a data file named by firmware-name.

allOf:
- $ref: /schemas/media/video-interface-devices.yaml#

properties:
compatible:
const: sony,imx386
enum:
- sony,imx386
- sony,imx712

reg:
maxItems: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
$id: http://devicetree.org/schemas/phy/google,gs201-mipi-dcphy-rx.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Google gs201 MIPI DC-PHY receiver
title: Google gs201 and zumapro MIPI DC-PHY receiver

maintainers:
- Derek Ross <derekross@gmail.com>
Expand All @@ -17,11 +17,15 @@ description:
one PMU isolation control. The PHY cell selects the link. Each slave
receives D-PHY or C-PHY (up to three trios on links 0 and 1, two on the
others); the consumer selects the mode at run time, from its endpoint's
bus type.
bus type. zumapro (Tensor G4) has nine slaves for twelve CSIS links, the
clock lane first on each, and one reset bit per slave; the PHY cell is
the CSIS link.

properties:
compatible:
const: google,gs201-mipi-dcphy-rx
enum:
- google,gs201-mipi-dcphy-rx
- google,zumapro-mipi-dcphy-rx

reg:
maxItems: 1
Expand All @@ -42,7 +46,7 @@ properties:
items:
- items:
- description: the camera block's system registers
- description: offset of the per-slave reset register (bit = link)
- description: offset of the per-slave reset register (bit = slave)
description:
The register that holds each DC-PHY slave in reset (bit clear) or
releases it (bit set).
Expand Down
14 changes: 14 additions & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -11148,6 +11148,20 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git
F: drivers/firmware/google/
F: include/linux/coreboot.h

GOOGLE GS201 AND ZUMAPRO CAMERA RECEIVER (CSIS) AND MIPI DC-PHY
M: Derek Ross <derekross@gmail.com>
R: W4HO <87742609+W4HO-ham@users.noreply.github.com>
L: linux-media@vger.kernel.org
S: Maintained
F: Documentation/devicetree/bindings/media/google,gs201-csis.yaml
F: Documentation/devicetree/bindings/media/i2c/samsung,s5kgn1.yaml
F: Documentation/devicetree/bindings/media/i2c/sony,imx386.yaml
F: Documentation/devicetree/bindings/phy/google,gs201-mipi-dcphy-rx.yaml
F: drivers/media/i2c/imx386.c
F: drivers/media/i2c/s5kgn1.c
F: drivers/media/platform/samsung/gs201-csis/
F: drivers/phy/samsung/phy-gs201-mipi-dcphy-rx.c

GOOGLE TENSOR SoC SUPPORT
M: Peter Griffin <peter.griffin@linaro.org>
R: André Draszik <andre.draszik@linaro.org>
Expand Down
Loading