No i2c nodes coming in linux sysfs, required kernel configs?How does the likely/unlikely macros in the Linux kernel works and what is their benefit?Why is Linux called a monolithic kernel?How is the Linux kernel tested ?I2C linux driversLinux device driver for multiple bussesSELinux rules for i2c files in sysfs in AndroidChange I2C address Linux driver kernelLinux I2C Kernel DriverLinux I2C kernel driver bindingI2C Kernel driver binding

C++ copy constructor called at return

"It doesn't matter" or "it won't matter"?

Does Doodling or Improvising on the Piano Have Any Benefits?

How would you translate "more" for use as an interface button?

Pre-mixing cryogenic fuels and using only one fuel tank

How could a planet have erratic days?

Can I say "fingers" when referring to toes?

Review your own paper in Mathematics

Why is it that I can sometimes guess the next note?

Can I cause damage to electrical appliances by unplugging them when they are turned on?

Does "he squandered his car on drink" sound natural?

Shouldn’t conservatives embrace universal basic income?

Do we have to expect a queue for the shuttle from Watford Junction to Harry Potter Studio?

Why should universal income be universal?

Will number of steps recorded on FitBit/any fitness tracker add up distance in PokemonGo?

Biological Blimps: Propulsion

Delete multiple columns using awk or sed

What is the difference between lands and mana?

Multiplicative persistence

What are some good ways to treat frozen vegetables such that they behave like fresh vegetables when stir frying them?

awk assign to multiple variables at once

What does "Scientists rise up against statistical significance" mean? (Comment in Nature)

Why is the Sun approximated as a black body at ~ 5800 K?

Is this toilet slogan correct usage of the English language?



No i2c nodes coming in linux sysfs, required kernel configs?


How does the likely/unlikely macros in the Linux kernel works and what is their benefit?Why is Linux called a monolithic kernel?How is the Linux kernel tested ?I2C linux driversLinux device driver for multiple bussesSELinux rules for i2c files in sysfs in AndroidChange I2C address Linux driver kernelLinux I2C Kernel DriverLinux I2C kernel driver bindingI2C Kernel driver binding













0















I have a Hikey LeMaker 620 on which I am trying to enable I2C as currently I am not getting /dev/i2c* nodes.



I am using the docs here : https://github.com/96boards/documentation/blob/master/consumer/hikey/hikey620/build/linux-kernel.md



I see that
I2C_DESIGNWARE_PLATFORM
I2C_CHARDEV



are already enabled, still I do not see anything in /sys/bus/i2c/devices/ and as a result my i2cdetect fails saying “/dev/i2c/0 : No such file or directory”



Are there any kernel configs which I am missing?



EDIT



Here are the dmesg logs



/ # dmesg | grep i2c
[ 0.251154] i2c-core: driver [dummy] registered
[ 0.284233] i2c-core: driver [pca953x] registered
[ 0.286078] i2c-core: driver [sec_pmic] registered
[ 0.287137] i2c_designware f7100000.i2c: could not find pctldev for node /soc/pinmux@f7010000/i2c0_pmx_func, deferring probe
[ 0.287167] i2c_designware f7101000.i2c: could not find pctldev for node /soc/pinmux@f7010000/i2c1_pmx_func, deferring probe
[ 0.287188] i2c_designware f7102000.i2c: could not find pctldev for node /soc/pinmux@f7010000/i2c2_pmx_func, deferring probe
[ 0.323590] i2c-core: driver [cs2000-cp] registered
[ 0.328647] i2c-core: driver [fan53555-regulator] registered
[ 0.340913] i2c-core: driver [cros-ec-i2c] registered
[ 0.341005] i2c-core: driver [max77620] registered
[ 0.341054] i2c-core: driver [rk808] registered
[ 0.351637] i2c-core: driver [usb3503] registered
[ 0.353610] i2c-core: driver [rtc-ds3232] registered
[ 0.354842] i2c /dev entries driver
[ 0.355782] i2c-core: driver [pca954x] registered
[ 0.356294] i2c-core: driver [bq27xxx-battery] registered
[ 0.501408] i2c-core: driver [hmc5843] registered
[ 2.209817] i2c_designware f7100000.i2c: Unknown Synopsys component type: 0x00000000
[ 2.218809] i2c_designware f7101000.i2c: Unknown Synopsys component type: 0x00000000
[ 2.227621] i2c_designware f7102000.i2c: Unknown Synopsys component type: 0x00000000









share|improve this question
























  • There are quite a few things that could go wrong, and not much info to figure out what's happening here. Is there anything i2c related in kernel logs? In sysfs?

    – domen
    Mar 7 at 9:13












  • @domen : Please see the edit

    – Insane Coder
    Mar 7 at 10:06











  • Could be some pinmux configuration error, device tree error/mismatch, or just an issue with the driver. Quick web search of those errors doesn't seem to produce much here. Hopefully someone with experience on this platform comes across this.

    – domen
    Mar 7 at 10:25















0















I have a Hikey LeMaker 620 on which I am trying to enable I2C as currently I am not getting /dev/i2c* nodes.



I am using the docs here : https://github.com/96boards/documentation/blob/master/consumer/hikey/hikey620/build/linux-kernel.md



I see that
I2C_DESIGNWARE_PLATFORM
I2C_CHARDEV



are already enabled, still I do not see anything in /sys/bus/i2c/devices/ and as a result my i2cdetect fails saying “/dev/i2c/0 : No such file or directory”



Are there any kernel configs which I am missing?



EDIT



Here are the dmesg logs



/ # dmesg | grep i2c
[ 0.251154] i2c-core: driver [dummy] registered
[ 0.284233] i2c-core: driver [pca953x] registered
[ 0.286078] i2c-core: driver [sec_pmic] registered
[ 0.287137] i2c_designware f7100000.i2c: could not find pctldev for node /soc/pinmux@f7010000/i2c0_pmx_func, deferring probe
[ 0.287167] i2c_designware f7101000.i2c: could not find pctldev for node /soc/pinmux@f7010000/i2c1_pmx_func, deferring probe
[ 0.287188] i2c_designware f7102000.i2c: could not find pctldev for node /soc/pinmux@f7010000/i2c2_pmx_func, deferring probe
[ 0.323590] i2c-core: driver [cs2000-cp] registered
[ 0.328647] i2c-core: driver [fan53555-regulator] registered
[ 0.340913] i2c-core: driver [cros-ec-i2c] registered
[ 0.341005] i2c-core: driver [max77620] registered
[ 0.341054] i2c-core: driver [rk808] registered
[ 0.351637] i2c-core: driver [usb3503] registered
[ 0.353610] i2c-core: driver [rtc-ds3232] registered
[ 0.354842] i2c /dev entries driver
[ 0.355782] i2c-core: driver [pca954x] registered
[ 0.356294] i2c-core: driver [bq27xxx-battery] registered
[ 0.501408] i2c-core: driver [hmc5843] registered
[ 2.209817] i2c_designware f7100000.i2c: Unknown Synopsys component type: 0x00000000
[ 2.218809] i2c_designware f7101000.i2c: Unknown Synopsys component type: 0x00000000
[ 2.227621] i2c_designware f7102000.i2c: Unknown Synopsys component type: 0x00000000









share|improve this question
























  • There are quite a few things that could go wrong, and not much info to figure out what's happening here. Is there anything i2c related in kernel logs? In sysfs?

    – domen
    Mar 7 at 9:13












  • @domen : Please see the edit

    – Insane Coder
    Mar 7 at 10:06











  • Could be some pinmux configuration error, device tree error/mismatch, or just an issue with the driver. Quick web search of those errors doesn't seem to produce much here. Hopefully someone with experience on this platform comes across this.

    – domen
    Mar 7 at 10:25













0












0








0








I have a Hikey LeMaker 620 on which I am trying to enable I2C as currently I am not getting /dev/i2c* nodes.



I am using the docs here : https://github.com/96boards/documentation/blob/master/consumer/hikey/hikey620/build/linux-kernel.md



I see that
I2C_DESIGNWARE_PLATFORM
I2C_CHARDEV



are already enabled, still I do not see anything in /sys/bus/i2c/devices/ and as a result my i2cdetect fails saying “/dev/i2c/0 : No such file or directory”



Are there any kernel configs which I am missing?



EDIT



Here are the dmesg logs



/ # dmesg | grep i2c
[ 0.251154] i2c-core: driver [dummy] registered
[ 0.284233] i2c-core: driver [pca953x] registered
[ 0.286078] i2c-core: driver [sec_pmic] registered
[ 0.287137] i2c_designware f7100000.i2c: could not find pctldev for node /soc/pinmux@f7010000/i2c0_pmx_func, deferring probe
[ 0.287167] i2c_designware f7101000.i2c: could not find pctldev for node /soc/pinmux@f7010000/i2c1_pmx_func, deferring probe
[ 0.287188] i2c_designware f7102000.i2c: could not find pctldev for node /soc/pinmux@f7010000/i2c2_pmx_func, deferring probe
[ 0.323590] i2c-core: driver [cs2000-cp] registered
[ 0.328647] i2c-core: driver [fan53555-regulator] registered
[ 0.340913] i2c-core: driver [cros-ec-i2c] registered
[ 0.341005] i2c-core: driver [max77620] registered
[ 0.341054] i2c-core: driver [rk808] registered
[ 0.351637] i2c-core: driver [usb3503] registered
[ 0.353610] i2c-core: driver [rtc-ds3232] registered
[ 0.354842] i2c /dev entries driver
[ 0.355782] i2c-core: driver [pca954x] registered
[ 0.356294] i2c-core: driver [bq27xxx-battery] registered
[ 0.501408] i2c-core: driver [hmc5843] registered
[ 2.209817] i2c_designware f7100000.i2c: Unknown Synopsys component type: 0x00000000
[ 2.218809] i2c_designware f7101000.i2c: Unknown Synopsys component type: 0x00000000
[ 2.227621] i2c_designware f7102000.i2c: Unknown Synopsys component type: 0x00000000









share|improve this question
















I have a Hikey LeMaker 620 on which I am trying to enable I2C as currently I am not getting /dev/i2c* nodes.



I am using the docs here : https://github.com/96boards/documentation/blob/master/consumer/hikey/hikey620/build/linux-kernel.md



I see that
I2C_DESIGNWARE_PLATFORM
I2C_CHARDEV



are already enabled, still I do not see anything in /sys/bus/i2c/devices/ and as a result my i2cdetect fails saying “/dev/i2c/0 : No such file or directory”



Are there any kernel configs which I am missing?



EDIT



Here are the dmesg logs



/ # dmesg | grep i2c
[ 0.251154] i2c-core: driver [dummy] registered
[ 0.284233] i2c-core: driver [pca953x] registered
[ 0.286078] i2c-core: driver [sec_pmic] registered
[ 0.287137] i2c_designware f7100000.i2c: could not find pctldev for node /soc/pinmux@f7010000/i2c0_pmx_func, deferring probe
[ 0.287167] i2c_designware f7101000.i2c: could not find pctldev for node /soc/pinmux@f7010000/i2c1_pmx_func, deferring probe
[ 0.287188] i2c_designware f7102000.i2c: could not find pctldev for node /soc/pinmux@f7010000/i2c2_pmx_func, deferring probe
[ 0.323590] i2c-core: driver [cs2000-cp] registered
[ 0.328647] i2c-core: driver [fan53555-regulator] registered
[ 0.340913] i2c-core: driver [cros-ec-i2c] registered
[ 0.341005] i2c-core: driver [max77620] registered
[ 0.341054] i2c-core: driver [rk808] registered
[ 0.351637] i2c-core: driver [usb3503] registered
[ 0.353610] i2c-core: driver [rtc-ds3232] registered
[ 0.354842] i2c /dev entries driver
[ 0.355782] i2c-core: driver [pca954x] registered
[ 0.356294] i2c-core: driver [bq27xxx-battery] registered
[ 0.501408] i2c-core: driver [hmc5843] registered
[ 2.209817] i2c_designware f7100000.i2c: Unknown Synopsys component type: 0x00000000
[ 2.218809] i2c_designware f7101000.i2c: Unknown Synopsys component type: 0x00000000
[ 2.227621] i2c_designware f7102000.i2c: Unknown Synopsys component type: 0x00000000






linux-kernel config i2c






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 7 at 10:06







Insane Coder

















asked Mar 7 at 4:13









Insane CoderInsane Coder

3,072743101




3,072743101












  • There are quite a few things that could go wrong, and not much info to figure out what's happening here. Is there anything i2c related in kernel logs? In sysfs?

    – domen
    Mar 7 at 9:13












  • @domen : Please see the edit

    – Insane Coder
    Mar 7 at 10:06











  • Could be some pinmux configuration error, device tree error/mismatch, or just an issue with the driver. Quick web search of those errors doesn't seem to produce much here. Hopefully someone with experience on this platform comes across this.

    – domen
    Mar 7 at 10:25

















  • There are quite a few things that could go wrong, and not much info to figure out what's happening here. Is there anything i2c related in kernel logs? In sysfs?

    – domen
    Mar 7 at 9:13












  • @domen : Please see the edit

    – Insane Coder
    Mar 7 at 10:06











  • Could be some pinmux configuration error, device tree error/mismatch, or just an issue with the driver. Quick web search of those errors doesn't seem to produce much here. Hopefully someone with experience on this platform comes across this.

    – domen
    Mar 7 at 10:25
















There are quite a few things that could go wrong, and not much info to figure out what's happening here. Is there anything i2c related in kernel logs? In sysfs?

– domen
Mar 7 at 9:13






There are quite a few things that could go wrong, and not much info to figure out what's happening here. Is there anything i2c related in kernel logs? In sysfs?

– domen
Mar 7 at 9:13














@domen : Please see the edit

– Insane Coder
Mar 7 at 10:06





@domen : Please see the edit

– Insane Coder
Mar 7 at 10:06













Could be some pinmux configuration error, device tree error/mismatch, or just an issue with the driver. Quick web search of those errors doesn't seem to produce much here. Hopefully someone with experience on this platform comes across this.

– domen
Mar 7 at 10:25





Could be some pinmux configuration error, device tree error/mismatch, or just an issue with the driver. Quick web search of those errors doesn't seem to produce much here. Hopefully someone with experience on this platform comes across this.

– domen
Mar 7 at 10:25












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55035959%2fno-i2c-nodes-coming-in-linux-sysfs-required-kernel-configs%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55035959%2fno-i2c-nodes-coming-in-linux-sysfs-required-kernel-configs%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

AWS Lex not identifying response if by a variable The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) The Ask Question Wizard is Live! Data science time! April 2019 and salary with experienceEnforcing custom enumeration in AWS LEX for slot valuesHow to give response based on user response in Amazon Lex?Intercepting AWS Lambda Response to a AWS Lex QueryLex chat bot error: Reached second execution of fulfillment lambda on the same utteranceamazon lex showing invalid responseLambda response send back to Lex slot?Response card in Amazon lexAmazon Lex - Lambda response return HTML to botHow can I solve 424 (Failed Dependency) (python) obtained from Amazon lex?

Алба-Юлія

Захаров Федір Захарович