Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] ov13850 address

64

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
64

【Linux】 ov13850 address

Posted at 12/28/2018 09:12:00      View:4692 | Replies:3        Print     [Copy Link] 1#
I refer to here
https://drive.google.com/drive/f ... aXNTOHIxSDRGOFV4RDA

and here
https://github.com/rockchip-linu ... 9-firefly-linux.dts

  1. ...
  2. camera0: ov13850@10 {
  3.                 status = "okay";
  4.                 compatible = "omnivision,ov13850-v4l2-i2c-subdev";
  5.                 reg = < 0x10 >;
  6.                 device_type = "v4l2-i2c-subdev";
  7. ...
Copy the code



According to the reference,
0x20 or 0x6C is used, and the camera address in dts is defined as 0x10.

how can it be work?
Reply

Use props Report

64

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
64
Posted at 1/2/2019 10:24:15      2#
penguin Posted at 12/29/2018 08:54
In my experience, if the SCCB_ID is 0x20, the i2c address is SCCB_ID / 2 = 0x10.

Happy new year and thanks for your reply

Every time I analyze this product, I feel like fall into the maze.
why address divided by 2?


Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list