Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1380070

Re: [PATCH v5 2/2] i2c: rk3x: add i2c support for rk3399 soc

From Wolfram Sang <wsa@the-dreams.de>
Newsgroups linux.kernel
Subject Re: [PATCH v5 2/2] i2c: rk3x: add i2c support for rk3399 soc
Date 2016-04-15 20:00 +0200
Message-ID <rogc9-6Qh-9@gated-at.bofh.it> (permalink)
References <rdBWG-50M-13@gated-at.bofh.it> <rdBWH-50M-19@gated-at.bofh.it> <rnUv0-6rs-21@gated-at.bofh.it> <roaT8-2Rq-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

> The default frequency rate of function clock is 50M Hz, it can match
> F/S mode, but HS mode not. If use default rate 50M to get 1.7M
> scl-frequency rate , we could not get accurately 1.7M frequecy rate.
> The input-clk-rate is more higher, we get more accurately
> scl-frequency rate,  as 200M is a suitable input-clk-rate.
> 
> If 200M was used for F/S mode, it would increase power consumption, so
> add a option that could be configured from DT.

If I understand you correctly, couldn't you use clk_set_rate() depending
on the desired scl frequency which is already described in DT as
clock-frequency?

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v5 2/2] i2c: rk3x: add i2c support for rk3399 soc Wolfram Sang <wsa@the-dreams.de> - 2016-04-14 20:50 +0200
  Re: [PATCH v5 2/2] i2c: rk3x: add i2c support for rk3399 soc Heiko Stübner <heiko@sntech.de> - 2016-04-15 09:40 +0200
    Re: [PATCH v5 2/2] i2c: rk3x: add i2c support for rk3399 soc "David.Wu" <david.wu@rock-chips.com> - 2016-04-15 14:20 +0200
  Re: [PATCH v5 2/2] i2c: rk3x: add i2c support for rk3399 soc "David.Wu" <david.wu@rock-chips.com> - 2016-04-15 14:20 +0200
    Re: [PATCH v5 2/2] i2c: rk3x: add i2c support for rk3399 soc Wolfram Sang <wsa@the-dreams.de> - 2016-04-15 20:00 +0200
      Re: [PATCH v5 2/2] i2c: rk3x: add i2c support for rk3399 soc "David.Wu" <david.wu@rock-chips.com> - 2016-04-18 15:20 +0200

csiph-web