Add two sensors gc5035 and s5k3l6 for ADL-M.#95
Open
liang1wang wants to merge 1 commit intointel:ccg_plat_adlpfrom
Open
Add two sensors gc5035 and s5k3l6 for ADL-M.#95liang1wang wants to merge 1 commit intointel:ccg_plat_adlpfrom
liang1wang wants to merge 1 commit intointel:ccg_plat_adlpfrom
Conversation
Both drivers are based on online, but update to support x86 and add gpio pins support. Integrate IPU6 driver to support the new sensors. The original gc5035 is from the link: https://patchwork.kernel.org/project/linux-media/patch/20200902224813.14283-4-tfiga@chromium.org The original s5k3l6 is from github-kernel_fruitPi_5.10. With the patches, i2cdetected: :~$ sudo i2cdetect -r -y 3 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- UU -- -- --//vcm 10: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- --//s5k3l6 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- //nvm 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- :~$ sudo i2cdetect -r -y 2 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- UU -- -- -- -- -- -- -- -- //gc5035 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- Regarding to kernel update, don't forget to add the new sensors support in .config, Kconfig and Makefile. Signed-off-by: liang1.wang <liang1.wang@intel.com>
Contributor
|
Interesting, thank you for your work on this. I'm looking into making a Jasperlake device with a GC5035 sensor work. Some questions:
|
Contributor
Author
|
Contributor
That is great, thank you for the quick answer. I'll try and see if I can get this to work on Jasper Lake (once I have received the hw to test this on). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Both drivers are based on online, but update to support x86 and add gpio pins support.
Integrate IPU6 driver to support the new sensors.
The original gc5035 is from the link:
https://patchwork.kernel.org/project/linux-media/patch/20200902224813.14283-4-tfiga@chromium.org The original s5k3l6 is from github-kernel_fruitPi_5.10.
With the patches, i2cdetected:
:~$ sudo i2cdetect -r -y 3
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- UU -- -- --//vcm
10: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- --//s5k3l6
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- //nvm
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
:~$ sudo i2cdetect -r -y 2
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- UU -- -- -- -- -- -- -- -- //gc5035
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
Regarding to kernel update, don't forget to add the new sensors support in .config, Kconfig and Makefile.