]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 19 Sep 2017 10:07:57 +0000 (12:07 +0200)
commit23f529e754a09fd877cbe7ff350c9842093615dd
tree9a5f760c96413c6b5040bd9fea0030aad4ccda66
parent47a6ef779ef9d85f6e8fc8a32a81c1ca35e47ca4
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.

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
arch/arm/boot/dts/overlays/w1-gpio-overlay.dts
arch/arm/boot/dts/overlays/w1-gpio-pullup-overlay.dts