1 From 31bebbef0cce2ae68c25a2b0cbfc040f938791e9 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Mon, 4 May 2020 15:13:24 +0100
4 Subject: [PATCH] overlays: Make use of intra-overlay fragments
6 The firmware and runtime overlay support has recently been updated to
7 correctly process fragments that target other fragments within the
8 overlay. Make use of that ability and avoid the use of the awkward
9 target-path = "<alias>/..." workaround and for better readability.
11 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
13 arch/arm/boot/dts/overlays/ads1015-overlay.dts | 8 ++++----
14 arch/arm/boot/dts/overlays/ads1115-overlay.dts | 8 ++++----
15 2 files changed, 8 insertions(+), 8 deletions(-)
17 --- a/arch/arm/boot/dts/overlays/ads1015-overlay.dts
18 +++ b/arch/arm/boot/dts/overlays/ads1015-overlay.dts
23 - target-path = "i2c_arm/ads1015";
24 + target = <&ads1015>;
32 - target-path = "i2c_arm/ads1015";
33 + target = <&ads1015>;
41 - target-path = "i2c_arm/ads1015";
42 + target = <&ads1015>;
50 - target-path = "i2c_arm/ads1015";
51 + target = <&ads1015>;
55 --- a/arch/arm/boot/dts/overlays/ads1115-overlay.dts
56 +++ b/arch/arm/boot/dts/overlays/ads1115-overlay.dts
61 - target-path = "i2c_arm/ads1115";
62 + target = <&ads1115>;
70 - target-path = "i2c_arm/ads1115";
71 + target = <&ads1115>;
79 - target-path = "i2c_arm/ads1115";
80 + target = <&ads1115>;
88 - target-path = "i2c_arm/ads1115";
89 + target = <&ads1115>;