ac100 team mailing list archive
-
ac100 team
-
Mailing list archive
-
Message #01355
[PATCH v2 4/4] dt: paz00: define nvec as child of i2c bus
-
To:
devicetree@xxxxxxxxxxxxxxx, linux-i2c@xxxxxxxxxxxxxxx, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, linux-tegra@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, ac100@xxxxxxxxxxxxxxxxxxx
-
From:
Andrey Danin <danindrey@xxxxxxx>
-
Date:
Mon, 30 Mar 2015 23:00:15 +0300
-
Cc:
Mark Rutland <mark.rutland@xxxxxxx>, Alexandre Courbot <gnurou@xxxxxxxxx>, Russell King <linux@xxxxxxxxxxxxxxxx>, Pawel Moll <pawel.moll@xxxxxxx>, Wolfram Sang <wsa@xxxxxxxxxxxxx>, Julian Andres Klode <jak@xxxxxxxxxxxxx>, Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>, Ian Campbell <ijc+devicetree@xxxxxxxxxxxxxx>, Rob Herring <robh+dt@xxxxxxxxxx>, Laxman Dewangan <ldewangan@xxxxxxxxxx>, Thierry Reding <thierry.reding@xxxxxxxxx>, Kumar Gala <galak@xxxxxxxxxxxxxx>, Stephen Warren <swarren@xxxxxxxxxxxxx>
-
In-reply-to:
<1427745615-5428-1-git-send-email-danindrey@mail.ru>
NVEC driver was reimplemented to use tegra i2c. Use common i2c bindings
for NVEC node.
Signed-off-by: Andrey Danin <danindrey@xxxxxxx>
---
Changes for v2:
- swap reg and request-gpios properties
- use nvec-slave instead of nvec to keep ABI compatibility
- place doc in separate patch
---
arch/arm/boot/dts/tegra20-paz00.dts | 22 +++++++++-------------
1 file changed, 9 insertions(+), 13 deletions(-)
diff --git a/arch/arm/boot/dts/tegra20-paz00.dts b/arch/arm/boot/dts/tegra20-paz00.dts
index ed7e100..cd5e6ef 100644
--- a/arch/arm/boot/dts/tegra20-paz00.dts
+++ b/arch/arm/boot/dts/tegra20-paz00.dts
@@ -288,20 +288,16 @@
clock-frequency = <100000>;
};
- nvec@7000c500 {
- compatible = "nvidia,nvec";
- reg = <0x7000c500 0x100>;
- interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
- #address-cells = <1>;
- #size-cells = <0>;
+ i2c@7000c500 {
+ status = "okay";
clock-frequency = <80000>;
- request-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
- slave-addr = <138>;
- clocks = <&tegra_car TEGRA20_CLK_I2C3>,
- <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
- clock-names = "div-clk", "fast-clk";
- resets = <&tegra_car 67>;
- reset-names = "i2c";
+
+ nvec: nvec@45 {
+ compatible = "nvidia,nvec-slave";
+ reg = <0x45>;
+ request-gpios = <&gpio TEGRA_GPIO(V, 2)
+ GPIO_ACTIVE_HIGH>;
+ };
};
i2c@7000d000 {
--
1.9.1
References