[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200221123214.26341-2-dafna.hirschfeld@collabora.com>
Date: Fri, 21 Feb 2020 13:32:14 +0100
From: Dafna Hirschfeld <dafna.hirschfeld@...labora.com>
To: linux-i2c@...r.kernel.org
Cc: robh+dt@...nel.org, mark.rutland@....com, bleung@...omium.org,
enric.balletbo@...labora.com, groeck@...omium.org,
dafna.hirschfeld@...labora.com, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, helen.koike@...labora.com,
ezequiel@...labora.com, kernel@...labora.com, dafna3@...il.com,
sebastian.reichel@...labora.com
Subject: [PATCH v4 2/2] arm64: tegra: fix nodes names under i2c-tunnel
Change the node names so that they match the class
of the device and have a unit address.
The changes are:
bq24735 -> charger@9
smart-battery -> battery@b
This also fixes the warning:
'bq24735', 'smart-battery' do not match any of the
regexes: '^.*@[0-9a-f]+$', 'pinctrl-[0-9]+'
Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@...labora.com>
---
Changes since v3:
- in v3 I only added a unit address to the nodes' names.
In v4 I also change the names to match the class of the device
and changed the commit log accordingly.
arch/arm64/boot/dts/nvidia/tegra132-norrin.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/nvidia/tegra132-norrin.dts b/arch/arm64/boot/dts/nvidia/tegra132-norrin.dts
index a0385a386a3f..4cd99dac541b 100644
--- a/arch/arm64/boot/dts/nvidia/tegra132-norrin.dts
+++ b/arch/arm64/boot/dts/nvidia/tegra132-norrin.dts
@@ -767,7 +767,7 @@
google,remote-bus = <0>;
- charger: bq24735 {
+ charger: charger@9 {
compatible = "ti,bq24735";
reg = <0x9>;
interrupt-parent = <&gpio>;
@@ -778,7 +778,7 @@
GPIO_ACTIVE_HIGH>;
};
- battery: smart-battery {
+ battery: battery@b {
compatible = "sbs,sbs-battery";
reg = <0xb>;
battery-name = "battery";
--
2.17.1
Powered by blists - more mailing lists