|
45 | 45 | default-brightness-level = <255>; |
46 | 46 | }; |
47 | 47 |
|
| 48 | + cam_vana_rear_vreg: cam-vana-rear-regulator { |
| 49 | + compatible = "regulator-fixed"; |
| 50 | + regulator-name = "cam_vana_rear_vreg"; |
| 51 | + startup-delay-us = <0>; |
| 52 | + enable-active-high; |
| 53 | + gpio = <&tlmm 34 GPIO_ACTIVE_HIGH>; |
| 54 | + pinctrl-0 = <&imx214_vana_default>; |
| 55 | + pinctrl-names = "default"; |
| 56 | + }; |
| 57 | + |
| 58 | + cam_vdig_rear_vreg: cam-vdig-rear-regulator { |
| 59 | + compatible = "regulator-fixed"; |
| 60 | + regulator-name = "cam_vdig_rear_vreg"; |
| 61 | + startup-delay-us = <0>; |
| 62 | + enable-active-high; |
| 63 | + gpio = <&tlmm 31 GPIO_ACTIVE_HIGH>; |
| 64 | + pinctrl-0 = <&imx214_vdig_default>; |
| 65 | + pinctrl-names = "default"; |
| 66 | + }; |
| 67 | + |
48 | 68 | flash-led-controller { |
49 | 69 | compatible = "ocs,ocp8110"; |
50 | 70 | enable-gpios = <&tlmm 49 GPIO_ACTIVE_HIGH>; |
|
280 | 300 | pinctrl-names = "default", "sleep"; |
281 | 301 | }; |
282 | 302 |
|
| 303 | +&camss { |
| 304 | + status = "okay"; |
| 305 | + |
| 306 | + ports { |
| 307 | + port@0 { |
| 308 | + reg = <0>; |
| 309 | + csiphy0_ep: endpoint { |
| 310 | + clock-lanes = <1>; |
| 311 | + data-lanes = <0 2 3 4>; |
| 312 | + remote-endpoint = <&imx214_ep>; |
| 313 | + }; |
| 314 | + }; |
| 315 | + }; |
| 316 | +}; |
| 317 | + |
| 318 | +&cci { |
| 319 | + status = "okay"; |
| 320 | +}; |
| 321 | + |
| 322 | +&cci_i2c0 { |
| 323 | + camera@10 { |
| 324 | + compatible = "sony,imx214"; |
| 325 | + reg = <0x10>; |
| 326 | + |
| 327 | + clocks = <&gcc GCC_CAMSS_MCLK0_CLK>; |
| 328 | + assigned-clocks = <&gcc GCC_CAMSS_MCLK0_CLK>; |
| 329 | + assigned-clock-rates = <23880000>; |
| 330 | + |
| 331 | + enable-gpios = <&tlmm 35 GPIO_ACTIVE_HIGH>; |
| 332 | + |
| 333 | + vdda-supply = <&cam_vana_rear_vreg>; |
| 334 | + vddd-supply = <&cam_vdig_rear_vreg>; |
| 335 | + vdddo-supply = <&pm8916_l6>; |
| 336 | + |
| 337 | + pinctrl-0 = <&camera_rear_default>; |
| 338 | + pinctrl-names = "default"; |
| 339 | + |
| 340 | + orientation = <1>; |
| 341 | + rotation = <270>; |
| 342 | + |
| 343 | + port { |
| 344 | + imx214_ep: endpoint { |
| 345 | + data-lanes = <1 2 3 4>; |
| 346 | + link-frequencies = /bits/ 64 <597000000>; |
| 347 | + remote-endpoint = <&csiphy0_ep>; |
| 348 | + }; |
| 349 | + }; |
| 350 | + }; |
| 351 | +}; |
| 352 | + |
283 | 353 | &gpu { |
284 | 354 | status = "okay"; |
285 | 355 | }; |
|
458 | 528 | bias-pull-up; |
459 | 529 | }; |
460 | 530 |
|
| 531 | + imx214_vana_default: imx214-vana-default-state { |
| 532 | + pins = "gpio34"; |
| 533 | + function = "gpio"; |
| 534 | + |
| 535 | + drive-strength = <2>; |
| 536 | + bias-disable; |
| 537 | + }; |
| 538 | + |
| 539 | + imx214_vdig_default: imx214-vdig-default-state { |
| 540 | + pins = "gpio31"; |
| 541 | + function = "gpio"; |
| 542 | + |
| 543 | + drive-strength = <2>; |
| 544 | + bias-disable; |
| 545 | + }; |
| 546 | + |
461 | 547 | mag_reset_default: mag-reset-default-state { |
462 | 548 | pins = "gpio111"; |
463 | 549 | function = "gpio"; |
|
542 | 628 | qcom,dtest = <1>; |
543 | 629 | }; |
544 | 630 | }; |
| 631 | + |
| 632 | +&camera_rear_default { |
| 633 | + /delete-node/ pwdn-pins; |
| 634 | +}; |
0 commit comments