mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 09:12:39 +00:00
2e715fb4fc
Add support for BCM2712 (Raspberry Pi 5).
3bb5880ab3
Patches were generated from the diff between linux kernel branch linux-6.1.y
and rpi-6.1.y from raspberry pi kernel source:
- git format-patch linux-6.1.y...rpi-6.1.y
Build system: x86_64
Build-tested: bcm2708, bcm2709, bcm2710, bcm2711
Run-tested: bcm2710/RPi3B, bcm2711/RPi4B
Signed-off-by: Marty Jones <mj8263788@gmail.com>
[Remove applied and reverted patches, squash patches and config commits]
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
115 lines
2.8 KiB
Diff
115 lines
2.8 KiB
Diff
From 3d108604ca669b83bb4918c4f5f0a02ddef84972 Mon Sep 17 00:00:00 2001
|
|
From: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
|
|
Date: Sun, 1 Oct 2023 13:20:12 +0200
|
|
Subject: [PATCH] media: dt-bindings: Add OmniVision OV64A40
|
|
|
|
Add bindings for OmniVision OV64A40.
|
|
|
|
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
|
|
---
|
|
.../bindings/media/i2c/ovti,ov64a40.yaml | 98 +++++++++++++++++++
|
|
1 file changed, 98 insertions(+)
|
|
create mode 100644 Documentation/devicetree/bindings/media/i2c/ovti,ov64a40.yaml
|
|
|
|
--- /dev/null
|
|
+++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov64a40.yaml
|
|
@@ -0,0 +1,98 @@
|
|
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
+%YAML 1.2
|
|
+---
|
|
+$id: http://devicetree.org/schemas/media/i2c/ovti,ov64a40.yaml#
|
|
+$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
+
|
|
+title: OmniVision OV64A40 Image Sensor
|
|
+
|
|
+maintainers:
|
|
+ - Jacopo Mondi <jacopo.mondi@ideasonboard.com>
|
|
+
|
|
+allOf:
|
|
+ - $ref: /schemas/media/video-interface-devices.yaml#
|
|
+
|
|
+properties:
|
|
+ compatible:
|
|
+ const: ovti,ov64a40
|
|
+
|
|
+ reg:
|
|
+ maxItems: 1
|
|
+
|
|
+ clocks:
|
|
+ maxItems: 1
|
|
+
|
|
+ avdd-supply:
|
|
+ description: Analog voltage supply, 2.8 volts
|
|
+
|
|
+ dvdd-supply:
|
|
+ description: Digital core voltage supply, 1.1 volts
|
|
+
|
|
+ dovdd-supply:
|
|
+ description: Digital I/O voltage supply, 1.8 volts
|
|
+
|
|
+ powerdown-gpios:
|
|
+ maxItems: 1
|
|
+
|
|
+ reset-gpios:
|
|
+ maxItems: 1
|
|
+
|
|
+ port:
|
|
+ $ref: /schemas/graph.yaml#/$defs/port-base
|
|
+ additionalProperties: false
|
|
+
|
|
+ properties:
|
|
+ endpoint:
|
|
+ $ref: /schemas/media/video-interfaces.yaml#
|
|
+ additionalProperties: false
|
|
+
|
|
+ properties:
|
|
+ bus-type:
|
|
+ enum:
|
|
+ - 1 # MIPI CSI-2 C-PHY
|
|
+ - 4 # MIPI CSI-2 D-PHY
|
|
+ data-lanes: true
|
|
+ link-frequencies: true
|
|
+ clock-noncontinuous: true
|
|
+ remote-endpoint: true
|
|
+
|
|
+required:
|
|
+ - compatible
|
|
+ - reg
|
|
+ - clocks
|
|
+ - port
|
|
+
|
|
+unevaluatedProperties: false
|
|
+
|
|
+examples:
|
|
+ - |
|
|
+ #include <dt-bindings/gpio/gpio.h>
|
|
+
|
|
+ i2c {
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <0>;
|
|
+
|
|
+ camera@36 {
|
|
+ compatible = "ovti,ov64a40";
|
|
+ reg = <0x36>;
|
|
+ clocks = <&camera_clk>;
|
|
+ dovdd-supply = <&vgen4_reg>;
|
|
+ avdd-supply = <&vgen3_reg>;
|
|
+ dvdd-supply = <&vgen2_reg>;
|
|
+ powerdown-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
|
|
+ reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
|
|
+ rotation = <180>;
|
|
+ orientation = <2>;
|
|
+
|
|
+ port {
|
|
+ endpoint {
|
|
+ remote-endpoint = <&mipi_csi2_in>;
|
|
+ bus-type = <4>;
|
|
+ data-lanes = <1 2 3 4>;
|
|
+ link-frequencies = /bits/ 64 <456000000>;
|
|
+ };
|
|
+ };
|
|
+ };
|
|
+ };
|
|
+
|
|
+...
|