devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: exynos: gs101: add stable i2c aliases for gs101-oriole
@ 2024-01-30 23:37 André Draszik
  2024-01-31 20:40 ` William McVicker
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: André Draszik @ 2024-01-30 23:37 UTC (permalink / raw)
  To: peter.griffin, robh+dt, krzysztof.kozlowski+dt, conor+dt
  Cc: linux-kernel, kernel-team, tudor.ambarus, willmcvicker,
	semen.protsenko, alim.akhtar, linux-arm-kernel, linux-samsung-soc,
	devicetree, André Draszik

Now that we have more than i2c interface, add aliases to ensure
deterministic bus number assignment.

So as to keep compatibility with existing Pixel userspace builds, use
the same bus numbers for hsi2c_8 and hsi2c_12 as the downstream
drivers with the intention to eventually add all the earlier busses as
well.

Suggested-by: Will McVicker <willmcvicker@google.com>
Signed-off-by: André Draszik <andre.draszik@linaro.org>

---
Note, this patch should only be applied after series
"[PATCH v3 0/7] gs101 oriole: peripheral block 1 (peric1) and i2c12 support"
https://lore.kernel.org/all/20240129174703.1175426-1-andre.draszik@linaro.org/
---
 arch/arm64/boot/dts/exynos/google/gs101-oriole.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts b/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts
index 6ccade2c8cb4..23314ed78c96 100644
--- a/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts
+++ b/arch/arm64/boot/dts/exynos/google/gs101-oriole.dts
@@ -18,6 +18,8 @@ / {
 	compatible = "google,gs101-oriole", "google,gs101";
 
 	aliases {
+		i2c7 = &hsi2c_8;
+		i2c8 = &hsi2c_12;
 		serial0 = &serial_0;
 	};
 
-- 
2.43.0.429.g432eaa2c6b-goog


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-02-12 13:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-30 23:37 [PATCH] arm64: dts: exynos: gs101: add stable i2c aliases for gs101-oriole André Draszik
2024-01-31 20:40 ` William McVicker
2024-02-08  8:08 ` Krzysztof Kozlowski
2024-02-12 10:17   ` André Draszik
2024-02-12 11:18     ` Krzysztof Kozlowski
2024-02-12 11:30       ` André Draszik
2024-02-12 11:40         ` Krzysztof Kozlowski
2024-02-12 11:52           ` André Draszik
2024-02-12 12:07             ` Krzysztof Kozlowski
2024-02-12 12:38               ` André Draszik
2024-02-12 13:20                 ` Krzysztof Kozlowski
2024-02-12 13:22 ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).