On Mon, Sep 21, 2020 at 04:47:43PM +0200, Marek Behun wrote: > On Mon, 21 Sep 2020 16:15:40 +0200 > Simon Guinot <simon.guinot@xxxxxxxxxxxx> wrote: > > > > > There are several NAS devices using the leds-ns2 driver. On most of them > > the activity is wired to a single disk. But on some (such as the Network > > Space v2 Max), the activity is wired to two disks. > > > > Are they implemented via device-tree or platform-data? Everything is provided via DT: arch/arm/boot/dts/armada-370-seagate-nas-4bay.dts arch/arm/boot/dts/kirkwood-d2net.dts arch/arm/boot/dts/kirkwood-is2.dts arch/arm/boot/dts/kirkwood-ns2.dts arch/arm/boot/dts/kirkwood-ns2max.dts arch/arm/boot/dts/kirkwood-ns2mini.dts > > If we are going to implement the disk trigger offloading, we will need > to use the trigger-sources property so that the driver will know which > disks can be offloaded. Yes, we will need to add this property to the "ns2-leds" DT nodes. Simon
Attachment:
signature.asc
Description: PGP signature