b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | From f50f0425592a8496d6d25b4936caadfe64523c91 Mon Sep 17 00:00:00 2001 |
| 2 | From: Phil Elwell <phil@raspberrypi.org> |
| 3 | Date: Fri, 24 Jan 2020 09:02:37 +0000 |
| 4 | Subject: [PATCH] overlays: Use preferred compatible strings |
| 5 | |
| 6 | Make sure all overlays have correct compatible strings before enabling |
| 7 | the automated checking. |
| 8 | |
| 9 | Signed-off-by: Phil Elwell <phil@raspberrypi.org> |
| 10 | --- |
| 11 | arch/arm/boot/dts/overlays/hifiberry-dacplusadcpro-overlay.dts | 2 +- |
| 12 | arch/arm/boot/dts/overlays/iqaudio-codec-overlay.dts | 2 +- |
| 13 | arch/arm/boot/dts/overlays/pwm-2chan-overlay.dts | 2 ++ |
| 14 | arch/arm/boot/dts/overlays/pwm-overlay.dts | 2 ++ |
| 15 | arch/arm/boot/dts/overlays/smi-dev-overlay.dts | 2 ++ |
| 16 | 5 files changed, 8 insertions(+), 2 deletions(-) |
| 17 | |
| 18 | --- a/arch/arm/boot/dts/overlays/hifiberry-dacplusadcpro-overlay.dts |
| 19 | +++ b/arch/arm/boot/dts/overlays/hifiberry-dacplusadcpro-overlay.dts |
| 20 | @@ -3,7 +3,7 @@ |
| 21 | /plugin/; |
| 22 | |
| 23 | / { |
| 24 | - compatible = "brcm,bcm2708"; |
| 25 | + compatible = "brcm,bcm2835"; |
| 26 | |
| 27 | fragment@0 { |
| 28 | target-path = "/clocks"; |
| 29 | --- a/arch/arm/boot/dts/overlays/iqaudio-codec-overlay.dts |
| 30 | +++ b/arch/arm/boot/dts/overlays/iqaudio-codec-overlay.dts |
| 31 | @@ -3,7 +3,7 @@ |
| 32 | /plugin/; |
| 33 | |
| 34 | / { |
| 35 | - compatible = "brcm,bcm2708"; |
| 36 | + compatible = "brcm,bcm2835"; |
| 37 | |
| 38 | fragment@0 { |
| 39 | target = <&i2s>; |
| 40 | --- a/arch/arm/boot/dts/overlays/pwm-2chan-overlay.dts |
| 41 | +++ b/arch/arm/boot/dts/overlays/pwm-2chan-overlay.dts |
| 42 | @@ -17,6 +17,8 @@ N.B.: |
| 43 | */ |
| 44 | |
| 45 | / { |
| 46 | + compatible = "brcm,bcm2835"; |
| 47 | + |
| 48 | fragment@0 { |
| 49 | target = <&gpio>; |
| 50 | __overlay__ { |
| 51 | --- a/arch/arm/boot/dts/overlays/pwm-overlay.dts |
| 52 | +++ b/arch/arm/boot/dts/overlays/pwm-overlay.dts |
| 53 | @@ -15,6 +15,8 @@ N.B.: |
| 54 | */ |
| 55 | |
| 56 | / { |
| 57 | + compatible = "brcm,bcm2835"; |
| 58 | + |
| 59 | fragment@0 { |
| 60 | target = <&gpio>; |
| 61 | __overlay__ { |
| 62 | --- a/arch/arm/boot/dts/overlays/smi-dev-overlay.dts |
| 63 | +++ b/arch/arm/boot/dts/overlays/smi-dev-overlay.dts |
| 64 | @@ -5,6 +5,8 @@ |
| 65 | /plugin/; |
| 66 | |
| 67 | /{ |
| 68 | + compatible = "brcm,bcm2835"; |
| 69 | + |
| 70 | fragment@0 { |
| 71 | target = <&soc>; |
| 72 | __overlay__ { |