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


Groups > linux.kernel > #1394374

[PATCH v7 7/9] dt-bindings: i2c: rk3x: add support for rk3399

From David Wu <david.wu@rock-chips.com>
Newsgroups linux.kernel
Subject [PATCH v7 7/9] dt-bindings: i2c: rk3x: add support for rk3399
Date 2016-05-04 16:40 +0200
Message-ID <rv684-5L8-69@gated-at.bofh.it> (permalink)
References <rv5OG-5wR-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The bus clock and function clock are separated at rk3399,
and others use one clock as the bus clock and function clock.

Signed-off-by: David Wu <david.wu@rock-chips.com>
---
 Documentation/devicetree/bindings/i2c/i2c-rk3x.txt | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/i2c/i2c-rk3x.txt b/Documentation/devicetree/bindings/i2c/i2c-rk3x.txt
index 0b4a85f..82b6f6b 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-rk3x.txt
+++ b/Documentation/devicetree/bindings/i2c/i2c-rk3x.txt
@@ -6,10 +6,20 @@ RK3xxx SoCs.
 Required properties :
 
  - reg : Offset and length of the register set for the device
- - compatible : should be "rockchip,rk3066-i2c", "rockchip,rk3188-i2c",
-		"rockchip,rk3228-i2c" or "rockchip,rk3288-i2c".
+ - compatible: should be one of the followings
+   - "rockchip,rk3066-i2c": for rk3066
+   - "rockchip,rk3188-i2c": for rk3188
+   - "rockchip,rk3228-i2c": for rk3228
+   - "rockchip,rk3288-i2c": for rk3288
+   - "rockchip,rk3399-i2c": for rk3399
  - interrupts : interrupt number
- - clocks : parent clock
+ - clocks: See ../clock/clock-bindings.txt
+   - For older hardware (rk3066, rk3188, rk3228, rk3288):
+     - There is one clock that's used both to derive the functional clock
+       for the device and as the bus clock.  REQUIRED.
+   - For newer hardware (rk3399): specify by name
+     - "i2c": REQUIRED. This is used to derive the functional clock.
+     - "pclk": REQUIRED. This is the bus clock.equired on RK3066, RK3188 :
 
 Required on RK3066, RK3188 :
 
-- 
1.9.1

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


Thread

[PATCH v7 0/9] add i2c driver supported for rk3399 David Wu <david.wu@rock-chips.com> - 2016-05-04 16:30 +0200
  [PATCH v7 6/9] i2c: rk3x: Move spec timing data to "static const" structs David Wu <david.wu@rock-chips.com> - 2016-05-04 16:40 +0200
    Re: [PATCH v7 6/9] i2c: rk3x: Move spec timing data to "static const" structs Doug Anderson <dianders@chromium.org> - 2016-05-06 01:00 +0200
      Re: [PATCH v7 6/9] i2c: rk3x: Move spec timing data to "static const"  structs "David.Wu" <david.wu@rock-chips.com> - 2016-05-06 07:00 +0200
  [PATCH v7 9/9] i2c: rk3x: support fast-mode plus for rk3399 David Wu <david.wu@rock-chips.com> - 2016-05-04 16:40 +0200
    Re: [PATCH v7 9/9] i2c: rk3x: support fast-mode plus for rk3399 Doug Anderson <dianders@chromium.org> - 2016-05-06 01:10 +0200
      Re: [PATCH v7 9/9] i2c: rk3x: support fast-mode plus for rk3399 "David.Wu" <david.wu@rock-chips.com> - 2016-05-06 04:20 +0200
  [PATCH v7 5/9] i2c: rk3x: Change SoC data to not use array David Wu <david.wu@rock-chips.com> - 2016-05-04 16:40 +0200
    Re: [PATCH v7 5/9] i2c: rk3x: Change SoC data to not use array Heiko Stübner <heiko@sntech.de> - 2016-05-05 23:40 +0200
    Re: [PATCH v7 5/9] i2c: rk3x: Change SoC data to not use array Doug Anderson <dianders@chromium.org> - 2016-05-06 01:00 +0200
  [PATCH v7 8/9] i2c: rk3x: add i2c support for rk3399 soc David Wu <david.wu@rock-chips.com> - 2016-05-04 16:40 +0200
    Re: [PATCH v7 8/9] i2c: rk3x: add i2c support for rk3399 soc Doug Anderson <dianders@chromium.org> - 2016-05-06 01:10 +0200
      Re: [PATCH v7 8/9] i2c: rk3x: add i2c support for rk3399 soc "David.Wu" <david.wu@rock-chips.com> - 2016-05-06 11:40 +0200
        Re: [PATCH v7 8/9] i2c: rk3x: add i2c support for rk3399 soc Doug Anderson <dianders@chromium.org> - 2016-05-06 20:10 +0200
  [PATCH v7 7/9] dt-bindings: i2c: rk3x: add support for rk3399 David Wu <david.wu@rock-chips.com> - 2016-05-04 16:40 +0200
    Re: [PATCH v7 7/9] dt-bindings: i2c: rk3x: add support for rk3399 Rob Herring <robh@kernel.org> - 2016-05-06 00:20 +0200
      Re: [PATCH v7 7/9] dt-bindings: i2c: rk3x: add support for rk3399 "David.Wu" <david.wu@rock-chips.com> - 2016-05-06 08:10 +0200
    Re: [PATCH v7 7/9] dt-bindings: i2c: rk3x: add support for rk3399 Doug Anderson <dianders@chromium.org> - 2016-05-06 01:10 +0200

csiph-web