All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mika Westerberg <mika.westerberg@linux.intel.com>
To: Kamlakant Patel <kamlakant.patel@cavium.com>
Cc: linux-i2c@vger.kernel.org, linux-acpi@vger.kernel.org,
	Jayachandran C <jnair@caviumnetworks.com>,
	Wolfram Sang <wsa@the-dreams.de>
Subject: Re: [PATCH 2/3] i2c: xlp9xx: Get clock frequency with clk API
Date: Thu, 28 Sep 2017 11:49:06 +0300	[thread overview]
Message-ID: <20170928084906.GL4630@lahna.fi.intel.com> (raw)
In-Reply-To: <1506523943-8632-3-git-send-email-kamlakant.patel@cavium.com>

On Wed, Sep 27, 2017 at 08:22:22PM +0530, Kamlakant Patel wrote:
> From: Jayachandran C <jnair@caviumnetworks.com>
> 
> Get the input clock frequency to the controller from the linux clk
> API, if it is available. This allows us to pass in the block input
> frequency either from ACPI (using APD) or from device tree.
> 
> The old hardcoded frequency is used as default for backwards compatibility.
> 
> Signed-off-by: Jayachandran C <jnair@caviumnetworks.com>
> Signed-off-by: Kamlakant Patel <kamlakant.patel@cavium.com>

Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>

  reply	other threads:[~2017-09-28  8:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-27 14:52 [PATCH 0/3] i2c-xlp9xx: update i2c driver to handle I2C_M_RECV_LEN flag Kamlakant Patel
2017-09-27 14:52 ` [PATCH 1/3] ACPI / APD: Add clock frequency for ThunderX2 I2C controller Kamlakant Patel
2017-09-28  8:45   ` Mika Westerberg
2017-09-27 14:52 ` [PATCH 2/3] i2c: xlp9xx: Get clock frequency with clk API Kamlakant Patel
2017-09-28  8:49   ` Mika Westerberg [this message]
2017-09-27 14:52 ` [PATCH 3/3] i2c: xlp9xx: Handle I2C_M_RECV_LEN in msg->flags Kamlakant Patel
2017-09-28  8:50   ` 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=20170928084906.GL4630@lahna.fi.intel.com \
    --to=mika.westerberg@linux.intel.com \
    --cc=jnair@caviumnetworks.com \
    --cc=kamlakant.patel@cavium.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-i2c@vger.kernel.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.