|
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>; |
|
277 | 297 | status = "okay"; |
278 | 298 | }; |
279 | 299 |
|
| 300 | +&camss { |
| 301 | + status = "okay"; |
| 302 | + |
| 303 | + ports { |
| 304 | + port@0 { |
| 305 | + reg = <0>; |
| 306 | + csiphy0_ep: endpoint { |
| 307 | + clock-lanes = <1>; |
| 308 | + data-lanes = <0 2 3 4>; |
| 309 | + remote-endpoint = <&imx214_ep>; |
| 310 | + }; |
| 311 | + }; |
| 312 | + }; |
| 313 | +}; |
| 314 | + |
| 315 | +&cci { |
| 316 | + status = "okay"; |
| 317 | +}; |
| 318 | + |
| 319 | +&cci_i2c0 { |
| 320 | + camera@10 { |
| 321 | + compatible = "sony,imx214"; |
| 322 | + reg = <0x10>; |
| 323 | + |
| 324 | + vdda-supply = <&cam_vana_rear_vreg>; |
| 325 | + vddd-supply = <&cam_vdig_rear_vreg>; |
| 326 | + vdddo-supply = <&pm8916_l6>; |
| 327 | + enable-gpios = <&tlmm 35 GPIO_ACTIVE_HIGH>; |
| 328 | + clocks = <&gcc GCC_CAMSS_MCLK0_CLK>; |
| 329 | + clock-frequency = <24000000>; |
| 330 | + pinctrl-0 = <&camera_rear_default>; |
| 331 | + pinctrl-names = "default"; |
| 332 | + |
| 333 | + orientation = <1>; /* Rear camera */ |
| 334 | + |
| 335 | + port { |
| 336 | + imx214_ep: endpoint { |
| 337 | + data-lanes = <1 2 3 4>; |
| 338 | + link-frequencies = /bits/ 64 <600000000>; |
| 339 | + remote-endpoint = <&csiphy0_ep>; |
| 340 | + }; |
| 341 | + }; |
| 342 | + }; |
| 343 | +}; |
| 344 | + |
280 | 345 | &gpu { |
281 | 346 | status = "okay"; |
282 | 347 | }; |
|
455 | 520 | bias-pull-up; |
456 | 521 | }; |
457 | 522 |
|
| 523 | + imx214_vana_default: imx214-vana-default-state { |
| 524 | + pins = "gpio34"; |
| 525 | + function = "gpio"; |
| 526 | + |
| 527 | + drive-strength = <2>; |
| 528 | + bias-disable; |
| 529 | + }; |
| 530 | + |
| 531 | + imx214_vdig_default: imx214-vdig-default-state { |
| 532 | + pins = "gpio31"; |
| 533 | + function = "gpio"; |
| 534 | + |
| 535 | + drive-strength = <2>; |
| 536 | + bias-disable; |
| 537 | + }; |
| 538 | + |
458 | 539 | mag_reset_default: mag-reset-default-state { |
459 | 540 | pins = "gpio111"; |
460 | 541 | function = "gpio"; |
|
539 | 620 | qcom,dtest = <1>; |
540 | 621 | }; |
541 | 622 | }; |
| 623 | + |
| 624 | +&camera_rear_default { |
| 625 | + /delete-node/ pwdn-pins; |
| 626 | +}; |
0 commit comments