]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
platform: tegra: add new panel_cy8c param
authorDaniel Solomon <daniels@nvidia.com>
Wed, 14 Oct 2015 21:35:20 +0000 (14:35 -0700)
committermobile promotions <svcmobile_promotions@nvidia.com>
Wed, 4 Nov 2015 01:21:43 +0000 (17:21 -0800)
Add "max-xfer-sz" parameter for the panel_cy8c driver.
This parameter indicates the maximum I2C chunk size based
on the platform's SoC and cy8cxxx microcontroller capabilities.

Bug 1679724

Change-Id: I2ed63f4c7f8e8aa8f3ab1530693af281c170d9c1
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/819305
(cherry picked from commit 7ea81eaa71e0ac2b947aa1c64a5b4868d2533ba2)
Reviewed-on: http://git-master/r/825777
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Reviewed-by: Aly Hirani <ahirani@nvidia.com>
Documentation/devicetree/bindings/platform/tegra/panel-cy8c.txt
arch/arm64/boot/dts/tegra210-hawkeye-p2290-3304-a04-00.dts
arch/arm64/boot/dts/tegra210-hawkeye-p2290-3306-a04-00.dts

index ea02b016bd93892ec5f6136fbc26029cd2434f12..18a03bc51c60c7fb6a643d3a7afedf0a0b5fd16c 100644 (file)
@@ -9,6 +9,8 @@ Sub-node properties:
        This gpio must remain high for as long as the
        panel is enabled. It may be deasserted after
        the panel is disabled.
+- max-xfer-size : minimum of maximum Tegra and maximum
+       cy8c I2C transfer chunk sizes
 
 Examples:
        i2c@7000c000 {
@@ -16,6 +18,7 @@ Examples:
                        compatible = "nvidia,cy8c_panel";
                        reg = <0x09>;
                        enable-gpio = <&gpio TEGRA_GPIO(K, 1) 0>;
+                       max-xfer-sz = <64>;
                        #address-cells = <1>;
                        #size-cells = <0>;
                };
index f8257bc4b6c9306bb57d685bcc280d4970d3a084..78790d198a5f87bf35617d76e9cbbcb0004306fc 100644 (file)
@@ -33,6 +33,7 @@
                        compatible = "nvidia,cy8c_panel";
                        reg = <0x09>;
                        enable-gpio = <&gpio TEGRA_GPIO(K, 1) 0>;
+                       max-xfer-sz = <64>;
                        #address-cells = <1>;
                        #size-cells = <0>;
                };
index 0506fe3956debbbddbba5ee870b07171a1c7d0e7..bc4b25e28334b0bad10ae59c274c4517f7fa401a 100644 (file)
@@ -33,6 +33,7 @@
                        compatible = "nvidia,cy8c_panel";
                        reg = <0x09>;
                        enable-gpio = <&gpio TEGRA_GPIO(K, 1) 0>;
+                       max-xfer-sz = <64>;
                        #address-cells = <1>;
                        #size-cells = <0>;
                };