]> git.baikalelectronics.ru Git - kernel.git/commitdiff
dt-bindings: display: mediatek: get mipitx calibration data from nvmem
authorJitao Shi <jitao.shi@mediatek.com>
Sat, 11 Apr 2020 07:44:06 +0000 (15:44 +0800)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Tue, 21 Apr 2020 23:10:13 +0000 (07:10 +0800)
Add properties to get get mipitx calibration data.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jitao Shi <jitao.shi@mediatek.com>
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Documentation/devicetree/bindings/display/mediatek/mediatek,dsi.txt

index d78b6d6d8fab9a40977536f2dfb902dec7eb380d..8e4729de8c85d983ddf9e4b25a1ff80e2badeeac 100644 (file)
@@ -36,6 +36,9 @@ Required properties:
 Optional properties:
 - drive-strength-microamp: adjust driving current, should be 3000 ~ 6000. And
                                                   the step is 200.
+- nvmem-cells: A phandle to the calibration data provided by a nvmem device. If
+               unspecified default values shall be used.
+- nvmem-cell-names: Should be "calibration-data"
 
 Example:
 
@@ -47,6 +50,8 @@ mipi_tx0: mipi-dphy@10215000 {
        #clock-cells = <0>;
        #phy-cells = <0>;
        drive-strength-microamp = <4600>;
+       nvmem-cells= <&mipi_tx_calibration>;
+       nvmem-cell-names = "calibration-data";
 };
 
 dsi0: dsi@1401b000 {