Hi, For Intel, I can understand that the community is advising to implement the I2C, SPI slave devices info like base address, IRQs, etc through ACPI mechanism rather than using Board files and FDT
I read the following https://www.kernel.org/doc/Documentation/acpi/enumeration.txt https://events.linuxfoundation.org/images/stories/slides/lfcs2013_wysocki.pdf In Linux Kernel 3.8 we are trying to add support for (I2C, SPI) slave devices like video output decoder, video input decoder, etc which are behind the bus controllers For ex, for adding support of ADV7180 through I2C I have the following clarifications 1. Do we need any modification in the BIOS for adding support of I2C, SPI slave devices to Linux using ACPI ? 2. Do we need to add the CONFIG_ACPI code (described in "I2C serial bus support" section of acpi/enumeration.txt) to the drivers/media/i2c/adv7180.c file ? 3. Where we need to add the device info like I2C bus number, I2C slave address, IRQ ? 4. Do we need to add any additional code in the chip driver specifically for this ACPI support ? 5. We have an Intel reference board. The source code provided by Intel itself used certain board files to add support for SPI slave devices, Clock setup, Init, etc. Why it has been done without using ACPI ? Is it due to any restriction ? Thanks, B.Sathish Kumar ::DISCLAIMER:: ---------------------------------------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects. ----------------------------------------------------------------------------------------------------------------------------------------------------
-- _______________________________________________ linux-yocto mailing list linux-yo...@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto