All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfram Sang <wsa@kernel.org>
To: Manikanta Guntupalli <manikanta.guntupalli@amd.com>
Cc: michal.simek@xilinx.com, michal.simek@amd.com,
	devicetree@vger.kernel.org, andrew@lunn.ch, robh+dt@kernel.org,
	krzysztof.kozlowski+dt@linaro.org,
	linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org,
	linux-kernel@vger.kernel.org, git@amd.com, srinivas.goud@amd.com,
	shubhrajyoti.datta@amd.com, manion05gk@gmail.com,
	Raviteja Narayanam <raviteja.narayanam@xilinx.com>
Subject: Re: [PATCH V6 3/3] i2c: xiic: Add SCL frequency configuration support
Date: Fri, 17 Feb 2023 22:45:24 +0100	[thread overview]
Message-ID: <Y+/1dO03cvNbzfWk@shikoro> (raw)
In-Reply-To: <1676467944-17426-4-git-send-email-manikanta.guntupalli@amd.com>

[-- Attachment #1: Type: text/plain, Size: 973 bytes --]

On Wed, Feb 15, 2023 at 07:02:24PM +0530, Manikanta Guntupalli wrote:
> From: Raviteja Narayanam <raviteja.narayanam@xilinx.com>
> 
> From 'clock-frequency' device tree property, configure I2C SCL
> frequency by calculating the timing register values according to
> input clock.
> 
> After soft reset in reinit function, the timing registers are set
> to default values (configured in design tool). So, setting SCL
> frequency is done inside reinit function after the soft reset.
> This allows configuration of SCL frequency exclusively through
> software via device tree property, overriding the design.
> If the clock-frequency parameter is not specified in DT, driver
> doesn't configure frequency, making it backward compatible.
> 
> Signed-off-by: Raviteja Narayanam <raviteja.narayanam@xilinx.com>
> Signed-off-by: Manikanta Guntupalli <manikanta.guntupalli@amd.com>
> Acked-by: Michal Simek <michal.simek@amd.com>

Applied to for-next, thanks!


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: Wolfram Sang <wsa@kernel.org>
To: Manikanta Guntupalli <manikanta.guntupalli@amd.com>
Cc: michal.simek@xilinx.com, michal.simek@amd.com,
	devicetree@vger.kernel.org, andrew@lunn.ch, robh+dt@kernel.org,
	krzysztof.kozlowski+dt@linaro.org,
	linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org,
	linux-kernel@vger.kernel.org, git@amd.com, srinivas.goud@amd.com,
	shubhrajyoti.datta@amd.com, manion05gk@gmail.com,
	Raviteja Narayanam <raviteja.narayanam@xilinx.com>
Subject: Re: [PATCH V6 3/3] i2c: xiic: Add SCL frequency configuration support
Date: Fri, 17 Feb 2023 22:45:24 +0100	[thread overview]
Message-ID: <Y+/1dO03cvNbzfWk@shikoro> (raw)
In-Reply-To: <1676467944-17426-4-git-send-email-manikanta.guntupalli@amd.com>


[-- Attachment #1.1: Type: text/plain, Size: 973 bytes --]

On Wed, Feb 15, 2023 at 07:02:24PM +0530, Manikanta Guntupalli wrote:
> From: Raviteja Narayanam <raviteja.narayanam@xilinx.com>
> 
> From 'clock-frequency' device tree property, configure I2C SCL
> frequency by calculating the timing register values according to
> input clock.
> 
> After soft reset in reinit function, the timing registers are set
> to default values (configured in design tool). So, setting SCL
> frequency is done inside reinit function after the soft reset.
> This allows configuration of SCL frequency exclusively through
> software via device tree property, overriding the design.
> If the clock-frequency parameter is not specified in DT, driver
> doesn't configure frequency, making it backward compatible.
> 
> Signed-off-by: Raviteja Narayanam <raviteja.narayanam@xilinx.com>
> Signed-off-by: Manikanta Guntupalli <manikanta.guntupalli@amd.com>
> Acked-by: Michal Simek <michal.simek@amd.com>

Applied to for-next, thanks!


[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2023-02-17 21:45 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-15 13:32 [PATCH V6 0/3] Added Standard mode and SMBus support Manikanta Guntupalli
2023-02-15 13:32 ` Manikanta Guntupalli
2023-02-15 13:32 ` [PATCH V6 1/3] dt-bindings: i2c: xiic: Add 'xlnx,axi-iic-2.1' to compatible Manikanta Guntupalli
2023-02-15 13:32   ` Manikanta Guntupalli
2023-02-16  9:06   ` Krzysztof Kozlowski
2023-02-16  9:06     ` Krzysztof Kozlowski
2023-02-17 21:44   ` Wolfram Sang
2023-02-17 21:44     ` Wolfram Sang
2023-02-15 13:32 ` [PATCH V6 2/3] i2c: xiic: Update compatible with new IP version Manikanta Guntupalli
2023-02-15 13:32   ` Manikanta Guntupalli
2023-02-17 21:44   ` Wolfram Sang
2023-02-17 21:44     ` Wolfram Sang
2023-02-15 13:32 ` [PATCH V6 3/3] i2c: xiic: Add SCL frequency configuration support Manikanta Guntupalli
2023-02-15 13:32   ` Manikanta Guntupalli
2023-02-17 21:45   ` Wolfram Sang [this message]
2023-02-17 21:45     ` Wolfram Sang

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=Y+/1dO03cvNbzfWk@shikoro \
    --to=wsa@kernel.org \
    --cc=andrew@lunn.ch \
    --cc=devicetree@vger.kernel.org \
    --cc=git@amd.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=manikanta.guntupalli@amd.com \
    --cc=manion05gk@gmail.com \
    --cc=michal.simek@amd.com \
    --cc=michal.simek@xilinx.com \
    --cc=raviteja.narayanam@xilinx.com \
    --cc=robh+dt@kernel.org \
    --cc=shubhrajyoti.datta@amd.com \
    --cc=srinivas.goud@amd.com \
    /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.