BCM270X_DT: Allow multiple instances of w1-gpio overlays
authorPhil Elwell <phil@raspberrypi.org>
Tue, 28 Mar 2017 13:22:20 +0000 (14:22 +0100)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 8 Oct 2017 01:07:21 +0000 (01:07 +0000)
commit92f9628787b8cba5108993f73e170c40c5caabdd
tree406187e21963fd0525e934294ccea72bef5da87a
parentbdff64898a19ce47a9d468ce7821d420bd960691
BCM270X_DT: Allow multiple instances of w1-gpio overlays

Upcoming firmware will modify the address portion of node names when
their "reg" property is written by a dtparam. Modify the w1-gpio
overlays to write the gpiopin parameter value to "reg" properties, so
that multiple instances can be loaded simultaneously.

Note: The value of the "address" is unimportant - the w1 subsystem
assigns instance numbers to buses sequentially from 1, and it is
not necessary to know which bus a device is on in order to find it.
arch/arm/boot/dts/overlays/w1-gpio-overlay.dts
arch/arm/boot/dts/overlays/w1-gpio-pullup-overlay.dts