Repository navigation
ams/rpi 6.18.y/mira upstream #7802
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jmondi
wants to merge
10
commits into
raspberrypi:rpi-6.18.y
Choose a base branch
from
jmondi:ams/rpi-6.18.y/mira-upstream
base: rpi-6.18.y
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
d70f95a
dt-bindings: media: i2c: Add mira220 image sensor
phili-b 751bb02
media: mira220: Update Mira220 driver to upstream
8e272a7
dt-bindings: media: i2c: Add Mira016 image sensor
d694ba7
media: i2c: mira016: Add driver for Mira016
14adcf5
dtoverlays: Update Mira220 overlays
7e73561
dtoverlays: Add an overlay for AMS-OSRAM Mira016 image sensor
90747ac
dtoverlays: camera-mux: Add Mira016 and Mira220
a4bfe75
media: i2c: mira016: Use the 12-bit format as default
devnexen a49ed51
media: mira016: Update the gain model
phili-b 7410c16
media: mira016: Update 8-bit gain init sequences
phili-b File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
97 changes: 97 additions & 0 deletions
97
Documentation/devicetree/bindings/media/i2c/ams,mira016.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,97 @@ | ||
| # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
| %YAML 1.2 | ||
| --- | ||
| $id: http://devicetree.org/schemas/media/i2c/ams,mira016.yaml# | ||
| $schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
|
||
| title: AMS 0.16 MP NIR enhanced global shutter image sensor | ||
|
|
||
| maintainers: | ||
| - Jacopo Mondi <jacopo.mondi@ideasonboard.com> | ||
| - Philippe Baetens <philippebaetens@gmail.com> | ||
|
|
||
| description: | ||
| Mira016 is a 0.16 MP NIR enhanced global shutter image sensor designed for 2D | ||
| and 3D consumer and industrial machine vision applications. The sensor is | ||
| compliant to the MIPI CSI-2 v1.3 protocol interface and the D-PHY v1.2 | ||
| physical layer specifications to transmit the image data to the host | ||
| processor. It uses one data lane and one clock lane operating up to 1.5 Gbps. | ||
|
|
||
| allOf: | ||
| - $ref: /schemas/media/video-interface-devices.yaml# | ||
|
|
||
| properties: | ||
| compatible: | ||
| const: ams,mira016 | ||
|
|
||
| reg: | ||
| maxItems: 1 | ||
|
|
||
| clocks: | ||
| maxItems: 1 | ||
|
|
||
| vdd28-supply: | ||
| description: | ||
| I/O voltage supply, 2.8 volts | ||
|
|
||
| vdd11-supply: | ||
| description: | ||
| I/O voltage supply, 1.1 volts | ||
|
|
||
| reset-gpios: | ||
| description: Sensor reset (RST_N) GPIO | ||
| maxItems: 1 | ||
|
|
||
| port: | ||
| $ref: /schemas/graph.yaml#/$defs/port-base | ||
| additionalProperties: false | ||
| description: | ||
| Video output port | ||
|
|
||
| properties: | ||
| endpoint: | ||
| $ref: /schemas/media/video-interfaces.yaml# | ||
| unevaluatedProperties: false | ||
|
|
||
| properties: | ||
| data-lanes: | ||
| items: | ||
| - const: 1 | ||
|
|
||
| required: | ||
| - data-lanes | ||
| - link-frequencies | ||
|
|
||
| required: | ||
| - compatible | ||
| - reg | ||
| - clocks | ||
| - vdd28-supply | ||
| - vdd11-supply | ||
| - port | ||
|
|
||
| unevaluatedProperties: false | ||
|
|
||
| examples: | ||
| - | | ||
| i2c { | ||
| #address-cells = <1>; | ||
| #size-cells = <0>; | ||
|
|
||
| camera@36 { | ||
| compatible = "ams,mira016"; | ||
| reg = <0x36>; | ||
| clocks = <&cam1_clk>; | ||
|
|
||
| vdd28-supply = <&cam1_reg>; | ||
| vdd11-supply = <&cam_dummy_reg>; | ||
|
|
||
| port { | ||
| endpoint { | ||
| data-lanes = <1>; | ||
| link-frequencies = /bits/ 64 <750000000>; | ||
| }; | ||
| }; | ||
| }; | ||
| }; | ||
| ... |
103 changes: 103 additions & 0 deletions
103
Documentation/devicetree/bindings/media/i2c/ams,mira220.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,103 @@ | ||
| # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
| %YAML 1.2 | ||
| --- | ||
| $id: http://devicetree.org/schemas/media/i2c/ams,mira220.yaml# | ||
| $schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
|
||
| title: AMS 2.2 MP NIR enhanced global shutter image sensor | ||
|
|
||
| maintainers: | ||
| - Jacopo Mondi <jacopo.mondi@ideasonboard.com> | ||
| - Philippe Baetens <philippebaetens@gmail.com> | ||
|
|
||
| description: | ||
| Mira220 is a 2.2 MP NIR enhanced global shutter image sensor designed for 2D | ||
| and 3D consumer and industrial machine vision applications. Due to its small | ||
| size, configurability and high sensitivity both in visual as well as NIR, the | ||
| Mira220 is well suited for 2D and 3D applications, which include Active Stereo | ||
| Vision, Structured Light Vision for Robotics and AR/VR. | ||
|
|
||
| allOf: | ||
| - $ref: /schemas/media/video-interface-devices.yaml# | ||
|
|
||
| properties: | ||
| compatible: | ||
| const: ams,mira220 | ||
|
|
||
| reg: | ||
| maxItems: 1 | ||
|
|
||
| clocks: | ||
| maxItems: 1 | ||
|
|
||
| vdig-supply: | ||
| description: | ||
| Digital I/O voltage supply, 1.35 volts | ||
|
|
||
| vana-supply: | ||
| description: | ||
| Analog1 voltage supply, 2.8 volts | ||
|
|
||
| vddl-supply: | ||
| description: | ||
| Digital core voltage supply, 1.8 volts | ||
|
|
||
| reset-gpios: | ||
| description: Sensor reset (XCLR) GPIO | ||
| maxItems: 1 | ||
|
|
||
| port: | ||
| $ref: /schemas/graph.yaml#/$defs/port-base | ||
| additionalProperties: false | ||
| description: | ||
| Video output port | ||
|
|
||
| properties: | ||
| endpoint: | ||
| $ref: /schemas/media/video-interfaces.yaml# | ||
| unevaluatedProperties: false | ||
|
|
||
| properties: | ||
| data-lanes: | ||
| items: | ||
| - const: 1 | ||
| - const: 2 | ||
|
|
||
| required: | ||
| - data-lanes | ||
| - link-frequencies | ||
|
|
||
| required: | ||
| - compatible | ||
| - reg | ||
| - clocks | ||
| - vdig-supply | ||
| - vana-supply | ||
| - vddl-supply | ||
| - port | ||
|
|
||
| unevaluatedProperties: false | ||
|
|
||
| examples: | ||
| - | | ||
| i2c { | ||
| #address-cells = <1>; | ||
| #size-cells = <0>; | ||
|
|
||
| camera@54 { | ||
| compatible = "ams,mira220"; | ||
| reg = <0x54>; | ||
| clocks = <&cam1_clk>; | ||
| vana-supply = <&cam1_reg>; | ||
| vdig-supply = <&cam_dummy_reg>; | ||
| vddl-supply = <&cam_dummy_reg>; | ||
| port { | ||
| endpoint { | ||
| clock-lanes = <0>; | ||
| data-lanes = <1 2>; | ||
| link-frequencies = /bits/ 64 <750000000>; | ||
| }; | ||
| }; | ||
| }; | ||
| }; | ||
| ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.