Connecting Hall sensors in Android 12 via i2c bus

Which system do you use? Android, Ubuntu, OOWOW or others?

Android 12

Which version of system do you use? Khadas official images, self built images, or others?

Androi 12 AOSP

Please describe your issue below:

The source code of Android 12 AOSP contains drivers for the Hall sensor Hall sensors MH248 and OCH165T are supported. But after looking at the datasheet of these sensors, I did not find support for the i2c bus interface. Tell me how then I can connect these Hall sensors to the i2c bus, I’m interested in the electrical connection diagram to the i2c bus

1/MH248 and OCH165T do not have I2C interfaces!
2/Most Hall sensors on the market are output by a single IO port; (See Hall Effect Principle)
3/MH248 Typical application circuit:
image

Ok, tell me how to connect these Hall sensors to the Edge 2 board, I can’t understand?

1/There’s no MH248 or OCH165T on the Edge 2 board;
2/You can choose an IC to design an expansion board;
3/This expansion board is then connected to Edge2 via the FPC;
4/If you do not want to do hardware design, please contact our business to customize the expansion board;
Thanks!