mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
793f8ab62c
Add kernel patches for version 6.1. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
88 lines
2.5 KiB
Diff
88 lines
2.5 KiB
Diff
From cf1b98c1d99fcc779414f18a8f79b501260043c3 Mon Sep 17 00:00:00 2001
|
|
From: Yassine Oudjana <y.oudjana@protonmail.com>
|
|
Date: Fri, 9 Dec 2022 17:37:39 +0300
|
|
Subject: [PATCH] media: dt-bindings: ak7375: Convert to DT schema
|
|
|
|
commit 6d801f89ad7c485bbb14c0138d991beebd307aa6 upstream
|
|
|
|
Convert DT bindings document for AKM AK7375 VCM to DT schema
|
|
format and add an example.
|
|
|
|
Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com>
|
|
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
|
|
Tested-by: Umang Jain <umang.jain@ideasonboard.com>
|
|
---
|
|
.../devicetree/bindings/media/i2c/ak7375.txt | 8 ----
|
|
.../media/i2c/asahi-kasei,ak7375.yaml | 41 +++++++++++++++++++
|
|
MAINTAINERS | 2 +-
|
|
3 files changed, 42 insertions(+), 9 deletions(-)
|
|
delete mode 100644 Documentation/devicetree/bindings/media/i2c/ak7375.txt
|
|
create mode 100644 Documentation/devicetree/bindings/media/i2c/asahi-kasei,ak7375.yaml
|
|
|
|
--- a/Documentation/devicetree/bindings/media/i2c/ak7375.txt
|
|
+++ /dev/null
|
|
@@ -1,8 +0,0 @@
|
|
-Asahi Kasei Microdevices AK7375 voice coil lens driver
|
|
-
|
|
-AK7375 is a camera voice coil lens.
|
|
-
|
|
-Mandatory properties:
|
|
-
|
|
-- compatible: "asahi-kasei,ak7375"
|
|
-- reg: I2C slave address
|
|
--- /dev/null
|
|
+++ b/Documentation/devicetree/bindings/media/i2c/asahi-kasei,ak7375.yaml
|
|
@@ -0,0 +1,41 @@
|
|
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
+%YAML 1.2
|
|
+---
|
|
+$id: http://devicetree.org/schemas/media/i2c/asahi-kasei,ak7375.yaml#
|
|
+$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
+
|
|
+title: Asahi Kasei Microdevices AK7375 voice coil lens actuator
|
|
+
|
|
+maintainers:
|
|
+ - Tianshu Qiu <tian.shu.qiu@intel.com>
|
|
+
|
|
+description:
|
|
+ AK7375 is a voice coil motor (VCM) camera lens actuator that
|
|
+ is controlled over I2C.
|
|
+
|
|
+properties:
|
|
+ compatible:
|
|
+ const: asahi-kasei,ak7375
|
|
+
|
|
+ reg:
|
|
+ maxItems: 1
|
|
+
|
|
+required:
|
|
+ - compatible
|
|
+ - reg
|
|
+
|
|
+additionalProperties: false
|
|
+
|
|
+examples:
|
|
+ - |
|
|
+ i2c {
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <0>;
|
|
+
|
|
+ ak7375: camera-lens@c {
|
|
+ compatible = "asahi-kasei,ak7375";
|
|
+ reg = <0x0c>;
|
|
+ };
|
|
+ };
|
|
+
|
|
+...
|
|
--- a/MAINTAINERS
|
|
+++ b/MAINTAINERS
|
|
@@ -3173,7 +3173,7 @@ M: Tianshu Qiu <tian.shu.qiu@intel.com>
|
|
L: linux-media@vger.kernel.org
|
|
S: Maintained
|
|
T: git git://linuxtv.org/media_tree.git
|
|
-F: Documentation/devicetree/bindings/media/i2c/ak7375.txt
|
|
+F: Documentation/devicetree/bindings/media/i2c/asahi-kasei,ak7375.yaml
|
|
F: drivers/media/i2c/ak7375.c
|
|
|
|
ASAHI KASEI AK8974 DRIVER
|