From: Mika Westerberg <mika.westerberg@linux.intel.com>
To: Wolfram Sang <wsa@the-dreams.de>
Cc: Carl Peng <carlpeng008@gmail.com>, Huang Rui <ray.huang@amd.com>,
Christian Ruppert <christian.ruppert@abilis.com>,
Romain Baeriswyl <Romain.Baeriswyl@abilis.com>,
linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org,
Mika Westerberg <mika.westerberg@linux.intel.com>
Subject: [PATCH v2 0/3] i2c: designware: Add support for AMD I2C controller
Date: Tue, 30 Sep 2014 13:04:52 +0300 [thread overview]
Message-ID: <1412071495-15323-1-git-send-email-mika.westerberg@linux.intel.com> (raw)
This is second iteration of the patch series. First version is here:
http://patchwork.ozlabs.org/patch/390694/
http://patchwork.ozlabs.org/patch/390695/
In order to get source clock to the core driver we need some way of
creating it in the first place. For Intel LPSS it is done in
drivers/acpi/acpi_lpss.c but that is not applicable for AMD I2C host
controller which is too different from private parts to the LPSS one.
We solve this by creating the clock in ACPI parts of the platform driver
when we detect the AMD I2C host controller. Doing this requires small
refactoring to be done to the probe() which is what patches [1-2/3] are
doing.
Changes to the previous version:
* Rebased on top of i2c/for-next branch
* New patch defaulting ACPI probe to fast mode
* Instead of direct dependency to COMMON_CLK we depend on (ACPI &&
COMMON_CLK) || ACPI. (suggested by Wolfram)
Carl, can you test that this still works on your machine?
Carl Peng (1):
i2c: designware: Add support for AMD I2C controller
Mika Westerberg (2):
i2c: designware: Default to fast mode in case of ACPI
i2c: designware: Rework probe() to get clock a bit later
drivers/i2c/busses/Kconfig | 1 +
drivers/i2c/busses/i2c-designware-platdrv.c | 71 +++++++++++++++++++----------
2 files changed, 48 insertions(+), 24 deletions(-)
--
2.1.0
next reply other threads:[~2014-09-30 10:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-30 10:04 Mika Westerberg [this message]
[not found] ` <1412071495-15323-1-git-send-email-mika.westerberg-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2014-09-30 10:04 ` [PATCH v2 1/3] i2c: designware: Default to fast mode in case of ACPI Mika Westerberg
2014-09-30 10:04 ` [PATCH v2 2/3] i2c: designware: Rework probe() to get clock a bit later Mika Westerberg
2014-10-03 0:46 ` [PATCH v2 0/3] i2c: designware: Add support for AMD I2C controller Wolfram Sang
2014-10-06 17:51 ` Wolfram Sang
2014-09-30 10:04 ` [PATCH v2 3/3] " Mika Westerberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1412071495-15323-1-git-send-email-mika.westerberg@linux.intel.com \
--to=mika.westerberg@linux.intel.com \
--cc=Romain.Baeriswyl@abilis.com \
--cc=carlpeng008@gmail.com \
--cc=christian.ruppert@abilis.com \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ray.huang@amd.com \
--cc=wsa@the-dreams.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).